I work on the premise that you have 3 USB TTL connectors.
Are these recent purchases?
Simply copy the settings, change the interfacer name, com_port and node offset. I use a nodename as well. This should work (never tried it though).
[[SerialTx0]]
Type = EmonHubTx3eInterfacer
[[[init_settings]]]
com_port= /dev/ttyUSB0
com_baud = 115200
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
nodeoffset = 0
nodename = Serial_0
[[SerialTx1]]
Type = EmonHubTx3eInterfacer
[[[init_settings]]]
com_port= /dev/ttyUSB1
com_baud = 115200
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
nodeoffset = 1
nodename = Serial_1
I think the nodename
will only work if you are sending via MQTT. There are some changes proposed for the MQTT interfacer (which I am running), but I think this will work regardless.
If you are sending via the HTTP interfacer, you will need a different ‘nodeid’ setting I think.