question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running room-assistant for the first time after install on rpi- zero 2W produces following error

See original GitHub issue

When 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:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
AbhiOommencommented, Dec 21, 2021

Never mind - figured it out. Thank you again.

1reaction
townsmcpcommented, Dec 21, 2021

@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 - with curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found