I’ve built a bunch of binary sensors with ESP32 that should transmit their data using Bluetooth low energy and not wifi, since they are supposed to be battery-powered. However, while researching how to run a BLE client on home assistant I couldn’t find any components available. What I could find (and have running currently) is the BLE-device-tracker and some device specific implementations (like the miflora sensors).
If I understand BLE correctly, if I set my ESP32 sensors as a BLE server, I should be able to capture the info on my server if I setup a BLE client there. Looking around I could also find several possible python packages that interface with the bluetooth dongle, so this appears to be relatively straightforward.
What I couldn’t find to my surprise is a generic BLE component, somewhat like we have zwave and zigbee components. I would expect that this would be the basis for using BLE as a way to transmit data for home assistant.
Since i couldn’t find it, is there something I misunderstand about BLE? If I create a specific component for binary_sensors using BLE using pygatt for instance, will it not work? What issue am i overlooking that stops home assistant from using this inexpensive way of communication currently?