more G-Labs products

Author Topic: Raspberry Pi2 GPIO Switch Timers  (Read 818 times)

May 29, 2016, 09:57:27 PM
Read 818 times

lfiocco

  • *
  • Information
  • Newbie
  • Posts: 16
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?

May 31, 2016, 07:14:08 AM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
You could use the Energy Management / Automatic turn off to do what you want.

July 04, 2016, 07:41:42 AM
Reply #2

divanshu6467

  • *
  • Information
  • Newbie
  • Posts: 21
when i try to add this .hgx module it gives compilation errors.did it work fine for you ??
or you made some necessary changes