Page 1 of 1

10min delay on GPIO command

Posted: Thursday 17 December 2015 15:12
by doodoovane
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

Re: 10min delay on GPIO command

Posted: Friday 18 December 2015 20:55
by alfred_j_kwak
Do you use only Domoticz to control or are there some scripts? If scripts then maybe you could check Pi uptime and use it to block lamp control.

Re: 10min delay on GPIO command

Posted: Saturday 19 December 2015 1:30
by doodoovane
Nop, I use only domoticz. I think that I'm gonna solve it by hardware