igorgladkov / rotini

Project Rotini (alpha)
44 stars 0 forks source link

Add power consumption to outlet widget #37

Open hmerk opened 8 years ago

hmerk commented 8 years ago

I don't know if this is already planned, I would love to be able to display power consumption on outlets supporting power measurement, like my WeMo Insight do.

frode commented 8 years ago

+1

d0t101101 commented 8 years ago

++1

MrMontesa commented 8 years ago

+1. I'm using some zwave (FIB FGWPF-101)

frode commented 8 years ago

I use several of those fibaro power plugs, works great.

A suggestion to you @igorgladkov is to implement a circle surrounding the icon that changes its colour relative to the power usage value. Reference example:

  1. LED ring illumination colour when controlled device is on. Default value: 1 Available settings: 0 - LED ring illumination colour changes in predefined steps, depending on power consumption changes, 1 - LED ring illumination colour changes continuously, using full spectrum of available colorus, depending on power consumption changes. 2 - White illumination, 3 - Red illumination, 4 - Green illumination, 5 - Blue illumination, 6 - Yellow illumination, 7 - Cyan (Greenish blue) illumination, 8 - Magenta (Purplish red) illumination, 9 - illumination turned off completely.

Url to manual (point 61):

http://www.fibaro.com/manuals/en/FGWPE_F-101-Wall-Plug/FGWPE_F-101-Wall-Plug-en.pdf

This would function for all power outlets, not only the fibaro power plug, but there might be needed some required on max-wattage for the module to display the correct color. A configurable solution with default settings could be good here.

anordvall commented 8 years ago

I also have several Fibaro wall plugs. While color feedback is cool, it's often more useful to see the exact watt instead of guessing what it might be, so please make it possible to also see the number of watts used by the outlet, perhaps in the same way as with how humidity is displayed in a temperature widget.

I would also recommend a separate Power widget as sometime you don't want anyone to be able to shut of the plug. I'll raise that as a separate feature request.

frode commented 8 years ago

Absolutely agree about coloring and value/number display. A number is more important than the coloring. Make the widget "protected" with a parameter and we are set ;-)

tbrandstetter commented 8 years ago

+1 Maybe it can be the same setup/design as the temperature widget. Having the following information:

Frame label="Router Outlet {widget:switch,protected:true}" icon="outlet" { Switch item=Outlet_Router Text item=Power_Watt label="{item:watt}" Text item=Power_KWH label="{item:kwh}" }

watt --> actual power consumption kwh --> max power consumption over 24h (or what the item is configured for)