Closed Sebastian930 closed 2 years ago
I would recommend updating nodejs instead of removing the ??
Try sudo apt-get update
followed by sudo apt-get install nodejs
to install most recent version available for raspbian.
Hi Tom, v12.22.5 is the latest nodejs for Raspbian (and for Debian too) https://packages.debian.org/stable/nodejs
but I thought compatibility with Raspbian might be useful for some users.
Yeah, this incompatibility is unintentional and it would definitely be nice if the software worked on Raspbian out of the box. I'll see what I can do.
Thanks for the great software! :) My ventilation unit is Pandion (year 2012) and I can confirm that it works fine with eda-modbus-bridge.
Awesome! How'd you find the project?
Hi Tom, v12.22.5 is the latest nodejs for Raspbian (and for Debian too) https://packages.debian.org/stable/nodejs
Oh, I just remembered I had installed it myself trough apt-get on debian, it seems I haven´t but instead I have used nodesource https://github.com/nodesource/distributions/blob/master/README.md
My fault.
@Sebastian930 can you try the https://github.com/Jalle19/eda-modbus-bridge/tree/nodejs12 branch?
Awesome! How'd you find the project?
IIRC I googled Enervent EDE modbus things couple weeks ago, I found this project and saved link. Modbus USB adapter arrived yesterday and today I had some time to test the adapter.
Oh, I just remembered I had installed it myself trough apt-get on debian, it seems I haven´t but instead I have used nodesource https://github.com/nodesource/distributions/blob/master/README.md
My fault.
No problem :). I was also aware that newer nodejs is available from "external repository", but as @Jalle19 wrote, out of the box compatibility with Raspbian would be nice.
@Sebastian930 can you try the https://github.com/Jalle19/eda-modbus-bridge/tree/nodejs12 branch?
This one works out of the box on Raspbian 11. Thanks a lot! Super fast fix 👍
I have Raspberry Pi and latest Raspbian OS installed. Nodejs is installed from Raspbian package repository.
eda-modbus-bridge (tested with latest and with 2.0.0 release) gives syntax error on start:
I don't know shit about nodejs/javascript, but after removing "?? 'unknown'" from return statements, the program starts and seems to be working ok. And yes, I read that the program has only been tested with nodejs 14.x, but I thought compatibility with Raspbian might be useful for some users.
Thanks for the great software! :) My ventilation unit is Pandion (year 2012) and I can confirm that it works fine with eda-modbus-bridge.