PunchThrough / node-red-contrib-bean

Node-Red nodes for the LightBlue Bean
23 stars 16 forks source link

Node-red hangs at "searching", but scanning with node.js SDK works (bean scan) #20

Closed jaclag closed 5 years ago

jaclag commented 5 years ago

Hi

Tried on pi B+ (armv6), pi 3 B+(armv7), with node.js latest-6, lastest-8, same behavior on node-red 0.19.4 (installed with apt-get) and 0.19.5 (installed with node-red installation script). Tried on node.js 10 too but some libraries don't build so the bean nodes are unavailable in node-red. Node-red run as root as needed by noble.

My bean is found in the iOS apps, and I find it if I scan from the rasp with the SDK (sudo bean scan). But in node-red the bean is never found, neither in design mode by clicking search in the bean configuration screen after filling the bean name, nor after deploy and triggering a temperature read with inject (stuck at "searching").

I don't see any error in the node-red logs (even in trace mode), and I don't know where I could find other logs related to bluetooth ??

If anyone can help :)

Regards Julien

jaclag commented 5 years ago

My mistake, wrong bean name ... works fine on raspi 1 B+ with node v8.15.0, node-red 0.19.5 running as "pi" and instructions for running noble without being root/sudo Closed :)