prevent a blocky script from running over and over again
Posted: Thursday 19 May 2016 9:47
Hi,
I have been playing with domoticz for 3 months now. Most of stuff is working as i would like it to do. There is only one thing which i gess is a simpel thing, but i just cannot find the right setting:
I have a simple blocky(starting to learn lua) script to turn on a light when the lux is less then 20 after 19:00. This works fine, but when i go to bed and i want to turn off the light it keeps turning to light on. Is there a way to say it only turns the light one ones a day or stop running the script after xx:xx time? I have been trying to find the answer in old topics, but no succes in finding the answer.
I have been playing with domoticz for 3 months now. Most of stuff is working as i would like it to do. There is only one thing which i gess is a simpel thing, but i just cannot find the right setting:
I have a simple blocky(starting to learn lua) script to turn on a light when the lux is less then 20 after 19:00. This works fine, but when i go to bed and i want to turn off the light it keeps turning to light on. Is there a way to say it only turns the light one ones a day or stop running the script after xx:xx time? I have been trying to find the answer in old topics, but no succes in finding the answer.