-
Notifications
You must be signed in to change notification settings - Fork 482
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
Question: Which powerplugs supported for Deconz and REST-api (for Home assistant) #432
Comments
I have smart plugs from Heiman and from OSRAM. I’m quite impressed by the Heiman smart plug. It even provides ZigBee attribute reporting on the power consumption. The OSRAM plugs work with deCONZ, but don’t report the actual power consumption, even though they support the corresponding ZigBee cluster. I read that the Xiaomi smart plug als works, but you need an adapter as they have Australian pens. It reports power (in a typical Xiaomi way), but that isn’t yet exposed by deCONZ. Note that we’re still figuring out the best way to expose power metering in deCONZ. |
Not looking for adapters in my sockets ;)
This means they only report the energy consumption (kWh), not the actual used power (W)?
So these plugs are the most "Plug and play" sensors you know of ?
There is currently no power consumption reported by the REST-api ? |
Further there are power EU plugs from: Busch Jeager |
So the summary is:
|
@geelenbert there is always new things to support :) |
@Kane610 well i just would like to know if this is on the road map or not. If this is very far out, i might need to look at other options for power-metering of specific devices. I would love to help in any way possible, but i'm just a simple python script hacker, not really a programmer .... |
@geelenbert it is probably max an hour with testing to get this done. But I just need to know that all information is there. Would be nice to have a full json blob of a device with a reported power attribute. I'm just a simple python hacker as well, I'm not a developer by profession. It is not hard at all adding support for new functionality from deconz to the hass component. Maybe you should try it out? ;) |
@Kane610 Ok i'll order some of these plugs (the Heiman ones) and start messing around with it. |
@Kane610, the details are complete, but not stable. Both the Heiman and the OSRAM serve the Electrical Measurement cluster on the same endpoint as the OnOff cluster, so it was easy to create Here's the json of the Heiman plug:
And here of the OSRAM:
|
@geelenbert with the information from @ebaauw I will add the power state in good time for hass' 0.65 release. Then you can verify functionality when you get your plugs. |
can anyone recommend some UK supported plugs? |
@Kane610 Awsome! But i think that @ebaauw has a point for adding a different resource. I don't know wich one is more future proof? @Martin-Gardner the Heiman plugs are also available in a UK version |
@geelenbert - Thanks - Although buying them is going to be hard |
Where do you guys buy your ZigBee stuff? - It seems there is not much ZigBee related products available in the UK except Philips and Ikea. There is the Samsung stuff but its very expensive - 50 euros for a smart plug. |
The Xiaomi stuff at the Chinese webshops, gearbest.com or aliexpress.com, most of the EU stuff at amazon or my local webshops. |
I haven't had luck finding the Heiman Plug (HS2SK-E-EU) at any of those places. Do you know where they can be bought? :-) |
Well i also looking hard for some of the Heiman plugs, if i find anything i will let you know. @ebaauw what is the difference between the Osram and the Heiman plug ? Does the Osram plug not report the current power (W), only the used energy (kWh)? |
The OSRAM reports 28000 (deciWatt, I guess) when off and 400 when on. Regardless whether anything is drawing power or even connected. The Heiman reports the actual power drawn (so 0 when the plug is on, but the connected device is off). Also, the Heiman supports attribute reporting on Active Power, which means deCONZ is updated quickly when the power consumption changes. Otherwise the change won’t be visible until the next time the plug is polled. |
Here's some screenshots from the OSRAM. Up to 8 groups, but no useful power measurement. I have no clue what the 0xFC0F cluster does. OSRAM lights enable setting the power-on defaults through a custom cluster, but I haven't found anything similar in the Lightify app for the plug. |
@ebaauw the simple metering looks like it will give you the used energy in kWh. See it like this: if a device uses 1000 Watt and is constantly turned on, this will result un a use of 1kWh after one hour, 2kWh after 2 hours etc... This is actualy the most interesting part of the plugs. It is nice to know how what the active power of a device is, but it is much more interesting how much engery it used over the last hour (calculate what the electricity costs for that device where) |
I got mine on loan from @Oggymator at led-trading.de. They don't yet sell them online, but they should become available in the next months. |
As far as I can tell the Simple Metering cluster doesn't report anything. I might need to dive into the ZCL specs and add some attributes to general.xml. Also, I only added the attributes to the Electrical Measurement cluster that my ubisys dimmer supports. As I said: so much to do...
This is actually the homebridge-p1 plugin that I created today. It reads the smart electricity meter that the electricity network company installed in my home last week. I'm doing the same for homebridge-hue, here's the Heiman, but still on my test network with plenty if restarts, so no data yet. Here I actually compute the consumption by multiplying the power by the duration. |
Actually kiloWatt hour (kW times hour), not kiloWatt per hour. |
@ebaauw that is not the correct way to do that. As the power changes over time, the calculation will be incorrect. The only reliable way to do this is by getting the (total) energy consumption from a plug. |
I do the calculation each time the power value changes, using the duration since the previous change. I’m pretty sure the plugs have a far lower update frequency than the electricity meter, though. I’ll be more than happy to use the (total) consumption, as I do for the electricity meter, as soon as we’ve found if and how each plug reports this. |
OK, looks like we have a bug in the deCONZ GUI, causing it not to display the value of the Current Summation Delivered attribute (0x0000) of the Metering cluster (0x0702). Maybe uint48 is too much for the GUI? @manup? I setup attribute reporting manually and deCONZ receives the reports allright:
Wireshark confirms that the data is there when I read the attributes from the GUI: I wonder if there is a way to reset the total? That would be particularly cool for my electricity meter, but, unfortunately, the end-consumer interface is read-only ;-) Next, we need to figure out where to place the decimal point... |
Yes it's likely missing, I'll check and add it for the next version. |
Simple solution to a stupid omission. Thanks |
This may be the wrong threat, but one more question on the innr SP 120: This plug has a status light (blue/red). Is there a possibility to have an option to switch this off? I have one plug near my bed and the light is a bit disturbing. Thanks |
I asked INNR technical support, but it can not be switched off.
Op wo 29 mei 2019 om 11:18 schreef bubffm <notifications@github.com>
… This may be the wrong threat, but one more question on the innr SP 120:
This plug has a status light (blue/red). Is there a possibility to have an
option to switch this off? I have one plug near my bed and the light is a
bit disturbing. Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#432?email_source=notifications&email_token=ABNGEKHEQV4OC3VGLWKNTI3PXZC6ZA5CNFSM4ESCFCJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOWYQI#issuecomment-496856129>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNGEKD5POETEBD4SFQLCCTPXZC6ZANCNFSM4ESCFCJQ>
.
|
Thanks for checking. I'll put some tape over it or find a better location. Maybe they can address this in a later firmware upgrade. |
Already suggested, but most unlikely because of physical design. They will
take it into account when releasing a new plug but that won’t be in the
near future (not this calendar year). First some more Zigbee 3.0
(rgbw)bulbs.
Op wo 29 mei 2019 om 11:53 schreef bubffm <notifications@github.com>
… Thanks for checking. I'll put some tape over it or find a better location.
Maybe they can address this in a later firmware upgrade.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#432?email_source=notifications&email_token=ABNGEKCF3KLZFXNYSOFPDODPXZHBJA5CNFSM4ESCFCJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOZZDA#issuecomment-496868492>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNGEKGDYN6ZVJ3SEGYKRWLPXZHBJANCNFSM4ESCFCJQ>
.
|
Just bought a Bitron plug for power monitoring, but noticed that it only creates a ZHAConsumption sensor, not ZHAPower. Because of this it's not possible to monitor the power usage in Home Assistant, while it is available as an attribute on the ZHAConsumption state. Do you know more about this @ebaauw? I saw your responses on an issue about this plug. |
Yes, see the Wiki. The |
Yeah, I found that, so this is a problem in Home Assistant? Should power metering via the ZHAConsumption resource be supported in home assistant @Kane610? I only see a consumption sensor in home assistant, the power sensor is missing. |
Hello, I have an Osram plug, I connected that to deconz SW, infact I see that plug in that way: after I search it in Postman (with this command: "DECONZ-IP:PORT/api/token/lights") and I see that: Now the problem is in Home Assistant where I see this plug only as sensor: In that Way I can only see if the plug is ON or OFF but I'm not able to change the state. Any suggestion or Idea on how to integrate that plug in Home Assistant as Light or Switch? thanks |
All seem normal on deconz, I think the problem is more from Home assistant. |
One aspect to double-check when evaluating smart plugs is the power rating. The innr plugs are rated for 10A (which should amount to ~2300W at 230V). My washing machine is rated 10A and 2200W, but the innr plug would turn off spontaneously. My dryer is rated 16A and 2350W, and actually broke a couple of innr plugs (before checking the rating...). The Heiman plug is rated 16A and 3000W and has been working flawlessly with my washing machine for well over a year. I ordered a second Heiman plug for my dryer from AliExpress, which arrived yesterday. It has newer firmware than my old plug. It now exposes a Date Code ( |
Hi @ebaauw, can you share that AliExpress link? |
I'm not sure; they constantly change the site, but it looks like this one: https://nl.aliexpress.com/item/32839165490.html?spm=a2g1y.12024536.productList_11977830.pic_3 |
Ok, thx in advance, gonna try these ones out, at the moment I have Osram, they work good, but not reliable for as router with my xiaomi pir sensors... |
No, I use Hue motion sensors. Had some issues in the past when deCONZ was losing the route to them, but they’ve been rock solid since v2.05.60 and 0x26320500. See #849. |
Ok, interesting, do the hue motion also provide lux? |
I wouldn't use those Heiman plugs any more. You can find multiple instances of it catching fire if you Google for it. For example: https://community.smartthings.com/t/heiman-hs2sk-z-smart-plug-fire-hazard/118358 I actually purchased one of these plugs and found that something was loose inside the plug (you could hear something rattling around). So I opened it and found a loose screw. So no more heiman for me 😅 |
So what do you use as router? Seems heiman was not suitable for me anyway, I need EU version, the one in above link was for Netherlands |
That's a Z-Wave plug, not ZigBee, and the thread suggests it's not an original Heiman.
Yes, and temperature (although the temperature is not very accurate). It's one of the few motion sensors that actually report no motion, with a delay that's configurable on the sensor. No Here's the REST API resources:
|
Thnx for the detailed info... Gonna use the Philips sensor as a backup... |
Be advised that IKEA plugs don't do power measurement. |
yes i know, but actually i just need routers i dont have bulbs , dont need them, so i am left with smart plug :) |
Or the Trådfri repeater? |
yes, but then i need to give up the switch in my wall, still want to use it |
Quick Summary from my side: anyone has any suggestions for a reliable, cheap plug with consumption monitoring to min. 2600W ? |
Does anybody know, how to reset the consumption counter of the "innr SP120" - did not find a writeable register in deconz to clear? Any hints? |
Factory reset the plug (and re-pair afterwards). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
It seems this issue is resolved or otherwise inactive. If it is not, please re-open! |
I'm ditching all my Zwave gear and switching to deCONZ.
For some equipment i want to do some power metering (heating, freezer, Server etc..).
But before buying 5 of these plugs....
Which EU powerplugs work with deCONZ and the REST-api ?
Can't really find any good example of one that works.... Please help
The text was updated successfully, but these errors were encountered: