How to build a remote temperature monitor with ESP32

There’s a garage I look after that sits empty most of the week. In winter the question is always the same: is it still warm in there, or did the heating fail? The garage has WiFi, but nothing else: no server, no port forwarding, no VPN, nothing that lets me connect in. I wanted two things: Anyone at the garage can open a page on their phone and see the current temperature and the last two weeks, without an app or a login. I get the data in my own Home Assistant at home, with history and a Telegram alert if the monitor goes silent. The solution is an ESP32 with a DS18S20 sensor running ESPHome. The board serves a read-only page on the local network and pushes its readings out to ThingSpeak, and Home Assistant reads them from there. All traffic is outgoing. ...