Open jghaanstra opened 1 year ago
I tested the device with the developer tools. This is the output when the device is switched.
023-08-03T14:35:24.973Z | Node[6]: [COMMAND_CLASS_SWITCH_BINARY] {"Current Value (Raw)":{"type":"Buffer","data":[255]},"Current Value":"on/enable","Target Value (Raw)":{"type":"Buffer","data":[255]},"Target Value":"on/enable","Duration (Raw)":{"type":"Buffer","data":[0]},"Duration":"Already at the Target Value"}
2023-08-03T14:35:26.742Z | Node[6]: [COMMAND_CLASS_METER] {"Meter Type (Raw)":{"type":"Buffer","data":[33]},"Meter Type":33,"Properties1 (Raw)":{"type":"Buffer","data":[52]},"Properties1":{"Size":4,"Scale":2,"Precision":1},"Meter Value (Raw)":{"type":"Buffer","data":[0,0,0,61]},"Meter Value":{"type":"Buffer","data":[0,0,0,61]}}
2023-08-03T14:35:56.653Z | Node[6]: [COMMAND_CLASS_METER] {"Meter Type (Raw)":{"type":"Buffer","data":[33]},"Meter Type":33,"Properties1 (Raw)":{"type":"Buffer","data":[52]},"Properties1":{"Size":4,"Scale":2,"Precision":1},"Meter Value (Raw)":{"type":"Buffer","data":[0,0,0,146]},"Meter Value":{"type":"Buffer","data":[0,0,0,146]}}
Just a hunch, could it be that node-homey-zwavedriver
is expecting parsed values in the report which arent present?
It seems the driver only supports up to METER command class V4. I'm supposed to integrate some new Shelly Zwave device that use METER command class V6 which is returning errors when doing
this.registerCapability('meter_power', 'METER');
andthis.registerCapability('measure_power', 'METER');
The errors are:
The device is documented here: https://kb.shelly.cloud/knowledge-base/wave-1pm