Stream

Join this community to post or comment
Pinned by moderator

Todd Giles
owner

General Discussion  - 
 
For those of you who use the default pwm mode with your lightshow - I've made a change to the default settings to use onoff mode.  This was done in hopes to reduce the # of mechanical relay failures of new users (sorry +Jason Telemax).

If you download the newest version from the stable or master branch, you'll see this change in the defaults.  To switch back to pwm mode you'll need ensure your /home/pi/.lights.cfg file contains the following line in the [hardware] section:

pin_modes = pwm

For more information on playing with your configuration file, visit the following page:

http://lightshowpi.org/software-configuration/
9
Colin Brown's profile photo
 
Good call Todd. Especially since led lights are selling for a lot less than they did a year ago. 
Add a comment...

David Moss

General Discussion  - 
 
Got the "box" working using multi-color LED's. and have been sitting back admiring/enjoying my work.  I am still thinking of switching over to incadescents because their brightness is not dependant on the color.  Anyway, on a shopping trip with my wife to Hobby Lobby (no I don't work for them) I happened to browse through the doll-house section, and I found a 12V, 50Ma bulb that isn't much bigger than a LED, but I think would work well!  Any thoughts, experience, pitfalls?
1
Kevin Lustic's profile photoDavid Moss's profile photo
2 comments
 
Thanks!  My lightshow is now running 12 channels, but I haven't done much as I just received my SenseHat, and have been 'testing it'!
Add a comment...

Nicholas Daszkiewicz (N1BBL35)

Software Help (LightshowPi)  - 
 
Sorry for the book worth of text, but i have a challenge for those willing...

Here we go again, this time for my mother. So, instead of tinkering my way through getting a show going (which I thoroughly enjoyed last year) I would like to ask the community for the best (not necessarily easiest) way to implement an 8 SSR show setup. And as bulletproof as possible... Like seriously, my mom corrupted 2 SD cards last year by hard shutdowns

I'm looking for the best OS and configuration you guys recommend and the kind of ease of use my severely computer illiterate mother will be able to use and not break. Last year I set her up with a simple ssh button app that allowed her to hit one button to start and another to stop.

This year I was going to consider the SMS functionality (if that is still a thing) and I heard you can use the SD card for boot only and the running software on a USB storage device... Which helps cut down on the corruption issues... Anyone have experience with that?

I have about a month to play before the Xmas in July party she is hoping I will have this done.

I should probably mention, I have a couple pi2 model B's

Thanks in advance

1
Tom Enos's profile photoNicholas Daszkiewicz (N1BBL35)'s profile photo
4 comments
 
Perfect! Thanks
Add a comment...

Caleb B

General Discussion  - 
 
Is it possible that lightshowpi isn't finding my gpio pins on arch linux? Because I have 1 channel hooked up to get it working. When I do hardware flash it never flashes.

However I can type

cd /sys/class/gpio

echo 17 > export
echo out > gpio17/value
echo 1 > gpio17/value

After typing this I can manually turn the gpio pin on and off.
(echo 1 > gpio17/value) = ON
(echo 0 > gpio17/value) = OFF
1
Caleb B's profile photoTom Enos's profile photo
11 comments
 
I don't use a desktop on my RPIs. But on my real desktop computer I use KDE. It's probably a bit heavy for a RPI.
Add a comment...

Caleb B

Software Help (LightshowPi)  - 
 
Hello, Its been awhile, since I had time today I tried installing lightshow pi on archlinux arm. I got these errors http://pastebin.com/esaGJXge

Any help is highly appreciated.
1
Tom Enos's profile photoCaleb B's profile photo
4 comments
Caleb B
 
I have master installed, I will change it back to stable, Im looking to use lightshow pi for custom lighting 😁 
Add a comment...

David Moss

Software Help (LightshowPi)  - 
 
Having fun with my new lightbox, and now have a question/problem?  Because I am going to leave my Pi dedicated to lightshow, is there some way to have the program autostart at power-up?  If I was still using windoze, I could just change the autoexec.bat file, but raspbian doesn't have one of those!  :-)

