You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make use of the BLE function on an RPi3B (although had the same issue on an RPi4 as well). I am hoping someone may be able to point me to what I am missing or doing wrong.
I followed the steps to set up room assistant on a Pi and then followed the config for BLE, I assume the config is running correctly as it is trying to load up the BLE element. If I turn off BLE and switch to Bluetooth the config works.
The error I am receiving relates to bluetoothlow-energy.module apparently missing. I have tested scanning on the Pi3 using hcitool with the lescan option which works well. I have also tried attaching a USB bluetooth dongle to check it wasn't anything with using the inbuilt BLE on RPi3 or RPi4. Every time I run the command using BLE I receive the below error:
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
16/09/2022, 10:20:25 - info - IntegrationsModule: Loading integrations: home-assistant, bluetooth-classic, bluetoothlow-energy
16/09/2022, 10:20:28 - info - NestFactory: Starting Nest application...
16/09/2022, 10:20:28 - error - ExceptionHandler: Cannot find module './bluetoothlow-energy/bluetoothlow-energy.module'
Require stack:
I have stared out the username/password, IP address and mac addresses for obvious reasons but those elements match with what should be in them. I have tried with and wirthout the hciDeviceId along with changing to select the different modules I have with no change, the error always fails on the bluetoothlow-energy module being missing, but I am struggling to find out where I can get the module from.
Any help to understand what is missing would be appreciated, I have searched google but so far come up blank, I want to test the setup before purchasing any additional hardware so using what I have laying around at the minute, ultimately I plan to get some Pi Zero's but they are gold dust at the minute.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All,
I am trying to make use of the BLE function on an RPi3B (although had the same issue on an RPi4 as well). I am hoping someone may be able to point me to what I am missing or doing wrong.
I followed the steps to set up room assistant on a Pi and then followed the config for BLE, I assume the config is running correctly as it is trying to load up the BLE element. If I turn off BLE and switch to Bluetooth the config works.
The error I am receiving relates to bluetoothlow-energy.module apparently missing. I have tested scanning on the Pi3 using hcitool with the lescan option which works well. I have also tried attaching a USB bluetooth dongle to check it wasn't anything with using the inbuilt BLE on RPi3 or RPi4. Every time I run the command using BLE I receive the below error:
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
16/09/2022, 10:20:25 - info - IntegrationsModule: Loading integrations: home-assistant, bluetooth-classic, bluetoothlow-energy
16/09/2022, 10:20:28 - info - NestFactory: Starting Nest application...
16/09/2022, 10:20:28 - error - ExceptionHandler: Cannot find module './bluetoothlow-energy/bluetoothlow-energy.module'
Require stack:
My Config looks like the below:
global:
integrations:
- homeAssistant
- bluetoothClassic
- bluetoothlowEnergy
homeAssistant:
mqttUrl: 'mqtt://192.168..:1883'
mqttOptions:
username: *************
password: **********
bluetoothLowEnergy:
hciDeviceId: 0
allowlist:
- ********************
maxDistance: 7
tagOverrides:
***************:
name: Andy iPhone BLE
measuredPower: -61
batteryMask: 0x0000FF00
bluetoothClassic:
addresses:
- ****************
I have stared out the username/password, IP address and mac addresses for obvious reasons but those elements match with what should be in them. I have tried with and wirthout the hciDeviceId along with changing to select the different modules I have with no change, the error always fails on the bluetoothlow-energy module being missing, but I am struggling to find out where I can get the module from.
Any help to understand what is missing would be appreciated, I have searched google but so far come up blank, I want to test the setup before purchasing any additional hardware so using what I have laying around at the minute, ultimately I plan to get some Pi Zero's but they are gold dust at the minute.
Beta Was this translation helpful? Give feedback.
All reactions