Do you know how I can connect multiple BLE sensors (each with unique MAC addresses) to one client?
I am using the ESP32, but I can use nRF52 or Arduino BLE devices if necessary.
The idea is that the ESP32 will connect to several temperature sensors and accelerometer/motion sensors and collect/log the incoming data.
Thanks for your help.
If I’m not wrong, the ESP32 can only connect to one BLE device at a time.
So, if you want multiple devices, you’ll need to connect and disconnect from each node at a time.
It should be no problem to connect multiple BLE sensors to an ESP32 :
I have connection to 3 BLE sensors in the (ESPhome) log on an ESP32 ,they are seen as devices by HA just not advertising their values.
I now have 5 Xiaomi BLE temp/humidity sensors working properly on an ESP32 using the Telink Flasher and Esphome , maybe change the sensor type and try your luck
see video https://www.youtube.com/watch?v=K-HG7qs9hK0