IKEA INSPELNING Smart plug: Wrong energy metering
What happened?
The device involved is IKEA INSPELNING Smart plug E2206 (Firmware version 2.4.45) The energy entity (KWh) shows much (but very much) more than the real energy used.
This is the active power for 24 hours When the load is OFF the power is 0.3-0.4 watt There is one hour (from 21.40 to 22.40) when the load is ON and is 7.7 watt.
Now the energy:
In 24 hours it begins at 424 and ends at 431. They are 7 KWh !!!!! It's impossible because for 23 hours the load used 0.3-0.4 watt per hour.
What did you expect to happen?
I expect to have a real energy consumption.
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
2.3.0
Adapter firmware version
8.0.2 (GA)
Adapter
EmberZNet (Sonoff Dongle E)
Setup
Container in Proxmox
Debug log
No response
Another example: The device is switched off since 02.10
This is the energy consumption from 2 o' clock to 13.30
The smatplug calculated 29 KWh with the smartplug in OFF position.
As you can see, nothing passed through the smartplug:
Zero watt all the time.
Is there anybody else affected by the same issue?
I'm seeing the same behaviour. Strangely, it seems to have randomly started a couple of days ago:
a jump of over 200 KWh in the space of one cycle!
Z2M 2.4.0, ZZH, ZStack3x0, Coordinator 20240710. No changes made to network in last week or two. 80 devices on network.
I was starting to think I was the only one in the world with these devices in Z2M.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Not planned but the issue still remains
I'm running around 50 Inspelnings and two or three days ago, some of them started to report massive amounts of kWh.
Thats around 2500 kWh for one device . Detailed view for this one for the last 7 days:
Please note that this device runs continuously and essentially does not experience any load spikes. Here is a detailed snapshot from now to estimate how the power consumption should actually have developed (linearly):
This device has been running since 2025-07-04 22:00 CEST. The issue started 84 days and 13 hours after the initial start. I suspect a counter overflow.
Hereβs another one: on a hunch, I restarted the plug (by unplugging/replugging it), and β et voilΓ β the issue stopped.
Both devices are: Firmware-Datum: 20240801 Firmware ID: 2.4.45 Modell: E2206
Similar issue. The kWh value stays at 0.00 no mater how much energy i use. I've been using it for a week now and it hasn't reported any updates, even if I unplug it and plug it back in.
Similar issue. The kWh value stays at 0.00 no mater how much energy i use. I've been using it for a week now and it hasn't reported any updates, even if I unplug it and plug it back in.
![]()
Have the same issue. Did anyone find a fix?
Could you try to read the currentSumDeliverd of the seMetering cluster from the dev console and see what value it returns? example: https://github.com/Koenkk/zigbee2mqtt/issues/21250#issuecomment-2207121547
Same here! Everything was perfect for several month and I just realized that starting October I have a massive increase in the energy counter.
@Koenkk this is reading from currentSumDeliverd [24/11/2025, 20:37:57] zhc:tz: Read result of 'seMetering': {"currentSummDelivered":774033}
@Aljosha89 could you also provide the data/database.db entry of this device?
You mean this entry in database.db? {"id":7,"type":"Router","ieeeAddr":"0x6cfd22fffe19f615","nwkAddr":46446,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"INSPELNING Smart plug","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,8,1794,2820,4096,64636,64645],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"INSPELNING Smart plug","manufacturerName":"IKEA of Sweden","powerSource":1,"zclVersion":8,"appVersion":2,"stackVersion":114,"hwVersion":1,"dateCode":"20240801","swBuildId":"2.4.45"}},"genOnOff":{"attributes":{"onOff":1,"startUpOnOff":255}},"haElectricalMeasurement":{"attributes":{"acPowerDivisor":10,"acPowerMultiplier":1,"acCurrentDivisor":1000,"acCurrentMultiplier":1,"acVoltageDivisor":10,"acVoltageMultiplier":1,"activePower":57,"rmsCurrent":135,"rmsVoltage":2233}},"seMetering":{"attributes":{"divisor":1000,"multiplier":1,"currentSummDelivered":775533}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b00339da972","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b00339da972","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b00339da972","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1541,"minRepIntval":10,"maxRepIntval":65000,"repChange":1},{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1},{"cluster":2820,"attrId":1291,"minRepIntval":10,"maxRepIntval":65000,"repChange":50},{"cluster":2820,"attrId":1288,"minRepIntval":10,"maxRepIntval":65000,"repChange":50},{"cluster":2820,"attrId":1285,"minRepIntval":10,"maxRepIntval":65000,"repChange":50},{"cluster":1794,"attrId":0,"minRepIntval":10,"maxRepIntval":65000,"repChange":100}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":2,"stackVersion":114,"hwVersion":1,"dateCode":"20240801","swBuildId":"2.4.45","zclVersion":8,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1764097015286}
So this would give a current consumption of 775533 / 1000 (currentSummDelivered / divisor) = 775.5 kWh, I'm not sure if that's realistic?
So this would give a current consumption of
775533 / 1000(currentSummDelivered/divisor) = 775.5 kWh, I'm not sure if that's realistic?
That calculation results in 775.5 kWh, which is definitely incorrect. The device worked perfectly from January to September (totaling 140 kWh), but since October, it has been erroneously reporting >100 kWh on some days even with a 10W load.
Given that christoph-morrison reported the same issue on 30.09, I suspect this could be related to a recent firmware update or a bug introduced around that date.
I have this issue since the first day.
I would like to add that I have observed this behaviour several times. Each time, I had a stability problem in the Zigbee network during the same period. I monitor a router device that is not battery-powered, and if it is unavailable for a long period of time, HA performs a power cycle on the PoE port, thereby restarting the SLZB-06P7. These problems usually occur frequently in the Zigbee network β and then the Inspelnings always start to report excessive consumption.
@Aljosha89 Could you provide the debug log when configuring the device via the frontend -> yellow refresh icon? Make sure to wake up the device right before doing so by clicking a button on it.
See this on how to enable debug logging.
Could you try to read the
currentSumDeliverdof theseMeteringcluster from the dev console and see what value it returns? example: #21250 (comment)
[03/12/2025, 12:04:59 pm] zhc:tz: Read result of 'seMetering': {"currentSummDelivered":757}
Click to view db entry (I think?)
{ "date_code": "20240801", "definition": { "description": "INSPELNING smart plug", "exposes": [ { "features": [ { "access": 7, "description": "On/off state of the switch", "label": "State", "name": "state", "property": "state", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "access": 7, "category": "config", "description": "Controls the behavior when the device is powered on after power loss", "label": "Power-on behavior", "name": "power_on_behavior", "property": "power_on_behavior", "type": "enum", "values": [ "off", "on", "toggle", "previous" ] }, { "access": 2, "category": "config", "description": "Initiate device identification", "label": "Identify", "name": "identify", "property": "identify", "type": "enum", "values": [ "identify" ] }, { "access": 5, "description": "Instantaneous measured power", "label": "Power", "name": "power", "property": "power", "type": "numeric", "unit": "W" }, { "access": 5, "description": "Measured electrical potential value", "label": "Voltage", "name": "voltage", "property": "voltage", "type": "numeric", "unit": "V" }, { "access": 5, "description": "Instantaneous measured electrical current", "label": "Current", "name": "current", "property": "current", "type": "numeric", "unit": "A" }, { "access": 5, "description": "Sum of consumed energy", "label": "Energy", "name": "energy", "property": "energy", "type": "numeric", "unit": "kWh" }, { "access": 1, "category": "diagnostic", "description": "Link quality (signal strength)", "label": "Linkquality", "name": "linkquality", "property": "linkquality", "type": "numeric", "unit": "lqi", "value_max": 255, "value_min": 0 } ], "model": "E2206", "options": [ { "access": 2, "description": "Calibrates the power value (percentual offset), takes into effect on next report of device.", "label": "Power calibration", "name": "power_calibration", "property": "power_calibration", "type": "numeric", "value_step": 0.1 }, { "access": 2, "description": "Number of digits after decimal point for power, takes into effect on next report of device. This option can only decrease the precision, not increase it.", "label": "Power precision", "name": "power_precision", "property": "power_precision", "type": "numeric", "value_max": 3, "value_min": 0 }, { "access": 2, "description": "Calibrates the voltage value (percentual offset), takes into effect on next report of device.", "label": "Voltage calibration", "name": "voltage_calibration", "property": "voltage_calibration", "type": "numeric", "value_step": 0.1 }, { "access": 2, "description": "Number of digits after decimal point for voltage, takes into effect on next report of device. This option can only decrease the precision, not increase it.", "label": "Voltage precision", "name": "voltage_precision", "property": "voltage_precision", "type": "numeric", "value_max": 3, "value_min": 0 }, { "access": 2, "description": "Calibrates the current value (percentual offset), takes into effect on next report of device.", "label": "Current calibration", "name": "current_calibration", "property": "current_calibration", "type": "numeric", "value_step": 0.1 }, { "access": 2, "description": "Number of digits after decimal point for current, takes into effect on next report of device. This option can only decrease the precision, not increase it.", "label": "Current precision", "name": "current_precision", "property": "current_precision", "type": "numeric", "value_max": 3, "value_min": 0 }, { "access": 2, "description": "Calibrates the energy value (percentual offset), takes into effect on next report of device.", "label": "Energy calibration", "name": "energy_calibration", "property": "energy_calibration", "type": "numeric", "value_step": 0.1 }, { "access": 2, "description": "Number of digits after decimal point for energy, takes into effect on next report of device. This option can only decrease the precision, not increase it.", "label": "Energy precision", "name": "energy_precision", "property": "energy_precision", "type": "numeric", "value_max": 3, "value_min": 0 }, { "access": 2, "description": "Sets the duration of the identification procedure in seconds (i.e., how long the device would flash).The value ranges from 1 to 30 seconds (default: 3).", "label": "Identify timeout", "name": "identify_timeout", "property": "identify_timeout", "type": "numeric", "value_max": 30, "value_min": 1 }, { "access": 2, "description": "State actions will also be published as 'action' when true (default false).", "label": "State action", "name": "state_action", "property": "state_action", "type": "binary", "value_off": false, "value_on": true } ], "source": "native", "supports_ota": true, "vendor": "IKEA" }, "disabled": false, "endpoints": { "1": { "bindings": [ { "cluster": "genOnOff", "target": { "endpoint": 1, "ieee_address": "0xe0798dfffe0e34ed", "type": "endpoint" } }, { "cluster": "haElectricalMeasurement", "target": { "endpoint": 1, "ieee_address": "0xe0798dfffe0e34ed", "type": "endpoint" } }, { "cluster": "seMetering", "target": { "endpoint": 1, "ieee_address": "0xe0798dfffe0e34ed", "type": "endpoint" } } ], "clusters": { "input": [ "genBasic", "genIdentify", "genGroups", "genScenes", "genOnOff", "genLevelCtrl", "seMetering", "haElectricalMeasurement", "touchlink", "manuSpecificIkeaUnknown", "64645" ], "output": [ "genOta" ] }, "configured_reportings": [ { "attribute": "acPowerDivisor", "cluster": "haElectricalMeasurement", "maximum_report_interval": 65000, "minimum_report_interval": 10, "reportable_change": 1 }, { "attribute": "onOff", "cluster": "genOnOff", "maximum_report_interval": 65000, "minimum_report_interval": 0, "reportable_change": 1 }, { "attribute": "activePower", "cluster": "haElectricalMeasurement", "maximum_report_interval": 65000, "minimum_report_interval": 10, "reportable_change": 50 }, { "attribute": "rmsCurrent", "cluster": "haElectricalMeasurement", "maximum_report_interval": 65000, "minimum_report_interval": 10, "reportable_change": 50 }, { "attribute": "rmsVoltage", "cluster": "haElectricalMeasurement", "maximum_report_interval": 65000, "minimum_report_interval": 10, "reportable_change": 50 }, { "attribute": "currentSummDelivered", "cluster": "seMetering", "maximum_report_interval": 10, "minimum_report_interval": 3, "reportable_change": 100 } ], "scenes": [] }, "242": { "bindings": [], "clusters": { "input": [ "greenPower" ], "output": [ "greenPower" ] }, "configured_reportings": [], "scenes": [] } }, "friendly_name": "TV Room Outlet 1", "ieee_address": "0x348d13fffec575c8", "interview_completed": true, "interview_state": "SUCCESSFUL", "interviewing": false, "manufacturer": "IKEA of Sweden", "model_id": "INSPELNING Smart plug", "network_address": 54919, "power_source": "Mains (single phase)", "software_build_id": "2.4.45", "supported": true, "type": "Router" }
@Aljosha89 Could you provide the debug log when configuring the device via the frontend -> yellow refresh icon? Make sure to wake up the device right before doing so by clicking a button on it.
See this on how to enable debug logging.
Reconfigure log
[03/12/2025, 8:38:08 pm] z2m: Configuring 'TV Room Outlet 1'
[03/12/2025, 8:38:08 pm] z2m:mqtt: MQTT publish: topic 'zigbee/TV Room Outlet 1', payload '{"current":0.15,"energy":0.76,"identify":null,"linkquality":152,"power":20,"power_on_behavior":"previous","state":"ON","update":{"installed_version":33816645,"latest_version":33816645,"state":"idle"},"voltage":250.7}'
[03/12/2025, 8:38:08 pm] z2m:mqtt: MQTT publish: topic 'zigbee/TV Room Outlet 1', payload '{"current":0.15,"energy":0.76,"identify":null,"linkquality":140,"power":19.2,"power_on_behavior":"previous","state":"ON","update":{"installed_version":33816645,"latest_version":33816645,"state":"idle"},"voltage":250.8}'
[03/12/2025, 8:38:09 pm] z2m:mqtt: MQTT publish: topic 'zigbee/TV Room Outlet 1', payload '{"current":0.15,"energy":0.76,"identify":null,"linkquality":152,"power":19.2,"power_on_behavior":"previous","state":"ON","update":{"installed_version":33816645,"latest_version":33816645,"state":"idle"},"voltage":250.8}'
[03/12/2025, 8:38:09 pm] z2m: Successfully configured 'TV Room Outlet 1'
[03/12/2025, 8:38:09 pm] z2m:mqtt: MQTT publish: topic 'zigbee/bridge/response/device/configure', payload '{"data":{"id":"0x348d13fffec575c8"},"status":"ok","transaction":"ttmdq-6"}'
[03/12/2025, 8:39:06 pm] zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "64435".
[03/12/2025, 8:39:06 pm] z2m:mqtt: MQTT publish: topic 'zigbee/TV Room Outlet 1', payload '{"current":0.25,"energy":0.76,"identify":null,"linkquality":144,"power":19.2,"power_on_behavior":"previous","state":"ON","update":{"installed_version":33816645,"latest_version":33816645,"state":"idle"},"voltage":250.8}'
[03/12/2025, 8:39:16 pm] z2m:mqtt: MQTT publish: topic 'zigbee/TV Room Outlet 1', payload '{"current":0.17,"energy":0.76,"identify":null,"linkquality":148,"power":19.2,"power_on_behavior":"previous","state":"ON","update":{"installed_version":33816645,"latest_version":33816645,"state":"idle"},"voltage":250.8}'
[03/12/2025, 8:39:21 pm] z2m:mqtt: MQTT publish: topic 'zigbee/TV Room Outlet 1', payload '{"current":0.17,"energy":0.76,"identify":null,"linkquality":152,"power":24.4,"power_on_behavior":"previous","state":"ON","update":{"installed_version":33816645,"latest_version":33816645,"state":"idle"},"voltage":250.8}'
[03/12/2025, 8:39:41 pm] zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "3857".
[03/12/2025, 8:39:42 pm] zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "3857".
[03/12/2025, 8:40:29 pm] zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "62186".
[03/12/2025, 8:40:40 pm] zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "62186".
[03/12/2025, 8:41:47 pm] z2m:mqtt: MQTT publish: topic 'zigbee/bridge/health', payload '{"response_time":1764754907826,"os":{"load_average":[0.79,0.91,0.91],"memory_used_mb":21588.8,"memory_percent":69.1364},"process":{"uptime_sec":242403,"memory_used_mb":113.89,"memory_percent":0.3647},"mqtt":{"connected":true,"queued":0,"published":99847,"received":2795},"devices":{"0x348d13fffec59a48":{"messages":23959,"messages_per_sec":0.0988,"leave_count":0,"network_address_changes":0},"0x348d13fffec575c8":{"messages":27133,"messages_per_sec":0.1119,"leave_count":0,"network_address_changes":0},"0xa4c138dcaf36c671":{"messages":24350,"messages_per_sec":0.1005,"leave_count":0,"network_address_changes":0},"0xa4c1386607f42441":{"messages":37,"messages_per_sec":0.0002,"leave_count":0,"network_address_changes":0},"0x286d97000113dc97":{"messages":904,"messages_per_sec":0.0037,"leave_count":0,"network_address_changes":0},"0x54ef441000993dde":{"messages":681,"messages_per_sec":0.0028,"leave_count":0,"network_address_changes":0},"0xf082c0fffe29932b":{"messages":2840,"messages_per_sec":0.0117,"leave_count":0,"network_address_changes":0},"0xa4c13843f5423bfd":{"messages":850,"messages_per_sec":0.0035,"leave_count":0,"network_address_changes":0},"0x70ac08fffe7df3fd":{"messages":111,"messages_per_sec":0.0005,"leave_count":0,"network_address_changes":0},"0x70ac08fffe7e17ea":{"messages":287,"messages_per_sec":0.0012,"leave_count":0,"network_address_changes":0},"0x943469fffe5a4eb3":{"messages":280,"messages_per_sec":0.0012,"leave_count":0,"network_address_changes":0},"0x142d41fffe1cf2eb":{"messages":102,"messages_per_sec":0.0004,"leave_count":0,"network_address_changes":0},"0xa4c138d547364320":{"messages":24,"messages_per_sec":0.0001,"leave_count":0,"network_address_changes":0},"0x54ef441000c4bbc0":{"messages":281,"messages_per_sec":0.0012,"leave_count":0,"network_address_changes":0},"0x8c65a3fffe0ed1e6":{"messages":838,"messages_per_sec":0.0035,"leave_count":0,"network_address_changes":0},"0xe0798dfffe0e34ed":{"messages":707,"messages_per_sec":0.003,"leave_count":0,"network_address_changes":0},"0x90395efffe005657":{"messages":18,"messages_per_sec":0.0001,"leave_count":0,"network_address_changes":0},"0xf4b3b1fffece6faf":{"messages":45,"messages_per_sec":0.0002,"leave_count":0,"network_address_changes":0},"0x943469fffe5ff3f1":{"messages":168,"messages_per_sec":0.0008,"leave_count":0,"network_address_changes":0},"0xdc8e95fffe8dfa2c":{"messages":175,"messages_per_sec":0.0008,"leave_count":0,"network_address_changes":0},"0xbc026efffe52f999":{"messages":232,"messages_per_sec":0.001,"leave_count":0,"network_address_changes":0},"0x943469fffe5fff8a":{"messages":75,"messages_per_sec":0.0004,"leave_count":0,"network_address_changes":0},"0x0c2a6ffffe2bad54":{"messages":35,"messages_per_sec":0.0002,"leave_count":0,"network_address_changes":0},"0x385cfbfffef293f9":{"messages":175,"messages_per_sec":0.0009,"leave_count":0,"network_address_changes":0},"0xb43a31fffeefa0b4":{"messages":137,"messages_per_sec":0.0007,"leave_count":0,"network_address_changes":0},"0xf082c0fffe446c99":{"messages":156,"messages_per_sec":0.0008,"leave_count":0,"network_address_changes":0},"0xb0c7defffe95c5de":{"messages":61,"messages_per_sec":0.0003,"leave_count":0,"network_address_changes":0},"0xb0c7defffe955718":{"messages":1,"messages_per_sec":0,"leave_count":0,"network_address_changes":0}}}'
[03/12/2025, 8:42:49 pm] zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "62186".
[03/12/2025, 8:43:19 pm] zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "62186".
[03/12/2025, 8:43:29 pm] zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "62186".
All devices that state "ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE" are still reachable and responsive if that matters.
