# Latest

**URL:** https://discourse.nodered.org/latest.md?page=318

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 319

---

## [Serial port modifications](https://discourse.nodered.org/t/serial-port-modifications/80187)

<div class="topic-metadata">

**Author:** [@nadirm](https://discourse.nodered.org/u/nadirm)\
**Replies:** 1\
**Last updated:** [31 July 2023 15:41 UTC](https://discourse.nodered.org/t/serial-port-modifications/80187 "2023-07-31T15:41:03Z")

</div>

Hi all, I am developing a node-red flow using a raspberry pi's serial port com and baud rate, and I'm looking for a way to dynamically change the com port and baud rate from a message or a global variable. I was unable…

---

## [Debug in node-red vs. debug javascript in a dedicated html file](https://discourse.nodered.org/t/debug-in-node-red-vs-debug-javascript-in-a-dedicated-html-file/80192)

<div class="topic-metadata">

**Author:** [@plekke](https://discourse.nodered.org/u/plekke)\
**Replies:** 1\
**Last updated:** [31 July 2023 15:37 UTC](https://discourse.nodered.org/t/debug-in-node-red-vs-debug-javascript-in-a-dedicated-html-file/80192 "2023-07-31T15:37:33Z")

</div>

i'm new in node red. i want to use a serialport to send request and recieve data from a controller. i understand the processing of the data need to be done in a function . i can manage javascript. but when i write an…

---

## [Displaying pdf in iframe from base64 string in node red dashboard ui template node](https://discourse.nodered.org/t/displaying-pdf-in-iframe-from-base64-string-in-node-red-dashboard-ui-template-node/80163)

<div class="topic-metadata">

**Author:** [@SciTechEnthusiast](https://discourse.nodered.org/u/SciTechEnthusiast)\
**Replies:** 8\
**Last updated:** [31 July 2023 15:20 UTC](https://discourse.nodered.org/t/displaying-pdf-in-iframe-from-base64-string-in-node-red-dashboard-ui-template-node/80163 "2023-07-31T15:20:24Z")

</div>

Setup Details: node-red: "3.0.2", node-red-dashboard: "^3.5.0" node: v16.20.1 npm: 8.19.4 Sample flow: \[{"id":"6b8c4344b285516d","type":"inject","z":"142bbf76cb35db45","name":"Run","props":\[\],"repeat":"","crontab":""…

---

## [Spliting payload](https://discourse.nodered.org/t/spliting-payload/80181)

<div class="topic-metadata">

**Author:** [@ACD2040](https://discourse.nodered.org/u/ACD2040)\
**Replies:** 10\
**Last updated:** [31 July 2023 13:44 UTC](https://discourse.nodered.org/t/spliting-payload/80181 "2023-07-31T13:44:27Z")

</div>

Hello, We have this msg.payload and we need to get the value of avg(IN01) When we use .split code, we get the error that's not a function. Can you advice us or give a example on how to work ? Thanks, 31/07/2023, 11…

---

## [How to set up a toggle button?](https://discourse.nodered.org/t/how-to-set-up-a-toggle-button/80132)

<div class="topic-metadata">

**Author:** [@Darren](https://discourse.nodered.org/u/Darren)\
**Replies:** 12\
**Last updated:** [31 July 2023 13:32 UTC](https://discourse.nodered.org/t/how-to-set-up-a-toggle-button/80132 "2023-07-31T13:32:43Z")

</div>

How do I go about setting up a toggle button? I realise switches toggle, but they get difficult to tell apart when there are any more than 1 next to each other. I want to make a button that toggles between on/off states …

---

## [\[Article\] Node-RED terminology](https://discourse.nodered.org/t/article-node-red-terminology/79743)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 19\
**Last updated:** [31 July 2023 12:34 UTC](https://discourse.nodered.org/t/article-node-red-terminology/79743 "2023-07-31T12:34:46Z")

</div>

Hi There! So in my endeavours to bring Node-RED to the masses, I have written a short piece on the terminology of Node-RED. The intention is to reuse this text in other articles, so I've tried to keep in encapsulated. I…

---

## [Node-red inject node and debug nodes are not working correctly after deploying in rancher](https://discourse.nodered.org/t/node-red-inject-node-and-debug-nodes-are-not-working-correctly-after-deploying-in-rancher/80176)

<div class="topic-metadata">

**Author:** [@hasikp1](https://discourse.nodered.org/u/hasikp1)\
**Replies:** 7\
**Last updated:** [31 July 2023 11:29 UTC](https://discourse.nodered.org/t/node-red-inject-node-and-debug-nodes-are-not-working-correctly-after-deploying-in-rancher/80176 "2023-07-31T11:29:46Z")

</div>

I am using node-red version 2.2.2 and node.js version 12.22.8. This instance was deployed in rancher kubernetes management platform. When I use nodered v2.2.2 inject node and debug nodes are enabled but debug outputs are…

---

## [Trigger inject node using HTTP request](https://discourse.nodered.org/t/trigger-inject-node-using-http-request/80178)

<div class="topic-metadata">

**Author:** [@flipside](https://discourse.nodered.org/u/flipside)\
**Replies:** 6\
**Last updated:** [31 July 2023 09:56 UTC](https://discourse.nodered.org/t/trigger-inject-node-using-http-request/80178 "2023-07-31T09:56:37Z")

</div>

Hello! I want to ask a question about inject node and HTTP requests. I have an inject node that is configured working on an interval of 5 seconds. My goal is to be able to trigger the inject node by using HTTP request…

---

## [How template node get data from inject node](https://discourse.nodered.org/t/how-template-node-get-data-from-inject-node/80130)

<div class="topic-metadata">

**Author:** [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Replies:** 9\
**Last updated:** [31 July 2023 09:46 UTC](https://discourse.nodered.org/t/how-template-node-get-data-from-inject-node/80130 "2023-07-31T09:46:52Z")

</div>

Dear veteran I create a web page in template node. and try to show inject number on the page.but inject data didn't show. any veteran tell me how to display the number data injected from inject node

---

## [Unable to get the file size of multiple files using Advanced FTP node](https://discourse.nodered.org/t/unable-to-get-the-file-size-of-multiple-files-using-advanced-ftp-node/80121)

<div class="topic-metadata">

**Author:** [@PS2525](https://discourse.nodered.org/u/PS2525)\
**Replies:** 2\
**Last updated:** [31 July 2023 09:13 UTC](https://discourse.nodered.org/t/unable-to-get-the-file-size-of-multiple-files-using-advanced-ftp-node/80121 "2023-07-31T09:13:50Z")

</div>

I am getting file size for single filename from my remote FTP using Advanced FTP node which is working fine. But Now I wanted to get the file size of 7 files which needs to send to FTP node one by one and save it in an …

---

## [How to save a textbox value for later use](https://discourse.nodered.org/t/how-to-save-a-textbox-value-for-later-use/80172)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 3\
**Last updated:** [30 July 2023 21:39 UTC](https://discourse.nodered.org/t/how-to-save-a-textbox-value-for-later-use/80172 "2023-07-30T21:39:14Z")

</div>

I want to be able to store a value that is updated in a text box every second, so that if I redeploy it will be able to start from that value instead of zero.

---

## [Brightness control with IKEA Tradfri remote](https://discourse.nodered.org/t/brightness-control-with-ikea-tradfri-remote/80045)

<div class="topic-metadata">

**Author:** [@Cpt.Pommes](https://discourse.nodered.org/u/Cpt.Pommes)\
**Replies:** 1\
**Last updated:** [30 July 2023 18:14 UTC](https://discourse.nodered.org/t/brightness-control-with-ikea-tradfri-remote/80045 "2023-07-30T18:14:11Z")

</div>

Hi, I am pretty new to node-red and I want my IKEA Tradfri remote to control the brightness of my lamp with the brightness hold buttons. I am using Zigbee2mqtt with home assistent. However, I am struggling to get the …

---

## [Context File corrupt/truncated - node-red auto-restart failure](https://discourse.nodered.org/t/context-file-corrupt-truncated-node-red-auto-restart-failure/79897)

<div class="topic-metadata">

**Author:** [@jakonnode](https://discourse.nodered.org/u/jakonnode)\
**Replies:** 56\
**Last updated:** [30 July 2023 17:56 UTC](https://discourse.nodered.org/t/context-file-corrupt-truncated-node-red-auto-restart-failure/79897 "2023-07-30T17:56:43Z")

</div>

When my device restarts abruptly - the context file get corrupt because of the truncated json. Automatic restart of node-red fails due to this. One way is to go with a DB based context storage instead of file but MySQL…

---

## [Merge Data from two asynchronous MQTT inputs](https://discourse.nodered.org/t/merge-data-from-two-asynchronous-mqtt-inputs/80162)

<div class="topic-metadata">

**Author:** [@Rene1695](https://discourse.nodered.org/u/Rene1695)\
**Replies:** 4\
**Last updated:** [30 July 2023 12:19 UTC](https://discourse.nodered.org/t/merge-data-from-two-asynchronous-mqtt-inputs/80162 "2023-07-30T12:19:32Z")

</div>

Hi all, i am still very new to NodeRed and I think I didn't understand the principle yet. What I would like to do is the following: I have two MQTT inputs. "Input 1" sends data from my smart meter every 10 seconds in…

---

## [Is faking keyboard input possible?](https://discourse.nodered.org/t/is-faking-keyboard-input-possible/80150)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [29 July 2023 22:07 UTC](https://discourse.nodered.org/t/is-faking-keyboard-input-possible/80150 "2023-07-29T22:07:45Z")

</div>

I have a RasPi with a largish screen (touch) and want to know if there is a way I can simulate keyboard input to do things. Ok, the Pi is running Stretch (Yeah, SO OLD now) and an old version of Firefox. I want to make…

---

## [Broken Jsonata --\> Broken Node-RED](https://discourse.nodered.org/t/broken-jsonata-broken-node-red/80153)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 8\
**Last updated:** [29 July 2023 15:57 UTC](https://discourse.nodered.org/t/broken-jsonata-broken-node-red/80153 "2023-07-29T15:57:04Z")

</div>

Hi There! Sorry if this has been asked before however I just had the following problem. Flow: \[{"id":"c0434d6638a5e339","type":"change","z":"d7f182b9ccdd6c48","name":"","rules":\[{"t":"set","p":"payload","pt":"msg","to"…

---

## [Getting grid\_total from HA](https://discourse.nodered.org/t/getting-grid-total-from-ha/80076)

<div class="topic-metadata">

**Author:** [@riddertommie](https://discourse.nodered.org/u/riddertommie)\
**Replies:** 15\
**Last updated:** [29 July 2023 10:41 UTC](https://discourse.nodered.org/t/getting-grid-total-from-ha/80076 "2023-07-29T10:41:41Z")

</div>

Im trying to get the grid total value from HA energy tab. But if i understand correct this is not a value you can get within HA, so i wanted to do that myself. for that i made 4 utility meter Helpers. and in nodered i m…

---

## [Persistent Storage for Nodes](https://discourse.nodered.org/t/persistent-storage-for-nodes/80139)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 8\
**Last updated:** [28 July 2023 16:48 UTC](https://discourse.nodered.org/t/persistent-storage-for-nodes/80139 "2023-07-28T16:48:26Z")

</div>

Hi Node-Red user, At the moment I'm developing nodes for Node-Red. It bothered me that e.g. dashboard nodes always lose their set values when restarting. That's why I developed nodes that allow you to persist set valu…

---

## [Remove Specific Line from CSV File](https://discourse.nodered.org/t/remove-specific-line-from-csv-file/80140)

<div class="topic-metadata">

**Author:** [@mlabella](https://discourse.nodered.org/u/mlabella)\
**Replies:** 3\
**Last updated:** [28 July 2023 15:10 UTC](https://discourse.nodered.org/t/remove-specific-line-from-csv-file/80140 "2023-07-28T15:10:12Z")

</div>

I have a dashboard where when the certain ID of a part is entered, I want to delete that line when the button is pressed. I am able to remove the data, but it then outputs as undefined and is not able to leave the output…

---

## [Dashboard chart - crash or bug](https://discourse.nodered.org/t/dashboard-chart-crash-or-bug/80098)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 13\
**Last updated:** [28 July 2023 14:51 UTC](https://discourse.nodered.org/t/dashboard-chart-crash-or-bug/80098 "2023-07-28T14:51:44Z")

</div>

I would like to ask if there is a bug or am I doing something wrong in this routine: \[{"id":"e05046c10f4aed17","type":"group","z":"52913d9d3ee83890","name":"Graph - Deep Diver","style":{"label":true,"stroke":"#92…

---

## [Creating a custom UI Form without using built in dashboard form](https://discourse.nodered.org/t/creating-a-custom-ui-form-without-using-built-in-dashboard-form/79790)

<div class="topic-metadata">

**Author:** [@mehdichbani](https://discourse.nodered.org/u/mehdichbani)\
**Replies:** 11\
**Last updated:** [28 July 2023 14:04 UTC](https://discourse.nodered.org/t/creating-a-custom-ui-form-without-using-built-in-dashboard-form/79790 "2023-07-28T14:04:03Z")

</div>

hello everyone, i want to create a form without using the ui form node because it doesnt have a dropdown menu as an element to choose from, so I want to create a form with text input nodes, dropdown menu nodes and checkb…

---

## [How to build an interactive OPC UA Client Dashboard in Node-RED](https://discourse.nodered.org/t/how-to-build-an-interactive-opc-ua-client-dashboard-in-node-red/80141)

<div class="topic-metadata">

**Author:** [@Hisma](https://discourse.nodered.org/u/Hisma)\
**Replies:** 0\
**Last updated:** [28 July 2023 13:38 UTC](https://discourse.nodered.org/t/how-to-build-an-interactive-opc-ua-client-dashboard-in-node-red/80141 "2023-07-28T13:38:54Z")

</div>

Hey guys, I wrote an article where I show how to build an interactive OPC UA Client Dashboard in Node-RED. It focuses on how to browse, read, write, and get events from an OPC Server via Node-RED, and visualize the resu…

---

## [Dropdown multiple selection](https://discourse.nodered.org/t/dropdown-multiple-selection/80131)

<div class="topic-metadata">

**Author:** [@Geppy57](https://discourse.nodered.org/u/Geppy57)\
**Replies:** 4\
**Last updated:** [28 July 2023 12:23 UTC](https://discourse.nodered.org/t/dropdown-multiple-selection/80131 "2023-07-28T12:23:06Z")

</div>

Hi all. I put a dropdown control into a page that allow to select multiple files from a directory in order to show their contents in a graph. When you select the upper stick, all items are selected or unselected at the…

---

## [Dashboard scync wtih mobile phone problem](https://discourse.nodered.org/t/dashboard-scync-wtih-mobile-phone-problem/80135)

<div class="topic-metadata">

**Author:** [@halukmy](https://discourse.nodered.org/u/halukmy)\
**Replies:** 1\
**Last updated:** [28 July 2023 11:34 UTC](https://discourse.nodered.org/t/dashboard-scync-wtih-mobile-phone-problem/80135 "2023-07-28T11:34:33Z")

</div>

Hello friends, i have got 4x cells but when it turn on mobile, it get problematic situation, anyone got idea how to fix it or possible to automaticly resize ? Thanks

---

## [Login with C# & ASP.NET Code](https://discourse.nodered.org/t/login-with-c-asp-net-code/80136)

<div class="topic-metadata">

**Author:** [@halukmy](https://discourse.nodered.org/u/halukmy)\
**Replies:** 0\
**Last updated:** [28 July 2023 11:17 UTC](https://discourse.nodered.org/t/login-with-c-asp-net-code/80136 "2023-07-28T11:17:02Z")

</div>

is it possible to login with C# or asp.net code ?

---

## [How to control Node-RED in my Electron application? (start, stop, and restart)](https://discourse.nodered.org/t/how-to-control-node-red-in-my-electron-application-start-stop-and-restart/80083)

<div class="topic-metadata">

**Author:** [@SebCanet](https://discourse.nodered.org/u/SebCanet)\
**Replies:** 6\
**Last updated:** [28 July 2023 08:46 UTC](https://discourse.nodered.org/t/how-to-control-node-red-in-my-electron-application-start-stop-and-restart/80083 "2023-07-28T08:46:47Z")

</div>

Hello everyone, I am developping software to help program microcontroller boards and I have integrated Node-RED into my Electron application to retrieve data sent by my boards (https://www.youtube.com/watch?v=n9rFr5-rc1…

---

## [Why can this component only support two alarm conditions and multiple event conditions](https://discourse.nodered.org/t/why-can-this-component-only-support-two-alarm-conditions-and-multiple-event-conditions/79745)

<div class="topic-metadata">

**Author:** [@dangliufeng](https://discourse.nodered.org/u/dangliufeng)\
**Replies:** 10\
**Last updated:** [28 July 2023 08:43 UTC](https://discourse.nodered.org/t/why-can-this-component-only-support-two-alarm-conditions-and-multiple-event-conditions/79745 "2023-07-28T08:43:29Z")

</div>

Do you know how to write this configuration file

---

## [How to get an array value from flow context](https://discourse.nodered.org/t/how-to-get-an-array-value-from-flow-context/80128)

<div class="topic-metadata">

**Author:** [@Akshay51](https://discourse.nodered.org/u/Akshay51)\
**Replies:** 2\
**Last updated:** [28 July 2023 07:28 UTC](https://discourse.nodered.org/t/how-to-get-an-array-value-from-flow-context/80128 "2023-07-28T07:28:30Z")

</div>

Hi, I wsa trying to get a particular array value from the flow context, but i could only get the whole values in the array instead of a particular value. I was using msg.payload = flow.get("testCheck",\[0\]); to get …

---

## [\[ANNOUNCE\] OpenAi Node-RED Plugin](https://discourse.nodered.org/t/announce-openai-node-red-plugin/80007)

<div class="topic-metadata">

**Author:** [@MaxBaines](https://discourse.nodered.org/u/MaxBaines)\
**Replies:** 14\
**Last updated:** [28 July 2023 07:18 UTC](https://discourse.nodered.org/t/announce-openai-node-red-plugin/80007 "2023-07-28T07:18:48Z")

</div>

Hi everyone, Im pleased to introduce my open-source OpenAI plugin. Build Flows, generate explainers, and create specifications within Node-RED! This is an early release, I have lots planned, and will publish a roadmap, …

---

## [How to View the map](https://discourse.nodered.org/t/how-to-view-the-map/80129)

<div class="topic-metadata">

**Author:** [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Replies:** 3\
**Last updated:** [28 July 2023 06:46 UTC](https://discourse.nodered.org/t/how-to-view-the-map/80129 "2023-07-28T06:46:03Z")

</div>

Dear Expert I wire a flow of map. now how to view the map? great thanks

[Previous page](https://discourse.nodered.org/latest.md?page=317)

[Next page](https://discourse.nodered.org/latest.md?page=319)
