Hi All,
I just discovered that my Rule with the Hue Ambientlight Sensor is not working if the Item linked to the Channel is not configured right.
My Rule
var Number counter = 0
var Number lastCheck = 0
rule "eingangOn"
when
Item HueMotionSensor1_Bewegung changed from OFF to ON
then
counter = counter + 1
if(HueAmbientLightSensor1_Beleuchtungsstaerke.state < 40 && Early_Close.state == OFF) {
sendCommand(SonoffLED_LichtEingangLED, ON)
}
end
The Type of my Item was Number:Illuminance
It took a while to find out that the Type of the Item should be Number only.
To display the Illuminance on the Sitemap i use the Number:Illuminance Item in order to get the lx ending.