-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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
OpenZWave dimmable modules don't report final state #40186
Comments
I can add that the Qubino ZMNHDD1 Flush Dimmer is showing the same symptoms. |
Have you tried enabling polling? |
@FuzzyMistborn I have not tried that, not sure how to enable that. I need to add though, that it would be better to not need to poll for values since that will increase network traffic always, when a single refresh_value would only create one extra read. |
https://github.com/OpenZWave/qt-openzwave/blob/master/docs/MQTT.md#enablepoll I have an automation/script set to run on restart that sends that to every device that I need polling on. I 100% agree that it's not ideal/annoyingly increases traffic but for now it's the only fix I am aware of. |
@FuzzyMistborn a couple issues there:
(seems like more of a solution to 40187 than to this bug) As for your github URL:
|
You need to get the ValueIDKey by using something like MQTT Explorer. Here's a discord conversation about it: https://discord.com/channels/330944238910963714/332357267364249621/744385440756269217 |
@FuzzyMistborn First of all, thank you very much for posting your current workaround (and in a way I can understand), I will be using that method for now until this bug is properly addressed. I will not however be closing this bug, as what you have posted is simply a workaround, not a solution. I do however have to go on a slight rant here though about your point 1. No offence is intended here, however I see this attitude too often. Telling someone who is submitting a bug report to try to improve an integration that they shouldn't expect usable software because this is just the way beta works is a sure-fire way to never fix the bugs, and never get out of beta. I'm using this new integration, and submitting bugs, because I want to help this get past beta, and be usable for all. Don't belittle my observations as not relevant, work to improve the software! Again, I do truly wish to thank you for your workaround. I will be using it until these bugs get fixed. |
Sorry if I sounded like I was belittling your observations. I'm fairly certain that adding a button to enable polling is a known issue and something being worked on. My point was that you need to temper your expectations a little (there's nothing wrong with pointing out bugs/issues). I may have mis-interpreted your comments as a complaint, not a constructive comment. Sorry, I just see a lot of "UGH WHY DOESN'T THIS WORK RIGHT NOW." |
Apology accepted. |
It's more known based on conversations I've seen in discord in the #zwave channel. |
@FuzzyMistborn On a side note, is there a way to increase polling frequency? (Yes, I know the risks associated, but it's currently very long, it refreshes each of 5 devices once every 6 seconds, meaning that it takes a full 30 seconds between each poll of a single device) |
You could try changing the polling intensity but I haven't done that so I don't know what it does. |
Polling intensity specifies how often to poll. 1 means poll every cycle, 2 means every second cycle, 3 means every third, etc. 1 is already the lowest, so to go lower you need to reduce the interval between polling cycles. |
ozw documentation |
Hey there @cgarwood, @marcelveldt, @MartinHjelmare, mind taking a look at this issue as its been labeled with an integration ( |
This seems similar to the issue i reported in #36616 |
Ok, I now have a better workaround. instead of polling the light, we can do a |
If the dimmer's multilevel switch command class is >= V4, then OZW already will refresh the value until it reaches the target value reported by the switch. If the dimmer's multilevel switch command class is < V4, then yes, you can setting the In both cases, OZW is polling the value during the transition time. However, the way it's currently implemented results in behavior that is a little erratic, and broken in some cases (some buggy Leviton devices). The issue is still open and in progress. Hopefully this can be addressed when the developer returns from his hiatus. Note that the above behavior applies to OZW container images after build-150, and includes the addon v0.5.2. A single refresh value (using mqtt or the zwave integration device configuration) is an OK workaround but falls short when you want to use transitions that are long (e.g. 30 seconds). You either need to globally configure the refresh value to the longest duration you can ever imagine using, or manually issue a refresh as part of an automation or script. It's not a general purpose solution. Ideally OZW handles this for us, which it is on the path to doing so. If that were not that case, then I would hope that HA would implement a general purpose solution this time. One minor correction:
In Step 3 replace "Hass" with "OZW". HA is not querying the switch for the dimmer level, OZW is reporting it. By default, OZW does a GET immediately after every SET. In this case the GET is replied to before the dimmer has transitioned to the final level. HA is just reporting the information it gets back from OZW. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still unfixed near as I can tell. |
I'm also experiencing this issue in my home assistant which uses ozw 1.6. I have a GE 14294, which apparently has the VerifiedChanged setting configured already. Turning on through the UI works, but turning off it fails to update the state correctly. @kpine any thoughts? As a workaround, I created a script to simulate the toggle action. When turning off, I have a 5 second wait then a second turn_off call. This keeps allows to not continuously poll for status. |
I have this issue with GE Enbrighten
Here's what I did (note that due to permissions issues, I had to edit the files using
Now when I turn off the GE bulbs, I see the following message in the OZWAdmin logs: |
Could you elaborate on how you mapped the containers config folder to a sub directory? Having this same issue with every single one of my older Linear dimmers (about 12) and sure would like a fix. I'm going to guess you aren't using Hassio but bonus points if this works on Hassio as well :). Havent been able to figure out an user friendly way of accessed OZW configs when using the add on in Hassio |
I don't use Hassio, and unfortunately I don't think the method I used to fix the problem would work with it. I use Docker Compose to run Home Assistant and OZW, and in the |
I also have this problem with the Aeotec Dual Nano Switch (ZW140), I couldn't find where to add the Verified Change parameter in the device configuration file since there were no entries for the binary switches there. I hade to manually edit the ozwcache.xml file instead and change the "verify_changes" parameter to true in CommandClass with id=37. (Don't forget to first shutdown OpenZWave before editing the file if trying this) |
It looks like this may be mitigated/resolved via Z-Wave JS (zwave-js/node-zwave-js#452) for those willing to make the switch once it's out/stable |
I am still having issues with zwave-js as well were the dimmers and the state in HA don't match. Only with dimmers. |
Z-Wave JS should handle this way better than OZW... But maybe you have one of those devices that need to be active polled. Are those Z-Wave plus dimmers ? |
It would be great if we could capture the models of GE Dimmers and issues or quirks on the HA Z-Wave JS integration docs - finding good info on them has been nearly impossible despite the fact that so many people mention having problems or needing to use a special configuration with them...I'd even support a known issues section for the older Z-Wave integrations, but I don't have good enough info to be the one writing it all down... GE 12724 (Z-Wave)
GE 14294 (Z-Wave Plus)
GE Enbrighten 46203 (Latest, Z-Wave Plus, S2)
|
@PrplHaz4 see this for the discussion on how/where we're going to specify device specific quirks: |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This issue remains currently |
I confirm, this issue still exists |
The problem
When using OpenZWave with plugin dimmers or dimmable bulbs, and you turn them "on" or "off" from the UI the following sequence occurs:
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
This is not device specific as I've tried at least 4 different models of dimmer, my current ones are:
In the old Z-Wave integration (https://www.home-assistant.io/docs/z-wave/installation/) this was solved by using device_config with refresh_value and a delay, however I don't see any way to do that on OpenZWave
The text was updated successfully, but these errors were encountered: