-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Support for On/Off plug-in unit #63
Comments
Thanks for the update and for continuing to put so much thought into this plugin. I don't have any experience with the Eve Energy. The additional monitoring of how much power it uses doesn't justify spending 20 more €. Technically, it is an outlet rather than a switch, though I think most people buy the plug to have one specific device home kit enabled. I also have one for my espresso maker that turns on with my morning scene. In both cases, a specific device is either on or off. The outlet characteristic would only make sense to me if I had plugs on all my outlets throughout my apartment and would name them accordingly, for example "kitchen countertop" "kitchen cupboard" and so on. The way I use them, I control a device, not the outlet the device is plugged in to, so for me personally, the switch makes more sense. My guess on the OutletInUse characteristic would be that it's tied to the Eve's energy monitor and if a device is plugged in (like my coffee maker) that has a separate on/off switch, it becomes false if it's turned off. |
Thanks, @sejoki
My guess as well, but |
I use the homebridge-mpower plugin and have each outlet on the mpower power strip exposed as an outlet. The OutletInUse characteristic is based on the power draw. Mine can be in the on state and have outletInUse be "no". It's sort of a nice to have data point. |
The mpower powerstrip exposes the amount of power draw per outlet. You can then decide what constitutes "inuse" by checking for great than X current being consumed. |
Currently, homebridge-hue exposes an On/Off plug-in unit light (e.g. the OSRAM Lightify plug), as a
Switch
(see issue #28). A Hue bridge group containing only On/Off plug-in unit lights is also exposed as aSwitch
.However, plugs, like Elgato's Eve Energy, are typically presented as
Outlet
rather thanSwitch
. On the other hand, for a group of plugs,Switch
seems to make more sense thanOutlet
.As far as I can see,
Switch
andOutlet
are functionally the same: both have anOn
characteristic, you can specify whether it's used as Switch/Outlet, Light, or Fan.Outlet
does have an additional read-onlyOutletInUse
characteristic. I have no clue what it's for: it seems to be true all the time for the Eve Energy plugs.Should homebridge-hue expose the plug as
Outlet
instead? @sejoki, any-one: what's your view on this? What are your experiences with other plugs? Do you use theOutletInUse
characteristic?The text was updated successfully, but these errors were encountered: