Running room-assistant for the first time after install on rpi- zero 2W produces following error
See original GitHub issueWhen starting room assiatnt for the first time after install on rpi zero 2W it errors out.
pi@office:~/room-assistant $ room-assistant
*** 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>
07/12/2021, 19:10:15 - info - IntegrationsModule: Loading integrations: home-assistant, bluetooth-classic, bluetooth-low-energy
07/12/2021, 19:10:16 - info - NestFactory: Starting Nest application...
07/12/2021, 19:10:16 - error - ExceptionHandler: Cannot find module '@mkerix/noble'
Require stack:
- /opt/nodejs/lib/node_modules/room-assistant/dist/integration-support/bluetooth/bluetooth.service.js
- /opt/nodejs/lib/node_modules/room-assistant/dist/integrations/bluetooth-classic/bluetooth-classic.service.js
- /opt/nodejs/lib/node_modules/room-assistant/dist/integrations/bluetooth-classic/bluetooth-classic.module.js
- /opt/nodejs/lib/node_modules/room-assistant/dist/integrations/integrations.module.js
- /opt/nodejs/lib/node_modules/room-assistant/dist/app.module.js
- /opt/nodejs/lib/node_modules/room-assistant/dist/main.js
- /opt/nodejs/lib/node_modules/room-assistant/bin/room-assistant.js
instanceName: office
integrations:
- homeAssistant
- bluetoothClassic
- bluetoothLowEnergy
homeAssistant:
mqttUrl: 'mqtt://homeassistant.local:1883'
mqttOptions:
username: mqtt
password: mypasswd
bluetoothClassic:
addresses:
- 1stdevice
- 2nddevice
bluetoothLowEnergy:
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Room-Assistant installation - Home Assistant Community
Tried to install room assistant on Rpi3 running Raspbian Jessie without any luck, anyone installed this successfully and can give some tiips?
Read more >Raspberry Pi Zero W | room-assistant
A companion software to bring your home automation to the room-level for presence detection and more.
Read more >Getting Started with the Raspberry Pi - SparkFun Learn
The simplest way to do this is to create a file from the terminal, although you are welcome to use the Raspbian graphical...
Read more >50 Cool Raspberry Pi Projects for December 2022 - All3DP
Looking for new applications for your Raspberry Pi 4? Check our list of 50 cool Raspberry Pi projects which are actually useful and...
Read more >The Pi Zero 2 W Is The Most Efficient Pi | Hackaday
Raspberry Pi sent Hackaday a review unit that I've been running through the paces all weekend. We'll see some benchmarks, measure the power ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Never mind - figured it out. Thank you again.
@AbhiOommen i rebuilt my RPI zero w 2 last night. I found the following thread very helpful:
https://github.com/mKeRix/room-assistant/discussions/967
Basically, follow the normal RPI zero w install procedure but instead of doing
sudo npm i --global --unsafe-perm room-assistant
to install RA, replace it with:sudo npm i --global --unsafe-perm --verbose --foreground-scripts room-assistant
But to answer your question, when performing the RPI 3 install, replace:
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
withcurl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -