# Latest

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

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

**Page:** 340

---

## [Calculate Electrical consumption at 1 Minute interval](https://discourse.nodered.org/t/calculate-electrical-consumption-at-1-minute-interval/78801)

<div class="topic-metadata">

**Author:** [@Funky123](https://discourse.nodered.org/u/Funky123)\
**Replies:** 6\
**Last updated:** [1 June 2023 05:52 UTC](https://discourse.nodered.org/t/calculate-electrical-consumption-at-1-minute-interval/78801 "2023-06-01T05:52:21Z")

</div>

Hello, I'm a beginner with Node Red. We have Energy Project at our company were we trace the Electrical Power. We use a Weidmueller UC20-WL2000-AC with Node Red for Weidmueller v1.1.2. My problem is now, that our IT wa…

---

## [Websocket reconnect](https://discourse.nodered.org/t/websocket-reconnect/78832)

<div class="topic-metadata">

**Author:** [@Falfango](https://discourse.nodered.org/u/Falfango)\
**Replies:** 7\
**Last updated:** [1 June 2023 01:18 UTC](https://discourse.nodered.org/t/websocket-reconnect/78832 "2023-06-01T01:18:21Z")

</div>

Is there an easier way to reconnect to a websocket, after connection was broken as to restart node red?

---

## [Edit red.js file](https://discourse.nodered.org/t/edit-red-js-file/78846)

<div class="topic-metadata">

**Author:** [@jhonnsec](https://discourse.nodered.org/u/jhonnsec)\
**Replies:** 1\
**Last updated:** [31 May 2023 19:41 UTC](https://discourse.nodered.org/t/edit-red-js-file/78846 "2023-05-31T19:41:54Z")

</div>

hello my friends I'm editing a function file red.js button deploy I saw that it has this function but when doing the build it returns to the original state someone has already made this modification. packages/node\_modul…

---

## [New tab and group from dashboard](https://discourse.nodered.org/t/new-tab-and-group-from-dashboard/78849)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 3\
**Last updated:** [31 May 2023 19:27 UTC](https://discourse.nodered.org/t/new-tab-and-group-from-dashboard/78849 "2023-05-31T19:27:36Z")

</div>

Hi all! Is there any chance to create a new tab and group directly from the dashboard?. I mean, not using this part. I want to do it directly from the dashboard. Regards!

---

## [Elegant use of UIBuilder](https://discourse.nodered.org/t/elegant-use-of-uibuilder/78829)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 6\
**Last updated:** [31 May 2023 19:24 UTC](https://discourse.nodered.org/t/elegant-use-of-uibuilder/78829 "2023-05-31T19:24:57Z")

</div>

I'm using UI\_BUILDER to build an HTML report. Which will later be printed. Everything is working perfectly, but I would like some help? Please ? Does anyone think of something more elegant in the construction of this c…

---

## [Telegram Privacy Best Practices?](https://discourse.nodered.org/t/telegram-privacy-best-practices/78799)

<div class="topic-metadata">

**Author:** [@Digital-Thor](https://discourse.nodered.org/u/Digital-Thor)\
**Replies:** 5\
**Last updated:** [31 May 2023 16:38 UTC](https://discourse.nodered.org/t/telegram-privacy-best-practices/78799 "2023-05-31T16:38:13Z")

</div>

I'm using the node-red-contrib-telegrambot for home video security. I've configured its nodes: to send video clips from Node-Red to my smart phone, and also to receive /commands from my smart phone. When I delete a v…

---

## [Storing a value in text format\_ using local pc as database](https://discourse.nodered.org/t/storing-a-value-in-text-format-using-local-pc-as-database/78777)

<div class="topic-metadata">

**Author:** [@colin0031](https://discourse.nodered.org/u/colin0031)\
**Replies:** 17\
**Last updated:** [31 May 2023 16:14 UTC](https://discourse.nodered.org/t/storing-a-value-in-text-format-using-local-pc-as-database/78777 "2023-05-31T16:14:37Z")

</div>

Hello, I am creating a graph and want to store value for long period of time and for that I want to store the value in a database- doesn't want to loose it even if the PC got turned off which will most likely happen. S…

---

## [Installation of nodes in offline mode is sometimes taking longer time and sometimes it is installing quickly](https://discourse.nodered.org/t/installation-of-nodes-in-offline-mode-is-sometimes-taking-longer-time-and-sometimes-it-is-installing-quickly/78840)

<div class="topic-metadata">

**Author:** [@jayashree](https://discourse.nodered.org/u/jayashree)\
**Replies:** 4\
**Last updated:** [31 May 2023 14:04 UTC](https://discourse.nodered.org/t/installation-of-nodes-in-offline-mode-is-sometimes-taking-longer-time-and-sometimes-it-is-installing-quickly/78840 "2023-05-31T14:04:30Z")

</div>

i tried to install nodes without internet but installation of nodes taking longer time(more that 20 min), some time nodes are not installing. what may be the issue and how we can fix this issue. (how we can install nodes…

---

## [Upgrade node-red framework from 1.x to 4.x to my project](https://discourse.nodered.org/t/upgrade-node-red-framework-from-1-x-to-4-x-to-my-project/78814)

<div class="topic-metadata">

**Author:** [@chiche](https://discourse.nodered.org/u/chiche)\
**Replies:** 4\
**Last updated:** [31 May 2023 14:00 UTC](https://discourse.nodered.org/t/upgrade-node-red-framework-from-1-x-to-4-x-to-my-project/78814 "2023-05-31T14:00:50Z")

</div>

I develop some custom module into node-red project from v1.x. Now I want upgrade node-red to 4.x, I don't want to merge my code to the new node-red framework because the change is big. Which upgrade method is best for me…

---

## [Flowforge plugin doesn't work](https://discourse.nodered.org/t/flowforge-plugin-doesnt-work/78739)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 9\
**Last updated:** [31 May 2023 13:54 UTC](https://discourse.nodered.org/t/flowforge-plugin-doesnt-work/78739 "2023-05-31T13:54:22Z")

</div>

Flowforge plugin doesn't work. I installed @flowforge/nr-tools-plugin and it can't find my FlowForge instance in the cloud. So I can make a snapshot. The server has internet access and is connected to the account perfe…

---

## [My first module, config does not update until NodeRED is restarted](https://discourse.nodered.org/t/my-first-module-config-does-not-update-until-nodered-is-restarted/78581)

<div class="topic-metadata">

**Author:** [@cmtickle](https://discourse.nodered.org/u/cmtickle)\
**Replies:** 11\
**Last updated:** [31 May 2023 11:00 UTC](https://discourse.nodered.org/t/my-first-module-config-does-not-update-until-nodered-is-restarted/78581 "2023-05-31T11:00:29Z")

</div>

Hi, I have used NodeRED for a number of years, but never needed to create my own custom node... until now. I'm on NodeRED 3.0.2 I have a 'name' property in the data-template and also a multi-select typedInput. I have …

---

## [Websocket with authentication](https://discourse.nodered.org/t/websocket-with-authentication/78567)

<div class="topic-metadata">

**Author:** [@pbr](https://discourse.nodered.org/u/pbr)\
**Replies:** 23\
**Last updated:** [31 May 2023 10:53 UTC](https://discourse.nodered.org/t/websocket-with-authentication/78567 "2023-05-31T10:53:09Z")

</div>

I am using the data service of an automated storage system. Historical data is provided with HTTP, while live data is sent via websocket. While accessing the historical data with an API key for authentication was straig…

---

## [HTTP Request against HTTP Server not working](https://discourse.nodered.org/t/http-request-against-http-server-not-working/78811)

<div class="topic-metadata">

**Author:** [@Philipp83](https://discourse.nodered.org/u/Philipp83)\
**Replies:** 8\
**Last updated:** [31 May 2023 09:48 UTC](https://discourse.nodered.org/t/http-request-against-http-server-not-working/78811 "2023-05-31T09:48:24Z")

</div>

I didn't get the HTTP request node to make a simple get request with no authentication or anything special. The following flow makes a get call to "http://captive.apple.com/", a simple HTTP test site from Apple. I trie…

---

## [\[Announce\] node-red-contrib-ui-editor](https://discourse.nodered.org/t/announce-node-red-contrib-ui-editor/77784)

<div class="topic-metadata">

**Author:** [@nisiyama](https://discourse.nodered.org/u/nisiyama)\
**Replies:** 14\
**Last updated:** [31 May 2023 09:36 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-ui-editor/77784 "2023-05-31T09:36:14Z")

</div>

Hi, I have released a new Node-RED Dashboard UI widget node called ui\_editor. The ui\_editor is based on the block-style editor, Editor.js, and supports input and display of images, tables, lists, etc. It also support…

---

## [Dynamically set MQTT client ID](https://discourse.nodered.org/t/dynamically-set-mqtt-client-id/78825)

<div class="topic-metadata">

**Author:** [@davidz](https://discourse.nodered.org/u/davidz)\
**Replies:** 7\
**Last updated:** [31 May 2023 09:11 UTC](https://discourse.nodered.org/t/dynamically-set-mqtt-client-id/78825 "2023-05-31T09:11:01Z")

</div>

I know that the client ID can be set by environment variable, but it is inconvenient to do so. Each time user makes a change to the client ID, then Node-RED needs to restart. "Settings.js" file also needs to be adjusted. …

---

## [Accessing global variables in subflow?](https://discourse.nodered.org/t/accessing-global-variables-in-subflow/78812)

<div class="topic-metadata">

**Author:** [@nico25](https://discourse.nodered.org/u/nico25)\
**Replies:** 2\
**Last updated:** [31 May 2023 08:45 UTC](https://discourse.nodered.org/t/accessing-global-variables-in-subflow/78812 "2023-05-31T08:45:13Z")

</div>

After some research I found out, that you can access the parents flows variables in a subflow by using environmental variables in the subflow. Is that also possible for global variables? Background: I want to implement…

---

## [Any plans for node-red-node-twitter to use v2 Twitter API](https://discourse.nodered.org/t/any-plans-for-node-red-node-twitter-to-use-v2-twitter-api/78449)

<div class="topic-metadata">

**Author:** [@PdeJ](https://discourse.nodered.org/u/PdeJ)\
**Replies:** 8\
**Last updated:** [31 May 2023 07:21 UTC](https://discourse.nodered.org/t/any-plans-for-node-red-node-twitter-to-use-v2-twitter-api/78449 "2023-05-31T07:21:31Z")

</div>

Up until 28th April I used node-red-node-twitter extensively with the Twitter API v1.1 within my House Alarm system to provide notifications and in conjunction with IFTTT and location on my mobile to activate and deactiv…

---

## [Node-Red on MQTT Server like HiveMQ, Azure](https://discourse.nodered.org/t/node-red-on-mqtt-server-like-hivemq-azure/78834)

<div class="topic-metadata">

**Author:** [@mexcoindia](https://discourse.nodered.org/u/mexcoindia)\
**Replies:** 0\
**Last updated:** [31 May 2023 07:11 UTC](https://discourse.nodered.org/t/node-red-on-mqtt-server-like-hivemq-azure/78834 "2023-05-31T07:11:13Z")

</div>

We are developing an application for: To send WhatsApp message from Mobile to Topic on a MQTT Server like my account on HiveMQ or Azure. The MQTT Server will send message to a Device (Subscriber) The Device also will s…

---

## [Calculate energy usage](https://discourse.nodered.org/t/calculate-energy-usage/78827)

<div class="topic-metadata">

**Author:** [@Espene](https://discourse.nodered.org/u/Espene)\
**Replies:** 1\
**Last updated:** [30 May 2023 23:19 UTC](https://discourse.nodered.org/t/calculate-energy-usage/78827 "2023-05-30T23:19:52Z")

</div>

Hi I have solar panels who generate more power than I use. I have a node who gives me the value of produced power from solar panels, and a node who gives me the value of exported power to the grid. I want to calculate …

---

## [Flowforge device online or offline?](https://discourse.nodered.org/t/flowforge-device-online-or-offline/78766)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 5\
**Last updated:** [30 May 2023 22:35 UTC](https://discourse.nodered.org/t/flowforge-device-online-or-offline/78766 "2023-05-30T22:35:27Z")

</div>

I would like to clarify a doubt with the Flow Forge team. About 4 months ago I had the experience of using flowforge and applying a snapshot to a device. But I noticed that the flowforge agent doesn't work if the server…

---

## [Flowforge device omit node red code?](https://discourse.nodered.org/t/flowforge-device-omit-node-red-code/78767)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 1\
**Last updated:** [30 May 2023 21:48 UTC](https://discourse.nodered.org/t/flowforge-device-omit-node-red-code/78767 "2023-05-30T21:48:41Z")

</div>

I would like to know if the flowforge agent omits the node-red code. I'll explain the situation: I have a system developed in NODE-RED, this system will run on remote servers. But I would like the IT team to have acces…

---

## [Node-RED in a docker container doesn't seem to be able to execute some programs with the exec node](https://discourse.nodered.org/t/node-red-in-a-docker-container-doesnt-seem-to-be-able-to-execute-some-programs-with-the-exec-node/78826)

<div class="topic-metadata">

**Author:** [@RayMN](https://discourse.nodered.org/u/RayMN)\
**Replies:** 3\
**Last updated:** [30 May 2023 19:25 UTC](https://discourse.nodered.org/t/node-red-in-a-docker-container-doesnt-seem-to-be-able-to-execute-some-programs-with-the-exec-node/78826 "2023-05-30T19:25:33Z")

</div>

I'm running Node-RED in a docker container with a local Linux username "node-red" with a UID/GID=1000 (to match what is in the docker container) Here is the yaml file that start and runs Node-RED and MariaDB (not used y…

---

## [Graph in UIBuilder](https://discourse.nodered.org/t/graph-in-uibuilder/78800)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 2\
**Last updated:** [30 May 2023 18:37 UTC](https://discourse.nodered.org/t/graph-in-uibuilder/78800 "2023-05-30T18:37:13Z")

</div>

I'm starting now in UIBUILDER and I would like to say that I loved the concept of NODE, congratulations to the creator. But I need help because I'm starting now. I want to get the data that comes from a database in jso…

---

## [When the connection status variable of node S7 is false, I want to send the values to 0 of all the variables that it has configured](https://discourse.nodered.org/t/when-the-connection-status-variable-of-node-s7-is-false-i-want-to-send-the-values-to-0-of-all-the-variables-that-it-has-configured/78820)

<div class="topic-metadata">

**Author:** [@TadeoRodriguez](https://discourse.nodered.org/u/TadeoRodriguez)\
**Replies:** 1\
**Last updated:** [30 May 2023 16:42 UTC](https://discourse.nodered.org/t/when-the-connection-status-variable-of-node-s7-is-false-i-want-to-send-the-values-to-0-of-all-the-variables-that-it-has-configured/78820 "2023-05-30T16:42:49Z")

</div>

Hello everybody! I am needing that when the connection state of the S7 node is offline (attachment 1) I want to send the values to -1 to some specific variables that I have created inside the node. This is because we n…

---

## [How to remember a state from one flow to another?](https://discourse.nodered.org/t/how-to-remember-a-state-from-one-flow-to-another/78819)

<div class="topic-metadata">

**Author:** [@AndKe](https://discourse.nodered.org/u/AndKe)\
**Replies:** 2\
**Last updated:** [30 May 2023 16:12 UTC](https://discourse.nodered.org/t/how-to-remember-a-state-from-one-flow-to-another/78819 "2023-05-30T16:12:41Z")

</div>

in one flow, I receive the status of garage doors like: Then , in another flow, I recieve a telegram command: how can I respond to that telegram command based on the last state of the door? Do I store the lat do…

---

## [Moment-timezone - 0.5.34 vulnerability](https://discourse.nodered.org/t/moment-timezone-0-5-34-vulnerability/78455)

<div class="topic-metadata">

**Author:** [@adang-ibm](https://discourse.nodered.org/u/adang-ibm)\
**Replies:** 4\
**Last updated:** [30 May 2023 14:25 UTC](https://discourse.nodered.org/t/moment-timezone-0-5-34-vulnerability/78455 "2023-05-30T14:25:58Z")

</div>

Hi, I hope I am at the right place to raise this item. I'm running Node-Red V3.0.2 and our vulnerability scan has detected a critical vulnerability for moment-timezone - 0.5.34. Is there any plan to upgrade to version…

---

## [JSON Node unexpected token](https://discourse.nodered.org/t/json-node-unexpected-token/78806)

<div class="topic-metadata">

**Author:** [@nico25](https://discourse.nodered.org/u/nico25)\
**Replies:** 3\
**Last updated:** [30 May 2023 13:36 UTC](https://discourse.nodered.org/t/json-node-unexpected-token/78806 "2023-05-30T13:36:51Z")

</div>

Hi all, I wrote a little program which sends a timestamp and Lifebit to Nodered via TCP. Most of the time it works fine, but sometimes the JSON-node throws an error: Sample Buffer: \[123,13,10,32,32,34,85,104,114,1…

---

## [If I close nodered webpage, it stopped saving data](https://discourse.nodered.org/t/if-i-close-nodered-webpage-it-stopped-saving-data/78804)

<div class="topic-metadata">

**Author:** [@Vibemac](https://discourse.nodered.org/u/Vibemac)\
**Replies:** 1\
**Last updated:** [30 May 2023 11:18 UTC](https://discourse.nodered.org/t/if-i-close-nodered-webpage-it-stopped-saving-data/78804 "2023-05-30T11:18:08Z")

</div>

Goodmorning, I've started using nodered for some months and I have a problem with saving data. I'm using nodered version 1.3.5 with nodered installed on a Beaglebone black. In my project I use a serial node for asking …

---

## [Node-red-node-wol Class A IP-Adress](https://discourse.nodered.org/t/node-red-node-wol-class-a-ip-adress/78809)

<div class="topic-metadata">

**Author:** [@Tisonus](https://discourse.nodered.org/u/Tisonus)\
**Replies:** 1\
**Last updated:** [30 May 2023 10:38 UTC](https://discourse.nodered.org/t/node-red-node-wol-class-a-ip-adress/78809 "2023-05-30T10:38:49Z")

</div>

Hello, I successfully used the module node-red-node-wol to wake up a PC in a class C network with the IP 192.168.55.156 and the following setup IP: 192.168.55.255 Now the network changed to class A and the adress 10.55…

---

## [Frozen HTTP nodes and how to debug it?](https://discourse.nodered.org/t/frozen-http-nodes-and-how-to-debug-it/78689)

<div class="topic-metadata">

**Author:** [@Morten](https://discourse.nodered.org/u/Morten)\
**Replies:** 12\
**Last updated:** [30 May 2023 08:31 UTC](https://discourse.nodered.org/t/frozen-http-nodes-and-how-to-debug-it/78689 "2023-05-30T08:31:51Z")

</div>

Hello, im running into issues where the nodered http in node freezes. I have variables saved in nodered, which are then requested through a http in set to get. This will then return the requested data. Easy, smooth, c…

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

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