How can I change the port ttyACM2 with ttyACM1 with Linux/Stretch in command line ?
Node-red doesn't want to start. Before, with ttyACM1 port (usb port), it was ok.
I can see the USB ttyACM1 (lsusb /dev) and I know that is the correct port, but how can I change it ?
It is also worth researching into udev rules to ensure your device shows up as the same /dev device each time it is plugged in. This removes the issue of it being assigned a different device name.
You said that node red doesn't start, but that just shows errors because you have asked for ttyACM2 but it is not available, it does not show that node red has crashed.
For the future it is better to copy/paste terminal output if possible. You can copy from the terminal using Ctrl-Shift-C
Thank you for your reply Colin.
Ok, I will copy from the terminal using Ctrl-Shift-C.
Its very strange, if i do: node-red-start in the consol, Node-Red start correctly but I find old knots, but if i do node-red start (with a space between "red" and "start", Node-red does not start and i have this error.
Do i have to reinstall correctly Node-Red from scratch ?
Look at the output and I suspect you will see that node red is starting in a different folder. The output will tell you where the flows file is. If you see different nodes then you must be running a different flows file.
Did you note the comment from Nick about using UDEV? This is important as Linux will automatically use the next available dev slot if, for example, you get an error that doesn't correctly close and reopen the device. With UDEV, you specify the name that you want and so you always get the same name - no more problems like this.
Hi Colin,
You were right, node-red was started two differents files depending the "node-red-start(.node-red/flows-raspeberry.jason)" or "node-red start(.node-red/start)".
ukmoose, I know that is normaly "node-red_start", but for a unknow raison its was working. Anyway, I will make a fresh and clean installation of Node-red to be sure all is all right.
Thank you again for your help guys, its very appreciate for a beginner as me
ps: TotallyInformation. could you give an exemple ?