I can't connect to the node-network with a serial node

31 Mar 15:45:04 - [info] 

Welcome to Node-RED

31 Mar 15:45:04 - [info] Node-RED version: v1.0.3
31 Mar 15:45:04 - [info] Node.js  version: v13.12.0
31 Mar 15:45:04 - [info] Linux 5.5.13-1-MANJARO x64 LE
31 Mar 15:45:04 - [info] Loading palette nodes
31 Mar 15:45:04 - [info] Settings file  : /home/zone/.node-red/settings.js
31 Mar 15:45:04 - [info] Context store  : 'default' [module=memory]
31 Mar 15:45:04 - [info] User directory : /home/zone/.node-red
31 Mar 15:45:04 - [warn] Projects disabled : editorTheme.projects.enabled=false
31 Mar 15:45:04 - [info] Flows file     : /home/zone/.node-red/flows_zone.json
31 Mar 15:45:04 - [warn] 

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

31 Mar 15:45:04 - [info] Starting flows
31 Mar 15:45:04 - [info] Started flows
31 Mar 15:45:04 - [info] Server now running at
31 Mar 15:45:05 - [error] serial port /dev/ttyUSB0 error: Error: Error Resource temporarily unavailable Cannot lock port

I use Arch linux as a distribution.
Thanks for those who want to help me

Hi David, welcome to the forums. I see you’re having issues with a serial port. The error given says it can’t acquire a lock on the device. Do you have any other program on your system that’s interacting with this serial device on /dev/ttyUSB0? For the nodes to work they need to get a so called lock on the port, meaning that now this program, Node-RED, is the only one capable of connecting and interacting with it. The error you see normally occurs when there is another program connected to the port, even when not actively interacting. For example if you use Espressif based devices or Arduinos, if you have the Arduino IDE active and connected, Node-RED won’t be able to connect to the same device.

I do not have an IDE connected to this node-network, I am alone connected, Example: I try to connect to the node-network with the arduino library does not work, but if I connect to the arduino through the arduino IDE it goes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.