Number of BT proxies/ continuous connections

Heya all! I’m trying to use BT proxies on ESPHome to measure distances, im having trouble keeping all me ESP32’s connected at the same time, I have found some mention that there can only be 3 connections at the same time. Is this actually the case? I have only found mention of it once… If it is true, how can I increase this?

esp32_ble_tracker:
scan_parameters:
interval: 1100ms
window: 1100ms
active: true

bluetooth_proxy:
active: true

It’s in the docs. Bluetooth Proxy — ESPHome

By the way, unless you have Ethernet in that esphome device, your setup is wrong. See the same docs

The three connections thing only applies to active Bluetooth connections, not proxies. I have 10 proxies with no problems.

Have a look at the Bermuda integration from HACS - their wiki is a bit more friendly.

True. 1100ms is only recommended where you have an ethernet connection. I have:

esp32_ble_tracker:
  scan_parameters:
    active: True
    interval: 320ms 
    window:   300ms 

It is recommended to just leave them at the defaults. Is there a reason you chose yours?

@jackjourneyman @nickrout
Thanks for the info! feeling so swamped in this project im sure im missing things all over…

So the default is 320ms?

@nickrout truth be told, no, I was just despratly trying to find somthing that worked as a starter and figured I would fine tune from there. Missed the part about the default value being best and just got copied over. Worked well enough, but I wouldnt be surprised if its a large part of my problem…

It’s suggested in the Bermuda Wiki in order to “hear every possible advert”. I just do as I’m told. :grin:

1 Like

Story of my life! Just never seem to be able to find all the information out there… Thanks for the tip!

Going back to your original post, the beta version of Bermuda (0.6.9rc2) might be better for your purposes as it allows you to fine tune by applying an offset to each individual proxy.

My experience has been that a room’s layout can sometimes have quite a dramatic effect, making the proxies seem further away from the device they’re tracking. If you have rooms on several floors the results can also be a bit odd.

1 Like