HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: lfiocco on May 29, 2016, 09:57:27 PM

Title: Raspberry Pi2 GPIO Switch Timers
Post by: lfiocco on May 29, 2016, 09:57:27 PM
Hello all. I got HG working with some relays I got from Amazon. I can control 16 relays. I wired this up to my irrigation system. works very nice. I used the modified program so i can access all the GPIO's on the Pi2, "2000-GPIO_Modules.hgx"

I would like to add a timer when the switch is activated. This means that when I hit the switch for watering my front grass i would like a timer to run so it does not run until I remeber. (maybe never) I know i can set it up as a schdule event, but i also have my irrigation system connected to my pool. This means after a pool party I can add water for 10 minutes to top it off. I have a pipe connected to the waterfall.

Where can i set timers for each switch so they automaticlly switch off after a given time?
Title: Re: Raspberry Pi2 GPIO Switch Timers
Post by: bkenobi on May 31, 2016, 07:14:08 AM
You could use the Energy Management / Automatic turn off to do what you want.
Title: Re: Raspberry Pi2 GPIO Switch Timers
Post by: divanshu6467 on July 04, 2016, 07:41:42 AM
when i try to add this .hgx module it gives compilation errors.did it work fine for you ??
or you made some necessary changes