Shelly Bluetooth Proxy - Understanding acitive or passive mode

Hello,

i want to get measurements form an bluetooth device (Blue Connect for Pool).
Here is an example ti do this with an esp32 bluetooth proxy.
https://github.com/sh-guy/Homeassistant/blob/c1c8a95e04cbaaf20af3e75a54455f0e5b0b00c1/BlueConnectGo/esp-ble-proxy.yaml

Is this also possible by using a shelly (gen2 or newer) with he standard shelly firmware?
And if yes, must I use active or passive mode for the proxy?

I saw yet, that the shelly could be flashed to esphome, but this seems difficult and dangerous to me, because I have no expirience.

Ironically, despite the name used, that YAML isn’t actually acting as a BT Proxy (it doesn’t include the BT Proxy component). It’s directly connecting to the device and handling the data locally rather than just proxying the data to HA. Unless there’s a HA integration, a stock Shelly won’t be able to make that work.

I tried setting a Shelly up as a BT Proxy ESPHome, but never had any luck and never found anyone else who did (it failed with one of the BT components required). No idea if it could handle the YAML you posted.

Is the Home Assistant integration the better choise instead of the the yaml-script in your opinion?

No idea if there even IS an integration for the BT device you have as I don’t have one nor know anything about it.