When we run our script on auto start using the correct method that you just supplied, any print statements present in the script send their output to the serial port for some reason?
How do we turn this off, other than deleting any print statements from the script?
stderr2stdout parameter is not there to stop output going to the serial port. It is used to control which port stderr output is sent to. stderr output may be directed to the Transport's 'debug' port or to the usual stdout port. The stdout port is port the python script was started on. The debug port is set by the "debug" command (e.g. debug 0 to send debug info to ASY 0).
The solution to this therefore is to disable writing to stdout.
Last updated: Aug 23, 2017