Welcome to my basement ๐งช
This is an experiment for an idea I had.
The picture of my HomeLab gets auto updated every minute.
The automation takes some time, 1-2 minutes. The light is automatically turned off after 2 minutes.
How does it work?
- when you click the button a request to a certain URL on Caddy is made
- Caddy writes this to a log file
- a not exposed VM is fetching the log every min via cron and searches for that URL
- if the URL is included it triggers a Home Assistant automation which
- notifies me on the phone
- turns on a shelly plug
- waits 2 min
- turns off the shelly plug