News:

LATEST RELEASE:  FPP 8.3 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.3

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16659
Latest: Marcus82
New This Month: 22
New This Week: 3
New Today: 3
Stats
Total Posts: 134004
Total Topics: 16710
Most Online Today: 32
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 31
Total: 31

Fpp and xlights preview not working

Started by tj, May 23, 2023, 09:12:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tj

I have been having a hell of a time making xlights preview with fpp to work. I can see my controller in xlights but can't send data to it. I am using the gpios on the pi to control a relay board to switch 120v lights. I can't find any tutorials online (I might not be using the right search terms though) Does any one have any good information on how to set this up?

Poporacer

A little more information would help. What controller? You mentioned gpio? Is that what you want to preview from xLights? How do you plan on triggering the gpio? FPP Command? xLights timing track? We need way more info in order to help.
If to err is human, I am more human than most people.

MikeKrebs

Did you set up some models in the preview? What is the setup?

tj

Quote from: Poporacer on May 24, 2023, 06:23:32 AMA little more information would help. What controller? You mentioned gpio? Is that what you want to preview from xLights? How do you plan on triggering the gpio? FPP Command? xLights timing track? We need way more info in order to help
For control I have 2 raspberry pi placed around my house. Each one has the 10 gpios connected to a relay board and they are in remote mode. I have one pi that is running a few things from its gpios and is set to player. I am moving away from vixen as it keepted crashing and making headaches. My normal workflow is to do all my programming then export it and upload to the all of my  raspberry pis. I would like to have xlights send data to all of my controllers so I can see what it will look like in person with out having to go and upload all the files to all of the PIs. 

tj

Where I am getting stuck is what do I select for the model? It does not have any options for using the gpios.
You cannot view this attachment.

MikeKrebs

I don't think what you are doing is directly supported in  xLights controller setup. I think you have to make a generic player only controller. Then somehow you associate the channel in the sequence to the gpio (manually). One of the FPP gurus might have to help here.


breese


bloojoop

TJ, did you get this figured out yet ?  if I understand correctly you are driving relays from gpio pins to switch AC devices on and off.  There is no standard controller definition in xlights to auto layout or auto configure this output type as it is not a common used output type.  In FPP you will need to add your gpio outputs on the 'other' tab of the input/output page.  Make sure and assign them unique start channels (I may recommend sequential channels).  and save your outputs.  Then in xligths I presume you already have single channel models setup on your layout to use for each AC channel ?  If so then setup your fpp controller on the controller tab and and utick the autosize and autolayout options.  I would set the protocol to DDP and set the ID field to a unique value.  Then on the first model, on the layout tab, edit the start channel using the start channel box and select universe, then your controller name, then it should default to the ID value you assigned. Set the start channel to 1 and save.  Then on model 2, edit the start channel to 'end of model' and select model 1 and daisy chain your models together.  since you are not using autosize, you will need to set the total number of channel you expect this controller to have assigned on the controller tab.  If this makes sense, great, if not swing by the zoom room for further help. 
--Ron A.

Support FPP

+- Recent Topics

FPP 8.3 released by captainserial
November 10, 2024, 11:20:40 PM

Outputs stuck on by MikeKrebs
November 10, 2024, 09:32:52 PM

kulp k8-b and Renard, I can't figure it out by MikeKrebs
November 10, 2024, 09:02:52 PM

V2.53 and virtual strings, seem to reverse by JonD
November 10, 2024, 07:11:05 PM

Question about using octoscoller by PittFan
November 10, 2024, 03:05:33 PM

Resolved - Remote Falcon Website Programming Issues by JonD
November 10, 2024, 01:28:34 PM

SRx1 V4.00 (Long Range) SmartReceiver Board by JonD
November 10, 2024, 12:05:23 PM

simple questions about my falcon f16v5 (first time poster) by rowjelio
November 10, 2024, 09:29:06 AM

Resolved -Remote Falcon Website will not display the song that is currently playing by JonD
November 10, 2024, 07:59:14 AM

Enclosure for Video Projectors by King Jeffrey
November 10, 2024, 05:01:55 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod