Bluetooth-Devices / bthome-ble

Parser for BTHome BLE devices
https://bthome.io/
MIT License
67 stars 12 forks source link

Auto discovery cannot find BTHome device on different subnet #49

Closed mkelley88 closed 1 year ago

mkelley88 commented 1 year ago

Describe the bug When adding the BTHome integration in Home Assistant (2023.2.3) the auto discovery feature is not able to find the BTHome Proxy device (ESP32) on my other subnet. The subnets can communicate with no trouble and I have many such cross subnet integrations. This is not normal for most networks, and I understand it may not work as intended considering my circumstances. To fix this, I need a way to bypass auto discovery and manually type in my BTHome Proxy's IP address so that the integration can pick it up.

To Reproduce Try to add BTHome to Home Assistant, but none can be found.

Additional context I have a 10.0.5.0 subnet and a 10.0.10.0 subnet. These can communicate freely with each other on the network, but sometimes auto discover features do not work. For example, ESPHome will show all my devices as "Offline", but I can still connect to them to get logs or update devices through the ESPHome UI.

mkelley88 commented 1 year ago

I may have misunderstood how the BT Proxy works. This should probably be closed out or deleted.

Ernst79 commented 1 year ago

You are talking about BTHome proxies, but these don’t exist. Did you mean Bluetooth proxies? https://esphome.io/components/bluetooth_proxy.html

BTHome is a BLE format, nothing more. For questions about Bluetooth proxies, you should ask on the ESPhome github.

mkelley88 commented 1 year ago

Yes, thank you for your reply. I was wrong. I have had to move to a new Home Assistant installation and I assumed I needed to add the esphome bluetooth proxy device as a "BTHome" integration. This appears to be completely wrong and I think I have things figured out now.