-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
[bug] Greenwave Powernode 6 measurements always reported on instance 1 #2792
Comments
Please share a driver log (loglevel debug) which contains a power report from the device. |
Hi @AlCalzone,
Please also find the node JSON and debug_info exported from GUI for node 12 (one of my two greenwave powernode 6 devices) |
That is not the driver log. |
Oh, my mistake, sorry! I get you now. Please find it attached: zwavejs_2021-06-07.log
In case it could be helpful, same log as above plus node 2 (the other greenwave powernode I have, with several devices connected to its sockets): zwavejs_2021-06-07_Nodes12and2.log |
Oh, so the device tells us the report comes from endpoint 1, when in reality it comes from endpoint 3 which it uses as the destination. We need to implement a compat flag to interpret these incorrect reports differently. |
Thank you very much for your quick answer! It will be really helpful if it could be managed as you said. |
Version
Checklist:
Build/Run method
zwavejs2mqtt version: 4.5.1
zwave-js version: 7.7.1
Describe the bug
Two Greenwave Powernode 6 devices. Correctly detected by ZWaveJS2MQTT. Nodes 2 & 12.
Attached information:
zwavejs2mqtt-store.zip
Each socket is expected to update their "Electric Consumed [W]" information into their own instances (NODE-50-X-66049, with X = 1 to 6).
Unfortunately the electric consumed information is updated regularly but instead to be assigned to the proper socket, the information is assigned to X=1
For instance, in my node 12 I have only one device connected at X=3 right now but information of power consumption is updated on 12-50-1-66049, not in 12-50-3-66049
![imagen](https://user-images.githubusercontent.com/75622100/120933023-95a8f880-c6f8-11eb-9af4-a45c94bf629c.png)
If I click on "Refresh" button, the 12-50-3-value-66049 is updated and 12-50-1-value-66049 goes to 0 for a few seconds. Until new measurement is received which instead to updated the expected 12-50-3-value-66049 updates the 12-50-1-value-66049.
In my other device (node 2) it happens the same but it could be less obvious because I have devices in a lot of more sockets. But in logs you can see only socket 1 is updated periodically but, based on the power consumptions it is obvious to me some times the reports if for one socket or another.
It seems quite similar to me to the issue reported over OpenZWave stack: OpenZWave/open-zwave#1700 but I don't get the technical discussion on it of how it was solved on that ZWave stack. I'm not sure if it could be helpful for ZWaveJS stack.
kWh information (NODE-50-X-value-65537 Ekectric Consumed kWh) is only updated by polling mechanism so I guess I can do the same to get "W" information updated regularly but, as I said, Electric Consumed (W) information is being sent by device periodically and ZWaveJS is aware of that. The issue is ZWaveJS is assigning the values always to socket 1.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Each NODE-50-X-value-66049 Electric Consumed W should be updated with the information if its own socket X. X=1 should inform about the electric consumed (W) by socket 1, X=2 should report power consumption of socket 2 and so on.
Additional context
As mentioned above, it seems to me like this issue raised on other ZWave stack: OpenZWave/open-zwave#1700
The text was updated successfully, but these errors were encountered: