cat /opt/openhab/configurations/rules/hue.rules
import org.openhab.core.library.types.*
var HSBType herfstzl = new HSBType("0,0,50")
var HSBType herfstsl = new HSBType("70,100,100")
var HSBType herfstlc = new HSBType("88,100,100")
var HSBType uit = new HSBType("0,0,0")
rule "Herfst scene on"
when
Item Herfst received command ON
then
sendCommand(ZonneLamp, herfstzl)
sendCommand(SchemerLamp, herfstsl)
sendCommand(LivingColor, herfstlc)
end
Think it would be nice if the sample on the wiki would actually work.....