10min delay on GPIO command

Moderator: leecollings

Post Reply
doodoovane
Posts: 11
Joined: Friday 11 December 2015 3:15
Target OS: Raspberry Pi / ODroid
Domoticz version: v2.3530
Location: French Polynesia
Contact:

10min delay on GPIO command

Post 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
alfred_j_kwak
Posts: 110
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Finland
Contact:

Re: 10min delay on GPIO command

Post 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.
doodoovane
Posts: 11
Joined: Friday 11 December 2015 3:15
Target OS: Raspberry Pi / ODroid
Domoticz version: v2.3530
Location: French Polynesia
Contact:

Re: 10min delay on GPIO command

Post by doodoovane »

Nop, I use only domoticz. I think that I'm gonna solve it by hardware
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest