rule "Basement Lights Scenes"
when
Item BasementScene received command
then
switch(receivedCommand){
case "MOVIE" : {
BasementLight1.sendCommand(10)
BasementLight2.sendCommand(10)
BasementLight3.sendCommand(10)
}
If the lights are at 100, I would expect that when I hit Movie, they would gradually dim to 10. They actually do this for sendCommand(0) but not sendCommand(100). Am I doing something wrong? Is this a known ‘issue’?
It’s odd why when I send 0 to the dimmer it fades though.
When I push up or down at the switch it fades to 100 or 0. Push and hold and it’s a gradual. So it’s an argument of whether or not the switch can handle doing this with the right command sent to it, then can openHAB send it?
I guess, when switch to 0 it is equivalent to switching off, which is most likely a special case when the light firmware enters the stage. This is also the case for my lightify and hue bulbs. I even can set the speed on my lightify bulbs.
OH is sending the standard dimmer commands. If you have “restore to last level” set to true, then it sends a special value instead of 99% (as per the standards), otherwise it sends the value you set between 0 and 99%.