Successful Integration of SwitchBot Contact Sensor with ESP32

Hi everyone, I wanted to share my recent success in integrating the SwitchBot Contact Sensor with an ESP32 using the ble_tracker component. I started by successfully setting up the SwitchBot Meter Plus on an ESP32, which worked flawlessly with continuous 10fps recording. However, when I added the Contact sensor, I encountered memory issues. To resolve this, I switched to a Huzzah32 board, which provided enough resources.

The setup involved configuring the ble_tracker with specific scan parameters to minimize lag. While the sensor now works, there’s still a slight delay in state reporting, which I’m actively working on to improve. I’d love to hear if others have tips or experiences with optimizing ble_tracker performance.

This project has been a great learning experience, and I’m excited to continue refining it. Thanks to the community for all the helpful resources! :+1: