https://ghost.sndm.me/did-i-close-the-garage-door-2/ [ghost.sndm.me]
In the first article of this short series, I explained the reason for wanting to know whether my garage door was open. I also described in detail how to set up an ESP32 to detect the door state (open/closed), and how to send it to a simple back end. In this post, I will tell you how the back end is set up.
I've already disclosed that the back end consists of a Raspberry Pi (running in my cluster of four). It runs a Redis server and uses a Python Flask application as web server. An nginx reverse proxy enables us to reach it from the internet (one of the requirements).