Stream

Join this community to post or comment

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...

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...

Jj Wald

Software Help (LightshowPi)  - 
 
Hello again I ran a different error I read some posts and tried different methods...to no avail, so I'm back for some advice.....error reads
Error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Houston we have a problem.....
Installing wiringpi2 failed with exit code 0...

would appreciate advice thanks in advance...
1
Jj Wald's profile photoTom Enos's profile photo
8 comments
 
That's strange. gcc is not installed

use this to install
sudo apt-get install build-essential

then try the lightshowpi installer again
Add a comment...

Alex Dialynas

Software Help (LightshowPi)  - 
 
Hello! I am a new Pi user and I want to use LightShowPi for a university project. I followed the install instructions on the official site and the installation was successful. When I tried to reboot (it was advised after the installation) I faced a new for me screen. Blank screen with a blinking underscore. After some search I realised that I need to press Ctrl+Alt+F2 to get to login. Till now when I was powering up the Pi it was always getting me to the desktop without prompting for login. After I logged in with the default user/pass and typed startx I was getting a blank screen. The only workaround I found was to type sudo startx and then it would boot up normally (logged in as root :S). Since the Pi is new I didn't hesitate and formatted my SD card in case I did something wrong during installation. I tried installing LightShowPi again following the same steps as before and had the same results. Any help would be appreciated. Thanks.
1
Tom Enos's profile photoKevin Lustic's profile photo
5 comments
 
+Alex Dialynas glad it worked out, can you post a link to the tutorial you followed for future users?
Add a comment...

Kevin Aherne

Software Help (LightshowPi)  - 
 
So, I'm up and running :-) , I've had a play with both VNC and SSH as the method of accessing the Pi. 
I found a tutorial online that showed how to use your phone as a wifi hotspot for the Pi (useful as my setup is going to be mobile so no home router available). Of course, numpty here forgot to bookmark the page and now I can't find it again.
Does anyone have a link to a guide ?
1
Paul Barnett's profile photo
 
Is this what you are looking for?  It's a few years old:

http://www.daveconroy.com/how-to-tether-your-raspberry-pi-with-your-iphone-5/

I'm not sure why you can't just use the graphical interface to tell it the details to connect to your iPhone.  Then, you can use raspi-config to switch to text console login, and it will remember the WiFi configuration.

I've done this for both an RPi 2 and a RPi Zero.  Actually, I set up the micro SD card on my original RPi 2 with the desired WiFi dongle, then just moved the SD card and the dongle to the new RPi.  They recognize my home WiFi, and connect.  Then I use SSH from my MacBook to connect.

Setting up your phone as a WiFi hotspot will depend on your phone, and even your cellular service.  Some cell service plans don't allow "tethering".  
Add a comment...

Matthew Bickerton

Software Help (LightshowPi)  - 
 
Hello! I am doing LightShow Pi for a school project. I have a Raspberry Pi 2. Can someone give me a tutorial or redirect me to one? It would really help! Thanks
1
Paul Barnett's profile photoMatthew Bickerton's profile photo
9 comments
 
Thx guys I got it!
Add a comment...

1111winter4w

Software Help (LightshowPi)  - 
 
Hello,

I am looking into the raspberry pi and would love to have a light setup for the holidays :D I do have a question tho. Will it be possible for me to stream audio from my PC in my house to the Pi which will be outside. The reason I want to do this is 1. It will make it easy to manage the audio files on the PC. 2. I got a FM and AM transmitter that I will like to use and they are all hooked up to the PC (They are also all Part15 Compliant)

Also since I am a noob with this stuff, are there any videos I can follow on how to set this up?

Thanks :)
1
Tom Enos's profile photo1111winter4w's profile photo
7 comments
 
+Tom Enos Aww sweet so it uses the frequency spectrum, this is then something i'm looking for :D. Thanks, I also see it does SMS voteing!
Add a comment...

David Moss

Software Help (LightshowPi)  - 
 
Greetings:  I followed the instructions in the Getting Started doc., and it came back with the following error:

  inflating: decoder-1.5XB-Unix/mutagen-1.19/mutagen/_util.pyc  
  inflating: decoder-1.5XB-Unix/decoder.py  
  inflating: decoder-1.5XB-Unix/fileinfo.py  
  inflating: decoder-1.5XB-Unix/INSTALL  
  inflating: decoder-1.5XB-Unix/codecs.pdc  
  inflating: decoder-1.5XB-Unix/COPYING  
Cloning into 'wiringPi'...
fatal: unable to connect to git.drogon.net:
git.drogon.net[0: 2a00:ce0:2:feed:beef:cafe:0:3]: errno=Connection timed out
git.drogon.net[1: 195.10.226.169]: errno=Connection timed out

./install.sh: line 82: cd: wiringPi: No such file or directory
./install.sh: line 84: ./build: No such file or directory
Houston we have a problem.....
Git and configure WiringPi2 failed with exit code 0
1 pi@raspberrypi:~/lightshowpi$

IS the wiringPi a library that I should already have, or is the problem with git.drogon.net?

Thanks
1
David Moss's profile photoGlen Clarkson's profile photo
10 comments
 
