So I have multiple ESP32’s setup with ESPHome as Bluetooth proxies and they are working fine for iBeacons.
I’d like to add support for an unsupported device that broadcasts all the data I need.
I see in the ESPHome logs the data I want, but I’m not seeing how to make a custom template sensor or event handler for it.
The data I’m after looks like this in the logs and it says it’s being proxied, [15:37:44][V][bluetooth_proxy:033]: Proxying packet from ABC123 12345678 - AA:BB:CC:DD:EE:FF. RSSI: -71 dB
[15:56:30][VV][api.service:334]: send_bluetooth_le_advertisement_response: BluetoothLEAdvertisementResponse {
address: 123456789012345
name: 'level: 52 %'
rssi: -92
address_type: 1
}
I’m aware I could make a custom lambda in ESPHome for the device, but for various reasons, it can show up on different proxies and I’d prefer not to need to copy and paste the lambda to all the ESP32’s configs, plus that would net me a bunch of the same entities that I’d need to check each of.
Any idea’s on how I’d go about doing this?