Time condition not working
Posted: Wednesday 20 September 2017 19:25
Hi,
I've a Blockly that turns my hall light on and off dependent on movement and LUX. The brightness the light is set to should be 80% between 9am and 9pm and 60% outwith those hours.
The movement and LUX part of the script works fine but the light always comes on at 60%.
The system time is correct. Can anyone see what is wrong with my logic.
I've a Blockly that turns my hall light on and off dependent on movement and LUX. The brightness the light is set to should be 80% between 9am and 9pm and 60% outwith those hours.
The movement and LUX part of the script works fine but the light always comes on at 60%.
The system time is correct. Can anyone see what is wrong with my logic.