Skip to content

A script to control Philip's Hue light bulbs based on open incidents in PagerDuty

License

Notifications You must be signed in to change notification settings

cwire4/pager-huety

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pager-Huety

A script to trigger Philip Hue lightbulbs based on triggered incidents from PagerDuty.

Dependencies

Usage

-h, --help            show this help message and exit
--pd-api-key PD_API_KEY
                    API Key for pager duty
--company COMPANY     Company name used with Pager Duty (for API requests)
--hue-host HUE_HOST   Hostname of your Philips Hue Bridge
--lamp LAMP           Hostname of your Philips Hue Bridge
--night-only NIGHT_ONLY
                    Will only flash lights between 9PM - 7AM
--user-filter USER_FILTER
                    Only trigger lights if incident is assigned to one of
                    these user ids
--log-level LOG_LEVEL
                    Set logging level

Example

./pager-huety.py --pd-api-key=asdfgh --company=chartbeat --hue-host=Philips-hue.home

About

A script to control Philip's Hue light bulbs based on open incidents in PagerDuty

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%