-
Notifications
You must be signed in to change notification settings - Fork 0
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
Problem with nuimo-config-node #3
Comments
Hi Trisk3lion, I haven't updated node-red recently (nor have I been using my own package, as I've moved house 3 times since December!) - I'll upgrade node-red and will look at updating this project to work again, now that I've moved into a permanent house and have two Nuimos sitting and waiting for me to use. As it was my first attempt at coding a node, there's probably things that I included in the code that weren't sanctioned parts of node-red which have consequently broken. Al |
I 100% understand this hasn't been your first priority! I look forward to see if you find anything, I wish i could inspect the code myself and figure it out but my programming skills are far, far from sufficiant. |
What would be great is when you run nose-red-start (or however you
initialise it) there will probably be a tonne of output in the terminal.
Much of that wont matter, but if you can do a full copy-paste dump of that
output into this issue I’ll see what errors it creates and if there are
clues for me.
It’s 11pm my time so I’ll try look at it tomorrow
On Thu, 25 Apr 2019 at 10:10 pm, Kristofer Hjelmtorp < ***@***.***> wrote:
I 100% understand this hasn't been your first priority!
I look forward to see if you find anything, I wish i could inspect the
code myself and figure it out but my programming skills are far, far from
sufficiant.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADZK3CFSOG32XJCV3YXVOL3PSGNTPANCNFSM4HETPRSQ>
.
--
*Alan Reader| e. [email protected] <[email protected]> | m. 0400 215 751
| fb. - readeral <http://www.facebook.com/readeral> | i. -
instagram.com/readeral <http://instagram.com/readeral>*
|
So I've just gone to update Node-Red myself and noticed this little tid-bit:
This is the case for this node, as it does compile binary dependencies. I know it's an annoying process, but can you try uninstalling and reinstalling the node and see if that works? |
Sorry, no need to uninstall/reinstall, just go for a rebuild - again from the NodeRed docs: You will also need to rebuild any nodes that have binary dependancies. If you installed them in the recommended ~/.node-red directory, you can do this by: |
At last I got the opportunity to tinker some more with node-red.
So I guess it is something to do with Edit: I tried the npm rebuild as well and it didn't have any effect. Edit 2: Found this, could it be related? noble/node-bluetooth-hci-socket#107 |
Thanks Trisk3lion, it certainly could be related. At the moment I don't have any further short term solution other than to downgrade it seems, I'm sorry! Did you go so far as to uninstall the node and reinstall it? The missing nuimo-config node is really curious. I wonder whether the upgraded version of node-red implements config nodes differently. However - I'm working on my own implementation of a BLE server which is less generic, and specifically for connecting Nuimos to NodeRed. I've been working on it today, it's something I'll be working on for the next week, but to say I'm new to BLE programming is an understatement... But sit tight, hopefully I can implement something a little more rigorous, and hopefully resolve the multiple nuimos issue at the same time. |
Hi @Trisk3lion, I've made some progress - I'm retaining use of Noble as now I better understand how it works, and how nuimojs (my main dependency) was using it, I think I've got it. Unfortunately Noble seems essentially abandoned. Quite stable, but not working on Node 10. Thankfully there's a fork committed to keeping Noble up to date until it is actively maintained again, but nuimojs doesn't use that fork. In order to gain some extra features (like multiple nuimos, and better managing the bluetooth connection) and to utilise abandonware's fork, I'm going to drop nuimojs and just implement that layer myself. At the moment I have a test program running Node 10 and happily connecting two Nuimos at once. Next step is to swap out nuimojs and do some tests. It'll take a few days, but hopefully I can get you sorted by the end of the week. In the meantime, you might have some success modifying the nuimojs installed package to reference that fork of Noble instead of the one that it has installed. |
Hi @readeral I have an unused Nuimo controller sitting around that I really want to use. A node-red integration would be perfect, but if I have to, I might use senics python api to try to get a working solution. I am just trying to gauge which path to go. Do you think you'll have the time to fix it and keep it current? Or are you not using it yourself anymore? Do you have specific issues that you would like to get help with? I don't have any experience with node, but some with javascript. And, like everybody else, just a very limited amount of time :-) |
Hey @tobycheese, Yeah I’ve really neglected this library, sorry! I do have Nuimo still but they’re not in use at the moment pending time to revisit this work, so I guess this is as good a prompt as ever to get going again. I haven’t looked into where Noble is at recently so hopefully there’s been some movement there as well. Have you been having any/specific issues with the library yourself? It is unfortunately quite hard to install/build |
There is absolutely no reason to apologise for anything, @readeral ! I have the same issue with My next step is to take docker out of the equation until I can get things to work on plain raspbian. But I need a second bluetooth adapter because I don't want to pollute or take down my main system. I have spare RPIs, but only older ones without BT. For know, I am not actively seeking help until I can properly isolate the problem :-) |
Yeah ok. So clearly we need to get to the bottom of it. The whole docker thing is sufficiently unfamiliar to me that troubleshooting a docker container approach is beyond me, but seriously, how different can it be that it makes a library like this impossible to use. So whatever the issue is, if it’s docker related, I guess this library would need a fix for that anyway. I’ll dig into where and how that hci-socket module is installed and see what I can find. |
When you do npm install, do you get the warning that it has skipped the optional dependency of @abandonware/[email protected] (or noble/bluetooth-hci-socket) ? If so, it could be that you'll need to install it manually. Unfortunately I don't want to make it a dependency of this library, because the package won't install on a mac. |
Hello, I have a problem with the nuimo-config node won't start/initilize/work with the recent node-red version.
I have tried it with both node-red on raspberry pi 3B and on an debian intel nuc. I did get it to work a few month ago, maybe before the new year, on a raspberry pi so it could be node-reds fault.
Do you have any idea what the problel could be or maybe where how I could get some logs out and diagnose the problem?
The text was updated successfully, but these errors were encountered: