node-enocean icon indicating copy to clipboard operation
node-enocean copied to clipboard

serialport error when deploying flow

Open t0m82 opened this issue 6 years ago • 7 comments

I'm pretty new to that, so excuse me if there is already an answer in the other issues, but so far, I can't solve the problem.

When I try to deploy a flow using the enocean listener I'll emediately get alot of errors in the debug screen, saying the serialport binding could not be located. I guess that is a version/dependency thing?

What do I have to do to get it running? (described for a newbie)

Hoping for help and thanks in advance. Thomas

Error: Could not locate the bindings file. Tried:
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/build/serialport.node
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/build/Debug/serialport.node
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/build/Release/serialport.node
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/out/Debug/serialport.node
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/Debug/serialport.node
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/out/Release/serialport.node
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/Release/serialport.node
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/build/default/serialport.node
 → /home/pi/.node-red/node_modules/node-enocean/node_modules/serialport/compiled/10.15.1/linux/arm/serialport.node

t0m82 avatar Feb 14 '19 13:02 t0m82

i'm currently working on a complete rewrite of protocol implementation. https://github.com/enocean-js/enocean-js the old node-enocean code is not maintained anymore. unfortunately node-red-contrib-enocean currently uses the old codebase. i'm not very much into node-red but it should be much easier now with the new codebase to implement a working node-red node. But node-red-contrib-enocean will need a complete rewrite as well. i'll see if i find some time this weekend. It is not an error on your part and there is probably nothing you can do for now. i will let you know when i have something useable.

Holger-Will avatar Feb 15 '19 07:02 Holger-Will

Ok, that reassures me on one hand but make me stranded on the other! ;) So it would be awesome if you can find some time for a short fix for the meantime as your node would be the perfect solution for my project.

t0m82 avatar Feb 15 '19 08:02 t0m82

@Holger-Will have you been able to find some time to figure out a workaround? Or no chance?

t0m82 avatar Feb 20 '19 20:02 t0m82

As je wrote, there won‘t be a workaround or a quick fix... he has to write/implement the new lib :)

BitTourette avatar Feb 20 '19 20:02 BitTourette

Sorry, what I wanted to ask was, if there have been some time this weekend. ;)

t0m82 avatar Feb 21 '19 07:02 t0m82

no, sorry no time yet... the lib is ready, but integrationg it into node-red has to be rewritten...

Holger-Will avatar Feb 21 '19 10:02 Holger-Will

https://github.com/enocean-js/enocean-js/tree/master/packages/node-red-contrib-enocean

Holger-Will avatar May 13 '19 18:05 Holger-Will