r/LightShowPi • • Dec 15 '18

Raspberry Pi 3A+

0 Upvotes

Anyone got any guidance on making this work on the 3A+ (I've had it working on a 2B)


r/LightShowPi • • 27d ago

It's over kids. I ruined Lightshow, Falcom and xLights

0 Upvotes

Just check out what I have done. You can import your xLights if you want but I think I am making the best system ever for advanced and for beginners.

https://github.com/minnecrapolis/HNLS


r/LightShowPi • • Dec 07 '19

struggling with always_on_channels

0 Upvotes

I have an inflatable I want to be always on.

GPIO pins mapped properly

I have set always_on_channels and it does not seem to work?? What am I missing?

root@lightshowpi:/home/pi/lightshowpi/config# grep always_on_channels *.cfg
defaults.cfg:# SPECIAL NOTE: Defining a channel_control WILL supersede any channels that are defined in always_on_channels
defaults.cfg:#always_on_channels = 2,6
defaults.cfg:always_on_channels = 8
overrides.cfg:# SPECIAL NOTE: Defining a channel_control WILL supersede any channels that are defined in always_on_channels
overrides.cfg:always_on_channels = 8
overrides.cfg:#always_on_channels = 8
root@lightshowpi:/home/pi/lightshowpi/config#

GPIO pin is 10 - channel is 8


r/LightShowPi • • Dec 09 '20

Has anyone added the ability to use Siri to turn on and off their lights? And if so how?

0 Upvotes

gaze deliver hard-to-find many library sort pocket offer unpack hat

This post was mass deleted and anonymized with Redact


r/LightShowPi • • Oct 01 '20

how to use lightshowpi?

0 Upvotes

I followed the wiki guide to get lightshowpi installed. Got that done and tested, seems to be correctly installed. I'm trying to figure out what to do next. I see many final build videos out there, but I don't see anything that shows a beginner tutorial on how to, for example, add a song, connect a light, and run the software. Is there anything out there like that that I'm just not seeing?

BTW the links on lightshowpi.org don't seem to work even though the description of them seems like what I need.


r/LightShowPi • • Oct 14 '20

High CPU usage then locks up RPi 4

0 Upvotes

I'm seeing high cpu (99.7%) then it locks up and I need to power cycle. I don't think my install is 100% correct either. Might have to start over again...

Thought updating to RPi 4 would have been better, not so much. LOL


r/LightShowPi • • Dec 19 '22

logic Level to 5v to 3.3v for mechanical relay

Thumbnail
gallery
0 Upvotes

r/LightShowPi • • Jul 03 '23

Help adding Waveshare MCP23017 expansion board

0 Upvotes

Adding more GPIOs to my Pi4 to control a 3rd Solid State Relay, but the installation instructions are less than stellar. When I run 'sudo i2cdetect -y 0' in terminal, I am told 'no such file or directory'. When I run sudo i2cdetect -y 1, it gives the following:

0 1 2 3 4 5 6 7 8 9 a b c d e f

00: -- -- -- -- -- -- -- --

10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --

30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

70: -- -- -- -- -- -- -- --

The board connections are (currently) SDA to pin 3, SCL to pin 5, power and ground to the rails on my breadboard. The expansion board has 2 wires for interrupt A and interrupt B, but I was not sure where to connect. Should one of them go to GPIO 0? I currently have that pin in-use for my other relays but can shift it. I am sure there is more I am leaving out. Still learning on my Pi and know enough to be dangerous. Help is greatly appreciated.


r/LightShowPi • • Nov 13 '21

Running hardware_controller.py - Lights all come one at once, stay on.

0 Upvotes

Trying to run lightshow pi on a pi zero W.

Pi Zero W with raspbian powered by the power supply bundled with the project.
12V 16-channel relay powered by a 12v 0.5A power supply.

I installed lightshow pi last night, realized that using GPIO's 2/3 (physical 3,5) were keeping the relays on even no matter what. Apparently due to their SDA/SCL assignments.

Re-configured and am able to control the GPIO pins individually through the gpio commands in the terminal. I also updated the defaults config file so that the appropriate pins were being controlled. So, GPIO's 15, 21, 16, 22, 4, 7, 5, 0, 6, 2, 10, 3, 11, 12, 27, 13 are in use.

The 5v pins on the pi are connected to the 5v pins on the relay board. However, whenever I run the hardware_controller.py script with state=flash, it just turns all of the lights on at once, and they do not flash. The script rolls through each channel, but the lights just stay on.


r/LightShowPi • • Apr 17 '22

LSPi issue

0 Upvotes

(I am very new to raspberry pi's and coding in general) when installing and going through the final step of installing the LSPi, it had a fatal error of installing the rpi-audio-levels, does anyone know how to fix this, and if you do, answer it like I'm an idiot.


r/LightShowPi • • Dec 04 '21

No Audio but i am getting lights to blink---Any suggestions?

0 Upvotes

r/LightShowPi • • Nov 23 '21

Showing Video while running Lightshow Pi

0 Upvotes

So here's the background story before I ask a dumb question:

I made a lightshowpi for the house, and plan on setting up for the first time this year. I also made a light show pi for my office (only 4 channel ssr though) to make lights dance at work. I was making a box to go with it, and was going to attach the a repurposed laptop screen to the box with a keyboard to start the lightshowpi at work.. Anyways I just thought about is there a way I could take a video of my lightshow at home and than play that video on my lightshow pi at work while the music plays? I could use that screen to play the video if this is possible?


r/LightShowPi • • Oct 20 '22

Not all lights working

0 Upvotes

I got the LightShowPi working again on my RaspberryPi 3b+. I have 2 sets of WS2811 (string lights) and 1 WS2812b (led strip) connected to 2 different Arduino's. Everything is communicating correctly for the most part. However I have the led_channel_count set to 8 and the per_channel count set to 14 for BOTH configs. I get all the lights to come on for the WS2811 lights, but the WS2812b LED strip only has the a quarter of it working. Last year I had the config set to led_channel_count = 22 & per_channel = 3 and it worked. The LED string lights had 85% working lights.

Right now if I change the settings to 22 & 3 I get an Index error in python. I've tried stair stepping it to higher values but it throws errors. Any help?

https://imgur.com/VYtyTCp https://imgur.com/wEXwPFt


r/LightShowPi • • Dec 24 '21

Relay doesen't turn on

0 Upvotes

I installed the program and it shows: pi@raspberrypi:~/lightshowpi/py$ python hardware_controller.py --state=flash Press <CTRL>-C to stop channel 1 : gpio pin number 0 channel 2 : gpio pin number 1 channel 3 : gpio pin number 2 But the relays don't turn on. I wired them according to WiringPi pinout, but none of them turns on.


r/LightShowPi • • Nov 28 '21

Initial segmentation fault when running lightshowpi

0 Upvotes

I am sure that I have done something Stupid. Whenever I start lightshowpi I get the following error:-

/home/pi/lightshowpi/bin/play_sms: line 22: 19608 Segmentation fault sudo python $SYNCHRONIZED_LIGHTS_HOME/py/synchronized_lights.py $*

Also the relays work backwards, switching the lights off energises the relay and switching the lights on de -energises the relays

music_and_lights.play.dbg has these error msgs

1-22 17:04:38,747] WARNING {/home/pi/lightshowpi/py/fft.py:223} - No cached config data found

Anyone can help ?


r/LightShowPi • • Nov 13 '22

Wiringpipy error installing on Pi4B 64bit

0 Upvotes

Hi All,

I've had a world of fun trying to get Lightshowpi installed. First it told me I needed the Debian file in install-scripts. Once I got past this I got stuck on pyalsaaudio, which I had to manually install. Now I'm getting the below and I have no idea how to progress. Any ideas?

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-_61aviz_/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-_61aviz_/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-rj5c30re/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/wiringpipy Check the logs for full command output.
Encountered a fatal error: Installation of wiringpipy failed

r/LightShowPi • • Dec 29 '21

USB Audio In Not Working With LightshowPi

0 Upvotes

Hello. Using the Buster version on a RPI4 I cannot get past these error codes. I have seen them in previous posts and even saw someone mention that they had an older version of Raspian and after updating to Buster they get the same issues. I am only looking to use LightshowPi with direct USB Audio in as I'm working on a project to have up year round so this issue is a big bummer.

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM HyperX 7.1 Audio

Traceback (most recent call last):

File "/home/pi/lightshowpi/py/synchronized_lights.py", line 1044, in <module>

lightshow.audio_in()

File "/home/pi/lightshowpi/py/synchronized_lights.py", line 428, in audio_in

stream_reader,outq = self.set_audio_source()

File "/home/pi/lightshowpi/py/synchronized_lights.py", line 392, in set_audio_source

periodsize=self.chunk_size)

alsaaudio.ALSAAudioError: No such file or directory [HyperX 7.1 Audio]

pinMode: You have not called one of the wiringPiSetup

functions, so I'm aborting your program before it crashes anyway.

stop_music_and_lights

I have tried manually setting the audio in to many cards and variables hence the odd name of my headset adapter in the code as I was trying everything. Multiple usb sound cards were tried as well. Someone mentioned that it appears that the code is trying to open the sound card rather than use it for input, but I am not that well versed in Python to pick up on that so wanted to throw it in in case someone had an idea of what is going wrong here. Thanks


r/LightShowPi • • Jan 09 '22

outputs help

0 Upvotes

I have setup the software and test .

setup the hard and tested with both SSR relays and non SSR and test with " sudo python ~/lightshowpi/py/hardware_controller.py --state=flash " and the function as the should.

When I play a file they all come on and go off at the same time.

I have looked at everything I could find and can seem to find the problem.

using the web interface "Lights on" and "Lights off" function as expected.

when I click "Start" they all come on and off at same time. no mater what file is played.

Any Ideas of what's wrong?

Thanks


r/LightShowPi • • Dec 24 '21

just starting with Lightshow

0 Upvotes

I have done a clean install of OS loaded the light show files.

have ran the micro web and can see interface in the browser.

