Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

[bug] issue with 3.0.2 version #328

Closed
varet80 opened this issue Mar 25, 2020 · 13 comments
Closed

[bug] issue with 3.0.2 version #328

varet80 opened this issue Mar 25, 2020 · 13 comments
Assignees
Labels
bug Something isn't working Stale issues+prs marked as stale

Comments

@varet80
Copy link
Contributor

varet80 commented Mar 25, 2020

upgrading to 3.0.2 I get some errors on OpenZwave side.
I do nto knwo if this is a library issues (which I suspect) or something else on the system

zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:08:31.077 Info, Node065, Received Meter Report for Electric - kWh (1) with Units kWh (0) on Index 0: 0.18
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:08:31.077 Warning, Node065, Can't Find a ValueID Index for Electric - kWh (1) with Unit kWh (0) - Index 0
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:08:31.077 Warning, Node065, MultiChannel Encap CommandClass COMMAND_CLASS_METER HandleMsg returned false
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:02.076 Detail, Node065,   Received: 0x01, 0x14, 0x00, 0x04, 0x00, 0x41, 0x0e, 0x60, 0x0d, 0x02, 0x01, 0x32, 0x02, 0x21, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9b
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:02.076 Detail,
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:02.076 Info, Node065, Received a MultiChannelEncap from node 65, endpoint 2 for Command Class COMMAND_CLASS_METER
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:02.076 Info, Node065, Received Meter Report for Electric - kWh (1) with Units kWh (0) on Index 0: 0.00
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:02.077 Warning, Node065, Can't Find a ValueID Index for Electric - kWh (1) with Unit kWh (0) - Index 0
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:02.077 Warning, Node065, MultiChannel Encap CommandClass COMMAND_CLASS_METER HandleMsg returned false
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.808 Detail, Node043,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x2b, 0x0a, 0x32, 0x02, 0x21, 0x44, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x81
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.808 Detail,
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.809 Info, Node043, Received Meter Report for Electric - kWh (1) with Units kWh (0) on Index 0: 0.30
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.809 Detail, Node043, Refreshed Value: old value=0.30, new value=0.30, type=decimal
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.809 Detail, Node043, Changes to this value are not verified
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.809 Detail, Node043, Refreshed Value: old value=false, new value=false, type=bool
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.809 Detail, Node043, Changes to this value are not verified
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.810 Detail, Node043, Notification: ValueChanged CC: COMMAND_CLASS_METER Instance: 1 Index: 0
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:09:46.810 Detail, Node043, Notification: ValueChanged CC: COMMAND_CLASS_METER Instance: 1 Index: 256
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25T14:09:46.811Z z2m:Zwave zwave node 43: changed: 50-1-0:Electric - kWh:0.3 -> 0.3
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25T14:09:46.812Z z2m:Zwave zwave node 43: changed: 50-1-256:Exporting:false -> false
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:10:53.278 Detail, Node063,   Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x3f, 0x0c, 0x60, 0x0d, 0x01, 0x01, 0x32, 0x02, 0x21, 0x32, 0x00, 0x00, 0x00, 0x00, 0x94
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:10:53.278 Detail,
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:10:53.278 Info, Node063, Received a MultiChannelEncap from node 63, endpoint 1 for Command Class COMMAND_CLASS_METER
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:10:53.279 Info, Node063, Received Meter Report for Electric - W (1) with Units W (2) on Index 2: 0.0
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:10:53.279 Warning, Node063, Can't Find a ValueID Index for Electric - W (1) with Unit W (2) - Index 2
zwave2mqtt-665dbd9c84-k8996 z2m 2020-03-25 14:10:53.279 Warning, Node063, MultiChannel Encap CommandClass COMMAND_CLASS_METER HandleMsg returned false
@varet80 varet80 added the bug Something isn't working label Mar 25, 2020
@robertsLando
Copy link
Member

@billiaz Maybe @Fishwaldo has added some more verbose log in latest OZW? Let's see what he say about this

@Fishwaldo
Copy link
Member

Fishwaldo commented Mar 25, 2020 via email

@varet80
Copy link
Contributor Author

varet80 commented Mar 25, 2020

I performed twice the refreshnodeinfo on different nodes, and still getting this.
would querystage_Complete give a message in the end of the refresh?

@varet80
Copy link
Contributor Author

varet80 commented Mar 26, 2020

@Fishwaldo when the library is restarted, it never finishes the whole refresh node info.

With or without the ozwcache in the system

I have 18 devices in the network, with AEOTEC usb stick (gen 5).
I have TRVs from eurotronics, which work almost like mains devices.
And 4 only battery devices (except eurotronics).

If the library/app restarts, I have to manually go through all devices and perform refresh node info (one at a time).

this was not happening in previous library version. any ideas?

@varet80
Copy link
Contributor Author

varet80 commented Mar 28, 2020

I can confirm, this seems to be an issue after the latest release.
When library starts with or without ozwcache file. random devices fail to interview. And at that point I need to interview one by one. to be sure everything works.

Tested Lib from commits: 14f2ba743ff5ce893f652cad3a86968e26f8ea10 and 55770df17be4f0196d2a64785369be91eeeb4479

@robertsLando
Copy link
Member

@billiaz Could youb try to make a new custom docker version using a previous version of ozw to see if that is working?

@thecem
Copy link

thecem commented Jun 16, 2020

[20200616 18:49:03.276 CEST] [ozw.library] [warning]: Warning - Node: 34 Can't Find a ValueID Index for Electric - kWh (1) with Unit kWh (0) - Index 0

Belongs to the same: OpenZWave/open-zwave#2054
and https://community.home-assistant.io/t/z-wave-command-class-meter-no-distinction-between-import-and-export/157916

There is no diffrent ValueID for importing and exporting energy as required in the standard:

Following silabs Z-Wave Application Command Class Specification the values send from qubino device are correct:

0x32 ID 50 Command Class Meter
0x02 Command Meter_Report
_____Scale2(1)__Rate Type(2)__Meter Type (5)
0x41 0_________10___________00001
_______________Export_______Electric meter
or
0x21 0_________01___________00001
_______________Import________Electric meter

_____Precision(3)_Scale1(2)___Size
0x24 001_______00__________100
_______________kwh

I hope the new OZW implementation will take care about this BUG.

OpenZWave 6cec95b

@thecem
Copy link

thecem commented Jun 16, 2020

@billiaz: is it a Qubino 3 Phase Smart meter or 1 Phase ?

@Fishwaldo
Copy link
Member

I hope the new OZW implementation will take care about this BUG.

There is no Bug - You have a "exporting" valueID that tells you if the current reading is a import or export value.

@thecem
Copy link

thecem commented Jun 16, 2020

grafik
(OZWAdmin on latest OZW HA AddOn)
You see the qubino smart meter single phase exporting energy (to grid).

So the exporting should have a check?

@thecem
Copy link

thecem commented Jun 17, 2020

If the "exporting" valueID that tells the current reading is a import or export value is exporting, then there is check in box?
Will it be send even via MQTT?
I couldn't see there is a difference in MQTT to HA except the electric (kwh) value is sometimes the export value and sometime the import value and no additional exporting value...

@github-actions
Copy link

github-actions bot commented Oct 8, 2020

This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

@github-actions github-actions bot added the Stale issues+prs marked as stale label Oct 8, 2020
@github-actions
Copy link

This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Stale issues+prs marked as stale
Projects
None yet
Development

No branches or pull requests

4 participants