-
-
Notifications
You must be signed in to change notification settings - Fork 911
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
Qubino Smart Meter - Wrong switch states #1261
Comments
Could you try the following code change to cpp/src/command_classes/SwitchBinary.h the final file should look like:
` Then recompile (make clean && make) and remove any zwcfg_*.xml file from the app directory, restart your application and send the log OZWLog.txt file. Thanks |
in the short term - you could enable polling for that ValueID. Then it would eventually update. |
I edited the file, removed the zwcfg_* files and recompilled. Using the three comboboxes, to switch the relays, does nothing (changing the state of the three comboboxes does not cause any relays to switch). I am attaching the log: |
Its timing out on all SwitchBinary Set messages... did this work before? Can you double check the recompliation as well, as the changes I proposed should have triggered OZW to get the version of the CommandClass for SwitchBinary, but it did not:
|
Sorry, I don't know what I did wrong earlier. I tried reincluding it and this time the relays worked, but the initial issue persists. I am sure I removed all the earlier zwcfg files and I ran the "make clean & make" commands. I am attaching a picture of the edited file and the OpenZwaveLog. I think it didn't fetch the version of the SWITCH_BINARY class (line 430), again. |
I'm noticing the same thing, and I wonder if it's related to #880 and #862 ? I've attached a dump of OZW_Log.txt when it happens.
|
The Qubino Smart Meter (ZMNHTD1) device takes around 7 seconds to update the state of the relays internally. OpenZwave sends a GET command after every command, which switches the relays:
Because the Smart meter takes 7 seconds to update the state of its relays, it reports the previous, old state if it receives the SWITCH_BINARY_GET command before the 7 seconds. If you try to send a SWITCH_BINARY_SET before it is updated, it will send a SWITCH_BINARY_SET(state) command with the same state parameter value like the first time. The GUI of the Domoticz platform is updated only after it receives the unsolicited SWITCH_BINARY_REPORTS, which contain the correct state.
This is not an issue, if the user is using the Open Zwave Control Panel to control the devices, because the same command cannot be sent (comboboxes prevent this) multiple times. It becomes an issue in other platforms, which use this library (Domoticz, Jeedom). In both mentioned platforms, the user has to click two times on the widget, to turn the relays on/off.
Can this be fixed somehow?
Regards.
The text was updated successfully, but these errors were encountered: