10min delay on GPIO command
Posted: Thursday 17 December 2015 15:12
Hi everybody,
I'm working on a way to get a lamp ON for a certain time (between 10pm to 3am) with a regular check of the state (if there is any outage, the Pi at the reboot will check the Lamp status). What I did was to set a Timer command each 10min what is perfect from here.
Now I got another issue as in case of an outage, the light and Rpi will turn OFF then if the current comes back in less than 10min, the Lamp will set herself into security mode (Hot reStart is really not good ) as it needs 10min to cooldown. What I would like to do is to set a delay of 10min before each OFF to ON command for the GPIO17 when domoticz start.
Does someone have any solution for this?
Thank you
I'm working on a way to get a lamp ON for a certain time (between 10pm to 3am) with a regular check of the state (if there is any outage, the Pi at the reboot will check the Lamp status). What I did was to set a Timer command each 10min what is perfect from here.
Now I got another issue as in case of an outage, the light and Rpi will turn OFF then if the current comes back in less than 10min, the Lamp will set herself into security mode (Hot reStart is really not good ) as it needs 10min to cooldown. What I would like to do is to set a delay of 10min before each OFF to ON command for the GPIO17 when domoticz start.
Does someone have any solution for this?
Thank you