BT Proxy as "relay"? for simple binary home/away for non-integrated device

Trying to understand BT Proxy a little more. In particular - can it work as a relay/extender (not sure of the correct word) for a device which does not have an integration?
This is theory right now, so I haven’t included config code.

I am using it for BLE presence detection. I am not looking for room presence detection- just a “simple” home/not_home

Working:
I have ESPhome up and running on one M5Atom lite and placed it near my front door (esphome_front_hall).

I have a device (a MiBand 6) recognized on that esphome_front_hall using BLE and a binary_sensor - platform: ble_presence and the mac address of the Miband. All looks good. Has me home as I sit in my study off the hall all day and not_home when I go out the front door. Great.

Not Working:
But - when I go to bed, in a room not near the front door, and maybe just out of BLE(?) reach it has me as home/not_home bouncing around all night (grin)

Question:
To solve this I was wondering:
If I add another ESPhome M5Atom lite in my bedroom, name it differently (esphome_mbr) and in the config for esphome_mbr rather than repeat all the miband device configuration in esphome_front_hall only put “bluetooth_proxy:” in the config – would that then pick up the ble advertising of my miband and pass it to home assistant as the one binary_sensor?

I was thinking this because if I put in all the binary_sensor stuff on esp_mbr AND esphome_front_hall it seems to me that becomes more a room presence rather than a home presence and I’d have to combine the binary_sensors from esphome_front_hall and esphome_mbr to get just one home/not_home.

I want the one binary_sensor (I think) that just gets picked up by the second ESPhome device.

Otherwise - how would I do this?

Thanks for any pointers/suggestions

Just to answer myself. I got another M5, gave it another name, put it in my bedroom with only bluetooth_proxy in the config, and my miband got picked up fine. So I guess the answer is - yes it does work.

1 Like