Ikea INSPELNING reports instantaneous power, but cumulative energy sticks at zero

I have a few Ikea INSPELNINGs (UK version) and while they’re all behaving correctly in terms of switching and instantaneous power readings, none of them are reporting cumulative energy correctly. They’ve all stuck at a value for weeks (some zero, some slightly above zero). When just installed, one of them was incrementing in a plausible way, but has since reset to near-zero:

To the best of my knowledge, they’re on the latest firmware version (2.4.45, from August of last year).
Setup is a Sonoff 3 and Zigbee2MQTT in Docker on a Pi.
Right now, the one my monitor is connected to is reporting this:

{
    "current": 0.23,
    "energy": 0,
    "linkquality": 120,
    "power": 43.9,
    "power_on_behavior": "previous",
    "state": "ON",
    "update": {
        "installed_version": 33816645,
        "latest_version": 33816645,
        "state": "idle"
    },
    "voltage": 240.3,
    "identify": null
}

I have searched and while there are people reporting problems (on older firmware) with the instantaneous value, but I’ve not seen mention of this issue with the cumulative value. I guess it’s probably possible to have HA compute the sum of the instantaneous values (beyond my yaml-ing at this stage though). It would be nice if the device just reported correctly in the first place.

This was reported on the Zigbee2MQTT forum too.

Interesting. Do you have a link? (I tried searching here but the closest match I could find was about update frequency, which isn’t my problem)

1 Like

Thanks Francis, that’s introduced me to the Integral helper which will hopefully produce some more useful values for now. I think a real fix is going to require an Ikea firmware update.

1 Like