ahodges9 / LedFx

LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
MIT License
384 stars 91 forks source link

LedFx with Strip on Rasp3B GPIO #76

Closed dogo77 closed 4 years ago

dogo77 commented 4 years ago

Hi. I have an LED Strip directly connected to an Raspberry pi 3b Pin 18(GPIO5), controlled via Scott’s audio-reactive-led-strip. working good. Now i wanted to try LedFx, got the software running on the Raspberry but have Problems to get the LEDs lit.

As writen in the wiki i did

but what to enter for UDP-Port? and hostname? entering the IP of the Raspberry and some random udp port does not lead to success.

Any hints? Thanks!

not-matt commented 4 years ago

UDP port is either 7777 or 7778, you can find it in the Arduino file.

On Wed, 12 Feb 2020, 08:33 dogo77, notifications@github.com wrote:

Hi. I have an LED Strip directly connected to an Raspberry pi 3b Pin 18(GPIO5), controlled via Scott’s audio-reactive-led-strip. working good. Now i wanted to try LedFx, got the software running on the Raspberry but have Problems to get the LEDs lit.

As writen in the wiki i did

  • Add the device as a UDP
  • Click ‘Additional Properties’ and check ‘Include Indexes’

but what to enter for UDP-Port? and hostname? entering the IP of the Raspberry and some random udp port does not lead to success.

Any hints? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/76?email_source=notifications&email_token=AHXFVTFFDM74WUDXEZFXBADRCOX6BA5CNFSM4KTVC4T2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IM3O4YQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXFVTHHGURPWF57RMZFIXLRCOX6BANCNFSM4KTVC4TQ .

dogo77 commented 4 years ago

Tried ports 7777 and 7778, still no success. Also, i did not find any Arduino file, but that may be because i'm on Pi? Or did i missunderstand everything and LedFx can not work like in this scheme? https://github.com/scottlawsonbc/audio-reactive-led-strip/blob/master/images/block-diagram.png

not-matt commented 4 years ago

Ah apologies I hadn't read your problem fully. I thought you were using a wireless Pi - ESP - LEDs setup.

As far as I know there's no standalone pi support for the setup you have described; Ledfx is designed to control wireless strips.

I could add in this support as it's pretty straightforward but I'm not sure if it fits the scope of this project.

I'd recommend using a wireless setup as it allows you to connect multiple strips. ESP8266s are dirt cheap! You could use the Pi as a headless controller, and access Ledfx through any browser on the network.

Eg Phone browser (http://[pi-IP-address]:8888]) for control interface ⬇️ Pi running ledfx ⬇️ Any number of led strips

On Wed, 12 Feb 2020, 10:08 dogo77, notifications@github.com wrote:

Tried ports 7777 and 7778, still no success. Also, i did not find any Arduino file, but that may be because i'm on Pi? Or did i missunderstand everything and LedFx can not work like in this scheme?

https://github.com/scottlawsonbc/audio-reactive-led-strip/blob/master/images/block-diagram.png http://url

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/76?email_source=notifications&email_token=AHXFVTFE4DXZB7LKBPXSNRTRCPDC7A5CNFSM4KTVC4T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQF7DQ#issuecomment-585129870, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXFVTCUCPWLLYBR4ELPDGDRCPDC7ANCNFSM4KTVC4TQ .

dogo77 commented 4 years ago

thanks for your quick answer which clarifies things a bit :)

I still dont fully understand that middle part of your flowchart. How do i connect the ESP8266 to the strip? I don't need an arduino for each strip, do i? Sorry for these nooby questions, but i didn't find answers in the wiki. Do you have a pic of such an setup?

what i finally want to achive is the following: I have a DJ stand with an LED-Strip facing crowd. From DJ controller i go > booth out to an > USB-Soundcard on Raspberry running > Scotts audio-reactive-led-strip.

not-matt commented 4 years ago

Ah I see, in that case I'd run ledfx on the laptop, no need for a raspberry pi. As long as the ESPs are on the same network as the laptop it should work. Maybe configure them so they connect to a hotspot running on the laptop - I used to do this.

On Wed, 12 Feb 2020, 10:46 dogo77, notifications@github.com wrote:

thanks for your quick answer which clarifies things a bit :)

I still dont fully understand that middle part of your flowchart. How do i connect the ESP8266 to the strip? I don't need an arduino for each strip, do i? Sorry for these nooby questions, but i didn't find answers in the wiki. Do you have a pic of such an setup?

what i finally want to achive is the following: I have a DJ stand with an LED-Strip facing crowd. From DJ controller i go > booth out to an > USB-Soundcard on Raspberry running > Scotts audio-reactive-led-strip.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/76?email_source=notifications&email_token=AHXFVTAZ47WHWIQSFR77BRDRCPHQVA5CNFSM4KTVC4T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQJ3VQ#issuecomment-585145814, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXFVTD6E6NR6ZWBTHWA5W3RCPHQVANCNFSM4KTVC4TQ .

not-matt commented 4 years ago

example setup https://imgur.com/z7eMCpZ

dogo77 commented 4 years ago

thanks a LOT! that made it clear. I now have LedFx runing on the DJ-Laptop, have the controllers audio card as input and after seting up a fake device see the lines dancing in the webinterface :)

Is a »NodeMCU Lua Lolin V3 Module ESP8266 ESP-12E« the right thing to buy?

not-matt commented 4 years ago

Grand, glad I could help. I'm actually looking into buying small driver boards to allow direct usb connection to the end of the led strip. Setting up esp connections over WiFi when you're about to DJ is a pain, I've been there! With these, it would be a case of soldering the usb connection to the led strip, then plug and play, no esp tinkering.

On Wed, 12 Feb 2020, 11:58 dogo77, notifications@github.com wrote:

thanks a LOT! that made it clear. I now have LedFx runing on the DJ-Laptop, have the controllers audio card as input and see the lines dancing in the webinterface :)

Is a »NodeMCU Lua Lolin V3 Module ESP8266 ESP-12E« the right thing to buy?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/76?email_source=notifications&email_token=AHXFVTBJ3XLT2KG3HC5A75TRCPP7JA5CNFSM4KTVC4T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQQK6I#issuecomment-585172345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXFVTAHFETE2X7BMJZO4DDRCPP7JANCNFSM4KTVC4TQ .

dogo77 commented 4 years ago

That sounds awesome! But i guess thats pre alpha, isn't it? ;) For now i'll give it a try with the Module mentioned above. And thanks for leting me missuse the issue tracker as support forum… :)

not-matt commented 4 years ago

Pleasure, best of luck! Consider joining the Discord server for support in future.

dogo77 commented 4 years ago

sosorry for reopening…but after searching all night long i still can't find that discord server address. mind sending me an invite?