A small and lightweight Flask based Python3 application that shows scenes from Philips Hue and streams music.
Run it on a raspberry pi for easy and fast access !
Mainly to set the atmosphere for our pen and paper group.
With just two taps we can set a warm orange light and start playing pub-background music.
- Create a Python3.6 Virtual Environment
- Run
pip install -r requirements.txt
- Start the server with
python atmosphuer.py
On the first run a config file settings.json
will be created. Use it to configure the app:
- lights: The name of the lights you want to show (currently 3 at most)
- bridge_ip: The ip adress of the hue bridge, check your router or Hue app for it
- owners: When starting the app you get a list of the owners and corresponding scenes, add the id's of scenes you want to see
- sound_dir: The directory where all the sound files should be read from
- transition: The transition time for scene changes
I don't know ?! Got any ideas ? Open an issue and let's talk !
Please feel free to contribute in any way, be it documentation, blog posts, discussion or code - this is open source !