Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.19k stars 1.68k forks source link

ROB_200-017-0 smart plug cumulative energy readings not updating and cannot reset to zero #24523

Open jorismathijssen opened 3 weeks ago

jorismathijssen commented 3 weeks ago

What happened?

I'm using the ROBB SMARRT Slimme Stekker Zigbee 3680W smart plugs (model ROB_200-017-0) connected via Zigbee2MQTT. I've noticed that the cumulative energy (energy) readings are not updating over time and remain stuck at the same value for extended periods. It has not changed in the past 4 months.

To address this, I modified the external converter to include the seMetering cluster and expose energy (that i found around here):

// external converter snippet
{
    zigbeeModel: ['ROB_200-017-0', 'HK-PLUG-A'],
    model: 'ROB_200-017-0',
    vendor: 'ROBB',
    description: 'Zigbee smart plug',
    fromZigbee: [fz.on_off, fz.electrical_measurement, fz.device_temperature, fz.metering],
    toZigbee: [tz.on_off],
    exposes: [e.switch(), e.power(), e.energy(), e.device_temperature()],
    meta: {configureKey: 1},
    configure: async (device, coordinatorEndpoint, logger) => {
        const endpoint = device.getEndpoint(1);
        await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
        await reporting.onOff(endpoint);
        await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
        await reporting.readMeteringMultiplierDivisor(endpoint);
        await reporting.activePower(endpoint);
        await reporting.currentSummDelivered(endpoint, {min: 10, max: 300, change: 1});
    },
},

After reconfiguring the device, the energy readings updated to higher values but did not reset to zero. Performing a factory reset on the device (by pressing the button 5 times) did not reset the cumulative energy; the energy readings remained at the higher values.

What did you expect to happen?

  1. The cumulative energy readings would update over time, accurately reflecting the total energy consumption.
  2. Performing a factory reset on the device would reset the cumulative energy reading back to zero.

How to reproduce it (minimal and precise)

  1. Pair (or have it already paired) the ROB_200-017-0 smart plug with Zigbee2MQTT.
  2. Observe that the energy readings are not updating over time, with power ussages.

Zigbee2MQTT version

1.40.2-1

Adapter firmware version

0x26580700

Adapter

deconz

Setup

Add-on on a Raspberry PI 4 running in Home Assistant: Core 2024.10.4 Supervisor 2024.10.3 Operating System 13.2 Frontend 20241002.4

Debug log

The whole log is to big, but maybe this helps? [2024-10-28 17:38:21] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:21] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:21] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:21] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 151 [2024-10-28 17:38:21] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 151 srcAddr: 0xdbcb destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:21] debug: zh:deconz:frameparser: response payload: 18310a0505212e09 [2024-10-28 17:38:21] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:21] debug: zh:controller: Received payload: clusterID=2820, address=56267, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":49,"commandIdentifier":10},"payload":[{"attrId":1285,"dataType":33,"attrData":2350}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:21] debug: z2m: Received Zigbee message from 'ROBB - Slimme Droger Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":2350}' from endpoint 1 with groupID 0 [2024-10-28 17:38:21] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Droger Stekker', payload '{"current":0.06,"energy":63.005,"linkquality":255,"power":1,"state":"ON","temperature":19.48,"voltage":235}' [2024-10-28 17:38:22] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:22] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:22] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:22] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 152 [2024-10-28 17:38:22] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 152 srcAddr: 0xdbcb destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:22] debug: zh:deconz:frameparser: response payload: 18320a0805213900 [2024-10-28 17:38:22] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:22] debug: zh:controller: Received payload: clusterID=2820, address=56267, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":50,"commandIdentifier":10},"payload":[{"attrId":1288,"dataType":33,"attrData":57}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:22] debug: z2m: Received Zigbee message from 'ROBB - Slimme Droger Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":57}' from endpoint 1 with groupID 0 [2024-10-28 17:38:22] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Droger Stekker', payload '{"current":0.06,"energy":63.005,"linkquality":255,"power":1,"state":"ON","temperature":19.48,"voltage":235}' [2024-10-28 17:38:22] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:22] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:22] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:22] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 153 [2024-10-28 17:38:22] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 153 srcAddr: 0x36fa destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:22] debug: zh:deconz:frameparser: response payload: 18790a0b05290e00 [2024-10-28 17:38:22] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:22] debug: zh:controller: Received payload: clusterID=2820, address=14074, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":121,"commandIdentifier":10},"payload":[{"attrId":1291,"dataType":41,"attrData":14}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:22] debug: z2m: Received Zigbee message from 'ROBB - Slimme Wasmachine Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":14}' from endpoint 1 with groupID 0 [2024-10-28 17:38:22] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Wasmachine Stekker', payload '{"current":0.16,"energy":80.747,"linkquality":255,"power":14,"state":"ON","temperature":18.8,"voltage":234}' [2024-10-28 17:38:23] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:23] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:23] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:23] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 154 [2024-10-28 17:38:23] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 154 srcAddr: 0x36fa destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:23] debug: zh:deconz:frameparser: response payload: 187a0a0505212309 [2024-10-28 17:38:23] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:23] debug: zh:controller: Received payload: clusterID=2820, address=14074, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":122,"commandIdentifier":10},"payload":[{"attrId":1285,"dataType":33,"attrData":2339}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:23] debug: z2m: Received Zigbee message from 'ROBB - Slimme Wasmachine Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":2339}' from endpoint 1 with groupID 0 [2024-10-28 17:38:23] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Wasmachine Stekker', payload '{"current":0.16,"energy":80.747,"linkquality":255,"power":14,"state":"ON","temperature":18.8,"voltage":233.9}' [2024-10-28 17:38:23] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:23] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:23] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:23] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 155 [2024-10-28 17:38:23] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 155 srcAddr: 0x36fa destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:23] debug: zh:deconz:frameparser: response payload: 187b0a0805219600 [2024-10-28 17:38:23] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:23] debug: zh:controller: Received payload: clusterID=2820, address=14074, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":123,"commandIdentifier":10},"payload":[{"attrId":1288,"dataType":33,"attrData":150}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:23] debug: z2m: Received Zigbee message from 'ROBB - Slimme Wasmachine Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":150}' from endpoint 1 with groupID 0 [2024-10-28 17:38:23] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Wasmachine Stekker', payload '{"current":0.15,"energy":80.747,"linkquality":255,"power":14,"state":"ON","temperature":18.8,"voltage":233.9}' [2024-10-28 17:38:23] debug: zh:deconz:driver: send read device state from queue. seqNr: 156 [2024-10-28 17:38:23] debug: zh:deconz:frameparser: device state: 10100010 [2024-10-28 17:38:23] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:26] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:26] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:26] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:26] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 157 [2024-10-28 17:38:26] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 157 srcAddr: 0xdbcb destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:26] debug: zh:deconz:frameparser: response payload: 18330a0505212f09 [2024-10-28 17:38:26] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:26] debug: zh:controller: Received payload: clusterID=2820, address=56267, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":51,"commandIdentifier":10},"payload":[{"attrId":1285,"dataType":33,"attrData":2351}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:26] debug: z2m: Received Zigbee message from 'ROBB - Slimme Droger Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":2351}' from endpoint 1 with groupID 0 [2024-10-28 17:38:26] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Droger Stekker', payload '{"current":0.06,"energy":63.005,"linkquality":255,"power":1,"state":"ON","temperature":19.48,"voltage":235.1}' [2024-10-28 17:38:27] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:27] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:27] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:27] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 158 [2024-10-28 17:38:27] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 158 srcAddr: 0xdbcb destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:27] debug: zh:deconz:frameparser: response payload: 18340a0805213900 [2024-10-28 17:38:27] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:27] debug: zh:controller: Received payload: clusterID=2820, address=56267, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":52,"commandIdentifier":10},"payload":[{"attrId":1288,"dataType":33,"attrData":57}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:27] debug: z2m: Received Zigbee message from 'ROBB - Slimme Droger Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":57}' from endpoint 1 with groupID 0 [2024-10-28 17:38:27] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Droger Stekker', payload '{"current":0.06,"energy":63.005,"linkquality":255,"power":1,"state":"ON","temperature":19.48,"voltage":235.1}' [2024-10-28 17:38:27] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:27] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:27] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:27] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 159 [2024-10-28 17:38:27] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 159 srcAddr: 0x36fa destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:27] debug: zh:deconz:frameparser: response payload: 187c0a0b05290c00 [2024-10-28 17:38:27] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:27] debug: zh:controller: Received payload: clusterID=2820, address=14074, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":124,"commandIdentifier":10},"payload":[{"attrId":1291,"dataType":41,"attrData":12}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:27] debug: z2m: Received Zigbee message from 'ROBB - Slimme Wasmachine Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":12}' from endpoint 1 with groupID 0 [2024-10-28 17:38:27] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Wasmachine Stekker', payload '{"current":0.15,"energy":80.747,"linkquality":255,"power":12,"state":"ON","temperature":18.8,"voltage":233.9}' [2024-10-28 17:38:28] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:28] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:28] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:28] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 160 [2024-10-28 17:38:28] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 160 srcAddr: 0x36fa destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:28] debug: zh:deconz:frameparser: response payload: 187d0a0505212209 [2024-10-28 17:38:28] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:28] debug: zh:controller: Received payload: clusterID=2820, address=14074, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":125,"commandIdentifier":10},"payload":[{"attrId":1285,"dataType":33,"attrData":2338}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:28] debug: z2m: Received Zigbee message from 'ROBB - Slimme Wasmachine Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":2338}' from endpoint 1 with groupID 0 [2024-10-28 17:38:28] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Wasmachine Stekker', payload '{"current":0.15,"energy":80.747,"linkquality":255,"power":12,"state":"ON","temperature":18.8,"voltage":233.8}' [2024-10-28 17:38:28] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:28] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:28] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:28] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 161 [2024-10-28 17:38:28] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 161 srcAddr: 0x36fa destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:28] debug: zh:deconz:frameparser: response payload: 187e0a0805219200 [2024-10-28 17:38:28] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:28] debug: zh:controller: Received payload: clusterID=2820, address=14074, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":126,"commandIdentifier":10},"payload":[{"attrId":1288,"dataType":33,"attrData":146}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:28] debug: z2m: Received Zigbee message from 'ROBB - Slimme Wasmachine Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":146}' from endpoint 1 with groupID 0 [2024-10-28 17:38:28] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Wasmachine Stekker', payload '{"current":0.15,"energy":80.747,"linkquality":255,"power":12,"state":"ON","temperature":18.8,"voltage":233.8}' [2024-10-28 17:38:29] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:29] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:29] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:29] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 162 [2024-10-28 17:38:29] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 162 srcAddr: 0x36fa destAddr: 0x0 profile id: 0x104 cluster id: 0x702 lqi: 255 [2024-10-28 17:38:29] debug: zh:deconz:frameparser: response payload: 187f0a000025ca8e53110000 [2024-10-28 17:38:29] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:29] debug: zh:controller: Received payload: clusterID=1794, address=14074, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":127,"commandIdentifier":10},"payload":[{"attrId":0,"dataType":37,"attrData":290688714}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:29] debug: z2m: Received Zigbee message from 'ROBB - Slimme Wasmachine Stekker', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":290688714}' from endpoint 1 with groupID 0 [2024-10-28 17:38:29] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Wasmachine Stekker', payload '{"current":0.15,"energy":80.747,"linkquality":255,"power":12,"state":"ON","temperature":18.8,"voltage":233.8}' [2024-10-28 17:38:31] debug: zh:deconz:frameparser: DEVICE_STATE changed: 10101010 [2024-10-28 17:38:31] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 1 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:31] debug: zh:deconz:driver: query aps data indication [2024-10-28 17:38:31] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 163 [2024-10-28 17:38:31] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 163 srcAddr: 0xdbcb destAddr: 0x0 profile id: 0x104 cluster id: 0xb04 lqi: 255 [2024-10-28 17:38:31] debug: zh:deconz:frameparser: response payload: 18350a0505212e09 [2024-10-28 17:38:31] debug: zh:deconz:driver: networkstate: 2 apsDataConfirm: 0 apsDataIndication: 0 configChanged: 0 apsRequestFreeSlots: 1 [2024-10-28 17:38:31] debug: zh:controller: Received payload: clusterID=2820, address=56267, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=255, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":53,"commandIdentifier":10},"payload":[{"attrId":1285,"dataType":33,"attrData":2350}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}} [2024-10-28 17:38:31] debug: z2m: Received Zigbee message from 'ROBB - Slimme Droger Stekker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":2350}' from endpoint 1 with groupID 0 [2024-10-28 17:38:31] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ROBB - Slimme Droger Stekker', payload '{"current":0.06,"energy":63.005,"linkquality":255,"power":1,"state":"ON","temperature":19.48,"voltage":235}'

jorismathijssen commented 3 weeks ago

After posting this issue, I noticed that my energy is now slowly increasing, which might be correct given the current power usage. So, it seems the reset or the code I added in external_converter.js is having some effect.

Also, shouldn’t a reset set the energy back to 0?