Serial port properties

Hi!

I have a question about the Serial-node.

I would like to make a button that changes between two different settings for a serial port. It will be using the same serial port, but with different settings, parity, stop bits, etc.

Is it possible for me to either change what Serial port config the node is set to, or edit one of the Serial port configs properties by for example clicking a button in the UI? Thanks :slight_smile:

image

Currently that is not possible during run time, without re-deploying the flow.

Found a workaround. I’m running a python script that edits the values in flows_.json, then restarts the PI. Not elegant, but at least it gets the job done :slight_smile:

well you don’t need to restart the pi - just Node-RED… but yeah - that would do it.