Thanks
1
David Moss's profile photoTom Enos's profile photo
9 comments
 
No worries, The daemon should work (haven't tested it). Cron has an option @reboot that executes the job on boot so you have two options.
Add a comment...

Ethan B.

General Discussion  - 
 
I'm trying to start the planning phase of my show early, but I've come across a few questions that I could use some help with.

First, I've come across some great lighting styles and tricks to use in static light displays, but just don't work for a dynamic show. When you plan your lights, what do you accent? What do you leave dark, or dimly light for a backdrop? Any tips to make things stand out?

Is there any way to set up each song to run from a trigger, such as a motion sensor?

I also want a big part of my show to be bright white light illuminating the whole house from about 30ft. away. How powerful do my floodlights need to be to achieve this?

And lastly, though it's a stupid question: any chance florescent bulbs will work, such as party bulbs?

Thank you for anything you can help answer, and good luck in your shows! 
1
Tom Enos's profile photo
 
"And lastly, though it's a stupid question: any chance florescent bulbs will work, such as party bulbs?"
Florescent bulbs don't lend themselves well to fast switching. But there are incandescent and led party bulbs out there. So that style is still available to you.

"I also want a big part of my show to be bright white light illuminating the whole house from about 30ft. away. How powerful do my floodlights need to be to achieve this?"
Depends, how bright do you want it? How big is your house? Is there a lot of extraneous light sources (street lights, neighbors) that you will need to overcome? You will need to experiment to get your desired affect.

"Is there any way to set up each song to run from a trigger, such as a motion sensor?"
Yes, you will need to write a script or two to do it. The hardest part is to determine what the trigger is and what to do if you get more then one trigger at a time or when a song is playing.

"First, I've come across some great lighting styles and tricks to use in static light displays, but just don't work for a dynamic show. When you plan your lights, what do you accent? What do you leave dark, or dimly light for a backdrop? Any tips to make things stand out?"
No, help here. I'm not that creative with decorating. My wife tells me what she wants and I make it happen. If she leaves it to me I just put lights everywhere, windows, doors, eaves, walkways, trees, flower beds, well everywhere I can hang or plant a light.
Add a comment...

Kirk Dube

Web UI Development  - 
 
Hey Tom ,
I upgraded to the new Raspberry pi 3 B and had to start over rebuilding the lightshow from scratch. I wanted to go the same route I did with Stephen's Webui. Can you let me know when and where I can grab and install it. I am looking for the same one that Stephen and I worked on last year where it automatically starts up in the webui mode on reboot. Also I am willing to play guineapig again if you or him need one for testing.
1
Patrick sauer's profile photoTom Enos's profile photo
8 comments
 
+Kirk Dube and +Patrick sauer 
Can you be more specific? What do you mean by "WebUI is missing", I just went over everything and it all works.
Add a comment...

Kirk Dube

General Discussion  - 
 
Anyone having issues downloading Raspbian? I keep getting a corrupted image file.
1
Kirk Dube's profile photo
 
Finally got it to download and work.
Add a comment...

David Moss

General Discussion  - 
 
Greetings!  Just finished the color organ/lightshow project!!  Driving 24 LED's right now, but with the Sainsmart 8 and 4-channel boards, I can easily change to AC loads.  Box is 8" x 10" and was a fun project!  Thanks to all who responded to my requests for assistance!
5
Add a comment...

Benjamin Ellis

Hardware Discussion  - 
 
Hey guys I'm back to start thinking about this to get a head start on christmas. Cait wait to read up on the changes. Question I have a pi 2 b+ and a pi 3. I had issues with the fm adapter cutting off after running for a month due to issues. Does pifm work on pi 3 or anyone know of a good weather proof fm modulator for pi 2 b+?
1
Ken B (K5ENB)'s profile photo
 
You could try the master branch with Pi 2 FM and how well it works for you. Pi 3 FM is not even attempted at this point, but my guess is it won't be in there any time soon.
Add a comment...

RolandoPaulette Silva

General Discussion  - 
 
Newbie here...!!  Great Forum ..... I have no coding experience but willing to learn.  I got my raspberry Pi Model 2 B+ about 2 months and finally decided to start playing with it.  I got a sainstmart SSR 8 channel relay and started working with it.  I just installed the Lightshow Pi following the instructions but at the end of the ./install.sh; I received an error: Installing ffmpeg or libav-tools failed with exit code 0.

I will look into the forum to see if I need to modify anything. I am using "the getting started process" from the LightshowPi website.

I have been able to get the WebIOPi to work on my raspberry Pi and the relay :)  but I would like to get the all the  LightShow features to work with the Raspberry Pi. Sync to music, etc... Starting early to be ready for Christmas

I hope to learn as much as I can from this group
1
Ben Jacobus's profile photo
 
I think the key thing that many newbie's miss as did I was to ensure that you extend the OS on the image if you are starting from scratch.  http://elinux.org/RPi_raspi-config
Add a comment...

About this community

http://lightshowpi.org/ Come join the fun and create a Halloween, Christmas, or whenever lightshow (karaoke, dance party anyone?) - synchronizing the lights to music using your Raspberry Pi as the central controller (i.e. no external computer necessary). As of today, our software automates the creation of a lightshow using the frequency spectrum of the song that is playing back. There are also many add ons - such as SMS control (e.g. change the volume via sms, or allow your neighbors to vote for the next song in the show), pre show lighting configuration, and many others in development. Come and join our community and contribute to the project, we'd love to have you :-)

lewis higgs

Software Help (LightshowPi)  - 
 
Struggling to install LightShow. Very novice to coding as using this as a practice before attaching to a float in a parade. So any help would be much appreciated. On an attempt to install I'm getting an error message right at the end? Can anybody help? 
1
Tom Enos's profile photo
 
Your installing from the stable branch correct?

Edit install.sh and change line 134
from this
ln -s /usr/bin/avconv /usr/bin/ffmpeg

to this
ln -sf /usr/bin/avconv /usr/bin/ffmpeg

then run the installer again

or you can delete the existing symlink
sudo rm /usr/bin/ffmpeg
Add a comment...

Caleb B

Web UI Development  - 
 
how do I go about enabling webui after checking out master branch on Arch Linux?
1
Tom Enos's profile photo
 
git fetch && git checkout webui

But you will have to install a few of the additional dependencies manually like web.py for example.
Add a comment...

miguel marquez

Software Help (LightshowPi)  - 
 
What changes need to be made to Lightshowpi for the mic to work. I have the audio from the usb to the speakers working. But the the audio to the mic is not working or streaming. It just plays the sample music when you use command synchronized_lights.py. Also changed the file defaults.cfg for audio_in. I'm running on a PI2
1
Tom Enos's profile photo
 
In the config you will need to change 2 setting

[lightshow]
mode = audio-in
audio_in_card = default

For the value of audio_in_card you need to find the name of your input device

Unplug your usb sound card
At the command prompt type
aplay -L | grep sysdefault

Note the devices listed
Now plug your usb sound card back in and run the same command
aplay -L | grep sysdefault

You will see a new enter that is your sound device.
Use that for audio_in_card
example
audio_in_card = sysdefault:CARD=Device
Add a comment...

Chris Pangburn

Web UI Development  - 
 
Can someone please explain to me how to get webUI working? I'm new to GIT, only been using python a few years.

I followed this link, that was referenced last Jan. https://plus.google.com/115940668595220683930/posts/e663rooZ9Xg

There are references webapp.py and code.py, I don't even have webapp, and code.py errors out trying to import BackgroundScheduler

I went to https://bitbucket.org/tom_slick/lightshowpi-webui/src/c85a9116d4707392ca7ab91f0bd43e5117f896e1/py/?at=master

and do not see code.py or webapp.py

What am I missing? also my test - sudo python py/synchronized_lights.py --file=/home/pi/lightshowpi/music/sample/ovenrake_deck-the-halls.mp3 doesn't do anything, it just accepts the command and waits for the next one, nothing in the log. What are some troubleshooting steps?

thank you,


* remote origin
Fetch URL: https://tom_slick@bitbucket.org/tom_slick/lightshowpi.git
Push URL: https://tom_slick@bitbucket.org/tom_slick/lightshowpi.git
HEAD branch: master
Remote branches:
PiGlow.testing tracked
Version-2.0 tracked
Webui_stable tracked
development tracked
lightshowpi-led tracked
master tracked
stable tracked
Local branches configured for 'git pull':
Webui_stable merges with remote Webui_stable
master merges with remote master
Local refs configured for 'git push':
Webui_stable pushes to Webui_stable (up to date)
master pushes to master (up to date)
1
Chris Pangburn's profile photoAlex Top's profile photo
9 comments
 
After you have finished installing it, the webui will start on boot so you just need to know the ip address of the pi and acces it via another device: (ipaddress:8080)
Add a comment...

Tom Enos
moderator

General Discussion  - 
 
Don't know if this matters to any body here, but........
When we launched Raspberry Pi Zero last November, it’s fair to say we were blindsided by the level of demand. We immediately sold every copy of MagPi issue 40 and every Zero in stock at our distributors; and every time a new batch of Zeros came through from the factory they’d sell out in minutes. To …
2
Add a comment...

Chris Scott

General Discussion  - 
 
Greetings all, got this all running on my Raspberry Pi last night after a flawless installation.  My complements to those involved.

I have a string of WS2812 pixels (Neopixels as Adafruit call them) which I would like to turn into a Graphic Equaliser / Spectrum Analyser.  I see this has been done in an Adafruit tutorial (see link) but uses the Adafruit RGB LEDs LPD8806 and not the WS2812 but DOES use the Lightshowpi code

I can control the WS2812 pixels from the Raspberry Pi using another tutorial (https://learn.adafruit.com/neopixels-on-raspberry-pi/overview) and have demonstrated this successfully.

Before I embark on this, just wondered if anyone else has attempted it.  Im a bit of a noob but keen to learn!
A Spectrum Analyzer shows the loudness of different frequency bands (low, mid, high) in real-time, letting you visualize music. Using a RasPi, RGB LED Strip and some wire, make yourself a dynamic display and media player. This project is based on some great python xmas light code from the ...
1
August Allen's profile photoChris Scott's profile photo
7 comments
 
Not yet, had some trouble as blew up a pixel.  As it turns out, this is a relatively common problem from the Adafruit forums.  Spent many hours troubleshooting and eventually just removed the first pixel in the line and then everything worked again.  Its worth reading the Adafruit guide here https://learn.adafruit.com/adafruit-neopixel-uberguide/overview especially the bit about adding a capacitor on the 5V input and a resistor on the data line.

Currently creating a grid, after which will look more closely at the code.  Let me know if you succeed!
Add a comment...

David Moss

Software Help (LightshowPi)  - 
 
Greetings fellow LightshowPi users!  Got my B2+ all set up and running, and have built a small display box.  Now, I have been using playlist mode so far, but now I want to use a line level input from my home audio system.  I have un-commented the line in the config file for mode=audio-in.  I have purchased a Sabrent AU-MMSA USB audio card which according to their website requires no drivers.

     According to wiki.linuxaudio.org/wiki/raspberrypi#setting_the-default_soundcard, if I look at /etc/modprobe.d/alsa-base.conf,I make changes to allow the USB audio card to be the default.  Unfortunately I do not any entry under modprobe.d with that name.  The same reference doc states that I can remove the kernal module for the onboard soundcard from /etc/modules, but the only entry I have in modules.conf is i2c-dev.

     Obviously I am missong something here, but not being experienced in Python, I don't know what!

     Thank you for any and all help.
1
Tom Enos's profile photoDavid Moss's profile photo
2 comments
 
THANK YOU TOM!!  When I read the config file, I saw that entry under the heading of audio_out_card_configuration, but did not realize that it was going to be needed in the audio_in mode as well.  Works great, again, Thank you for your assistance.
Add a comment...

Alex van Es

General Discussion  - 
 
Can lightshow pi also control LPD8806 lightstrips?
1
Tom Enos's profile photoAlex van Es's profile photo
4 comments
 
Thanks! I will check out the led branch!
Add a comment...