Sean Meighan

Welcome => Do You Need Help? Post it here => Topic started by: canadianSteve on March 10, 2020, 07:53:55 AM

Title: Xlights and PI GPIO pins
Post by: canadianSteve 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?
Title: Re: Xlights and PI GPIO pins
Post by: dkulp 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.)
Title: Re: Xlights and PI GPIO pins
Post by: canadianSteve 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.
Title: Re: Xlights and PI GPIO pins
Post by: canadianSteve 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