AllOfTheLights is a quick-and-dirty OS X menubar tool that allows you to simulate scene control with a RaZberry z-wave daughtercard for the RaspberryPi.
Getting started with AllOfTheLights is simple. First, clone the directory
$ git clone https://github.com/kenkeiter/allofthelights.git
$ cd allofthelights/
You'll need the following libraries installed:
requests
PyObjC
py2app
rumps
If you've got Python 2.7 installed (most Macs do), you should already have Python, PyObjC
, and py2app
. You can install everything else by running:
$ pip install -r requirements.txt
Then, build the application bundle using py2app
$ python setup.py py2app
Copy the resulting application bundle to your Applications directory
$ cp dist/allofthelights.app /Applications
The application is now installed! When launched, it will look for .allofthelights.json
in your home directory. Edit example.json
to point to your RaspberryPi, and copy it there, like so:
$ cp example.json ~/.allofthelights.json
All set! Launch the application (which should be at /Applications/allofthelights.app
). You'll get an error if any JSON errors are encountered.
This code is licensed under the MIT Public License. Share and enjoy.