ppl always complain that the clock on my microwave never shows the right time bcs i cant be assed to set it manually
so now i have an unfuck-microwave.sh cronjob which briefly kills its power every day at midnight
nice script name
@snow I think you mean that you invented a nonstandard clock synchronization method that keeps your legacy appliances in sync via a novel NTP-based wireless signalling method.
Patent that shit!
@snow make the sleep 10 instead of 5 and push the cron back a minute
now it's not gonna bother you that it's 5 seconds behind everything else


This gave me a big laugh. Thank you.

@snow The network gateway of our central heating only had Wifi (Vaillant enshittified its LAN port away because who doesn't have Wifi in their basement /s), and fell out of the network every couple of days, without reconnecting.
So until our plumber found a pre-enshittification box for us, I had the gateway on a similar setup, just that my script triggered the power cycle whenever the gateway wasn't reachable for 6 minutes
Free delivery and returns on eligible orders. Buy Keep Connect Router Wi-Fi Reset Device, Monitors Connectivity and Resets When Required. No App Necessary. If you enter a phone number it will send texts upon resets. at Amazon UK.
@snow @neil
The thermostat on my refrigerator failed.
There are so many models of 'stat that I can't find a proper replacement.
My solution was to hardwire it closed circuit (so the compressor runs continuously) then use a smart switch (much like yours) to switch it on for 15 minutes every hour.
In the summer I extend the time to 20 minutes every hour.
Two years on, it still works, the fridge thermometer is steady around 4C, and we've not got food poisoning yet ...
@sheddi @snow @neil Ditto mine.
Thermostat failed on, though, so nothing needed doing internally; just an external smart switch (Sonoff TH16) with a DS18B20 temperature sensor stuck in through the fridge door seal. ESPHome code to turn the fridge on and off at reasonable temperatures.
Only downside: fridge light doesn't come on when it's not running.
Using a temperature sensor, rather than just timing, is a plus when putting a load of shopping in to get it back down to sensible temperatures in a reasonable amount of time.