Serial port modifications

Hi all,

I am developing a node-red flow using a raspberry pi's serial port com and baud rate, and I'm looking for a way to dynamically change the com port and baud rate from a message or a global variable.

I was unable to succeed despite trying a few options.

I'd be happy to check any solutions you know of :slight_smile:

Thanks.

Hi @nadirm - pretty sure this is not possible (the serial node was not designed to be re-mapped at runtime)

You can however use env variables. Typically, you set an env var then node-red uses its value at startup.

https://nodered.org/docs/user-guide/environment-variables

1 Like

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