Hardware
- ESP32-C3 Super Mini
- Force Sensitive Resistor (FSR)
- 10K ohm Resistor
3D-Printed Case
As I often use ESP32-C3 Super Minis in a lot of my projects due to their extremely small size I had already designed a slim case for them which worked prefectly for this application. The case can be found here on my MakerWorld Profile Page.
Wiring
The wiring was very simple, I just soldered one pin of the FSR to 3.3v and then the other pin to a analog pin, in my case pin 4, with the resistor connecting pin 4 and ground.

Software
Using Esphome I wrote a basic yaml code to publish a resistor value as well as a binary occupancy value to HomeAssistant that can be found here.
