igorgladkov / rotini

Project Rotini (alpha)
44 stars 0 forks source link

Setpoint widget #123

Open therealtobo opened 8 years ago

therealtobo commented 8 years ago

I'm using something written using the Example 2 of this page: https://github.com/openhab/openhab/wiki/AlarmClock

This means I have something similar to this in my sitemap: Frame label="Zeit" { Setpoint item=weckerZeitStunde minValue=0 maxValue=23 step=1 Setpoint item=weckerZeitMinute minValue=0 maxValue=55 step=5 }

It would be really good to have a setpoint widget where you can control min/max/step in order to support this functionality. If used with icon and such maybe it would solve temperature settings and so on as well even though this isn't my use case.

xstrex commented 8 years ago

I could use this as well, as I've built a thermostat that controls a fan based on a set temperature. But I'm not finding a widget that would allow me to set the temperature.

My openhab sitemap for this item looks like this: Setpoint item=Bedroom_Target_Temp icon="fan" minValue="50" maxValue="90" step="1"

boik99 commented 8 years ago

Another keen vote from me.

How are people setting desired temperature for heating/hot water etc? Is there a good workaround?

anordvall commented 8 years ago

Mode widget

ubergeekseven commented 8 years ago

I have been using the light dimmer to set the temperature set-point. The only problem with it is that it shows as percentage rather than temperature. And since you are never going to set your thermostat to 101 or higher degress, you can use the widget and it will send the correct values. I just hope that this is added, it really needs it. as well as different types or inputs rather than a dial. text, + and - buttons. I tried to add units to it, no go. But it works for now. }
Frame label="HVAC Cool Setpoint {widget:light-dimmer}" { Setpoint item=HVAC_CoolSetPoint label="{unit:deg,icon=temperature}" minValue=60 maxValue=90 step=1
} Frame label="HVAC Heat Setpoint {widget:light-dimmer}" { Setpoint item=HVAC_HeatSetPoint label="{unit:deg,icon=temperature}" minValue=50 maxValue=90 step=1
}

therealtobo commented 8 years ago

Any ETA on this @igorgladkov? It's the last piece of the puzzle to move from Habdroid to Rotini completely I think.

ubergeekseven commented 8 years ago

I abandoned habdroid recently. I figure the widgets will come in time. But i agree, the percentage showing rather than degrees is something i can handle but would"feel" better.

TheNetStriker commented 8 years ago

I've tried solution from ubergeekseven. It works for temperatures, but only for whole degree steps. I also would like to make e.g. 0.5 degree steps. Please implement a widget that supports this.