more G-Labs products

Author Topic: Widgets linked to multiple IO  (Read 791 times)

November 10, 2015, 10:12:35 AM
Read 791 times

Hoke

  • *
  • Information
  • Newbie
  • Posts: 10
Are there any widgets available that I adapt for the following scenario:

I control my garage door by pulsing GPIOx.

I have a door sensor for my garage door, GPIOy.

I would like a widget that combines the two, so that I don't need both a door status widget and a door open button widget. I would rather tap on the door to change status (i.e. pulse GPIOx) and update display based on sensor status (GPIOy).

Thanks

(PS: Found HomeGenie by accident and am loving it!)

November 10, 2015, 11:26:09 AM
Reply #1

Hoke

  • *
  • Information
  • Newbie
  • Posts: 10
So digging around a bit more, it seems like it would be better to create a virtual module to "hold" the switch and door status, rather than hacking a widget directly to reference two I/O's...am I on the right track?