0bd238404958e654088a47a4c2e49a7938c6c072
Prerequisits:
1. "Phue" python library, install by running
pip install phue
2. A CyberPower UPS device connected to your machine
3. CyberPower's pwrstatd daemon
Description
This script will monitor the pwrstatd.log for mains power failures. When power is restored, it will turn off Hue lights since their default action is to power on after an outage.
Readme
MIT
81 KiB
0 Stars
1 Watchers
0 Forks
Languages
Python
100%