# Latest

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

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

**Page:** 382

---

## [Explanation of code help](https://discourse.nodered.org/t/explanation-of-code-help/76319)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 2\
**Last updated:** [8 March 2023 20:28 UTC](https://discourse.nodered.org/t/explanation-of-code-help/76319 "2023-03-08T20:28:11Z")

</div>

@cymplecy posted this code back in January if (msg.payload == 1) { context.set("previousState",!context.get("previousState")) msg.payload = 1 \* context.get("previousState"); return msg; } I have used this a…

---

## [Inporting data into InfluxDB database](https://discourse.nodered.org/t/inporting-data-into-influxdb-database/76310)

<div class="topic-metadata">

**Author:** [@danco](https://discourse.nodered.org/u/danco)\
**Replies:** 18\
**Last updated:** [8 March 2023 20:27 UTC](https://discourse.nodered.org/t/inporting-data-into-influxdb-database/76310 "2023-03-08T20:27:15Z")

</div>

Hi everyone. Im new to IOT and node-red and everything. Im currently working on my final thesis and one part of the thesis is monitoring the temperature and humidity in labs at university and storing that data in Influx. …

---

## [Save dashboard chart data in an external file (.txt)](https://discourse.nodered.org/t/save-dashboard-chart-data-in-an-external-file-txt/75382)

<div class="topic-metadata">

**Author:** [@jagades](https://discourse.nodered.org/u/jagades)\
**Replies:** 6\
**Last updated:** [8 March 2023 19:53 UTC](https://discourse.nodered.org/t/save-dashboard-chart-data-in-an-external-file-txt/75382 "2023-03-08T19:53:48Z")

</div>

Hi. I am working on how to save these temperature vs time data in an external file like a text file. Looking out for advice and assistance.

---

## [Setting for "Show Topics" on Help Tab](https://discourse.nodered.org/t/setting-for-show-topics-on-help-tab/76318)

<div class="topic-metadata">

**Author:** [@Mike7833](https://discourse.nodered.org/u/Mike7833)\
**Replies:** 2\
**Last updated:** [8 March 2023 19:41 UTC](https://discourse.nodered.org/t/setting-for-show-topics-on-help-tab/76318 "2023-03-08T19:41:28Z")

</div>

Would like to request the ability to set the "Show Topics" to collapsed or hidden in the settings.js file. For my case, it looks nicer and is more functional to seeing the help of a node in the full Help panel. Appreci…

---

## [Safari Browser Slow To Update Node Status](https://discourse.nodered.org/t/safari-browser-slow-to-update-node-status/76314)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 0\
**Last updated:** [8 March 2023 17:11 UTC](https://discourse.nodered.org/t/safari-browser-slow-to-update-node-status/76314 "2023-03-08T17:11:00Z")

</div>

I am running Mac Safari. Recently, for the Node-Red Editor page, the node status messages and inject status buttons, are not updating unless I refresh the browser. The activity monitor, for the Mac, shows the browser wi…

---

## [Help: Node red won't start](https://discourse.nodered.org/t/help-node-red-wont-start/76311)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 4\
**Last updated:** [8 March 2023 17:08 UTC](https://discourse.nodered.org/t/help-node-red-wont-start/76311 "2023-03-08T17:08:58Z")

</div>

My Raspberry Pi hosts an instance of Node Red which runs my central heating system. It got quite cold in the house today and on checking the dashboard and finding it unreachable I thought I'd reboot the Pi and re-start n…

---

## [Holding readings for gauges](https://discourse.nodered.org/t/holding-readings-for-gauges/76258)

<div class="topic-metadata">

**Author:** [@JohnR](https://discourse.nodered.org/u/JohnR)\
**Replies:** 5\
**Last updated:** [8 March 2023 16:43 UTC](https://discourse.nodered.org/t/holding-readings-for-gauges/76258 "2023-03-08T16:43:12Z")

</div>

Hello all, just joined the forum as I have more time to explore. (scenerio) I have been using Node Red Dashboard for a while, coupled with Mosquitto as an mqtt broker on a Raspberry Pi 2B. In short, the Pi receives read…

---

## [Question on internationalisation: Can I have 1 json file for several nodes?](https://discourse.nodered.org/t/question-on-internationalisation-can-i-have-1-json-file-for-several-nodes/76300)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 4\
**Last updated:** [8 March 2023 16:07 UTC](https://discourse.nodered.org/t/question-on-internationalisation-can-i-have-1-json-file-for-several-nodes/76300 "2023-03-08T16:07:08Z")

</div>

Hi, I've a question as I start to prepare uibuilder to use l8n internationalisation rather than fixed text strings. As in the title - is it possible to define a single locale json file in my Node package that can be use…

---

## [Dumbing down my arduino to work with Node-Red](https://discourse.nodered.org/t/dumbing-down-my-arduino-to-work-with-node-red/76241)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 8\
**Last updated:** [8 March 2023 14:19 UTC](https://discourse.nodered.org/t/dumbing-down-my-arduino-to-work-with-node-red/76241 "2023-03-08T14:19:38Z")

</div>

Hey All, I'm a hobbyist and have been developing home automation for about 15 years. I started with just an Arduino and later paired it up with a Raspberry Pi. It's been incredibly slow and arduous but I've stuck with…

---

## [Add options into select label (attempt to read options from js files)](https://discourse.nodered.org/t/add-options-into-select-label-attempt-to-read-options-from-js-files/14936)

<div class="topic-metadata">

**Author:** [@Qin](https://discourse.nodered.org/u/Qin)\
**Replies:** 5\
**Last updated:** [8 March 2023 13:12 UTC](https://discourse.nodered.org/t/add-options-into-select-label-attempt-to-read-options-from-js-files/14936 "2023-03-08T13:12:24Z")

</div>

A primary question，I defined a label in html file, and want to read options from a certain file (js), how can it be realized? e.g.,in html, \< script type="text/x-red" data-template-name=""\> \<select\> func\</select\> \</…

---

## [Worldmap Dashboard Map -- Is there a Zoom Extents or Similar?](https://discourse.nodered.org/t/worldmap-dashboard-map-is-there-a-zoom-extents-or-similar/76265)

<div class="topic-metadata">

**Author:** [@stephenn](https://discourse.nodered.org/u/stephenn)\
**Replies:** 6\
**Last updated:** [8 March 2023 12:10 UTC](https://discourse.nodered.org/t/worldmap-dashboard-map-is-there-a-zoom-extents-or-similar/76265 "2023-03-08T12:10:02Z")

</div>

I am using Worldmap Dashboard node and plotting my wife's and my location pulled from Owntracks onto a Worldmap Dashboard. The map currently centers on the last data point input. Is there a setting that I am missing th…

---

## [How to add Logo and button on the dashboard toolbar](https://discourse.nodered.org/t/how-to-add-logo-and-button-on-the-dashboard-toolbar/76039)

<div class="topic-metadata">

**Author:** [@rocky.b](https://discourse.nodered.org/u/rocky.b)\
**Replies:** 2\
**Last updated:** [8 March 2023 12:54 UTC](https://discourse.nodered.org/t/how-to-add-logo-and-button-on-the-dashboard-toolbar/76039 "2023-03-08T12:54:58Z")

</div>

Able to add logo but not able to add button \[ { "id": "9ba6534a6bafbad9", "type": "tab", "label": "Flow 1", "disabled": false, "info": "", "env": \[\] }, { …

---

## [I want to add two numeric values and display in a dashboard](https://discourse.nodered.org/t/i-want-to-add-two-numeric-values-and-display-in-a-dashboard/76284)

<div class="topic-metadata">

**Author:** [@fritserasmus](https://discourse.nodered.org/u/fritserasmus)\
**Replies:** 2\
**Last updated:** [8 March 2023 12:46 UTC](https://discourse.nodered.org/t/i-want-to-add-two-numeric-values-and-display-in-a-dashboard/76284 "2023-03-08T12:46:25Z")

</div>

This is the Debug Messsage and I would like to add the 2663.03774 and 3205.9554799999996 and show the value in a gauge 3/8/2023, 11:10:04 AMnode: Total DC Watts sbfspot/2130438358 : msg.payload : Object object sbfspot/2…

---

## [UI control to update a form](https://discourse.nodered.org/t/ui-control-to-update-a-form/76281)

<div class="topic-metadata">

**Author:** [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)\
**Replies:** 1\
**Last updated:** [8 March 2023 12:23 UTC](https://discourse.nodered.org/t/ui-control-to-update-a-form/76281 "2023-03-08T12:23:09Z")

</div>

Hello. I am reading sensor data that are displayed on a table. In the future i also want to control some of the data of my device. For that i created a form with switches. I created a ui control to synconize the tabl…

---

## [UI\_Text Display Nodes using Flow.get instead of {{msg.payload}}](https://discourse.nodered.org/t/ui-text-display-nodes-using-flow-get-instead-of-msg-payload/76291)

<div class="topic-metadata">

**Author:** [@Shyama\_Gupta](https://discourse.nodered.org/u/Shyama_Gupta)\
**Replies:** 1\
**Last updated:** [8 March 2023 12:22 UTC](https://discourse.nodered.org/t/ui-text-display-nodes-using-flow-get-instead-of-msg-payload/76291 "2023-03-08T12:22:41Z")

</div>

How to use flow.get instead of msg.payload into text display node?

---

## [Spacer node nodered](https://discourse.nodered.org/t/spacer-node-nodered/76285)

<div class="topic-metadata">

**Author:** [@daak](https://discourse.nodered.org/u/daak)\
**Replies:** 1\
**Last updated:** [8 March 2023 12:09 UTC](https://discourse.nodered.org/t/spacer-node-nodered/76285 "2023-03-08T12:09:48Z")

</div>

hello I'am a beginner in nodered What's the spacer node? Thank you

---

## [List the db connections in MSSQL-CN](https://discourse.nodered.org/t/list-the-db-connections-in-mssql-cn/76283)

<div class="topic-metadata">

**Author:** [@NoobX](https://discourse.nodered.org/u/NoobX)\
**Replies:** 1\
**Last updated:** [8 March 2023 11:37 UTC](https://discourse.nodered.org/t/list-the-db-connections-in-mssql-cn/76283 "2023-03-08T11:37:14Z")

</div>

Hello Everyone ! I have quite a few connections in MSSQL-CN, established with databases to use the MSSQL PLUS node. I would like to regularly check the list of these connections, as well as their properties: name , se…

---

## [FlowForge Agent](https://discourse.nodered.org/t/flowforge-agent/73794)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 7\
**Last updated:** [8 March 2023 11:03 UTC](https://discourse.nodered.org/t/flowforge-agent/73794 "2023-03-08T11:03:47Z")

</div>

I'm testing flowforge Could someone guide me how the flowforge agent works? I installed the npm package and would like to know if it runs as a service? If I reboot the device does it connect again? And how does the i…

---

## [Node Red Modbus RS485 to TCP Bridge](https://discourse.nodered.org/t/node-red-modbus-rs485-to-tcp-bridge/76279)

<div class="topic-metadata">

**Author:** [@dhruvjhalani95](https://discourse.nodered.org/u/dhruvjhalani95)\
**Replies:** 1\
**Last updated:** [8 March 2023 09:17 UTC](https://discourse.nodered.org/t/node-red-modbus-rs485-to-tcp-bridge/76279 "2023-03-08T09:17:31Z")

</div>

Hi @Steve-Mcl @json\_lame This is in reference to your discussion on the modbus RS485 to TCP bridge. I have a similar use case for one of my projects. Wanted to know if you guys were able to achieve the same using node re…

---

## [Usb port reading problem](https://discourse.nodered.org/t/usb-port-reading-problem/75836)

<div class="topic-metadata">

**Author:** [@RemyH](https://discourse.nodered.org/u/RemyH)\
**Replies:** 25\
**Last updated:** [8 March 2023 08:32 UTC](https://discourse.nodered.org/t/usb-port-reading-problem/75836 "2023-03-08T08:32:59Z")

</div>

Bonjour I installed node-red on a debian 10 VM on proxmox 7 on using the serial port function and I have this problem serial port /dev/ttyUSB1 error: Error: Error: Permission denied, cannot open /dev/ttyUSB1" param…

---

## [Einheiten aus Sensordaten entfernten](https://discourse.nodered.org/t/einheiten-aus-sensordaten-entfernten/76210)

<div class="topic-metadata">

**Author:** [@Jimmy-the-Cat](https://discourse.nodered.org/u/Jimmy-the-Cat)\
**Replies:** 3\
**Last updated:** [8 March 2023 08:03 UTC](https://discourse.nodered.org/t/einheiten-aus-sensordaten-entfernten/76210 "2023-03-08T08:03:07Z")

</div>

Ich möchte eine Steuerung aufbauen. Nutze dazu einen Raspy 4 mit 4GB Unipi 1.1, installierten PiOS Buster sowie Node Red Version 3.3 Sensoren (Bh1750 & Shtc3) sind über den I2c Bus angeschlossen. BH1750 wird mit einem …

---

## [Node Red, MQTT NodeMCU and LWT questions](https://discourse.nodered.org/t/node-red-mqtt-nodemcu-and-lwt-questions/76256)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 19\
**Last updated:** [8 March 2023 07:46 UTC](https://discourse.nodered.org/t/node-red-mqtt-nodemcu-and-lwt-questions/76256 "2023-03-08T07:46:31Z")

</div>

I have a baker's dozen or so Nodemcu's running MQTT back to Node red. For the most part they all work fine doing what they are supposed to do. I have one that refuses to stay connected for extended periods of time. It ma…

---

## [RedBack - Node-Red as Backend](https://discourse.nodered.org/t/redback-node-red-as-backend/74481)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 27\
**Last updated:** [8 March 2023 00:35 UTC](https://discourse.nodered.org/t/redback-node-red-as-backend/74481 "2023-03-08T00:35:24Z")

</div>

Hi There! I would like to share something that I have been working on: RedBack - Node-Red as Backend. The point of the project is to utilise Node-Red as API endpoint for a python/jQuery frontend on top of a Postgres dat…

---

## [Please help me with creating a simple generator counter](https://discourse.nodered.org/t/please-help-me-with-creating-a-simple-generator-counter/76117)

<div class="topic-metadata">

**Author:** [@alexsahka](https://discourse.nodered.org/u/alexsahka)\
**Replies:** 15\
**Last updated:** [8 March 2023 00:17 UTC](https://discourse.nodered.org/t/please-help-me-with-creating-a-simple-generator-counter/76117 "2023-03-08T00:17:19Z")

</div>

Could someone help me with creating a simple generator counter, only using the JavaScript function node without using context storage? Here is the prototype, but I can't use it in my application because it uses an addit…

---

## [How to view SQLlite data in any userinterface apart from the terminal window](https://discourse.nodered.org/t/how-to-view-sqllite-data-in-any-userinterface-apart-from-the-terminal-window/76071)

<div class="topic-metadata">

**Author:** [@YashPisat](https://discourse.nodered.org/u/YashPisat)\
**Replies:** 14\
**Last updated:** [7 March 2023 23:14 UTC](https://discourse.nodered.org/t/how-to-view-sqllite-data-in-any-userinterface-apart-from-the-terminal-window/76071 "2023-03-07T23:14:30Z")

</div>

I have sensor data which I am storing in sqlite database, Apart from terminal window, how can I view data in UI ?

---

## [Convert UTF-8 to ISO 8859-1](https://discourse.nodered.org/t/convert-utf-8-to-iso-8859-1/76264)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 1\
**Last updated:** [7 March 2023 22:42 UTC](https://discourse.nodered.org/t/convert-utf-8-to-iso-8859-1/76264 "2023-03-07T22:42:37Z")

</div>

Hi all! Any clue about converting UTF 8 to ISO 8859-1 ?. I have this XML file with special characters but when i post the information to the DB those special characters transforms and the post goes wrong. \<WSInput\> \<…

---

## [Documentation normalization](https://discourse.nodered.org/t/documentation-normalization/76238)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 6\
**Last updated:** [7 March 2023 22:35 UTC](https://discourse.nodered.org/t/documentation-normalization/76238 "2023-03-07T22:35:28Z")

</div>

I may be on a limb here, but I was cobbling something together; Read all nodes in the node\_modules folder and extract the help/documentation and create a unified /docs endpoint where it all comes together, eg: I fou…

---

## [Curl command to openDTU](https://discourse.nodered.org/t/curl-command-to-opendtu/76249)

<div class="topic-metadata">

**Author:** [@Andre7tyone](https://discourse.nodered.org/u/Andre7tyone)\
**Replies:** 6\
**Last updated:** [7 March 2023 22:00 UTC](https://discourse.nodered.org/t/curl-command-to-opendtu/76249 "2023-03-07T22:00:42Z")

</div>

Hello, I have tried for two days to post a curl command to a openDTU, but I was not sucessful :frowning: I want to set a limit and send it to the openDTU (to set a limit in an microinverter). I can set the limit with a…

---

## [Uibuilder to use jquery (example fails?)](https://discourse.nodered.org/t/uibuilder-to-use-jquery-example-fails/76230)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 11\
**Last updated:** [7 March 2023 21:46 UTC](https://discourse.nodered.org/t/uibuilder-to-use-jquery-example-fails/76230 "2023-03-07T21:46:09Z")

</div>

How can jquery be used within NR/uibuilder? This is necessary to migrate an existing project with intensive use of jquery.

---

## [How to check if a value is in array using the switch node](https://discourse.nodered.org/t/how-to-check-if-a-value-is-in-array-using-the-switch-node/76262)

<div class="topic-metadata">

**Author:** [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Replies:** 3\
**Last updated:** [7 March 2023 20:12 UTC](https://discourse.nodered.org/t/how-to-check-if-a-value-is-in-array-using-the-switch-node/76262 "2023-03-07T20:12:37Z")

</div>

Hello, I am quite new to Node Red and I need to ask for your help as I cannot solve a simple problem. I have a flow where the mgs.payload is an array like \["Intrusion","Alarm","Input"\] I would like to introduce a swi…

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

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