Blink your Philips Hue smart light when you receive a notification.
Hue-notify requires a Hue Bridge and currently only notify unacknowledged PagerDuty incidents.
Install cargo through rustup and run:
cargo build --release
Cross-compilation is possible via cross
if you want to run hue-notify
on a Raspberry Pi for instance.
You can configure hue-notify
from environment variables (.env
is supported):
PAGERDUTY_TOKEN="changeme"
PAGERDUTY_TEAM_ID="ABCD123"
PAGERDUTY_USER_ID="1234ABC"
HUEBRIDGE_IP="192.168.1.42"
HUEBRIDGE_USERNAME="changeme"
HUEBRIDGE_LIGHT_IDS="1,2,3"
Please refer to Philips Hue API documentation to generate a username.