A simple OLA web-client written in python for controlling ambient lightning.
- Install python
- Install OLA and configure your DMX universe
- Configure web-lights 2.1. Universe ID can be set via UNIVERSE in ola_color.py (default = 1) 2.2. Size of RGB array can be set via SEGMENTS in ola_color.py (default = 8)
- Install initscript 4.1. Make a symlink to web-lights.py: sudo ln -s /usr/bin/web-lights /web-lights.py 4.2. Copy init script (located in init_script/web-lights): cp /init_script/web-lights /etc/init.d/ 4.3. Edit init script and set USER to your username 4.4. Enable auto-start: update-rc.d /etc/init.d/web-lights defaults
- Start web-lights: /etc/init.d/web-lights start
- Go to http://<server_ip>:9000
- Enjoy!