💾 Archived View for wilw.capsule.town › log › 2017-08-18-security-lights.gmi captured on 2023-07-10 at 14:06:32. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-04-19)
-=-=-=-=-=-=-
A previous note about Philips Hue bulbs [1] got me thinking that the API exposed by the bridge might be used to warn if the house lights are left on too late at night, or even if they get turned on at unexpected times - potentially for security.
I put together a simple program that periodically checks the status of known Hue bulbs late at night. If any bulbs are discovered to be powered on during such times then an email notification is sent. It runs as a `systemd` service on a Raspberry Pi.
Currently the project is quite basic, but it could be further extended - perhaps to implement ignore lists or to automatically turn off specific sets of bulbs if they are found to be powered on.
For those interested, the project source and setup info is available on GitHub [2].