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
Shutter/cover: Implement trigger (up/down/stop) from bus side #25
Comments
Hi guys and girls, I have 5 covers which do not have a position_state object. When suing HA everything works fine and the (virtual) state objects gets updated. However, if you use the KNX bus to steer the cover the position state is out of sync. Say in the morning I steer it up manually via KNX. The bus thinks it is still down. The automation started in the evening thinks its still down and does not send the signal on the bus. Super anoying. WAF goes down dramatically atm for the whole solution. I need help or advise how to fix it. It seems that BUS signals are not used to update the position state object. Regards |
Dear friends, this is still open. Since 2016. If one uses the KNX buttons to drive the cover XKNX will not see/react. This is true for knx Hardware which does not have a position state object. This renders the covers useless. Situation is as follows:
Am I missing something? How can I overcome this problem? Replacing the old knx devices with new ones is one which sets 5x70€ aside. A lot of bucks. If none of the devs is willing to jump in here, please advise where to look. I can try to fix it, but now I have not enough experience to make this happen. Please ... |
As a workaround you can always use any logic to fake the position state address. Just send 100% to a new GA when 1bit DOWN and 0% when 1bit UP signal is received. Positions in between are a bit problematic then, but maybe you don't even use them. |
@farmio, actually this was very helpful. Thank you. I document the workaround here for further reference and fellow HAs who come accross the same problem. I must admit for a PR I am not skilled enough. Please accept my sincere apologies. add to your
create the following automation
I will see if I work on an appdaemon python script to do this more intelligent and derive the positions in between as well. I will keep you posted. |
You can also combine regular switches with a cover template. https://www.home-assistant.io/integrations/cover.template/#garage-door |
Maybe the problem is that the xknx device currently doesn't process a write to the move_long and move_short addresses. Thus the travel calculator isn't triggered and won't return a new position. We could check if position_address is initialized - if not start the travel calculator to 0 or 100% depending on the binary value. Line 237 in c22e394
If you need help implementing this join us on discord. |
Implement trigger (up/down/stop) from bus side
The text was updated successfully, but these errors were encountered: