7d398d2767036613c48b234bdfc8166bf0ce1852
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%