Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Z-wave Command_Class_Meter no distinction between import and export

$
0
0

@thecem wrote:

The Topic is ralated to the smart meters, in my case to the qubino zmnhtdx and zmnhxdx.

The import and export values will be presented in the same entities:

sensor.qubino_goap_zmnhxdx_3_phase_smart_meter_energy_7

or for the other meter:

sensor.qubino_goap_zmnhtdx_smart_meter_s4_s5_s6_energy_2

If I analyse the parameter which was send from both meters, I get this:

zmnhxdx with 340.0kWh import (0x21) and 1.2kWh export (to grid) (0x41):

2019-12-26 15:18:23.562 Detail, Node028, Received: 0x01, 0x16, 0x00, 0x04, 0x00, 0x1c, 0x0e, 0x60, 0x0d, 0x01, 0x01, 0x32, 0x02, 0x21, 0x24, 0x00, 0x00, 0x0d, 0x48, 0x00, 0x00, 0xc7, 0x00, 0x25
2019-12-26 15:18:23.562 Detail,
2019-12-26 15:18:23.562 Info, Node028, Response RTT 151 Average Response RTT 159
2019-12-26 15:18:23.562 Info, Node028, Received a MultiChannelEncap from node 28, endpoint 1 for Command Class COMMAND_CLASS_METER
2019-12-26 15:18:23.562 Detail, Node028, Refreshed Value: old value=false, new value=false, type=bool
2019-12-26 15:18:23.562 Detail, Node028, Changes to this value are not verified
2019-12-26 15:18:23.562 Info, Node028, Received Meter report from node 28: Energy=340.0kWh
2019-12-26 15:18:23.562 Detail, Node028, Refreshed Value: old value=340.0, new value=340.0, type=decimal
2019-12-26 15:18:23.562 Detail, Node028, Changes to this value are not verified
2019-12-26 15:18:23.562 Detail, Node028, Expected reply and command class was received
2019-12-26 15:18:23.562 Detail, Node028, Message transaction complete
2019-12-26 15:18:23.562 Detail,
2019-12-26 15:18:23.562 Detail, Node028, Removing current message
2019-12-26 15:18:23.562 Detail, Node028, Notification: ValueChanged

2019-12-26 15:05:09.565 Detail, Node028, Received: 0x01, 0x16, 0x00, 0x04, 0x00, 0x1c, 0x0e, 0x60, 0x0d, 0x01, 0x01, 0x32, 0x02, 0x41, 0x24, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0xc7, 0x00, 0x0c
2019-12-26 15:05:09.565 Detail,
2019-12-26 15:05:09.566 Info, Node028, Received a MultiChannelEncap from node 28, endpoint 1 for Command Class COMMAND_CLASS_METER
2019-12-26 15:05:09.566 Detail, Node028, Refreshed Value: old value=false, new value=true, type=bool
2019-12-26 15:05:09.566 Detail, Node028, Changes to this value are not verified
2019-12-26 15:05:09.566 Info, Node028, Received Meter report from node 28: Exporting Energy=1.2kWh
2019-12-26 15:05:09.566 Detail, Node028, Refreshed Value: old value=340.0, new value=1.2, type=decimal
2019-12-26 15:05:09.566 Detail, Node028, Changes to this value are not verified
2019-12-26 15:05:09.566 Detail, Node028, Notification: ValueChanged

zmnhtdx with 0.6kWh import (0x21) and 138.1kWh export (to grid) (0x41):

2019-12-26 15:35:55.812 Detail, Node027, Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x1b, 0x0a, 0x32, 0x02, 0x41, 0x24, 0x00, 0x00, 0x05, 0x65, 0x00, 0x00, 0xc4, 0x00, 0x09
2019-12-26 15:35:55.812 Detail,
2019-12-26 15:35:55.813 Detail, Node027, Refreshed Value: old value=false, new value=true, type=bool
2019-12-26 15:35:55.813 Detail, Node027, Changes to this value are not verified
2019-12-26 15:35:55.813 Info, Node027, Received Meter report from node 27: Exporting Energy=138.1kWh
2019-12-26 15:35:55.813 Detail, Node027, Refreshed Value: old value=138.0, new value=138.1, type=decimal
2019-12-26 15:35:55.813 Detail, Node027, Changes to this value are not verified
2019-12-26 15:35:55.813 Detail, Node027, Notification: ValueChanged
2019-12-26 15:35:55.852 Detail, Node027, Notification: ValueChanged

2019-12-26 13:51:10.627 Detail, Node027, Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x1b, 0x0a, 0x32, 0x02, 0x21, 0x24, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0xc4, 0x00, 0x0f
2019-12-26 13:51:10.627 Detail,
2019-12-26 13:51:10.627 Info, Node027, Response RTT 495 Average Response RTT 491
2019-12-26 13:51:10.627 Detail, Node027, Refreshed Value: old value=false, new value=false, type=bool
2019-12-26 13:51:10.627 Detail, Node027, Changes to this value are not verified
2019-12-26 13:51:10.627 Info, Node027, Received Meter report from node 27: Energy=0.6kWh
2019-12-26 13:51:10.627 Detail, Node027, Refreshed Value: old value=0.6, new value=0.6, type=decimal
2019-12-26 13:51:10.627 Detail, Node027, Changes to this value are not verified
2019-12-26 13:51:10.627 Detail, Node027, Expected reply and command class was received
2019-12-26 13:51:10.627 Detail, Node027, Message transaction complete
2019-12-26 13:51:10.627 Detail,
2019-12-26 13:51:10.627 Detail, Node027, Removing current message
2019-12-26 13:51:10.627 Detail, Node027, Notification: ValueChanged

So how it is possible to distinguish between the import and export values and create an entity for each value of import and export?
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

It would be nice to get a hint to fix this.
thanks a lot!

Posts: 17

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles