zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Frient EMIZB-151 reporting wrong energy value of 281474976710655 (0xFFFFFFFFFFFF)

Open Fabiancrg opened this issue 11 months ago β€’ 39 comments

What happened?

Regularly a wrong value for the energy is reported, it is 281474976710655 corresponding to 0xFFFFFFFFFFFF (48bit at 1) This value is reported alone from endpoint 64 and it alternate with the other values from endpoint 2.

What did you expect to happen?

Only the vlues from endpoint 2 should be published

How to reproduce it (minimal and precise)

Issue occured after upgrade to Z2M version 2.7.2. As far as I can see, this is due to a binding for seMetering on endpoint 64. I deleted the binding on endpoint 64 and it works normally after that.

Zigbee2MQTT version

2.7.2

Adapter firmware version

20240710

Adapter

Sonoff ZDongle-P

Setup

Z2M runs in a LXC Linux zigbee2mqtt 6.17.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.17.4-2 (2025-12-19T07:49Z) x86_64 GNU/Linux Debian GNU/Linux 12

Device database.db entry

No response

Debug log

Jan 02 19:02:36 zigbee2mqtt pnpm[1312]: [2026-01-02 19:02:36] debug:         z2m: Received Zigbee message from 'Gaspard16_P1', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":281474976710655}' from endpoint 64 with groupID 0
Jan 02 19:02:37 zigbee2mqtt pnpm[1312]: [2026-01-02 19:02:37] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":4.63,"current_phase_b":0,"current_phase_c":5.58,"elapsed":1922,"energy":281474976710655,"energy_tier_1":3265.265,"energy_tier_2":2495.9410000000003,"last_seen":1767376956767,"linkquality":65,"power":900,"power_phase_b":0,"power_phase_c":300,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4583.647,"produced_energy_tier_1":3318.541,"produced_energy_tier_2":1265.106,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":232,"voltage_phase_b":0,"voltage_phase_c":226.1}'
Jan 02 19:02:39 zigbee2mqtt pnpm[1312]: [2026-01-02 19:02:39] debug:         z2m: Received Zigbee message from 'Gaspard16_P1', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":5761208,"currentSummReceived":4583647,"currentTier1SummDelivered":3265267,"currentTier1SummReceived":3318541,"currentTier2SummDelivered":2495941,"currentTier2SummReceived":1265106,"instantaneousDemand":1200}' from endpoint 2 with groupID 0
Jan 02 19:02:39 zigbee2mqtt pnpm[1312]: [2026-01-02 19:02:39] debug:         z2m: Received Zigbee message from 'Gaspard16_P1', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":9,"activePowerPhB":0,"powerDivisor":10,"powerMultiplier":1,"reactivePower":null,"reactivePowerPhB":null,"rmsCurrent":464,"rmsCurrentPhB":0,"rmsCurrentPhC":541,"rmsVoltage":2315,"rmsVoltagePhB":0,"rmsVoltagePhC":2257,"totalActivePower":12,"totalReactivePower":null}' from endpoint 2 with groupID 0

Notes

No response

Fabiancrg avatar Jan 02 '26 18:01 Fabiancrg

Exactly the same issue here.

  • Frient EMIZB-151
  • Zigbee2MQTT 2.7.2-1

@Fabiancrg : Did you manage to have a permanent workaround ? I tried disabling the bindings and it worked for some time but it does not appear to be permanent.

mageo avatar Jan 17 '26 13:01 mageo

@Koenkk do you have any idea why this happens since the last Z2M update ?

Fabiancrg avatar Jan 19 '26 19:01 Fabiancrg

Can you try disabling the reporting for endpoint 64 from the device -> reporting tab?

Koenkk avatar Jan 20 '26 19:01 Koenkk

There isn't any reporting for this endpoint 64, only a binding. I think it keep onb coming back automatically after each reboot

Fabiancrg avatar Jan 21 '26 15:01 Fabiancrg

Once the bind is gone, is the issue fixed?

Koenkk avatar Jan 21 '26 20:01 Koenkk

@Koenkk sadly, no

Image Image Image

mageo avatar Jan 21 '26 21:01 mageo

For me it is fixed when I remove the binding but also, my issue is limited to the "energy" attribute, all others are OK.

I noticed also that the binding is coming back after two Z2M restarts as it seems to trigger a reconfigure of the device.

After the first reboot, the nergy counter is reported correctly but after a while I start to get the wrong value, I can see this error for end point 64 in the log just after the wrong value is published:

z2m: Failed to configure 'Gaspard16_P1', attempt 3 (Error: ZCL command 0x0015bc001b1013c9/64 seMetering.configReport([{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentSummDelivered"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentSummReceived"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentTier1SummDelivered"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentTier2SummDelivered"}], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')

At the second reboot, I get the binding back on endpoint 64

Image

If I delete it, energy is back to a normal value all the time:

Jan 22 18:31:32 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:32] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":11.88,"current_phase_b":0,"current_phase_c":10.09,"elapsed":12,"energy":6543.99,"energy_tier_1":3644.852,"energy_tier_2":2899.141,"last_seen":1769103091470,"linkquality":92,"power":2300,"power_phase_b":0,"power_phase_c":700,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4584.502,"produced_energy_tier_1":3319.352,"produced_energy_tier_2":1265.15,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":227.6,"voltage_phase_b":0,"voltage_phase_c":227}'
Jan 22 18:31:35 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:35] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":11.88,"current_phase_b":0,"current_phase_c":10.09,"elapsed":14,"energy":281474976710655,"energy_tier_1":3644.859,"energy_tier_2":2899.141,"last_seen":1769103094471,"linkquality":88,"power":3000,"power_phase_b":0,"power_phase_c":700,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4584.502,"produced_energy_tier_1":3319.352,"produced_energy_tier_2":1265.15,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":227.6,"voltage_phase_b":0,"voltage_phase_c":227}'
Jan 22 18:31:37 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:37] info:         z2m: Successfully unbound cluster 'seMetering' from 'Gaspard16_P1' to 'Coordinator'
Jan 22 18:31:40 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:40] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":11.88,"current_phase_b":0,"current_phase_c":10.09,"elapsed":4986,"energy":6544,"energy_tier_1":3644.8630000000003,"energy_tier_2":2899.141,"last_seen":1769103099456,"linkquality":80,"power":2900,"power_phase_b":0,"power_phase_c":700,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4584.502,"produced_energy_tier_1":3319.352,"produced_energy_tier_2":1265.15,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":227.6,"voltage_phase_b":0,"voltage_phase_c":227}'
Jan 22 18:31:42 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:42] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":10.98,"current_phase_b":0,"current_phase_c":9.98,"elapsed":11,"energy":6544,"energy_tier_1":3644.8630000000003,"energy_tier_2":2899.141,"last_seen":1769103101487,"linkquality":88,"power":2100,"power_phase_b":0,"power_phase_c":700,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4584.502,"produced_energy_tier_1":3319.352,"produced_energy_tier_2":1265.15,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":228,"voltage_phase_b":0,"voltage_phase_c":227.5}'
Jan 22 18:31:45 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:45] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":10.98,"current_phase_b":0,"current_phase_c":9.98,"elapsed":2974,"energy":6544.01,"energy_tier_1":3644.867,"energy_tier_2":2899.141,"last_seen":1769103104459,"linkquality":88,"power":2800,"power_phase_b":0,"power_phase_c":700,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4584.502,"produced_energy_tier_1":3319.352,"produced_energy_tier_2":1265.15,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":228,"voltage_phase_b":0,"voltage_phase_c":227.5}'
Jan 22 18:31:47 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:47] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":11.48,"current_phase_b":0,"current_phase_c":9.94,"elapsed":13,"energy":6544.01,"energy_tier_1":3644.867,"energy_tier_2":2899.141,"last_seen":1769103106494,"linkquality":84,"power":2000,"power_phase_b":0,"power_phase_c":700,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4584.502,"produced_energy_tier_1":3319.352,"produced_energy_tier_2":1265.15,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":227.8,"voltage_phase_b":0,"voltage_phase_c":228.2}'
Jan 22 18:31:50 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:50] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":11.48,"current_phase_b":0,"current_phase_c":9.94,"elapsed":2995,"energy":6544.01,"energy_tier_1":3644.871,"energy_tier_2":2899.141,"last_seen":1769103109488,"linkquality":88,"power":2700,"power_phase_b":0,"power_phase_c":700,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4584.502,"produced_energy_tier_1":3319.352,"produced_energy_tier_2":1265.15,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":227.8,"voltage_phase_b":0,"voltage_phase_c":228.2}'
Jan 22 18:31:52 zigbee2mqtt pnpm[16632]: [2026-01-22 18:31:52] info:         z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gaspard16_P1', payload '{"current":11.48,"current_phase_b":0,"current_phase_c":9.94,"elapsed":2031,"energy":6544.01,"energy_tier_1":3644.871,"energy_tier_2":2899.141,"last_seen":1769103111519,"linkquality":88,"power":2700,"power_phase_b":0,"power_phase_c":700,"power_reactive":null,"power_reactive_phase_b":null,"power_reactive_phase_c":null,"produced_energy":4584.502,"produced_energy_tier_1":3319.352,"produced_energy_tier_2":1265.15,"update":{"installed_version":196871,"latest_version":196871,"state":"idle"},"voltage":227.8,"voltage_phase_b":0,"voltage_phase_c":228.2}'

@mageo have you tried to restart Z2M a couple of times and check the binding ? Maybe you have it too only afterr the second reboot. Also, just to be sure we are using the same firmware, my device is updated to the last version (App: 0.0 build 3 Stack: 0.1 build 7).

Fabiancrg avatar Jan 22 '26 17:01 Fabiancrg

@Fabiancrg the re-configure happens because the configure fails:

z2m: Failed to configure 'Gaspard16_P1', attempt 3 (Error: ZCL command 0x0015bc001b1013c9/64 seMetering.configReport([{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentSummDelivered"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentSummReceived"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentTier1SummDelivered"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentTier2SummDelivered"}], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')

This is due to https://github.com/Koenkk/zigbee-herdsman-converters/commit/02c20ae0403ed0c5c3e0094cbf92f3b68a20ec02, since you are the author of it, I don't think this device supports currentTier2SummDelivered or currentTier1SummDelivered, did this ever work?

Koenkk avatar Jan 23 '26 19:01 Koenkk

@Koenkk Yes, it's working and everything was working fine until the last Z2M update. Since, it's configuring the endpoint 64, Z2M was not doing that before.

Fabiancrg avatar Jan 23 '26 19:01 Fabiancrg

@Fabiancrg If I remove the binding on 64 and restart Z2M then the binding comes back.

I played a bit with the Dev Console and I noticed a different behavior from what you are reporting.

currentSummDelivered of seMetering on endpoint 2:

[23/01/2026 21:17:33] zhc:tz: Read result of 'seMetering': {"currentSummDelivered":281474976710655}

Same thing but on endpoint 64:

[23/01/2026 21:19:23] zhc:tz: Read result of 'seMetering': {"currentSummDelivered":4638849}

So apparently, for me, endpoint 64 is the one reporting correct values.

Could this be due to a difference in firmware ? Currently, no firmware version is reported on Z2M for the device:

Image

I found this link to Frient/Develco firmware but they seem quite old: https://github.com/Develco-Products/frient_upgrade_images

mageo avatar Jan 23 '26 20:01 mageo

Could you both provide the data/database.db entry of your device?

Koenkk avatar Jan 23 '26 20:01 Koenkk

{
    "id": 2,
    "type": "EndDevice",
    "ieeeAddr": "0x0015bc001b102250",
    "nwkAddr": 55967,
    "manufId": 4117,
    "manufName": "frient A/S",
    "powerSource": "DC Source",
    "modelId": "EMIZB-151",
    "epList": [
        1,
        2,
        64,
        65,
        66,
        67
    ],
    "endpoints": {
        "1": {
            "profId": 49353,
            "epId": 1,
            "devId": 1,
            "inClusterList": [
                5,
                6
            ],
            "outClusterList": [],
            "clusters": {},
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        },
        "2": {
            "profId": 260,
            "epId": 2,
            "devId": 83,
            "inClusterList": [
                0,
                1,
                3,
                32,
                1794,
                1796,
                2817,
                2820,
                2821
            ],
            "outClusterList": [
                3,
                10,
                25
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "EMIZB-151",
                        "manufacturerName": "frient A/S",
                        "powerSource": 4,
                        "zclVersion": 8,
                        "dateCode": "2024-08-27 10:40"
                    }
                },
                "genPollCtrl": {
                    "attributes": {
                        "checkinInterval": 14400
                    }
                },
                "haElectricalMeasurement": {
                    "attributes": {
                        "acPowerDivisor": 1,
                        "acPowerMultiplier": 1,
                        "acCurrentDivisor": 1000,
                        "acCurrentMultiplier": 1,
                        "acVoltageDivisor": 10,
                        "acVoltageMultiplier": 1,
                        "totalActivePower": 617,
                        "totalReactivePower": -589,
                        "powerMultiplier": 1,
                        "powerDivisor": 1000,
                        "rmsVoltage": 2312,
                        "rmsCurrent": 1213,
                        "activePower": 184,
                        "reactivePower": -210,
                        "rmsVoltagePhB": 2345,
                        "rmsCurrentPhB": 2012,
                        "activePowerPhB": 379,
                        "reactivePowerPhB": -279,
                        "rmsVoltagePhC": 2345,
                        "rmsCurrentPhC": 486,
                        "activePowerPhC": 54,
                        "reactivePowerPhC": -100
                    }
                },
                "seMetering": {
                    "attributes": {
                        "divisor": 1000,
                        "multiplier": 1,
                        "currentSummDelivered": 281474976710655,
                        "currentSummReceived": 281474976710655,
                        "currentTier1SummDelivered": 281474976710655,
                        "currentTier2SummDelivered": 281474976710655,
                        "instantaneousDemand": 617,
                        "currentTier1SummReceived": 281474976710655,
                        "currentTier2SummReceived": 281474976710655
                    }
                },
                "seMeterIdentification": {
                    "attributes": {
                        "companyName": "LGF"
                    }
                }
            },
            "binds": [
                {
                    "cluster": 2820,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x54dce9fffe09ad72",
                    "endpointID": 1
                },
                {
                    "cluster": 1794,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x54dce9fffe09ad72",
                    "endpointID": 1
                },
                {
                    "cluster": 32,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x54dce9fffe09ad72",
                    "endpointID": 1
                }
            ],
            "configuredReportings": [
                {
                    "cluster": 2820,
                    "attrId": 1291,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 5
                },
                {
                    "cluster": 2820,
                    "attrId": 2315,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 5
                },
                {
                    "cluster": 2820,
                    "attrId": 2571,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 5
                },
                {
                    "cluster": 2820,
                    "attrId": 1288,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 2820,
                    "attrId": 2312,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 2820,
                    "attrId": 2568,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 2820,
                    "attrId": 1285,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 2820,
                    "attrId": 2309,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 2820,
                    "attrId": 2565,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 1794,
                    "attrId": 0,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 1,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 256,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 258,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 257,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 259,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                }
            ],
            "meta": {}
        },
        "64": {
            "profId": 260,
            "epId": 64,
            "devId": 83,
            "inClusterList": [
                0,
                3,
                1794,
                2817
            ],
            "outClusterList": [
                3
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "EMIZB-151",
                        "manufacturerName": "frient A/S",
                        "powerSource": 4,
                        "zclVersion": 8,
                        "dateCode": "2024-08-27 10:40"
                    }
                },
                "seMetering": {
                    "attributes": {
                        "divisor": 1000,
                        "multiplier": 1,
                        "currentSummDelivered": 4638980
                    }
                }
            },
            "binds": [
                {
                    "cluster": 1794,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x54dce9fffe09ad72",
                    "endpointID": 1
                }
            ],
            "configuredReportings": [],
            "meta": {}
        },
        "65": {
            "profId": 260,
            "epId": 65,
            "devId": 83,
            "inClusterList": [
                0,
                3,
                1794,
                2817
            ],
            "outClusterList": [
                3
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "EMIZB-151",
                        "manufacturerName": "frient A/S",
                        "powerSource": 4,
                        "zclVersion": 8,
                        "dateCode": "2024-08-27 10:40"
                    }
                }
            },
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        },
        "66": {
            "profId": 260,
            "epId": 66,
            "devId": 83,
            "inClusterList": [
                0,
                3,
                1794,
                2817
            ],
            "outClusterList": [
                3
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "EMIZB-151",
                        "manufacturerName": "frient A/S",
                        "powerSource": 4,
                        "zclVersion": 8,
                        "dateCode": "2024-08-27 10:40"
                    }
                }
            },
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        },
        "67": {
            "profId": 260,
            "epId": 67,
            "devId": 83,
            "inClusterList": [
                0,
                3,
                1794,
                2817
            ],
            "outClusterList": [
                3
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "EMIZB-151",
                        "manufacturerName": "frient A/S",
                        "powerSource": 4,
                        "zclVersion": 8,
                        "dateCode": "2024-08-27 10:40"
                    }
                }
            },
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        }
    },
    "dateCode": "2024-08-27 10:40",
    "zclVersion": 8,
    "interviewCompleted": true,
    "interviewState": "SUCCESSFUL",
    "meta": {},
    "lastSeen": 1769200784393,
    "checkinInterval": 3600
}

mageo avatar Jan 23 '26 20:01 mageo

{
    "id": 95,
    "type": "EndDevice",
    "ieeeAddr": "0x0015bc001b1013a0",
    "nwkAddr": 28355,
    "manufId": 4117,
    "manufName": "frient A/S",
    "powerSource": "DC Source",
    "modelId": "EMIZB-151",
    "epList": [
        1,
        2,
        64,
        65,
        66,
        67
    ],
    "endpoints": {
        "1": {
            "profId": 49353,
            "epId": 1,
            "devId": 1,
            "inClusterList": [
                5,
                6
            ],
            "outClusterList": [],
            "clusters": {},
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        },
        "2": {
            "profId": 260,
            "epId": 2,
            "devId": 83,
            "inClusterList": [
                0,
                1,
                3,
                32,
                1794,
                1796,
                2817,
                2820,
                2821
            ],
            "outClusterList": [
                3,
                10,
                25
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {}
                },
                "genPollCtrl": {
                    "attributes": {
                        "checkinInterval": 14400
                    }
                },
                "seMetering": {
                    "attributes": {
                        "currentSummDelivered": 2903616,
                        "instantaneousDemand": -500,
                        "divisor": 1000,
                        "multiplier": 1,
                        "currentSummReceived": 4827994,
                        "currentTier1SummDelivered": 1980211,
                        "currentTier2SummDelivered": 923405,
                        "currentTier1SummReceived": 3436302,
                        "currentTier2SummReceived": 1391692
                    }
                },
                "haElectricalMeasurement": {
                    "attributes": {
                        "totalActivePower": -5,
                        "totalReactivePower": null,
                        "powerMultiplier": 1,
                        "powerDivisor": 10,
                        "rmsVoltage": 2355,
                        "rmsCurrent": 219,
                        "activePower": -4,
                        "reactivePower": null,
                        "rmsVoltagePhB": 0,
                        "rmsCurrentPhB": 0,
                        "activePowerPhB": 0,
                        "reactivePowerPhB": null,
                        "rmsVoltagePhC": 2321,
                        "rmsCurrentPhC": 120,
                        "activePowerPhC": -1,
                        "reactivePowerPhC": null,
                        "acVoltageMultiplier": 1,
                        "acVoltageDivisor": 10,
                        "acCurrentMultiplier": 1,
                        "acCurrentDivisor": 100,
                        "acPowerMultiplier": 100,
                        "acPowerDivisor": 1
                    }
                }
            },
            "binds": [
                {
                    "cluster": 32,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0xe456acfffe6a72a0",
                    "endpointID": 1
                },
                {
                    "cluster": 2820,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0xe456acfffe6a72a0",
                    "endpointID": 1
                },
                {
                    "cluster": 1794,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0xe456acfffe6a72a0",
                    "endpointID": 1
                }
            ],
            "configuredReportings": [
                {
                    "cluster": 2820,
                    "attrId": 1291,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 0.05
                },
                {
                    "cluster": 2820,
                    "attrId": 2315,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 0.05
                },
                {
                    "cluster": 2820,
                    "attrId": 2571,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 0.05
                },
                {
                    "cluster": 2820,
                    "attrId": 1288,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 5
                },
                {
                    "cluster": 2820,
                    "attrId": 2312,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 5
                },
                {
                    "cluster": 2820,
                    "attrId": 2568,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 5
                },
                {
                    "cluster": 2820,
                    "attrId": 1285,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 2820,
                    "attrId": 2309,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 2820,
                    "attrId": 2565,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 50
                },
                {
                    "cluster": 1794,
                    "attrId": 0,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 1,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 256,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 258,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 257,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                },
                {
                    "cluster": 1794,
                    "attrId": 259,
                    "minRepIntval": 10,
                    "maxRepIntval": 65000,
                    "repChange": 100
                }
            ],
            "meta": {}
        },
        "64": {
            "profId": 260,
            "epId": 64,
            "devId": 83,
            "inClusterList": [
                0,
                3,
                1794,
                2817
            ],
            "outClusterList": [
                3
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {}
                },
                "seMetering": {
                    "attributes": {
                        "divisor": 16777215,
                        "multiplier": 16777215,
                        "currentSummDelivered": 281474976710655
                    }
                }
            },
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        },
        "65": {
            "profId": 260,
            "epId": 65,
            "devId": 83,
            "inClusterList": [
                0,
                3,
                1794,
                2817
            ],
            "outClusterList": [
                3
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {}
                }
            },
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        },
        "66": {
            "profId": 260,
            "epId": 66,
            "devId": 83,
            "inClusterList": [
                0,
                3,
                1794,
                2817
            ],
            "outClusterList": [
                3
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {}
                }
            },
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        },
        "67": {
            "profId": 260,
            "epId": 67,
            "devId": 83,
            "inClusterList": [
                0,
                3,
                1794,
                2817
            ],
            "outClusterList": [
                3
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {}
                }
            },
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        }
    },
    "dateCode": "2023-12-20 18:39",
    "zclVersion": 8,
    "interviewCompleted": true,
    "interviewState": "SUCCESSFUL",
    "meta": {},
    "lastSeen": 1769260510645,
    "checkinInterval": 3600
}

Fabiancrg avatar Jan 24 '26 13:01 Fabiancrg

Could you check if the issue is fixed with the following external converter:

  • save this as file next to configuration.yaml in the external_converters directory (create if it doesn't exist yet) as ext_converter.js (so external_converters/ext_converter.js)
  • start z2m,
  • in the frontend, check if the description of this device now ends with CUSTOM (this indicates the external converter has been loaded correctly)
  • remove device
  • restart z2m
  • pair device
  • check if issue is fixed, if not provide the debug log when configuring the device.

See this on how to enable debug logging.

Koenkk avatar Jan 24 '26 20:01 Koenkk

Thanks @Koenkk, but I'm still having the issue and I'm seeing an error in the logs when configuring the device:

[1/25/2026, 9:00:47 AM] z2m: Failed to configure 'Mesure d'Γ©nergie compteur', attempt 6 (Error: ZCL command 0x0015bc001b102250/65 seMetering.configReport([{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentSummDelivered"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentSummReceived"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentTier1SummDelivered"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":0.1,"attribute":"currentTier2SummDelivered"}], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')
    at Endpoint.checkStatus (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:461:28)
    at Endpoint.zclCommand (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:1192:26)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at runNextTicks (node:internal/process/task_queues:69:3)
    at processImmediate (node:internal/timers:453:9)
    at Endpoint.configureReporting (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:853:9)
    at setupAttributes (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:183:17)
    at result.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:2336:29)
    at Object.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/index.ts:365:21)
    at Configure.configure (/app/lib/extension/configure.ts:123:13))

Using your external converter as inspiration, I created my own that seems to work well for me: https://gist.github.com/mageo/9b9fee839a70360072269855bf10ba0d

mageo avatar Jan 25 '26 08:01 mageo

@mageo seems to be endpoint 65 in your case, can you check with https://gist.github.com/Koenkk/0a59aaffb6ee330b74a5ea16f2fdbc4d and provide the full debug log of the configure again?

Koenkk avatar Jan 25 '26 20:01 Koenkk

I have the same issue since I upgrade to zigbee2MQTT 2.8.0. (I think this appear since 2.7.2) I create a ticket #31016 (sorry for doublon) At now, I just put 2^48 value as forbibben value to use it with this problem. I remove, reappair, reconfigure the device but is doesn't change.

AJFproduction avatar Feb 10 '26 10:02 AJFproduction

If I remove the binding on 64 it solve the problem for me, but I don't restart restart Z2M.

AJFproduction avatar Feb 10 '26 11:02 AJFproduction

If you restart Z2M, the binding will be back automatically. I have to delete it each time I reboot, hopefully not that often

Fabiancrg avatar Feb 10 '26 12:02 Fabiancrg

You can put 2^48 in "forbidden value", this can help in case Z2M restarts automatically when no one is there to fix the reporting.

Image

AJFproduction avatar Feb 10 '26 13:02 AJFproduction