Hello i have problems to connect an efoy fuelcell to node red with the Serial node nodes. the setup I am using is an Digitus USB to Serial adapter, this is connected between the Fuelcell and an Victron Octo GX running the Victron Venus OS large that is based on Linux an includes node-red v2.0.5.
The connection is running when I try the setup on my windows PC and the Terminal 2008 tool. When I send the command SFC it reply's the status parameters.
So far so good. When i try now to move over to node red it does not to work and give no reply.
This is the Serial setting that I use:
[{"id":"cc01cb08f1bad394","type":"debug","z":"3b2c3d9c86b6f022","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":470,"y":240,"wires":[]},{"id":"e5b684fe7eea0690","type":"inject","z":"3b2c3d9c86b6f022","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"SFC","payloadType":"str","x":130,"y":140,"wires":[["bfd30fbfcdcdc503","59e76bcbf48d7068"]]},{"id":"59e76bcbf48d7068","type":"debug","z":"3b2c3d9c86b6f022","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":470,"y":200,"wires":[]},{"id":"5be750af43773590","type":"serial in","z":"3b2c3d9c86b6f022","name":"","serial":"12b4607558a9e4c7","x":150,"y":240,"wires":[["cc01cb08f1bad394"]]},{"id":"bfd30fbfcdcdc503","type":"serial out","z":"3b2c3d9c86b6f022","name":"","serial":"12b4607558a9e4c7","x":480,"y":140,"wires":[]},{"id":"12b4607558a9e4c7","type":"serial-port","serialport":"/dev/ttyUSB15","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","waitfor":"","dtr":"high","rts":"high","cts":"none","dsr":"none","newline":"\\n","bin":"false","out":"char","addchar":"\\r","responsetimeout":"0"}]
Things that i already tried out:
- Instead of adding the "\r" in the configuration, I tried also to add it with an function block.
- I am shure that USB15 is the right port, when I disconnect the USB it indicates directly that the connection is lost.
- I tried also all settings for DTR and RTS. (low, high and Auto)
- If I try the same on an Raspberry Pi Instead of the Victron Octo GX it is also not working.
This is a link to the manual that describes the serial connection from the fuelcell:
Have any one an idea? Also i have to say that I am new to node red, so the error may be trivial to you.