Skip to content

Set the atmosphere through sound and light with Philips Hue.

License

Notifications You must be signed in to change notification settings

DeastinY/atmosphuer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atmosphuer

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 !

Atmosphuer in Action

Why ?

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.

How to install ?

  • 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

What else ?

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 !