-
Notifications
You must be signed in to change notification settings - Fork 502
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
IKEA INSPELNING Smart Plug with kWh meter #7948
Comments
Interesting device! Especially after the new Firmware (v45) for Xiaomi / Aqara Plug seems to remove some features like Voltage, Current, Status after Powerloss. Before integrating a DDF,
... which both currently is still an issue for other products and causes devices to report wrong values. Additionally it's a real struggle to fix this locally by custom DDFs due to another problem in merging general definitions over custom ones. Related issues Related files: Requirement Example: {
"name": "state/power",
"parse": {
"at": "0x0000",
"cl": "0x0000",
"ep": 0,
"eval": "Item.val = Attr.val / R.item('config/power_divisor').val",
"fn": "zcl:attr"
},
"default": 0
} |
That won’t work, for a number of reasons:
it’s probably easiest to hard- code the conversion per device model in the DDF. What problem merging general definitions are you referring to? I find this works without any issues - the DDF overwrites any generic item. |
That's correct, I simply didn't add this to my example. But as far as I see the specs - the values default to
Okay, got that one. But doesn't it make more sense to make it better now, make it more generic & become more future proof, and just care about the legacy with custom rules for the old devices, rather than making weird moves for everything?
Gonna make a dedicated ticket soon, so we don't mix up things in this one. |
FYI: IKEA also offers another smart plug and a bundle with a RODRET, both called TRETAKT. That plug is visually identical besides having a white front. TRETAKT does not support any metering, it's a simple on/off device. |
I tried the DDF made by @bluemoehre and it works i get measurments but should it be so slow on updating? i get power updates like every 5minutes only, could this be configured to be more precise? |
Yes, report intervall in deCONZ. But this is not the place to ask ;) |
If I understood the docs correctly, the DDF defines the polling interval only (template defaults to 300s aka 5min). The report interval is configured in the device itself - and possibly changeable in deCONZ. Right now I have to admit I do not see any of these options in the INSPELNING. I tried to cause huge changes in power but the device did not actively report - so I get only 5min intervals, too. Maybe we have to decrease the polling interval to 60s? |
The attribute reporting configuration is standard Zigbee functionality. Double-click on the attribute in the GUI for a popup window. These can be set in the DDF as well, under the bindings section. Note that this configures the reporting interval, not necessarily the interval at which the device takes a measurement.
Look in the GUI user guide under help. |
This is the part I didn't understand yet - sorry. I found you can drag & drop attributes to the DDF editor's binding section, but fields I see for other devices, do not appear here. Also this doesn't add a reporting property to the DDF.
Unfortunately it's not possible to use the GUI help since I switched to Conbee II using Docker. If you click it, nothing happens. But that's another issue. The docs I was checking are the official ones linked in the README: Anyhow, I guess it would make sense to setup some faster reporting settings by default. |
I don't use the DDF editor that often, but under the Bindings tab, you can setup bindings and attribute reporting, by dragging the cluster into the left area Bindings and subsequently dragging the attribute into the right area Reporting Configuration, while the binding is selected.
Same for me, so that's probably an omission in the latest version. A quick Google search for "deCONZ User Manual" finds https://www.dresden-elektronik.com/wireless/software/deconz.html?file=files/dresden-elektronik/content/downloads/dokumente/funktechnik/deCONZ-BHB-en.pdf. See sections 7.2.3 and 8.1 for how to setup attribute reporting and bindings. |
🤯 I would have never guessed it works that way. That was the missing part for me!
Actually I was on that, but is it up-to-date? It looks different than the current UI and I didn't find what you told me above ... or it's too unclear / confusing to me. Many thanks, @ebaauw ! I gonna try adjusting the DDF again and check if the device will report in a more meaningful way. |
@janip81 please try the updated DDF. It now uses more meaningful report intervals:
|
@bluemoehre I seems to get faster usage (Watt) reading now when power changes. so seems to work. Will do more testing |
Please make sure the refresh rate for reading an attribute is 60s longer than the periodic reporting rate for that attribute. We only want to fall back to polling the device, in case reports go missing. |
Should it be exactly X + Is there a best practice or standard for this? |
#7959 allows the Consumption and Power to be reported throught REST. However, the other variables, such as Voltage, are not (yet) directly reported. Thanks everyone for your contributions! |
@NotSoScientific here voltage is reported using that DDF. Can you re-check and maybe re-join the device? |
You can also try in HA to reload deCONZ device list first. So you won't have to re-add it to the network. |
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs. |
Bump, this is waiting for PR(s) |
Is there already an existing issue for this?
Product name
INSPELNING
Manufacturer
IKEA
Model identifier
INSPELNING Smart plug
Device type to add
Switch
Node info
Endpoints and clusters
Basic
Further relevant clusters
Power Configuration
On/Off
Level Control
Color Control
Thermostat
Simple Metering
Electrical Measurement
Any other cluster of relevance/interest
OTAU table row
Reports manufacturer 0x117C and image 0x9f3e
The device currently exposes itself to the REST API as an outlet, which allows for the on/off control, however the kWh meter seems to not report yet.
This IKEA Zigbee outlet is currently rolling out globally. The IKEA subreddit has reported that an OTA Update may be needed to use all features, this device was not seen in the OTAU file folder. If you have further questions, feel free to reach out.
The text was updated successfully, but these errors were encountered: