Yes, but I do not think a proxy shows up under the Bluetooth integration. It will show up in the esphome integration. Install it on the esp32 with https://esphome.github.io/bluetooth-proxies/
You can use any of the newer bluetooth integrations (usually say _ble), but the old ones that were made only for built-in adapters will not work. If you go to the integration page for example https://www.home-assistant.io/integrations/airthings_ble/
, view the github source, then look at the manifest.json, newer integrations will say "dependencies": ["bluetooth_adapters"]
or "dependencies": ["bluetooth"]
Does not allow the installation of the native Bluetooth integration of HA by not detecting any devicesā¦
(HA 2023.4.5 Supervisor 2023.04.0 OS 10.0)
Through a bluetooth proxy is it possible to pair bluetooth devices? Or is it only possible to use BLE?
What device are you trying to use? Did you check if it supported by the proxy as I suggested? Much easier to help if not talking in generalities.
Like I said, it will only work for devices which have been ported over to the new protocol. I think it is just BLE. If you just have a proxy, you will not see the Bluetooth integration in your list: the proxy is not detected as an adapter. If you setup the proxy correctly, most supported devices will be auto-detected after a few minutes and youāll see the deviceās integration appear in the list.
Some devices which are not available for use with the proxy, may be available with the legacy ESPHome bluetooth implementation, versus using the ESPHome proxy feature. You can look at the esphome website to see what is supported natively by ESPHome bluetooth.
Iām still not clear. I added 2 proxies to improve my switchbot blind tilt responses, but there has been no difference. I can see the devices and the low (-86 to -70) RSSI in the debug logs. I assume the proxy does nothing to improve those numbers, but why am I not seeing a response improvement in my devices (Switchbot Blind Tilt motors)?
I have a bluetooth proxy, where a custom HACS component is able to intercept BLE announcements from a digital shower headā¦ But even though I have this in my configuration.yaml, I do not see any info in the homeassistant log - Using Home Assistant Core (settings->system>logs->home assistant core) ā¦
logger:
default: info
logs:
homeassistant.components.bluetooth: debug
Any hint on where I can find these BLE entries - so I can see what else is intercepted by my bluetooth proxy ?
EDIT/UPDATE: Found it - just need to download the log, and not view it via the web UI
I am also having similar problems with the blue tooth proxy.
This is what I see:
[11:50:10][C][logger:416]: Logger:
[11:50:10][C][logger:417]: Level: VERBOSE
[11:50:10][C][logger:418]: Log Baud Rate: 115200
[11:50:10][C][logger:420]: Hardware UART: UART0
[11:50:10][C][bluetooth_proxy:088]: Bluetooth Proxy:
[11:50:10][C][bluetooth_proxy:089]: Active: YES
[11:50:10][C][esp32_ble:238]: ESP32 BLE:
[11:50:10][C][esp32_ble:240]: MAC address: A0:B7:65:DC:30:FE
[11:50:10][C][esp32_ble:241]: IO Capability: none
[11:50:10][C][esp32_ble_tracker:617]: BLE Tracker:
[11:50:10][C][esp32_ble_tracker:618]: Scan Duration: 300 s
[11:50:10][C][esp32_ble_tracker:619]: Scan Interval: 1100.0 ms
[11:50:10][C][esp32_ble_tracker:620]: Scan Window: 1100.0 ms
[11:50:10][C][esp32_ble_tracker:621]: Scan Type: ACTIVE
[11:50:10][C][esp32_ble_tracker:622]: Continuous Scanning: True
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[11:50:10][V][esp32_ble:178]: (BLE) gap_event_handler - 3
Bluttooth looks like itās getting configured and start up, but the only thing which happens after that is the āgap_event_handlerā.
Configuration file:
esphome:
name: btgateway
friendly_name: btgateway
esp32:
board: esp32dev
framework:
type: esp-idf
# Enable logging
logger:
level: VERBOSE
# Enable Home Assistant API
api:
encryption:
key: "somethingsecret"
ota:
password: "somethingsecret"
web_server:
port: 80
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "BT gateway Fallback Hotspot"
password: "SqTLLZfgHxdt"
captive_portal:
esp32_ble_tracker:
scan_parameters:
interval: 1100ms
window: 1100ms
active: true
bluetooth_proxy:
active: true
The same board (esp32 dev) works just fine with tasmota ble.
Need a little help understanding ESPHome Bluetooth Proxy. I decided to play around with Bluetooth on HA so I made Bluetooth proxy using the ESPHome Ready-Made Projects for ESP32. The proxy is working and quickly discovered a Nutrichef Smart BBQ Grill Thermometer that is supported in the Inkbird Integration. The question I have is how often should I see the data update. It appears to typically take 30 to 40 seconds and I donāt know if this is a function of the Inkbird Integration and/or the ESPHome Bluetooth Proxy? I have moved the Nutrichef and Bluetooth proxy as close as a couple of feet apart and up to 25 feet apart and doesnāt seem to matter. I have also located them in different areas of the house to see if there is any interference. When I use the BBQ app on my iPhone the temperature updates almost instantly. I also noticed when using the BBQ app the Bluetooth proxy doesnāt respond at all so I assume they canāt be connected at the same time. The 30 to 40-second update time is not an issue I am just trying to understand how it is working. I plan to use the Inkbird integration with Home Assistant because the Nutrichef device and the iPhone app have a limited range.
wondering if there a setting on BT Proxy yaml to lock in connections based on incoming MAC addr of BT device?
Or if there is also a setting to set a min/max number of BT devices that can connect ?
Found the problem which was a bit interesting.
To use ESPHome bleProxy you have to flash the XIAOMI Bluetooth Thermometer with this firmware (Iām using version 46): GitHub - pvvx/ATC_MiThermometer: Custom firmware for the Xiaomi Thermometers and Telink Flasher and make sure to set the type BTHome, otherwise ESPHome bleProxy will not recognize it.
I had to install this first though, otherwise I could not get it flashed: GitHub - pvvx/ATC_MiThermometer: Custom firmware for the Xiaomi Thermometers and Telink Flasher.
After that the thermometers were recognized. Also when flashing the firmware remember to set the name, that way youāll know which one is what when then shop up in HA.