Im using Node-Red to send binary data to a serial device (RS232), I also have a Python script which is executed using the pythonshell node which is sending binary data to the same port (At different times)
I’m getting an error when I execute the Python script “Device disconnected or multiple access on port”
When I stop Node-red and run the script I don't get the error.
Is there a way to implement the above flow so the two processes can access the serial port at different times? For example, if i inject the pythonshell node it disables Node-red sharing the port?
The only solution I can think of is to convert the Python script to Java and run the process in Node-red? However I don't know how to convert between programming languages.
I’m new to code so any help/suggestions would be greatly appreciated.