Visualise PyTest status via your Phillips Hue lights
Project description
# pytest-hue Control your Phillips Hue by PyTest.
The following parameters are used:
- Brightness is controlled by the number of run tests against total number of tests
- Green hue is controlled by the number of passed tests against total number of tests
- Red hue is controlled by the number of failed tests against total number of tests
- Blue hue is controlled by the number of passed tests against total number of tests
## Configuration You’ll need to supply the following values:
- –hue-ip: Hue Bridge IP Address
- –hue-username: Username to connect to Hue Bridge with ([follow instructions here to get a new one](https://developers.meethue.com/develop/get-started-2/))
- –hue-rooms: Rooms to control the lights within
## Installing and Running To install
pip install pytest-hue
or clone this repo and run python setup.py install
To run, make sure:
- Your Phillips Hue Bridge and lights are turned on
Then run with following command (substituting the appropriate values)
pytest –hue-ip XXX.XXX.XXX.XXX –hue-username XXXXXXXXXX –hue-rooms Office
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-hue-1.0.0.tar.gz
(3.0 kB
view hashes)