Update cover status to opening/closing as soon as it accepts a command #7176
mariusz-schimke
started this conversation in
Feature Requests
Replies: 1 comment 4 replies
-
Just so we're on the same page, which messages are you referring to when you say this? If you are referring to |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I use Fibaro FGR-223 controllers for window blinds and also a Nice IBT4ZWAVE module for controlling a gate. What I noticed from the very beginning of using them is that you don't see the current state of the device until it stops its motion. So you tap an open or close button on the GUI or click a physical button, but in Home Assistant the state doesn't change to opening/closing. Only when you wait until the blind/gate fully opens/closes or when you stop it, does the state update to open/closed. So, for instance, when you tap a button to open/close the gate, you don't know if the tap was accepted as a command or not, and you learn about that only 40 seconds later ;).
I'm mentioning HA here, but I did read your checklist where to report issues. Apologies if you're not the right addressee, but my gut feeling tells me the behavior may rather be dependent on the core driver rather than HA itself. Please correct me if I'm wrong. I initially opened an issue here, but then realized it may have nothing to do with the HA add-on.
Do you have a solution in mind?
Initially I thought this was because of how the devices just work. I assumed that they only dispatch events when they finish their motion, and that's why we don't know that they are in transition from one state to another. But I analyzed the logs recently and noticed that as soon as the device receives a command, it confirms it. Even if the command was initiated outside the software, that is by the physical button.
Please have a look a the log files I attached. I added a bit of information at their beginning for reference.
zwave_js-gate-closing-triggered-by-z-wave-controller.log
zwave_js-gate-opening-triggered-by-an-external-button.log
Describe alternatives you've considered
I'm wondering if you could make use of the command confirmations the devices respond with, to immediately notify about a state change. This way HA (or other software) could make a transition to opening/closing and update the state right away. I find this useful as sometimes I open/close the gate without seeing it. Then I don't know if it's actually going to open/close, and I have to recheck it after 40 seconds ;).
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions