zachgoldstein / heavy-meta-lights

A light control system for heavy meta, an art car headed to burning man
MIT License
1 stars 0 forks source link

Heavy Meta Lights

What is this?

A light control system for heavy meta, an art car headed to burning man.

Core goals

Usage

How this works (or at least is intended to)

Deploying to raspi

Note! On a new raspberry pi you'll probably need to make sure the OS is installed and ssh is enabled

You should now see lights going crazy when the raspberry pi starts. To control the service, on the raspberry pi, use systemd: To stop:

sudo systemctl stop art-car.service

To restart:

sudo systemctl restart art-car.service

To view the logs, use journalctl:

journalctl -u art-car.service

How can I get involved?

Development

note, pyaudio depends on portaudio, a lower level library. To install on a mac:

brew install portaudio

Using pipenv, setup your dev environment with all the required libs:

pipenv install --dev 

Setting up light strips

This process really sucks. You'll need an internet connection, phone and have to install the app. I do not have alot of confidence in this process. If light strips need to be reset often, it will be challenging without an internet connection because of the dependence on the app during this process.

If you're on android, you'll need to turn on flight mode to make sure your cellular connection does not conflict with the light strip's wifi bootstrapping process.

To setup each strip: