Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with XLights as a Source #23

Open
GeorgeIoak opened this issue Dec 26, 2018 · 6 comments
Open

Working with XLights as a Source #23

GeorgeIoak opened this issue Dec 26, 2018 · 6 comments

Comments

@GeorgeIoak
Copy link

Before I saw your Pixel Pusher repo I used your matrix repo and successfully played GIFs on my setup of 4 panels using the following:

./led-image-viewer -C --led-rows=64 --led-cols=64 --led-gpio-mapping=adafruit-hat-pwm --led-show-refresh --led-chain=4 -l100 --led-pixel-mapper=U-mapper --led-rgb-sequence=BGR --led-slowdown-gpio=0 --led-pwm-lsb-nanoseconds=50 /share/mickeyminnie.stream

Now I'm trying the following in the PP directory:

./pixel-push -C --led-rows=64 --led-cols=64 --led-gpio-mapping=adafruit-hat-pwm --led-show-refresh --led-chain=4 -l100 --led-pixel-mapper=U-mapper --led-rgb-sequence=BGR --led-slowdown-gpio=0 --led-pwm-lsb-nanoseconds=50 -i wlan0 -a 1,1

Using Wireshark I can see that Xlights is sending data to the Pi running PP

screen shot 2018-12-26 at 3 36 48 pm

When I start PP I get the following:

102.2Hzwlan0: IP: 192.168.10.121; 100.0H:27:eb:02:99:31 Display: 128x128 (128 pixels each on 128 strips) Accepting max 3 strips per packet (with UDP packet limit 1460). discovery packet size: 202 101.4HzPress <RETURN> to shut down (supply -d option to run as daemon) Starting PixelPusher discovery beacon broadcasting to port 7331 Listening for pixels pushed to port 5078
With XLights you can just tell it the IP address and Universe s that's what I've done but you can also specify the "network" and "subnet" but I haven't done that (those options are only available if you choose to set those up. I'm not quite sure what it's expecting so I configured just the IP address and universe.

I can't post yet on the XLights forum so I thought I'd start here. I'm not sure how the port information is selected but it appears from the Wireshark capture that XLights is sending to port 6454 and PP is listening to port 5078 so I'm hoping that's the issue but I don't see an option in either software package on how to choose the port to use so maybe that's something automatically selected behind the scenes?

Hopefully you can help shed some light on this for me!

@GeorgeIoak
Copy link
Author

Getting closer...

I modified the PP server to listen on port 6454 and that got me to this message so at least it's actually receiving data it just doesn't like the format,

Expecting multiple of {1 + (rgb)*128} = 385, but got 526 bytes (leftover: 141) Expecting multiple of {1 + (rgb)*128} = 385, but got 526 bytes (leftover: 141) Expecting multiple of {1 + (rgb)*128} = 385, but got 526 bytes (leftover: 141)

@KBNZOKO
Copy link

KBNZOKO commented Jan 6, 2019

Hello, good morning.
Please I want you to help me to write an stream file for video-viewer. Eg: mickeyminnie.stream

@GeorgeIoak
Copy link
Author

You just need to follow the instructions on this page. You just run the led-viewer app with the output switch (-Oanimation-out.stream)

@krzimmer
Copy link

Hi @GeorgeIoak, Did you figure out how to send a sequence from xlights to pixel-push? I'm basically at the same spot that you described in your last comment. Any suggestions?

@GeorgeIoak
Copy link
Author

Sorry, I honestly can't remember where I left off after all this time.

@krzimmer
Copy link

krzimmer commented Feb 28, 2023

Thanks for the reply @GeorgeIoak. No worries. I learned about Falcon Pi Player (FPP) and that met most of my needs. Between using FPP with xLights and video-viewer, for live video, in @hzeller /rpi-rgb-led-matrix, I'm all set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants