Skip to content
/ woohue Public

Python Goal Light for Philips Hue Lights using NHL API

License

Notifications You must be signed in to change notification settings

librien/woohue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Woohue

Woohue is a Python program that retrieves information from the public NHL API, and triggers a goal light celebration on color capable Philips Hue lights.

Note: The NHL live score API is updated every 60 seconds, thus if you're watching live on TV the celebration could be triggered up to 59 seconds after a goal is scored. I've had excellent results while watching through a streaming app such as NBC Sports.

Installation

I am currently working on setuptools installation. In the meantime:

 $ git clone https://github.com/librien/woohue
 $ cd woohue

Recommended to create a virtualenv (>= Python 3.6)

 $ pip install -r requirements.txt

Windows users will need to manually install curses to run configuration.

 $ pip install windows-curses

Setup

Start Bridge Discovery

Automatically discover Hue bridge and color capable lights

Select Lights

Select your goal lights

Pick your team

Select your favorite team

Upon successful writing of the config file, your goal lights should activate.

Select your favorite team

Requirements

  • Add requirements

Known Issues

  • Some terminals / console emulators may have issues with the curses library (I experienced errors with Cygwin / ConEmu). PuTTY has been tested and works for Raspberry Pi SSH connection.

About

Python Goal Light for Philips Hue Lights using NHL API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages