Open zhushaoan opened 6 days ago
try another noede "node-red-node-serialport", it can work ok! But “node-red-contrib-modbus”: ./entrypoint.sh: line 14: 7 Segmentation fault (core dumped) /usr/local/bin/node $NODE_OPTIONS node_modules/node-red/red.js --userDir /data $FLOWS "${@}"
{
"id": "eed8a0b1c2bc58f1",
"type": "serial-port",
"name": "",
"serialport": "/dev/ttyS3",
"serialbaud": "4800",
"databits": "8",
"parity": "none",
"stopbits": "1",
"waitfor": "",
"dtr": "none",
"rts": "none",
"cts": "none",
"dsr": "none",
"newline": "\\r\\n",
"bin": "false",
"out": "char",
"addchar": "",
"responsetimeout": "10000"
},
{
"id": "19ec058c2ac710c8",
"type": "modbus-client",
"name": "",
"clienttype": "serial",
"bufferCommands": true,
"stateLogEnabled": true,
"queueLogEnabled": true,
"failureLogEnabled": true,
"tcpHost": "127.0.0.1",
"tcpPort": "502",
"tcpType": "DEFAULT",
"serialPort": "/dev/ttyS3",
"serialType": "RTU",
"serialBaudrate": "4800",
"serialDatabits": "8",
"serialStopbits": "1",
"serialParity": "none",
"serialConnectionDelay": "100",
"serialAsciiResponseStartDelimiter": "0x3A",
"unit_id": "1",
"commandDelay": "1",
"clientTimeout": "1000",
"reconnectOnTimeout": true,
"reconnectTimeout": "2000",
"parallelUnitIdsAllowed": true,
"showErrors": true,
"showWarnings": true,
"showLogs": true
},
Which node-red-contrib-modbus version are you using?
4.0.3 docker arm
What happened?
Server
None/This is related to a node that doesn't connect to a server
How can this be reproduced?
Why is the serial port list displayed the serial port list of the host machine instead of the docker container?
What did you expect to happen?
No response
Other Information
No response