Skip to content

A simple OLA web-client written in python for controlling ambient lightning.

Notifications You must be signed in to change notification settings

DanielGraef/web-lights

 
 

Repository files navigation

web-lights

A simple OLA web-client written in python for controlling ambient lightning.

Installation

  1. Install python
  2. Install OLA and configure your DMX universe
  3. 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)
  4. 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
  5. Start web-lights: /etc/init.d/web-lights start
  6. Go to http://<server_ip>:9000
  7. Enjoy!

About

A simple OLA web-client written in python for controlling ambient lightning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.8%
  • JavaScript 6.7%
  • HTML 5.4%
  • Shell 1.1%