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