zzolo / aurora-shanty

Code and documentation for the aurora shanty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aurora Shanty

Code and documentation for the Aurora Shanty.

Raspberry Pi deploy

sudo apt-get install libgl1-mesa-dri

/home/pi/.xsessionrc

Start X11VNC

x11vnc -bg -nevershared -forever -tightfilexfer -nopw -display :0

/boot/config.txt Uncomment: hdmi_force_hotplug=1 hdmi_group=2 hdmi_mode=16

  • sudo apt-get install netatalk git tightvncserver
  • curl https://processing.org/download/install-arm.sh | sudo sh
  • cd /home/pi && git clone https://github.com/scanlime/fadecandy.git
  • cd /home/pi && git clone https://github.com/zzolo/aurora-shanty.git && cd aurora-shanty
  • FCServer startup
    • sudo cp ./deploy/fcserver.conf /etc/init.d/fcserver && sudo chmod +x /etc/init.d/fcserver
    • sudo /etc/init.d/fcserver start
    • sudo update-rc.d fcserver defaults
  • VNC setup. This is needed so Processing thinks there is a screen. How this is setup requires that a user does this and is logged in. Reference
    • Run once to setup password: vncserver :1
  • Processing sketch
    • Add to cron: @reboot $HOME/.profile; /home/pi/aurora-shanty/deploy/aurora.sh > /home/pi/aurora.log 2>&1

Notes/links

wget https://github.com/scanlime/fadecandy/archive/fcserver-1.04.zip && unzip fcserver-1.04.zip -d fcserver;
./fcserver/fadecandy-fcserver-1.04/bin/fcserver-osx
./fcserver/fadecandy-fcserver-1.04/bin/fcserver-osx ./fcserver-conf.json

About

Code and documentation for the aurora shanty


Languages

Language:Processing 93.8%Language:Shell 6.2%