Thank you @lucianopeixoto! I also made a quick how-to post/video recently, where I show the integration setup (which you seem to already have working, anyway
:
As for the scenes, you’re absolutely right! I have switch items, one for each scene, and a rule assigned to each switch, e.g.:
rule "Lighting Scene Sleep"
when
Item Scene_Sleep received command ON
then
sendCommand(EveningLights, OFF)
sendCommand(FF_Kitchen_Recessed, 0)
sendCommand(Light_FF_Kitchen_Sink, 0)
sendCommand(Light_FF_Kitchen_Island_L, 0)
sendCommand(Light_FF_Kitchen_Island_C, 25)
sendCommand(Light_FF_Kitchen_Island_R, 0)
sendCommand(Light_FF_Living_Sconces, 0)
postUpdate(Scene_Sleep, OFF)
end
which fires only when the switch is toggled ON, handles the turning of individual lights off/dim, and then toggles the scene switch back OFF.