Room Presence Detection: My Experience and Tips

Hello everyone! I wanted to share my experience with room presence detection, a topic I’ve been exploring recently. Detecting the presence of specific people in different rooms using their iPhones or Apple Watches (and even Android devices when visitors come over) has been a fascinating project for me.I’ve been using ESP32 devices and RPi Zero W in my home, integrated with zigbee2mqtt, Mosquitto, and MariaDB on Home Assistant. My goal was to enable ‘follow-me’ media playback using Amazon Echo devices, ensuring the right music follows the person around the house while avoiding empty rooms. It’s been a great way to enhance the user experience!After researching various solutions like espresense, ESPHome, and Room Assistant, I found that zigbee2mqtt combined with Home Assistant provided a robust setup. The key was ensuring seamless integration with my existing devices and automations.Here are a few tips I’ve gathered along the way:- Device Placement: Position sensors strategically to cover all entry points and main areas.- Configuration: Use MQTT topics to map devices to specific rooms and users.- Testing: Regularly test the system to ensure all devices respond correctly.I’d love to hear how others have tackled this challenge or if there are better tools out there. Let’s collaborate and improve our smart home setups together! :rocket: