Author Topic: Xlights and PI GPIO pins  (Read 568 times)

Offline canadianSteve

  • Newbie
  • *
  • Posts: 3
    • View Profile
Xlights and PI GPIO pins
« on: March 10, 2020, 07:53:55 AM »
I am wondering if it is possible to for Xlights to send on/off commands to GPIO pins on a raspberry PI? I am thinking it would be a cheap way to run AC lights using a relay module such as the one pictured. Anyone know if anything like this is possible?

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Xlights and PI GPIO pins
« Reply #1 on: March 10, 2020, 08:11:51 AM »
Yes...   A Pi running FPP already has the ability to do this.   On the "Channel Outputs" page, on the Other page, there is a GPIO option that can be added to have a channel mapped to a GPIO.   xLights can send DDP or e1.31 to the Pi and the Pi can map those to the GPIO's as needed.  Or run the Pi in remote mode (although a few channels of GPIO data is NOT much to be sending on the network.)
Daniel Kulp
Framingham, MA

Offline canadianSteve

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Xlights and PI GPIO pins
« Reply #2 on: March 15, 2020, 01:59:37 PM »
Ok, thanks very much for your reply. I am all new to this. Trying to put my first display together. Just got my Pi and figuring out how to use it all. If you could give me a few more details on how to set this up in Xlights and FPP that would be greatly appreciated.

Offline canadianSteve

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Xlights and PI GPIO pins
« Reply #3 on: March 16, 2020, 09:50:35 AM »
Nevermind I was able to figure it out assigning GPIO pins the 'other' tab in channel outputs in FPP in case anyone is trying to do something similar