2023-08-22
Using zigbee to not forget switches
I bought a zigbee based power switch a while ago because it would be a powered zigbee repeater in a strategic place. I use it to switch monitors and audio equipment in what is my home office. With those monitors in powersave I sometimes forget to switch it off at the end of the evening, and that causes some power use during the night. Time for a bit of home automation: initiating a power-off each night at a time I really should be in bed. Enough linux systems to initiate such a command, and I can just put an 'OFF' command in crontab.koos@testrouter:~$ mosquitto_pub -t zigbee2mqtt/sch-mancave/set -m '{"state": "OFF" }'And indeed there was a satisfying 'CLICK'.