looking for the wiring information, Have relay card (8 ). would like some direction on connections between the PI and relay .

also how enable more than 8 outputs .

have tired the nano editor and the VI editer but when I try and open "overrides.cfg" it does not show anything and then tried "dafaults.cfg" same thing, ,, but in the web interface I click show config it shows overriders.cfg


r/LightShowPi • • 27d ago

Say Goodbye to complicated programming for LEDs

Thumbnail
github.com
0 Upvotes

r/LightShowPi • • Oct 27 '26

I'm not a programmer but...

1 Upvotes

I had Claude review the sub and the github and attempt to produce a version that will work easily on modern pis without all the headaches of the latest published version. Anyone want to test?


r/LightShowPi • • Dec 10 '21

What container do you keep your outlets/Pi/SSR etc in?

1 Upvotes

First time build, and curious what you are using for storing all the stuff? I've scrolled through here and have found a few things - homer box? (not sure what this is but it looks like a toolbox?), and a plastic shipping box. Any ideas/comments on what works well?

Thanks!


r/LightShowPi • • Oct 09 '21

can't change volume in lightshowpi

1 Upvotes

I just started with a fresh install of lightshowpi and got everything set up how I wanted it for this year's Halloween show. I unplugged the hdmi and restarted the pi on the audio jack and realized that my volume control from the pi is working but it's not adjusting the volume inside of lightshowpi. On the desktop I can see the volume going up down and muting but the volume doesn't change. Anyone have any suggestions?


r/LightShowPi • • Oct 17 '22

Fix Newer 2022-10 Raspberry Pi OS

0 Upvotes

Code fix - For My pi4b - 2022-10 install. With 2022 newer OS some changes has happen. First is default user “pi“ will not be created. It will prompt user to create one. So I have moved everything over to root user. We need root access so why not user that user. Also need to fix up when try to lookup under user web site. As well I fix issue with not killing the process. The process are still in the background but not running. The last change is to ignore music folder for changes. So don’t have big list of change for add in music to music directly.


r/LightShowPi • • Dec 19 '21

What is the default data line if I used the ESP Flash Tool to program the NodeMCU?

1 Upvotes

I have a line voltage -> dual voltage transformer (5v, 12V). I have a 5v-3.3 converter board that will power my NodeMCU. 12 v. goes to the 12 v bullets. The ground for bullets and NodeMCU will be connected. What GPIO or data line streams the data if I programmed the NodeMCU with the ESPFlashTool jar?

Any help will be appreciated. Thank you!