# Latest

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

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

**Page:** 150

---

## [Ui-gauge widget (battery level) percentage as a vertical LED array](https://discourse.nodered.org/t/ui-gauge-widget-battery-level-percentage-as-a-vertical-led-array/91152)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 0\
**Last updated:** [20 September 2024 18:48 UTC](https://discourse.nodered.org/t/ui-gauge-widget-battery-level-percentage-as-a-vertical-led-array/91152 "2024-09-20T18:48:57Z")

</div>

I expect there are better options available but it is possible to turn the gauge node into a vertical LED bar chart. This uses the Battery Level gauge, which assumes that msg.payload is a percentage. This is the unmo…

---

## [Link / iFrame usage on DB1 / stopped working](https://discourse.nodered.org/t/link-iframe-usage-on-db1-stopped-working/91150)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 3\
**Last updated:** [20 September 2024 18:14 UTC](https://discourse.nodered.org/t/link-iframe-usage-on-db1-stopped-working/91150 "2024-09-20T18:14:47Z")

</div>

I used a link of DB1 in the past to view the site: https://www.lebensmittelwarnung.de/ Now it stopped working / when I try to do same or use iframe on DB2 it shows only a message "The site has refused the connection".…

---

## [Using a global variable in the data/json](https://discourse.nodered.org/t/using-a-global-variable-in-the-data-json/91145)

<div class="topic-metadata">

**Author:** [@Crabsticks](https://discourse.nodered.org/u/Crabsticks)\
**Replies:** 7\
**Last updated:** [20 September 2024 17:11 UTC](https://discourse.nodered.org/t/using-a-global-variable-in-the-data-json/91145 "2024-09-20T17:11:25Z")

</div>

Hello, I'm trying to create a flow to change the brightness of my light, I can set the brightness directly however I can't figure out how to use a global variable I've set elsewhere in the flow. I'm sure I'm just not us…

---

## [Change msg to object](https://discourse.nodered.org/t/change-msg-to-object/91114)

<div class="topic-metadata">

**Author:** [@platinum](https://discourse.nodered.org/u/platinum)\
**Replies:** 3\
**Last updated:** [20 September 2024 16:11 UTC](https://discourse.nodered.org/t/change-msg-to-object/91114 "2024-09-20T16:11:17Z")

</div>

Hi there, I’m new to node red and have probably an easy problem which I can't solve: I receive data via mqtt and need to write it to an ifluxdb2 database. The mqtt data comes from two different sources. The first flo…

---

## [Node context not a function?](https://discourse.nodered.org/t/node-context-not-a-function/91141)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 3\
**Last updated:** [20 September 2024 14:24 UTC](https://discourse.nodered.org/t/node-context-not-a-function/91141 "2024-09-20T14:24:25Z")

</div>

Have used context successfully for both global and flow. According to documentation, there is also node context. But can't get this to work and don't find any examples. For example: node.get("key"); node.set("key", ms…

---

## [How to Secure API Endpoints with RED.auth.needsPermission('flows.write') in HomeAssistant Node-RED?](https://discourse.nodered.org/t/how-to-secure-api-endpoints-with-red-auth-needspermission-flows-write-in-homeassistant-node-red/91138)

<div class="topic-metadata">

**Author:** [@fdecourt](https://discourse.nodered.org/u/fdecourt)\
**Replies:** 2\
**Last updated:** [20 September 2024 12:07 UTC](https://discourse.nodered.org/t/how-to-secure-api-endpoints-with-red-auth-needspermission-flows-write-in-homeassistant-node-red/91138 "2024-09-20T12:07:35Z")

</div>

Hello everyone, I'm currently working on a Node-RED custom node that involves interacting with Google Calendar's API. In standalone Node-RED installations, I use RED.auth.needsPermission('flows.write') to secure the API…

---

## [🎉 Node-RED 4.0.3 and 3.1.12 Released](https://discourse.nodered.org/t/node-red-4-0-3-and-3-1-12-released/91070)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 5\
**Last updated:** [20 September 2024 08:46 UTC](https://discourse.nodered.org/t/node-red-4-0-3-and-3-1-12-released/91070 "2024-09-20T08:46:22Z")

</div>

Hi, We've published new releases of both Node-RED 4.x and Node-RED 3.x to pickup some upstream dependency updates to address security issues. Whilst the issues were deemed low-risk to Node-RED users, these updates will…

---

## [API GET /nodes returns a string?](https://discourse.nodered.org/t/api-get-nodes-returns-a-string/91132)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 1\
**Last updated:** [20 September 2024 06:29 UTC](https://discourse.nodered.org/t/api-get-nodes-returns-a-string/91132 "2024-09-20T06:29:21Z")

</div>

When performing a GET /nodes, it returns: This does not seem correct ? I was expecting an array of objects as per docs

---

## [Node-RED crash after write boolean to CPU1500 OPC UA](https://discourse.nodered.org/t/node-red-crash-after-write-boolean-to-cpu1500-opc-ua/91107)

<div class="topic-metadata">

**Author:** [@Michal](https://discourse.nodered.org/u/Michal)\
**Replies:** 2\
**Last updated:** [20 September 2024 06:19 UTC](https://discourse.nodered.org/t/node-red-crash-after-write-boolean-to-cpu1500-opc-ua/91107 "2024-09-20T06:19:04Z")

</div>

Hi I have Node-RED version 4.0.3 and CPU Siemens 1518F-4 PN/DP with OPC UA server. After exporting data from PLC to CSV, I want to write one bool in the plc that the export was successful created and then I could delet…

---

## [A server-side getProperty for dashboard D2](https://discourse.nodered.org/t/a-server-side-getproperty-for-dashboard-d2/91091)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 2\
**Last updated:** [20 September 2024 06:11 UTC](https://discourse.nodered.org/t/a-server-side-getproperty-for-dashboard-d2/91091 "2024-09-20T06:11:59Z")

</div>

Hi folks, Some months ago the getProperty function has been introduced in dashboard D2. That allows ui node developers to get easily the value of a property. That property can have its value from the config screen, bu…

---

## [Debugging Node-RED ui\_base.js File from FlowFuse Dashboard](https://discourse.nodered.org/t/debugging-node-red-ui-base-js-file-from-flowfuse-dashboard/91130)

<div class="topic-metadata">

**Author:** [@Nandhini-Subramaniya](https://discourse.nodered.org/u/Nandhini-Subramaniya)\
**Replies:** 1\
**Last updated:** [20 September 2024 06:05 UTC](https://discourse.nodered.org/t/debugging-node-red-ui-base-js-file-from-flowfuse-dashboard/91130 "2024-09-20T06:05:55Z")

</div>

I'm encountering an issue where the functions inside ui\_base.js are not being called, even though the init function is executed. I’ve tried setting breakpoints in Node-RED, but they are not being hit. What I’ve tried: …

---

## [String Array from Exec Node to JSON Object](https://discourse.nodered.org/t/string-array-from-exec-node-to-json-object/91127)

<div class="topic-metadata">

**Author:** [@iotemylabs](https://discourse.nodered.org/u/iotemylabs)\
**Replies:** 4\
**Last updated:** [20 September 2024 05:45 UTC](https://discourse.nodered.org/t/string-array-from-exec-node-to-json-object/91127 "2024-09-20T05:45:57Z")

</div>

Hi! I have been racking my brain for hours trying to get a JSON output. After calling a CLI command using the Exec node, I get this string array: "\[↵ {↵ id: 'djtxrc3qclpy62pvpleh33vs',↵ createdAt: 2024-09-19T19:51:33.…

---

## [Msg size limit in Dashboard 2.0](https://discourse.nodered.org/t/msg-size-limit-in-dashboard-2-0/91080)

<div class="topic-metadata">

**Author:** [@omrid](https://discourse.nodered.org/u/omrid)\
**Replies:** 7\
**Last updated:** [19 September 2024 20:40 UTC](https://discourse.nodered.org/t/msg-size-limit-in-dashboard-2-0/91080 "2024-09-19T20:40:16Z")

</div>

I am loading big amounts of data from a DB and displaying it in Dashboard-2.0 nodes. I have done some stress-testing and noticed that when the msg size is too big, the dashboard page disconnects/reloads, and sometimes t…

---

## [Issue with accumulative values of a table in dashboard](https://discourse.nodered.org/t/issue-with-accumulative-values-of-a-table-in-dashboard/90794)

<div class="topic-metadata">

**Author:** [@wcordova](https://discourse.nodered.org/u/wcordova)\
**Replies:** 6\
**Last updated:** [19 September 2024 19:31 UTC](https://discourse.nodered.org/t/issue-with-accumulative-values-of-a-table-in-dashboard/90794 "2024-09-19T19:31:09Z")

</div>

Hi all with raspberry pi, I' am getting values from logo siemens PLC. My idea is to show these values in a table inside the dashboard. Current it is working and I can read the data and this data is visible in the ta…

---

## [New in developing Nodes](https://discourse.nodered.org/t/new-in-developing-nodes/91045)

<div class="topic-metadata">

**Author:** [@fdecourt](https://discourse.nodered.org/u/fdecourt)\
**Replies:** 8\
**Last updated:** [19 September 2024 19:11 UTC](https://discourse.nodered.org/t/new-in-developing-nodes/91045 "2024-09-19T19:11:19Z")

</div>

Hi the community, I am trying to develop my own nodes (and I am not a dev) when I find exactly what I want in the repository. The first one I created is one that allow me toretreive all the events between 2 dates / tim…

---

## [CLI query succeeds but NR fails](https://discourse.nodered.org/t/cli-query-succeeds-but-nr-fails/91082)

<div class="topic-metadata">

**Author:** [@ralvez](https://discourse.nodered.org/u/ralvez)\
**Replies:** 12\
**Last updated:** [19 September 2024 16:44 UTC](https://discourse.nodered.org/t/cli-query-succeeds-but-nr-fails/91082 "2024-09-19T16:44:55Z")

</div>

I have this query: DECLARE p\_term\_code\_sturec VARCHAR2(6); BEGIN SELECT SHRDGMR\_TERM\_CODE\_STUREC INTO p\_term\_code\_sturec FROM SHRDGMR WHERE SHRDGMR\_PIDM = 123456 AND SHRDGMR\_SEQ\_NO = 2; …

---

## [Speeding up flow creation via keyboard](https://discourse.nodered.org/t/speeding-up-flow-creation-via-keyboard/91092)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 12\
**Last updated:** [19 September 2024 16:31 UTC](https://discourse.nodered.org/t/speeding-up-flow-creation-via-keyboard/91092 "2024-09-19T16:31:42Z")

</div>

Node-red is very much drag and drop, although very nice, it is not fast when you have a large number of nodes installed in the palette. I got a brainwave - what if you could use the cmd-shift-p command window to type in…

---

## [Use GROQ (like ChatGPT) API](https://discourse.nodered.org/t/use-groq-like-chatgpt-api/91120)

<div class="topic-metadata">

**Author:** [@fdecourt](https://discourse.nodered.org/u/fdecourt)\
**Replies:** 0\
**Last updated:** [19 September 2024 15:24 UTC](https://discourse.nodered.org/t/use-groq-like-chatgpt-api/91120 "2024-09-19T15:24:39Z")

</div>

Hi, I wanted to be able to talk with GROQ (like ChatGPT) through their API. All comments are most welcomed. Here is the code : Thanks

---

## [Help with error in code](https://discourse.nodered.org/t/help-with-error-in-code/91109)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [19 September 2024 15:05 UTC](https://discourse.nodered.org/t/help-with-error-in-code/91109 "2024-09-19T15:05:36Z")

</div>

Sorry, I tried Chat-GPT and the code it gives me looks good - in theory - but I am getting an error. const startDate = new Date('2024-9-17'); // Replace with your start date const now = new Date(); const msPerDay = 1000…

---

## [Computer and Node-RED](https://discourse.nodered.org/t/computer-and-node-red/91102)

<div class="topic-metadata">

**Author:** [@zmoey12](https://discourse.nodered.org/u/zmoey12)\
**Replies:** 3\
**Last updated:** [19 September 2024 10:59 UTC](https://discourse.nodered.org/t/computer-and-node-red/91102 "2024-09-19T10:59:50Z")

</div>

Hi Guys, I'm struggling with using Node-RED. I had my friend run my simple code I followed from youtube to read to a .txt file, and it worked for him, however it just won't work for me. I've got a windows laptop, so if …

---

## [JSON structure - checking](https://discourse.nodered.org/t/json-structure-checking/91085)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [19 September 2024 09:20 UTC](https://discourse.nodered.org/t/json-structure-checking/91085 "2024-09-19T09:20:21Z")

</div>

Sorry folks. I need to clarify this confusion at my end. msg.payload = { "Who": device\_name, "Modem": A, "UpLink": B }; Given all other things are set. This works. Or seems to. and yet in ot…

---

## [Ui-chart line point missing](https://discourse.nodered.org/t/ui-chart-line-point-missing/91090)

<div class="topic-metadata">

**Author:** [@Gaetano](https://discourse.nodered.org/u/Gaetano)\
**Replies:** 2\
**Last updated:** [19 September 2024 08:14 UTC](https://discourse.nodered.org/t/ui-chart-line-point-missing/91090 "2024-09-19T08:14:22Z")

</div>

I am experiencing some problems in representing lines using the ui-chart node. It is a very similar problem to the one encountered with the bars: the second element of the series to be represented is not displayed. The…

---

## [Change font size in excel file](https://discourse.nodered.org/t/change-font-size-in-excel-file/91066)

<div class="topic-metadata">

**Author:** [@amr](https://discourse.nodered.org/u/amr)\
**Replies:** 3\
**Last updated:** [19 September 2024 07:48 UTC](https://discourse.nodered.org/t/change-font-size-in-excel-file/91066 "2024-09-19T07:48:47Z")

</div>

Hello everyone! i need to help me I'm 1st time to used Node-Red i need to change font size in excel file function node is msg.payload = \[{ header: { 'author': 'authorName', 'title': …

---

## [Convert from base16 to base64](https://discourse.nodered.org/t/convert-from-base16-to-base64/91094)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 1\
**Last updated:** [19 September 2024 07:37 UTC](https://discourse.nodered.org/t/convert-from-base16-to-base64/91094 "2024-09-19T07:37:29Z")

</div>

hello - is there a feature within nodered that can convert a base16 number to base64?

---

## [The catalogue update seems to be stuck](https://discourse.nodered.org/t/the-catalogue-update-seems-to-be-stuck/91088)

<div class="topic-metadata">

**Author:** [@RvG](https://discourse.nodered.org/u/RvG)\
**Replies:** 2\
**Last updated:** [19 September 2024 07:25 UTC](https://discourse.nodered.org/t/the-catalogue-update-seems-to-be-stuck/91088 "2024-09-19T07:25:49Z")

</div>

The https://catalogue.nodered.org/catalogue.json nodes catalogue hasn't been updated for half a day. Latest one is 2024-09-18T11:07:25.956Z. Not sure what update speed should be expected, but it seems to be stuck now. H…

---

## [Only make node-red accessible from localmachine](https://discourse.nodered.org/t/only-make-node-red-accessible-from-localmachine/91086)

<div class="topic-metadata">

**Author:** [@JePi](https://discourse.nodered.org/u/JePi)\
**Replies:** 4\
**Last updated:** [19 September 2024 06:53 UTC](https://discourse.nodered.org/t/only-make-node-red-accessible-from-localmachine/91086 "2024-09-19T06:53:17Z")

</div>

I run node-red in a container (in raspian) but what I do I cant get it to accept only connection on the localhost. Either its world or its no one. Have tried enable the settings.js row uiHost: "127.0.0.1", but that mak…

---

## [DB2 multi state switch revisited](https://discourse.nodered.org/t/db2-multi-state-switch-revisited/91084)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 2\
**Last updated:** [19 September 2024 05:32 UTC](https://discourse.nodered.org/t/db2-multi-state-switch-revisited/91084 "2024-09-19T05:32:04Z")

</div>

@BartButenaers and @hotNipi posted some multi state switch code and rather than flog that thread I opened a new one. Modified the code somewhat, consolidated it really but what I would like to do is make it multi line if…

---

## [Running NR on a Mikrotik (docker container)](https://discourse.nodered.org/t/running-nr-on-a-mikrotik-docker-container/91087)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 1\
**Last updated:** [18 September 2024 21:54 UTC](https://discourse.nodered.org/t/running-nr-on-a-mikrotik-docker-container/91087 "2024-09-18T21:54:28Z")

</div>

Hi, I need to create some automations and I would love to use NR for them, running inside a MIkrotik will give me the chance to don't add external hardware. Yesterday I've created my first CHR Mikrotik on an ubuntu 22 s…

---

## [Date problem with now === stopTime](https://discourse.nodered.org/t/date-problem-with-now-stoptime/91064)

<div class="topic-metadata">

**Author:** [@Frida](https://discourse.nodered.org/u/Frida)\
**Replies:** 10\
**Last updated:** [18 September 2024 21:09 UTC](https://discourse.nodered.org/t/date-problem-with-now-stoptime/91064 "2024-09-18T21:09:29Z")

</div>

Why now.getTime === stopTime.getTime() works, but not now === stopTime? \[{"id":"9d15a9187c914833","type":"tab","label":"Flow 12","disabled":false,"info":"","env":\[\]},{"id":"c43a8169fed4b72e","type":"junction","z":"9…

---

## [What do you think about bundling flows?](https://discourse.nodered.org/t/what-do-you-think-about-bundling-flows/91081)

<div class="topic-metadata">

**Author:** [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Replies:** 4\
**Last updated:** [18 September 2024 20:50 UTC](https://discourse.nodered.org/t/what-do-you-think-about-bundling-flows/91081 "2024-09-18T20:50:49Z")

</div>

I've been thinking about it for a week now. What if I scan a flow.json, get all node types, find their nodes, and then build a single bundled dependency which has all nodes required to run that flow? It is going to feel …

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

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