@otfrom@functional.cafe @Edent@mastodon.social I was fed up with replacing faulty mechanical thermostats every couple of years (the rest of the fridge is ancient, but shows no signs of giving up) and got medieval on the wiring. Added some temperature and door-open sensors.

Then I made a box with a couple of relays and an ESP32 to control the compressor. Basically going down this rabbit hole, with my own hardware:
https://www.youtube.com/watch?v=8PTjPzw9VhY

Tracking the electricity price via the
@octopusenergy@bird.makeup API was a late addition, purely to see how well it would work (I'm not even on a variable tariff). My main intention was to fix the thermostat and make a fuss if the door wasn't properly closed.

This goofy fridge has a really clever design. It's also kinda terrible.