# Serial port selected dynamically from the dashboard?

**URL:** https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679
**Category:** General
**Created:** [24 October 2021 19:26 UTC](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679 "2021-10-24T19:26:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)
#### Post date: [24 October 2021 19:26 UTC](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679/1 "2021-10-24T19:26:28Z")

</div>

Good evening,

Do you think it could be possible to select from the dashboard the serial interface you want to use ?  
In dynamic mode then.  
For the moment you have to select it in advance in the editor, it would be convenient to be able to display the same choice from the dashboard and store this value in a global variable for example.

with the editor:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/9/99a6fd98e2451782578f6673ff7425e107dc46a9.png)

---

<div class="post-metadata">

### Author: ![carlogravador](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/carlogravador/32/50080_2.png) [@carlogravador](https://discourse.nodered.org/u/carlogravador)
#### Post date: [28 October 2021 06:21 UTC](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679/2 "2021-10-28T06:21:14Z")

</div>

Hello, I also need this feature, do you find any solutions how to do it?

---

<div class="post-metadata">

### Author: ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)
#### Post date: [28 October 2021 07:10 UTC](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679/3 "2021-10-28T07:10:54Z")

</div>

Hi, no idea how to do this and my post did not find any help.  
Maybe we should ask the person who wrote this node?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [28 October 2021 07:31 UTC](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679/4 "2021-10-28T07:31:43Z")

</div>

> [@Jean-Luc](#):
>
> and my post did not find any help

Possibly because a quick search of the forum reveals that it is not possible at runtime. There are some work arounds involving env variables and restarting node-red but no dynamic runtime possibilities at this time.

---

<div class="post-metadata">

### Author: ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)
#### Post date: [28 October 2021 08:05 UTC](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679/5 "2021-10-28T08:05:08Z")

</div>

I agree, the information should be loaded before the start of NR

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [27 December 2021 08:05 UTC](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679/6 "2021-12-27T08:05:12Z")

</div>

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