1) Give a description of the problem
I have been scanning the Community on the above topics and find mixed responses using luminance as a trigger. As such maybe a better way to do this
I have a simple bathroom piston that turns the bathroom light on and dim during the night and turns off 3 hours after sunrise.
2) What is the expected behaviour?
I have a Philips Hues Motion Sensor which measures Luminance connected to ST Hub and Philips Hue light bulbs connected to ST Hub
What I am wanting to do is create a new piston or extend the existing piston which
on dark mornings/days (dense cloud cover, snow etc) which will turn on the lights if Motion Sensoe triggered and the bathroom ambient is below a X luminance level.
3) What is happening/not happening?
Would be delighted to hear yours thoughts/feedback/ example pistons
4) Post a Green Snapshot of the piston![]()
(UPLOAD YOUR IMAGE HERE)
5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.