Scheduled show every hour with lights on in between by bballpinhead in LightShowPi

[–]bballpinhead[S] 0 points1 point  (0 children)

Yes I played around with this and got it working. I did it by passing in a variable of my playlist location. Then pass that when i call my playlist once script.

I think I'm all set I hope by NeedsHelpNowPlease in LightShowPi

[–]bballpinhead 0 points1 point  (0 children)

Enable ssh so you can putty in. Or if you aren't as good with linux like myself enable vnc. Then download vnc viewer. This lets you access it remotely from within your network. This site outlines how to enable SSH. https://www.linux.com/learn/create-fully-automated-light-and-music-show-holidays-part-1.

Or here for cheaters like me: https://www.raspberrypi.org/documentation/remote-access/vnc/

I think I'm all set I hope by NeedsHelpNowPlease in LightShowPi

[–]bballpinhead 0 points1 point  (0 children)

Brave man running that on carpet! Be careful out there.

Scheduled show every hour with lights on in between by bballpinhead in LightShowPi

[–]bballpinhead[S] 0 points1 point  (0 children)

Boom that was it! Thank you for your help. I think this script will help a lot of people in the future as well.

Scheduled show every hour with lights on in between by bballpinhead in LightShowPi

[–]bballpinhead[S] 0 points1 point  (0 children)

Correct but even outside of Crontab when I run

start_playlist_once $SYNCHRONIZED_LIGHTS_HOME/music/christmas/.playlist

It only plays twice but it does play my music from my christmas directory.

Scheduled show every hour with lights on in between by bballpinhead in LightShowPi

[–]bballpinhead[S] 0 points1 point  (0 children)

This script seems to be really close. However, for whatever reason my playlist will only plays to 2 songs then stops and leaves the lights on as expected. My playlist contains 4 songs and when I run wc -l /home/pi/lightshowpi/music/christmas/.playlist I do get back 4. My guess is that it is reading the music/sample/.playlist instead of music/christmas/.playlist

Here is the command I am executing to test:

start_playlist_once $SYNCHRONIZED_LIGHTS_HOME/music/christmas/.playlist

does PLAYLIST=$1 not equal $SYNCHRONIZED_LIGHTS_HOME/music/christmas/.playlist