Comments (8)
I updated your issue for readability. What is the rest of your hardware + OS version?
FYI: My testing was done on a laptop running Ubuntu 22.04 and on a Cerbo GX running Venus 3.0~22.
from node-red-contrib-victron-vedirect-usb.
I'm using a VM under proxmox
deunan@victron-lab:~$ cat /etc/os-release
NAME="Linux Mint"
VERSION="21.1 (Vera)"
The 3 devices appear correctly in the Victronconnect app. They appear 2 times cause the serial and bluetooth connection.
Before the 0.1.0 update all was working correctly, it was my first node-red flow. After few minutes all was messed up, i think i update to 0.1.0 without knowing.
from node-red-contrib-victron-vedirect-usb.
That's intresting. I modified directly the usb serial port in the flow source code and it connected.
But again when i double click for the configuration, the error is trown.
from node-red-contrib-victron-vedirect-usb.
I am able to reproduce the problem. Working on solving it.
from node-red-contrib-victron-vedirect-usb.
Can you give it another try? Just updated to 0.1.2
.
from node-red-contrib-victron-vedirect-usb.
Background of the updates and introduced problem is that I tried to switch to the latest version of SerialPort as the used @serialport/bindings
has been renamed. I had expected it to be a @serialport/bindings-cpp
drop in replacement, but it turned out the listing of the serial ports moved as well.
from node-red-contrib-victron-vedirect-usb.
It's working, great job!!!!
I have a question. Since sometimes Linux messes up the ttyUSB list i use an udev rule like
SUBSYSTEM=="tty", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", SYMLINK+="ttyUSB_BMS". If i create a such rule for the Victron cables, they will appear also with the symlink name in the dropdown menu?
from node-red-contrib-victron-vedirect-usb.
The code here adds ports to the array of the dropdown. It does filter on the manufacturer name to be 'VictronEnergy BV'. You can see the detected ports by directing your browser to https://venus.local:1881/victron/vedirect-ports (maybe change the name and port to the node-red instance that you use) . That is what the ajax call uses for building the dropdown in the edit panel too.
If the symlink also reports the manufacturer, then I guess it will be added to the dropdown. But not completely sure that it does. You could manually change the used path in the flow.json
file to point to the symlinked path though. I am quite sure that that will work.
Note that my cable here uses idProduct 6015
and not 6001
.
I'll close this issue now as the dropdown now at least is filling. For new issues or feature requests, please open a new one.
from node-red-contrib-victron-vedirect-usb.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-victron-vedirect-usb.