-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow overriding delay_message
for gateway serial communication through setting
#118
Comments
There are different baud rates FAM has e.g. 57600 and internally the bus has 9600. If you send too many messages at once the internal buffer of FAM will overflow and messages get lost. That's the reason for the delay messages. Of course, I can create a configuration parameter for it. Maybe it could make sense to create something like a scene for covers. This could be a cover in HA which you can use to synchronously control many covers. What do you think. What you can do already now is to create a button triggering an automation which es closes or opens all covers. |
For open I could have one EnOcean command control multiple covers at once and thus wouldn't get overflow. I agree this should work. For close it's a little bit more complicated as I don't want to close the covers completely but instead have the position on each cover in a way that only the "slits" are still open and thus I still get a little bit of environmental light. To my understanding I couldn't accomplish that using one EnOcean telegram. (This is also why the 100ms cover resolution was useful to me)
That's what I fear. I want to use the parameter to throttle the events even more. |
Added Please, let me know what value fits best for you. Actually the default value 0.01 should allow about 40 telegrams at the same time. |
This line
looks like it should be
I was getting
and with the suggested change thats fixed |
Hello @mkaufmann, Sorry! Actually I changed it now on feature-branch and tested it again. For me both default value and adding the parameter in the config works now. I've also added the value to the Gateway Devices so that you can see what is taken. |
I have an automation that closes a lot of covers at once
Not all of them move reliably though. I don't understand the true root cause but would love to play around with
delay_message
to see if it helps.Also as a small nit: It seems that the logger is not forwarded to the serial constructor (looked at esp2) and I suspect that's the reason why I dont see the serial messages themselves. Is that intentional?
The text was updated successfully, but these errors were encountered: