readeral / node-red-contrib-nuimo-controller

GNU General Public License v3.0
5 stars 0 forks source link

Nuimo-config node does not exist #5

Open wunni1 opened 1 year ago

wunni1 commented 1 year ago

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 commented 2 days ago

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 commented 1 day ago

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:

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

Any idea?

Hanimaniac commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

Sorry friends, this node always had problems right from the start because of the Bluetooth library needed to make it cross-platform. It’s likely quite a different landscape now, I haven’t touched this course in years, so maybe there are solutions to the problems, but also it probably needs generally updating to more recent node red releases.

Feel free to fork the code and have a tinker, I haven’t really got the time to work on it, but if I do get a chance I’ll let you know

On Sun, 13 Oct 2024 at 3:56 am, wunni1 @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/readeral/node-red-contrib-nuimo-controller/issues/5#issuecomment-2408625953, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZK3CAJOFPW5JOW3A56PEDZ3FICJAVCNFSM6AAAAABPYU2IROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGYZDKOJVGM . You are receiving this because you are subscribed to this thread.Message ID: @.*** .com>