Skip to content
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

Cover status not updated after an open/close action #707

Open
mariusz-schimke opened this issue Sep 15, 2024 · 4 comments
Open

Cover status not updated after an open/close action #707

mariusz-schimke opened this issue Sep 15, 2024 · 4 comments

Comments

@mariusz-schimke
Copy link

mariusz-schimke commented Sep 15, 2024

Problem/Motivation

I have a Z-Wave gate controller (Nice IBT4ZWAVE). When I tap a button in HA to open or close the gate, its state does not update until the gate finishes the movement (which takes over 30 seconds).

Expected behavior

When the gate is being opened/closed, I'd expect its status to change right away to opening/closing accordingly.

Actual behavior

I have to wait for over 30 seconds for the state of the gate to update to opened/closed. During that period you don't know whether your tap action was accepted or not. Unless you stand in front of the gate, which is not always the case :).

Steps to reproduce

Have a cover button on the UI. Click it to open or close the cover. You will see the state does not change until the cover fully opens or closes (or is stopped manually).
It doesn't refer to this specific gate controller, but to all controllers of type cover (e.g. window blinds too).

Proposed changes

I performed some investigations to learn whether the state right after an action taken can be devised in any way. In fact, the problem affects not only the Nice gate controller, but also all my window blinds (Fibaro FGR-223). Initially I thought that the transition is undetected by HA because the devices themselves only notify about their final states. But when I analyzed Z-Wave JS logs yesterday, I realized that all necessary information is already there. This might mean they can be made use of in HA if they are accessible programmatically.

What surprising for me is that the transition action is also visible in logs even if the movement was triggered by a step-by-step input of the gate's control panel rather than by the Z-Wave controller.

I found a workaround by attaching an ESP32 module to the gate control panel so that it provides me with the current state of the gate (and a few other things), but if that information is already available directly from the Z-Wave gate controller, the solution seems stupid...

Please tell me what you think. I'll be grateful if you share your thoughts on this with me. Thank you!!

I attached two log files with notes in their initial lines.
zwave_js-gate-closing-triggered-by-z-wave-controller.log
zwave_js-gate-opening-triggered-by-an-external-button.log

Update

I added a feature request here since I wasn't sure if here is the right place, sorry!

@Dites33
Copy link

Dites33 commented Oct 1, 2024

Sorry to disturb inthe middle of your question (with no answer for now :(() but I have the same controler, added but no buttons are working, nothing happen.
How did you add the IBT4ZWAVE ?

zwave-js-ui: 9.21.0
zwave-js: 13.4.0
home id: 3900514980
home hex: 0xe87d22a4

image

@mariusz-schimke
Copy link
Author

mariusz-schimke commented Oct 2, 2024

Hello @Dites33! I'm using the Z-Wave JS UI add-on for HA version: 3.13.1.
image

I included the device through the Z-Wave integration in System > Devices (not through the Z-Wave JS UI add-on):
image

I did it over a year ago, so the versions were different, but it worked without any issues then. I couldn't only establish a secure connection, but it happens among different devices. Maybe my gate is just too far from the controller (IDK exactly what may cause the problem).

Here are the entities I can access in HA through the integration:
image

And the device info:
image

I'm not sure if it helps...

By no buttons are working do you mean that you do have them on the UI but the gate doesn't react or that they aren't available as HA entities at all?

@Dites33
Copy link

Dites33 commented Oct 3, 2024

Thanks for your reply

I have the entities but the fate doesn't react

image

@mariusz-schimke
Copy link
Author

mariusz-schimke commented Oct 3, 2024

OK, that looks the same as in my case. Have you looked at the connections graph in Z-Wave UI? Check the edge colors between the nodes that join your gate controller with the Z-Wave controllers. Are all of them green or yellow, or are there any red ones, making the route unstable?

Oh, there is one more thing that comes to my mind. There are two drop-down menus created by the integration:

  • Local protection state,
  • RF protection state.

Local protection state in Fibaro devices blocks physical buttons so when you press them, there is no reaction. RF protection, on the other hand, is an option that prevents controlling the device remotely, by Z-Wave commands. If that one is set to NoControl, then any control commands sent to the gate will be ignored.

Please check these two and let me know if any of them was the case, @Dites33.

Update: I'd also open the cover of the gate control unit and press the S button on the IBT4ZWAVE module. Just to check if there is a correct connection between the module and the control unit. Of course, make sure that the Local protection state option is not set to NoOperationPossible ;).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants