Closed ilkondr closed 2 years ago
Python in OpenWrt is compiled without bluetooth support. You can build python package with bt support manually.
For Xiaomi Gateway in the custom feed python is built with bt support https://openlumi.github.io/releases/21.02.1/packages/arm_cortex-a9_neon/packages/python3-base_3.9.7-2_arm_cortex-a9_neon.ipk
Here is the latest version of python3 from the 21.02 feed, compiled with Bluetooth support.
Hello everyone, I tried to install passive BLE monitor for HASS, but it does not work since python build with no Bluetooth support. Is it supposed to be so or python may be updated for bluetooth support? Logs are below:
Mon Dec 13 08:12:37 2021 daemon.err hass[2782]: family=socket.AF_BLUETOOTH, type=socket.SOCK_RAW, proto=socket.BTPROTO_HCI
Mon Dec 13 08:12:37 2021 daemon.err hass[2782]: AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'