COM port as input to Serial Node

Hi all,

I am reusing a flow on 4 machines. On each machine an arduino is plugged in.
Because it's windows, different COM ports are attributed to each arduino (well we can change them in Device Manager, but not sure they persist upon each replug, do they ?).
On the flow I have a global specifying the name of each COM port for each hostname.

I need each independent flow to connect to the right arduino on the machine it runs.

But currently the Serial node does not take the host as input parameter (it wants the connection to be specified at design time).

Do you have a solution to propose to this ?

Thanks !!

Can you use environment variables to specify the port ? ${env_var} syntax in the config ? They are then read/set at deploy time.

1 Like

Thanks mate, i'll have a look at this.

But also I found that by manually assigning a COM port in the Windows Device Manager, it does the job :slight_smile:

1 Like

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