Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuimo-config node does not exist #5

Open
wunni1 opened this issue Jan 2, 2023 · 5 comments
Open

Nuimo-config node does not exist #5

wunni1 opened this issue Jan 2, 2023 · 5 comments

Comments

@wunni1
Copy link

wunni1 commented Jan 2, 2023

Im running Nodered with HomeAssistant on a raspberry pi4. Everything works fine. I want to install this contrib but the numb-config node couldn't installed. -> MODULE_NOT_FOUND

what is the problem?

@Hanimaniac
Copy link

Hello,
maybe a little late.
I started this project and had the same problem.In the Nuimo-Config directory:
~/.node-red/node_modules/node-red-contrib-nuimo-controller/config
are 3 files:
nuimo-config.html
nuimo-config.js
nuimo-config.js.old
I could solve the problem by rename nuimo-config.js in nuimo-config.js.new and nuimo-config.js.old in nuimo-config.js.
After a reboot node red found all nodes.

@wunni1
Copy link
Author

wunni1 commented Oct 12, 2024

Thank you for this! That works! But there's the next problem after deployed the flow:

12 Oct 17:20:40 - [error] [nuimo-config:fb930b112b0b8997] Error: Cannot find module 'bluetooth-hci-socket'
Require stack:

  • /home/iobroker/.node-red/node_modules/noble/lib/hci-socket/hci.js
  • /home/iobroker/.node-red/node_modules/noble/lib/hci-socket/bindings.js
  • /home/iobroker/.node-red/node_modules/noble/lib/resolve-bindings.js
  • /home/iobroker/.node-red/node_modules/noble/index.js
  • /home/iobroker/.node-red/node_modules/nuimojs/nuimo.js
  • /home/iobroker/.node-red/node_modules/node-red-contrib-nuimo-controller/config/nuimo-config.js
  • /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
  • /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
  • /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
  • /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
  • /usr/lib/node_modules/node-red/lib/red.js
  • /usr/lib/node_modules/node-red/red.js
    12 Oct 17:20:40 - [error] [nuimo-listener:c9bb42a895e8e004] TypeError: Cannot read properties of null (reading 'on')

Seems that the module 'bluetooth-hci-socket' is not installed. And for this you need an older version of node.js.

Any idea?

@Hanimaniac
Copy link

Good to hear that youncould solve this problem. Inhave to disapoint yoz, but i‘m just a beginner in the node world ( as you can see that i ask in a new issue for a step by step tutorial ). What i did was installing noble for this Project.

@wunni1
Copy link
Author

wunni1 commented Oct 12, 2024

Yes did the same - as described here:

https://github.com/readeral/node-red-contrib-nuimo-controller
Nevertheless it doesn’t work due to missing bluetooth-hci-socket.

@readeral
Copy link
Owner

readeral commented Oct 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants