87f423f9292f2b9d99948934293cd3a9345e147d
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%