# Serial port properties

**URL:** <https://discourse.nodered.org/t/serial-port-properties/949>\
**Category:** General\
**Created:** [20 June 2018 08:55 UTC](https://discourse.nodered.org/t/serial-port-properties/949 "2018-06-20T08:55:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruyal](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@Ruyal](https://discourse.nodered.org/u/Ruyal)\
**Post date:** [20 June 2018 08:55 UTC](https://discourse.nodered.org/t/serial-port-properties/949/1 "2018-06-20T08:55:28Z")

</div>

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 🙂

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/e629eaa9c1847cbe20e6fa256e70a9bce44a454e.jpg)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 June 2018 16:35 UTC](https://discourse.nodered.org/t/serial-port-properties/949/2 "2018-06-20T16:35:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ruyal](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@Ruyal](https://discourse.nodered.org/u/Ruyal)\
**Post date:** [21 June 2018 13:58 UTC](https://discourse.nodered.org/t/serial-port-properties/949/3 "2018-06-21T13:58:01Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 June 2018 16:23 UTC](https://discourse.nodered.org/t/serial-port-properties/949/4 "2018-06-21T16:23:49Z")

</div>

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