Author Topic: GPIO input from a PiHat to trigger a Sequence in XLights  (Read 1550 times)

Offline twireless

  • Newbie
  • *
  • Posts: 5
    • View Profile
GPIO input from a PiHat to trigger a Sequence in XLights
« on: October 21, 2019, 12:31:36 PM »
I have a bunch of Pi's using FPP 2.7 and having PiHat connected.  I know I can configure an input on the GPIO to trigger an event within the FPP but I would like to have a push button start a sequence on the XLights.  All of the Pi's are running in Bridge Mode.   Where can I find information on this, and can it be done?

Thank you

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: GPIO input from a PiHat to trigger a Sequence in XLights
« Reply #1 on: October 21, 2019, 01:15:18 PM »
So you are using xschedule as your show player? You can add an event which will listen to the fpp event and take an action based on it.

Offline twireless

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: GPIO input from a PiHat to trigger a Sequence in XLights
« Reply #2 on: October 21, 2019, 01:55:31 PM »
Where might I find information on exactly how to do that?   Any ideas?

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: GPIO input from a PiHat to trigger a Sequence in XLights
« Reply #3 on: October 21, 2019, 05:15:22 PM »
Last September’s advanced xschedule video covers events.