-
-
Notifications
You must be signed in to change notification settings - Fork 914
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
Recent changes to Aeotec switch broke state updates #2529
Comments
Do you use basic command class to receive state updates (e.g. do you have your Z-wave controller added to the groups of your Aoetec switch)? |
If I'm guessing, this is a Nano Switch? The best option for something like a Nano Switch is to set parameter 80 to "Basic". The switch sends 0/255 to signal off/on, and OZW does a single GET to refresh the binary switch value. Another choice would be to set 80 to "Hail". It would probably workaround the issue, but could cause more network traffic because OZW will do more GETs. |
I guess good workaround would be to set it to |
Are you saying these Aeotec switches also send Reports/Hail when you toggle it with a z-wave command? Then in that case, "Hail CC" would be a bad choice, and the "external switch" version is what I had in mind. |
Yup that's exactly what it's happening. |
I'm not sure (still new to ZWave), but I think Zwave2Mqtt adds itself to group 0, so yes?
I've tried this and it solves the issue for the external switch. Unfortunately, it still fails when toggling it view OZW, because it sends get right after set, and the module replies with the old state like 80% of the times. This is because by the time the module replies to GET, it still hasn't updated the state yet. So the reply to get is "oldState = false, newState = false". If there's a solution to the Get after Set issues, I would be fine having Hail CC for external switches. |
Yeah sorry, I mixed it up with Nano Shutter which sends Multilevel switch updates to group 0 Huh that's weird, I do not experience that. Get after set is usually pretty reliable for me. |
On Nano Switches? Even after the changes disabling the basic report mapping? |
I can rollback the PR. I don't have time to test with devices. |
Completely understandable. Thanks for your help. |
The following pull request broke the state reporting of the relays of Aeotec Switches: #2517
Now, when pressing the physical switch, on the log I get "No Valid Mapping for Basic Command Class and No ValueID Exported. Error?", and the state of the device does not change.
State report was working fine before.
The text was updated successfully, but these errors were encountered: