window state sensor (open/closed) with MQTT
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
window state sensor installed between your window and your handle bar
- Rating
- 0 / 5
- Likes
- 23
- Downloads
- 25
- Makes
- 0
- Views
- 1,311
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Other Gadgets
- License
- GNU General Public License v3.0
track your state of your house windows with an ESP32 with MQTT:

The sensor has a tiny pcb with hall sensors between your window and your handle. These hall sensors track the position of your window with magnets.
A seconds pcb is used for the ESP32-S2. The ESP32-S2 is in deep sleep and only wakes up if the handle change the state. The ESP32-S2 also wakes up every 24 hours to inform your home automation about the battery state.
You can define alarm rules in your OpenHAB: https://github.com/hggh/window-handle-sensor/blob/master/openhab2/window-state.rules#L53