Getting status update from device
-
Probably @rafale77 will jump on this question first
I'm using the new model of GE/Jasco switch (they replaced the dead one I got) and the new model is having also S2 security and send instant status update BUT,
And probably @rafale77 will say yes, is it possible that interference can do that I'm missing some instant update status ?
Often, I'm having the wrong status in the zwave.me web interface...and even clicking the icon, the status didn't changed to right one.
I also try to do some "On/Off" using the web interface, and the device itself physically, toggle without a problem, but the web interface is still no correct.
-
Hmm this is weird, The only device which I found to somewhat behave this way were my Yale locks:
Z-way sends a command to lock or unlock and immediately thereafter sends a command to get the status of the lock.
The problem was that it takes time for the lock to change status so the result of the "get" command was always wrong. I ended up hacking the z-way lock plugin to add another "get" command 1s after any lock target change command is detected.
For a light switch it is rather surprising and I have never seen this. If it is "often" and not always, it could very well be a signal lost problem. Have you looked at the command queue in the expert UI to see what happens when it succeeds and when it fails? This could provide a clue. -
I see things like this in my setup now that I've moved to z-way instead of Vera. Like it missed the status update. I can click on the "Update All" button from the Z-way Expert UI and then everything is accurate again. And it's not missing every status update and not even for the same devices. Just one maybe two. I've often wondered if there is a way to manually send the "Update All". But that status on my lock is definitely one that often incorrect.
@rafale77, would it be possible for you to go into more explanation of hacking the z-way lock plugin?
-
This indeed is a side effect of how Z-way works (it is a bit too fast at trying to poll updates) and I have gone over this with @PoltoS over emails. "Update all" would add too much overhead traffic. I was proposing to add a small delay between the zwave "Set" and "Get" commands but was told that it would make z-way run slower for the vast majority of devices which don't need this. Since in my case, there is only one type of device I just used my own workaround. It's been a long time since I did this so my memory is fading.
The pluggin is the Niffler:Readily available in the z-way appstore. This is my version, I just forked. https://github.com/rafale77/Niffler