Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New device support]: IKEA INSPELNING smart plug with power monitoring #23961

Open
QempZor opened this issue Sep 13, 2024 · 210 comments
Open

[New device support]: IKEA INSPELNING smart plug with power monitoring #23961

QempZor opened this issue Sep 13, 2024 · 210 comments
Labels
new device support New device support request

Comments

@QempZor
Copy link

QempZor commented Sep 13, 2024

Link

US Version: https://www.ikea.com/us/en/p/inspelning-plug-smart-energy-monitor-90569846/
Dutch version: No ikea link yet, but buyable in the stores.. :)

Database entry

{"id":53,"type":"Router","ieeeAddr":"0xecf64cfffef2b718","nwkAddr":27855,"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":"20240215","swBuildId":"2.4.34"}},"haElectricalMeasurement":{"attributes":{"acPowerDivisor":10,"acPowerMultiplier":1,"acCurrentDivisor":1000,"acCurrentMultiplier":1,"acVoltageDivisor":10,"acVoltageMultiplier":1,"activePower":0,"rmsCurrent":3,"rmsVoltage":236}},"seMetering":{"attributes":{"divisor":1000,"multiplier":1,"currentSummDelivered":[0,77]}},"genLevelCtrl":{"attributes":{"onLevel":255,"currentLevel":254}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0xb43522fffe12b3b4","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0xb43522fffe12b3b4","endpointID":1}],"configuredReportings":[{"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":[0,100]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":2,"stackVersion":114,"hwVersion":1,"dateCode":"20240215","swBuildId":"2.4.34","zclVersion":8,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1726245436588}

Zigbee2MQTT version

1.40.1

Comments

Just picked this plugs up at the Ikea in Amsterdam. They're quite new, no infopage on the Ikea site (NL)
I tried to follow the "How to add support" page, but.. well,.. to complicated for this noob :)

However I want to help so here is al the information I know.

Out of the box, in Z2M, a lot works already quite well. See the results below.

Extra;
Some Tweakers forum information (Dutch): https://gathering.tweakers.net/forum/list_message/80105532#80105532

External definition

const {light, electricityMeter} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['INSPELNING Smart plug'],
    model: 'INSPELNING Smart plug',
    vendor: 'IKEA of Sweden',
    description: 'Automatically generated definition',
    extend: [light(), electricityMeter()],
    meta: {},
};

module.exports = definition;

What does/doesn't work with the external definition?

Out of the box in:

  • ON OFF switch works as expected.
  • There is an "Effect" thing in HA/Z2M: Dont think it needs to be there for plug
  • There is an "Brightness slider" Dont think it needs to be there for plug
  • Energy Sensor is a sum of total consumed energy. Don't know if correct. See next point.
  • Power monitoring works kinda. When I charge my iPad it reads around 20W wich seems to be good. However if i plug in my toaster (wich is around 2000w) it reports around 209w) So there seems like a decimal error thing?
  • Same problem for voltage. It reports 23,3-23,6v (when pluged in to a 230v outlet ofcourse)
  • ̶P̶r̶o̶b̶a̶b̶l̶y̶ ̶t̶h̶e̶ ̶s̶a̶m̶e̶ ̶t̶h̶i̶n̶g̶ ̶f̶o̶r̶ ̶t̶h̶e̶ ̶a̶m̶p̶e̶r̶a̶g̶e̶.̶.̶ ̶D̶i̶d̶n̶t̶ ̶t̶e̶s̶t̶ ̶t̶h̶a̶t̶.̶ UPDATE: After testing the amperage seems to be correct.

Configuration page (in HA) shows a Power-on behavior wich works as expected

@QempZor QempZor added the new device support New device support request label Sep 13, 2024
@Rembock
Copy link

Rembock commented Sep 13, 2024

I made this definition:

External definition

const {electricityMeter, onOff, identify} = require('zigbee-herdsman-converters/lib/modernExtend');
const {addCustomClusterManuSpecificIkeaUnknown, ikeaOta} = require('zigbee-herdsman-converters/lib/ikea')

const definition = {
   zigbeeModel: ['INSPELNING Smart plug'],
   model: 'E2206',
   vendor: 'IKEA',
   description: 'INSPELNING Smart plug',
   extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ikeaOta(), electricityMeter()],
   meta: {},
};

module.exports = definition;

What does this external definition fix?

  • Removes "Effect"
  • Removes "Brightness slider"

Also:

  • Energy Sensor looks indeed like a sum of total consumed energy, I have another energymeter that does the same
  • Power monitoring works like it should, the voltage differs depending of the connected device onto your plug & should never use the full 230v.
  • Same applies to voltage and amperage

@QempZor
Copy link
Author

QempZor commented Sep 14, 2024

clarifying the voltage and wattage.
1500w toaster connected shows this on a 240v outlet:
Schermafbeelding 2024-09-14 113711

@Rembock
Copy link

Rembock commented Sep 16, 2024

You're right, I think I've extended the external definition correctly now. Can you try if this external definition works for you as well?

External definition

const {} = require('zigbee-herdsman-converters/lib/modernExtend');
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const ota = require('zigbee-herdsman-converters/lib/ota');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const {electricityMeter, onOff, identify} = require('zigbee-herdsman-converters/lib/modernExtend');
const {addCustomClusterManuSpecificIkeaUnknown, ikeaOta} = require('zigbee-herdsman-converters/lib/ikea');

const definition = {
   zigbeeModel: ['INSPELNING Smart plug'],
   model: 'E2206',
   vendor: 'IKEA',
   description: 'INSPELNING Smart plug',
   extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ikeaOta()],      
   fromZigbee: [fz.electrical_measurement, fz.metering],
   toZigbee: [],
   configure: async (device, coordinatorEndpoint, logger) => {
       const endpoint = device.getEndpoint(1);
       await reporting.bind(endpoint, coordinatorEndpoint, ['haElectricalMeasurement', 'seMetering']);
       await reporting.activePower(endpoint);
       await reporting.rmsVoltage(endpoint);
       await reporting.rmsCurrent(endpoint); 
       await reporting.currentSummDelivered(endpoint);               
       endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {
           acPowerMultiplier: 1,
           acPowerDivisor: 10,
           acVoltageMultiplier: 1,
           acVoltageDivisor: 1,
           acCurrentMultiplier: 1,
           acCurrentDivisor: 1000,            
       });
       endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 100, multiplier: 1});        
       device.save();
   },
   exposes: [e.power(), e.voltage(), e.current(), e.energy()],
};

module.exports = definition;

This is my result:
Screenshot 2024-09-17 000819
I am not sure if the number of kWh is correct yet

Also don't forget to restart zigbee2mqtt and re-pair your device, otherwise it won't work.

@QempZor
Copy link
Author

QempZor commented Sep 17, 2024

Voltage is correct now. I think the total sum of Energy already was correct
Power is still wrong when wattage reach >1000w
Schermafbeelding 2024-09-17 100056

EDIT: Total sum of energy looks like it 10 times to high

@ronaldevers
Copy link

@Rembock the "effect" actually worked on the light on the plug. I could for example make the light "breathe". The brightness did not appear to do anything. So I don't think the "effect" should be removed.

@itkama
Copy link

itkama commented Sep 18, 2024

These are also available in Germany now. Just bought 2. I will take a look if your external controller works for me tomorrow @Rembock. Any clue on how to get these into pairing mode?

@basvdploeg
Copy link

@itkama You can put them in pairing mode by pressing and holding the small button next to the power button. You probably need a pointy object to do so.

@itkama
Copy link

itkama commented Sep 18, 2024

Okay, so I couldn't wait until tomorrow to pair it (thanks @basvdploeg):
image
Seems to be kind of working out of the box already? Voltage looks about right. On/Off working. Not sure about the power measurement, as this is the first time I'm measuring my vacuum bot.

Tried the other one with a pretty efficient GAN-USB-Charger to charge a powerbank that shows how much is going in. While the plug reported 30 to 31W, while the powerbank was reporting around 25W of input power. So for low power it may be kind of accurate.

What does the external converter really change now though? The power number atleast on low wattages seems to be looking correct? 🧐

@Rembock
Copy link

Rembock commented Sep 18, 2024

Made a new definition, this one fixes the issue's with Energy and Power @QempZor
@ronaldevers i will try to take a look if there's a dimmer functionality hidden somewere,

External definition

const {} = require('zigbee-herdsman-converters/lib/modernExtend');
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const ota = require('zigbee-herdsman-converters/lib/ota');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const {electricityMeter, onOff, identify} = require('zigbee-herdsman-converters/lib/modernExtend');
const {addCustomClusterManuSpecificIkeaUnknown, ikeaOta} = require('zigbee-herdsman-converters/lib/ikea');

const definition = {
   zigbeeModel: ['INSPELNING Smart plug'],
   model: 'E2206',
   vendor: 'IKEA',
   description: 'INSPELNING Smart plug',
   extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ikeaOta()],      
   fromZigbee: [fz.electrical_measurement, fz.metering],
   toZigbee: [],
   configure: async (device, coordinatorEndpoint, logger) => {
       const endpoint = device.getEndpoint(1);
       await reporting.bind(endpoint, coordinatorEndpoint, ['haElectricalMeasurement', 'seMetering']);
       await reporting.activePower(endpoint);
       await reporting.rmsVoltage(endpoint);
       await reporting.rmsCurrent(endpoint); 
       await reporting.currentSummDelivered(endpoint);               
       endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {
           acPowerMultiplier: 1,
           acPowerDivisor: 1,
           acVoltageMultiplier: 1,
           acVoltageDivisor: 1,
           acCurrentMultiplier: 1,
           acCurrentDivisor: 1000,            
       });
       endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 1000, multiplier: 1});        
       device.save();
   },
   exposes: [
       e.power(), 
       e.voltage(), 
       e.current(), 
       e.energy()
   ],    
};

module.exports = definition;

Screenshot 2024-09-18 222031

@Rembock
Copy link

Rembock commented Sep 18, 2024

@ronaldevers I get Data confirm errors in my log when I add light to the extended definition, so I decided not to configure the effect

@LeoSum8
Copy link

LeoSum8 commented Sep 19, 2024

This looks very promising! I think I'll need to go out to eat some hotdogs for lunch pretty soon :)
Can anyone share how often the values are updated? Thanks!

@QempZor
Copy link
Author

QempZor commented Sep 19, 2024

Okay, so I couldn't wait until tomorrow to pair it (thanks @basvdploeg): image Seems to be kind of working out of the box already? Voltage looks about right. On/Off working. Not sure about the power measurement, as this is the first time I'm measuring my vacuum bot.

Tried the other one with a pretty efficient GAN-USB-Charger to charge a powerbank that shows how much is going in. While the plug reported 30 to 31W, while the powerbank was reporting around 25W of input power. So for low power it may be kind of accurate.

What does the external converter really change now though? The power number atleast on low wattages seems to be looking correct? 🧐

Power readings below 1000w are fine (out of the box), But above 1000W everything is shown as 100,0w (or f.e. 132,4w)

With the ext. def. from Rembock, everything above 1000W seems to be good; but below 1000w is then show 10x too much (7,2w LED bulb reads 72w power... )

Also; I saw someone on Tweakers (dutch tech forum) who bought 2 of these plugs and didn't show any data. He changed them at another Ikea store and then one of them is showing the correct voltage, and one is shown 10times to high voltage, with the same settings/ext.def.) So there might also be a (small) problem within the units itself. (<- Thats just speculation)

@Rembock
Copy link

Rembock commented Sep 19, 2024

I am almost certain that this must be a firmware issue, I hope Ikea will come up with an update soon.

Also; I saw someone on Tweakers (dutch tech forum) who bought 2 of these plugs and didn't show any data. He changed them at another Ikea store and then one of them is showing the correct voltage, and one is shown 10times to high voltage, with the same settings/ext.def.) So there might also be a (small) problem within the units itself. (<- Thats just speculation)

Yup, that's @basvdploeg :)

@itkama
Copy link

itkama commented Sep 19, 2024

@Rembock Firmware versions on both my plugs is 2.4.34 with a Firmware date of 20240215.
@QempZor there also is the TRETAKT plug. It looks really similar - but it has no power readings. Costs 2€ less here in Germany. Maybe he just got the wrong plugs? 😅

@basvdploeg
Copy link

basvdploeg commented Sep 19, 2024

@Rembock Firmware versions on both my plugs is 2.4.34 with a Firmware date of 20240215. @QempZor there also is the TRETAKT plug. It looks really similar - but it has no power readings. Costs 2€ less here in Germany. Maybe he just got the wrong plugs? 😅

No, they were the INSPELNING. Both showed only 1 (different) reading, and all the other values stayed empty. I tried re-pairing them multiple times, with and without external definition, but the results stayed the same.

When I switched them for two new version (from another IKEA store), I got all the data instantly. So it definitely looked like a problem in the plugs themselves.

@arjansiemons
Copy link

I bought 3 INSPELNING, one of them reports as TRETAKT (2204). I checked the label on the plug, it really says 2206 (INSPELNING).

@busene
Copy link

busene commented Sep 20, 2024

I bought 3 yesterday and added them to Zigbee2MQTT using the external definition from @Rembock . Somehow 1 shows all the values x10 (so my outlet is now outputting 2340Volts), but the other 2 show correct values. Anybody that knows whats going on?

@itkama
Copy link

itkama commented Sep 20, 2024

@busene do your 3 plugs show different firmware versions?

@busene
Copy link

busene commented Sep 20, 2024

@itkama nope, all show the same version

@Rembock
Copy link

Rembock commented Sep 20, 2024

Instead of using the power sensor from the E2206, I'm now using a sensor with the template integration as a helper from the UI in Home Assistant.

Screenshot 2024-09-20 181144

With this method you can 'tune' each plug to display the correct number of watts until Ikea pushes an firmware update that hopefully fixes the power sensor.
I also saw support voor the Tretakt listed here since the 3rd of May, I expect the Inspelning to be listed here soon as well.

It also seems like that the latest firmware version is 2.4.45, mine are both 2.4.34.

@basvdploeg
Copy link

I bought 3 yesterday and added them to Zigbee2MQTT using the external definition from @Rembock . Somehow 1 shows all the values x10 (so my outlet is now outputting 2340Volts), but the other 2 show correct values. Anybody that knows whats going on?

This is the same that I experienced with mine.

@busene
Copy link

busene commented Sep 20, 2024

@Rembock mine are also 2.4.34, is there a way to update them without the ikea hub?

@QempZor
Copy link
Author

QempZor commented Sep 20, 2024

I just bought a Dirigera and indeed there is an update. v2.4.45 is out
With this new update; out of the box the voltage and current are shown correctly in Z2M.

However the Power problem is still there. Above 1000w is shown as 100,0w
I checked the power in the Ikea Home app and there it's shown correctly. Above 1000w and also below 1000w.

In HomeAssistant with the template from @Rembock there is a big difference between the template measurement and the Z2M readings. This is maybe due to the fact that the Current readings are (quite a bit) off? Or at least; not accurate.

Example below is with an 30w ipad charger.
nieuwe_inspel
Quick translate:
"Ikea_plug_1" is the template sensor
"Vermogen" is Power straight out of Z2M

@basvdploeg
Copy link

The OTA update for the plug is available here:
https://fw.ota.homesmart.ikea.com/check/update/prod

But I’m not sure how it can be used through Z2M.

@notgood
Copy link

notgood commented Sep 21, 2024

Picked one today, comes with 2.4.34 firmware, would welcome any hints on updating it without Ikea hub.
It seems Zigbee2mqtt only supports the Tradfri OTA feed, not the Dirigera one.

Mine INSPELNING also came with a barely working and unreliable button, only third of keypresses actually did something.

Disassembled it: breakout board with a button and LED is pretty much floating midair, rather unfortunate and sloppy engineering design IMHO.
midair

Used a piece of plastic zip tie as a wedge between breakout board and relay, with a bit of electric tape to calibrate width.
fix

@folfy
Copy link

folfy commented Sep 22, 2024

I bought the new INSPELNING plug here in Austria two days ago, and experienced the same issue that power >=1000W is shown as 1/10th of the actual value (on ZHA).

I checked the Measurement Cluster for related attributes, and could figure out that the plug is dynamically adjusting the "ac_power_divisor" between 10 (<1000W) and 1 (>=1000W), which probably is not updated/reflected by ZHA or Z2M in the shown value accordingly:
inspelning_cluster

The off-value for the voltage seems to be fixed for some with the new firmware, see zigpy/zha-device-handlers#3374 (comment).

I'm currently looking into fixing/expanding the issue/quirk for ZHA, maybe someone here knows how to fix this in Z2M tho ;)

@jamesonuk
Copy link

The problem is, that the threshold is a fixed value, not a percentage. A 10W threshold is fine with a 1000W load, and 1W is not sufficient for a device charging with 5W peak.
and this is my point this is adjusting the minimum reporting change value not the maximum reporting interval.
It is much better to adjust the change value based on your need and let the plug report there is a change. If you set the change value to 1 you would probably get a similar number of data points but as I said is there anything that really needs to know the voltage at that level?

Define what change you want to trigger an update (I think most are multiplied by 10 but I never really figured this out in the Zigbee docs.) So when set to 50 it will report when voltage changes by 5v. If you wanted to report when the value changes by 2v set it 20.... I can see this being useful for power and energy but voltage and current are already disabled by default as there really isn't much value in them.

@thomasGomes
Copy link

Maybe a weird question. Could this also be the reason why this plug doesn't update it's status and drops to 0W when my source uses around 5W and I switch the plug off?

The default min reporting change is 50 I believe and AIUI this means 5W. so it won't report until it changes by more than that. These devices probably aren't really designed to monitor tiny power usage but change it to 10 or 20 against activePower and you should see it report a change

How can we know with precision the min reporting change meaning? I tried to see the activePower value through the dev console with read attribute but nothing happened ...

@jamesonuk
Copy link

How can we know with precision the min reporting change meaning? I tried to see the activePower value through the dev console with read attribute but nothing happened ...

It is the smallest change that will trigger an update. AIUI this is cluster dependant but ultimately I think it is just order of magnitude that matters. So 50 will either trigger on 0.5, 5 or 50.

If you want the definitive answer it will be buried in https://zigbeealliance.org/wp-content/uploads/2019/12/07-5123-06-zigbee-cluster-library-specification.pdf

@Misiu
Copy link

Misiu commented Nov 6, 2024

I just ordered an IKEA DIRIGERA hub, so I'll report back in two days after I set it up and pair the plug with it. Hopefully, we'll get some answers then.

Screenshot_20241106_202236
I configured the hub, added the plug and the hub also detected it wrong. I looked at the plug and there is INSPELNING on it.
Tommorow I'll contact IKEA support, this will be a funny case...

@MaxRower
Copy link

MaxRower commented Nov 8, 2024

So, did a test with the washing machine connected to an INSPELNING and a Nous A1T tasmota plug cascaded. It seems, the high power measurement is still off by a factor 10. Zigbee2mqtt and INSPELNING are up to date.
Nous A1T Tasmota measurement:
grafik
INSPELNING measurement:
grafik

@lbschenkel
Copy link

lbschenkel commented Nov 8, 2024

I confirm. I don't have a different meter in cascade, but I do have a plug also on my washing machine, and I did run it after the firmware update (and when I did that I reconfirmed that all reporting was set to their default values), and the peak power is 100W which would be amazing for my electricity bill if it was true.

It doesn't really affect my use case because being wrong by a factor of 10x does not break the automation that detects if it is running a cycle, however if I actually wanted to use the device as a power meter it is not good...

@MaxRower
Copy link

MaxRower commented Nov 8, 2024

Very strange, I have a water cooker hooked to another INSPELNING (not cascaded), and that measurement seems ok.
grafik

@jamesonuk
Copy link

I am not sure if you need to setup the reporting of the power divisor or not (the last update added reporting but this will not get added to existing devices)
image

It should also be easy to work out if Z2M is introducing this or whether it is the plug. Whilst it is pulling more than 1kw, go to the dev console tab and add haElectricalMeasurement and select acPowerDivisor, acPowerMultiplier and activePower then click read.

If these are giving the right values but Z2M is showing something different it is Z2M. If they are showing wrong values then it is the plug

image

@lbschenkel
Copy link

Very strange, I have a water cooker hooked to another INSPELNING (not cascaded), and that measurement seems ok.

Yeah, I've seen other comments and the measurements seem to be in the right ballpark. I just updated my plugs a few days ago, so I don't have more than a single data point but this weekend we will do laundry and I will look at the consumption in more detail.

I wonder if the difference is that it measures resistive loads correctly, but not inductive loads? I only have a very superficial understanding of electricity, can someone with more knowledge maybe chime in?

@MaxRower
Copy link

MaxRower commented Nov 8, 2024

I wonder if the difference is that it measures resistive loads correctly, but not inductive loads? I only have a very superficial understanding of electricity, can someone with more knowledge maybe chime in?

The heater of the washing machine should be a resistive load, just like the water cooker. So there should be no difference.
The motor, with a peak of 583W seems to be correct as well.

@lbschenkel
Copy link

The heater of the washing machine should be a resistive load, just like the water cooker. So there should be no difference.
The motor, with a peak of 583W seems to be correct as well.

Thanks. Actually I'm in the middle of doing laundry right now, the washing machine heated up the water to 40 degrees but the peak consumption was < 200W which is way too low.

image

(in this graph, top line is 200W and middle line is 100W)

@MaxRower
Copy link

MaxRower commented Nov 8, 2024

I am not sure if you need to setup the reporting of the power divisor or not (the last update added reporting but this will not get added to existing devices)

These are my current settings for those plugs, the same values for power and the divisor.
grafik

@MaxRower
Copy link

MaxRower commented Nov 8, 2024

I will switch the plugs between water cooker and washing machine, I'm curious, what the next test shows.

@lbschenkel
Copy link

lbschenkel commented Nov 8, 2024

I am not sure if you need to setup the reporting of the power divisor or not (the last update added reporting but this will not get added to existing devices)

When you do an upgrade, and the version changes, Z2M reconfigures the device as if you have pressed the button to reconfigure it. I explicitly tested this when I upgraded my plugs a couple of days ago, and the moment the plug upgraded the reporting settings changed from my ad-hoc tweaks, to the settings in the Z2M source code. At least this is what happened in my system.

I have multiple plugs, and I picked one of them to be a control and I actually removed it from the network and joined it again. The reporting settings are the same and it's behaving as the others which I just upgraded without re-joining them. All plugs have identical reporting settings, the stock ones, that I deliberately didn't touch (yet).

@lbschenkel
Copy link

These are my current settings for those plugs, the same values for power and the divisor. grafik

These are not the stock settings, are they? The stock settings have 50 for most of the "Min rep change", except for the divisor and on/off which are set to 1 and curentSummDelivered is 100.

@lbschenkel
Copy link

lbschenkel commented Nov 8, 2024

image

OK, finished a whole cycle now. Top line is 600W, this last peak was when the machine did some tumbling for a bit to partially dry the clothes before it was done.

Does 550W seem to be in the ballpark of what a motor would consume during this process? Maybe that part is right, but heating the water (even if only to 40C) in the beginning using <200W still feels too low for me.

@lbschenkel
Copy link

lbschenkel commented Nov 8, 2024

image

Now we started the tumble dryer. Reported peaks of ~560W.

Reading attributes via debug tab:
image

6000W cannot be right either, because the circuit and fuses are supposed to be 16A/240V so it should trip beyond ~4000W?

Edit 1: Strange behaviour, as the machine keeps tumbling but consumption seems to be growing:

image

(Top line is 800W. I doubt this is the actual consumption pattern of the motor as its spins. Current at ~800W is reported as 3.9A.)

@MaxRower
Copy link

MaxRower commented Nov 8, 2024

I will switch the plugs between water cooker and washing machine, I'm curious, what the next test shows.

After swapping those plugs, the water cooker showed the wrong values. Taking a closer look at the reporting settings showed that the power divisor was missing at all. It seems, z2m did not setup all plugs identically? I only changed the reporting settings, but did not add any new ones.

@jamesonuk
Copy link

Now we started the tumble dryer. Reported peaks of ~560W.

based on the the screenshot that is what the device is reporting. 5,994 / 10 give you the 599.4w that Z2M would be showing.
It is probably worth checking which version people have and treble checking the firmware. Also check the divisor is actually there under reporting

On a UK plug I put this on an air fryer last night and it seemed to quite happily flip between over and under 1kw.

image

@MaxRower
Copy link

MaxRower commented Nov 8, 2024

Ok, after adding the settings for the power divisor, the values are correct. So better double check, if that setting is there, if your plug is reporting the wrong power!

@MaxRower
Copy link

MaxRower commented Nov 8, 2024

Edit 1: Strange behaviour, as the machine keeps tumbling but consumption seems to be growing:

Seems ok, the tumbler starts at a low speed, and increases constantly before shutting off.

@moonfall84
Copy link

Hello everyone!
I've just purchased 2 pcs. of IKEA Inspelning smart plug (IKEA Store in Poland).
After some problems with Girier smart plug (freezes sometimes and it's hard to reset it to work again) - I thought that these equipment from IKEA will work better. I have some other items and they're working properly.

But OK - coming back to the topic.

My smart plugs are running on 2.4.34 firmware.
I'm using SONOFF bridge with my Home Assistant (VM on Proxmox).
I have same problem with voltage value: it's showing 23,5V (instead of 235V - so it's 10 times less).
About the power it looks OK - because before I was measuring these equipments with other smart plugs (but all of them are below 1.000 Watts - I read above the issues)
The main problem is with the energy - It's not saving/refreshing automatically - only when I'm clicking on the refresh icon in the MQTT configuration window.
image
Do you know how to solve it? Do you have similar problems with that plug?
I have also changed some of the "Reporting" data to be at the similar level like other smart plugs.
image

BR,
Robert

@pc1246
Copy link

pc1246 commented Nov 17, 2024

Hello Robert
As long as you do not update your software,of the plug the voltage will not show correct values!
This thread is full of hints concerning this.
I, myself, used the hint in this post: #23961 (comment)
Then I could do an OTA, and the Voltage shows fine!
Regards Christoph

@WhyNotHugo
Copy link

It is now listed on the ikea.nl website: https://www.ikea.com/nl/nl/p/inspelning-stekker-smart-stroommonitor-00569836/

@ncseffai
Copy link

Can someonen tell me if this plug also work as Zigbee repeater? I am trying to have more coverage in my apartment.

@jamesonuk
Copy link

Can someonen tell me if this plug also work as Zigbee repeater? I am trying to have more coverage in my apartment.

Yes it is a router
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device support New device support request
Projects
None yet
Development

No branches or pull requests