I actually wound up installing wiring pi manually and following the rest of the install script and doing it by hand. It seemed to work!
Add a comment...

jairuz agang-ang

Software Help (LightshowPi)  - 
 
I have been successful in building the lightshowpi using RasPi B+ (running on Raspbian Jessie) and Microchip's I/O expander MCP23S17 last month. Until I decided to install the latest Raspbian updates.

Unfortunately, my setup isn't running right now when I tried to rebuild it.
Can you please guide me on how is should be fixed?

I am getting this error:

ImportError: No module name rpi_audio_levels


1
Tom Enos's profile photojairuz agang-ang's profile photo
2 comments
 
Thank you, +Tom Enos.

I had to install rpi_audio_levels manually
though it requires installing a newer version of Cython first:

sudo pip install cython --upgrade

Then:

sudo pip install git+https://tom_slick@bitbucket.org/tom_slick/rpi-audio-levels.git

Works like a charm! ;)
Add a comment...

Garnett Haines

Software Help (LightshowPi)  - 
 
I am trying to setup my USB audio card ( Hexin Sound Audio controller). I am using model B rev2 with Jessie installed. My problem is that I can't find the /etc/modprobe.d/alsa-base.conf file that needs to be modified. Any help would be appreciated.
1
Tom Enos's profile photoGarnett Haines's profile photo
2 comments
 
Thanks Tom. You instructions worked.
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

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...

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...

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...

Jj Wald

Software Help (LightshowPi)  - 
 
Hello... help would be appreciated im new to the lightshowpi ...I followed the instructions in the Getting Started doc. and it came back with the following issue when trying to install the install.sh
Archive: decoder-1.5XB-Unix.zip
Houston we have a problem.....
Installing mutagen failed with exit code 0 
1
Tom Enos's profile photoJj Wald's profile photo
2 comments
Jj Wald
 
Ok thanks I'll try that...
Add a comment...

Matthew Bickerton

Software Help (LightshowPi)  - 
 
Hello again. If someone could help me with this, it would be amazing. I do not know how to manually program the lights to where they set off at the time I want them to. Could someone redirect me or give me some tips with this? It would be a lifesaver! Thanks
Regards,
Matthew
1
Matthew Bickerton's profile photoTom Enos's profile photo
3 comments
 
That's not really lightshowpi, "our software automates the creation of a lightshow using the frequency spectrum of the song that is playing back"

You might use custom_channel_mapping to get a little control of it, but lightshowpi was never meant for that much control. 

Another option ist to try and edit the sync files, but that was not something that was accounted for either.
Add a comment...

Caleb B

Software Help (LightshowPi)  - 
 
Is it possible for me to use Arch LinuxArm for lightshowpi?
1
Caleb B's profile photoKevin Lustic's profile photo
7 comments
 
I think it's really awesome that the hardware is driving software efforts at this point. It's often the other way around :) But yeah, love Arch Arm
Add a comment...

Gary Webb

Software Help (LightshowPi)  - 
 
Here is my small set up but what am I missing minds gone blank too much going on in it do any help would be grateful thank you or pictures of proper set up using gpio pins 0 to 7 and ground do I need one from power to the pi hope someone can help 
1
Garnett Haines's profile photoGary Webb's profile photo
5 comments
 
ok have downloaded the resistor chart and am changing them as i type 
Add a comment...

Dennis Cunningham

Software Help (LightshowPi)  - 
 
I purchased another solid state ssr module with 8 additional switches.  My thinking was that I could just hook it up to the Raspberry Pi B2 and it would play all 16 channels.  WRONG.  do I have to add in the additional GPIO pins to the config file?  I think yes?
1
Dennis Cunningham's profile photoPaul Barnett's profile photo
3 comments
 
+Dennis Cunningham, you must use the GPIO pin numbers for the Pi2B, as assigned by WiringPi/Pi4J.  There's an example in config/defaults.cfg, but you'll have to delete the MCP23017 port pins (65+).    For example:

gpio_pins=0,1,2,3,4,5,6,7,21,22,23,24,25,26,27,28,29

I think that's one more than you need, but that's all the GPIO pins on the Pi2B.
Add a comment...

Bennett Lauber

Software Help (LightshowPi)  - 
 
Quick question:

What Git repository should I be using to get the webUI?

I've been using the following with a fresh jessie lite:

sudo apt-get install git-core
cd ~
git clone https://tom_slick@bitbucket.org/tom_slick/lightshowpi.git
cd lightshowpi
git fetch && git checkout Webui_stable
cd /home/pi/lightshowpi
sudo chmod +x install.sh
sudo ./install.sh
sudo reboot

Everything works except PiFM, Yes I changed the gpio.

On two separate Pis (an A+ and a 2B) when i set FM to true, and reboot when I play a song, the lights flash, and then the server locks up.
1
Bennett Lauber's profile photoTom Enos's profile photo
3 comments
 
You can post here.
https://groups.google.com/forum/#!forum/lightshowpi-dev

But I am working on a newer version that is a little different.
https://bitbucket.org/tom_slick/lightshowpi-webui

It is being updated to use the master branch and will have all the added features of the master branch when finished.  It will be able to run from the command line or the webui.  Still in the alpha stage right now, but it works.
Add a comment...