# Latest

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

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

**Page:** 722

---

## [Macros.... multiple nodes.... as opposed to SUBFLOWS](https://discourse.nodered.org/t/macros-multiple-nodes-as-opposed-to-subflows/51858)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [5 October 2021 08:57 UTC](https://discourse.nodered.org/t/macros-multiple-nodes-as-opposed-to-subflows/51858 "2021-10-05T08:57:59Z")

</div>

Oh, I am so happy I started to use SUBFLOWs rather than discreet nodes. The pain that I was having before them was just unbelievable. (Well, maybe not. but...) The latest thing to bite me is like a Macro. Maybe GROU…

---

## [Uibuilder - load data after a webpage has loaded](https://discourse.nodered.org/t/uibuilder-load-data-after-a-webpage-has-loaded/51804)

<div class="topic-metadata">

**Author:** [@GeeBee2021](https://discourse.nodered.org/u/GeeBee2021)\
**Replies:** 8\
**Last updated:** [5 October 2021 08:51 UTC](https://discourse.nodered.org/t/uibuilder-load-data-after-a-webpage-has-loaded/51804 "2021-10-05T08:51:15Z")

</div>

I am probably aiming higher than I can reach, but as they say, go big, or go home. I am writing a Burglar Alarm system, yes another one, but of course mine will be better than all the others :-). I am fine doing the no…

---

## [How to create two application node-red in one computer](https://discourse.nodered.org/t/how-to-create-two-application-node-red-in-one-computer/51875)

<div class="topic-metadata">

**Author:** [@aymenAutomation](https://discourse.nodered.org/u/aymenAutomation)\
**Replies:** 1\
**Last updated:** [5 October 2021 08:42 UTC](https://discourse.nodered.org/t/how-to-create-two-application-node-red-in-one-computer/51875 "2021-10-05T08:42:28Z")

</div>

Hi , i wan't to create two applications node-red in my PC for two different users , How i can do that in details please ! Thank's

---

## [\[ANNOUNCE\] node-red-contrib-sony-audio 1.9](https://discourse.nodered.org/t/announce-node-red-contrib-sony-audio-1-9/51848)

<div class="topic-metadata">

**Author:** [@jens\_rossbach](https://discourse.nodered.org/u/jens_rossbach)\
**Replies:** 1\
**Last updated:** [5 October 2021 08:42 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-sony-audio-1-9/51848 "2021-10-05T08:42:05Z")

</div>

Today I released version 1.9 of the node-red-contrib-sony-audio node collection. Summary of new features: Topic support Custom JSONata based filters Improved connection handling For further information, see announcem…

---

## [UI\_Builder - Rendering Data to Table](https://discourse.nodered.org/t/ui-builder-rendering-data-to-table/51817)

<div class="topic-metadata">

**Author:** [@TheadehAnank](https://discourse.nodered.org/u/TheadehAnank)\
**Replies:** 10\
**Last updated:** [5 October 2021 08:37 UTC](https://discourse.nodered.org/t/ui-builder-rendering-data-to-table/51817 "2021-10-05T08:37:50Z")

</div>

Trying to figure-out UI Builder, but the following isn't merging the payload. Instead, page is displaying the literal "{{ item.id}}" etc. Same payload will render in the Dashboard Table. Don't assume I know anything ms…

---

## [User Variable Timer](https://discourse.nodered.org/t/user-variable-timer/51806)

<div class="topic-metadata">

**Author:** [@sudomac](https://discourse.nodered.org/u/sudomac)\
**Replies:** 7\
**Last updated:** [5 October 2021 08:12 UTC](https://discourse.nodered.org/t/user-variable-timer/51806 "2021-10-05T08:12:19Z")

</div>

I am looking for some help with a user variable timer. (Application): I am building a drink maker using dosing pumps. The time the pump need to run depends on the drink that is being made and the calibration value of the…

---

## [Save money on variable power prices with PowerSaver node](https://discourse.nodered.org/t/save-money-on-variable-power-prices-with-powersaver-node/51856)

<div class="topic-metadata">

**Author:** [@ottopaulsen](https://discourse.nodered.org/u/ottopaulsen)\
**Replies:** 5\
**Last updated:** [5 October 2021 05:56 UTC](https://discourse.nodered.org/t/save-money-on-variable-power-prices-with-powersaver-node/51856 "2021-10-05T05:56:36Z")

</div>

I have just created this PowerSaver node that you can use to save money when power prices vary per hour.

---

## [Audio file playback and stopping playback](https://discourse.nodered.org/t/audio-file-playback-and-stopping-playback/8692)

<div class="topic-metadata">

**Author:** [@sanderl](https://discourse.nodered.org/u/sanderl)\
**Replies:** 16\
**Last updated:** [7 March 2019 11:27 UTC](https://discourse.nodered.org/t/audio-file-playback-and-stopping-playback/8692 "2019-03-07T11:27:30Z")

</div>

Hello all, I am very new to Node-red. So I am hoping I am just missing something obvious. I have a Raspberry Pi3 running Node-red 0.19.6, node.js 10.15.1 I am trying to play a local sound file (.Wav) on the mini-jack …

---

## [If statement within a for loop](https://discourse.nodered.org/t/if-statement-within-a-for-loop/51859)

<div class="topic-metadata">

**Author:** [@fogmajor](https://discourse.nodered.org/u/fogmajor)\
**Replies:** 10\
**Last updated:** [5 October 2021 00:20 UTC](https://discourse.nodered.org/t/if-statement-within-a-for-loop/51859 "2021-10-05T00:20:43Z")

</div>

Good Evening I wondered if someone could assist me please I have a node-red function that extracts 5 values from a text file as listed below var lounge = some value var kitchen = some value var hallway = some value …

---

## [TypeError: Cannot read property 'push' of undefined](https://discourse.nodered.org/t/typeerror-cannot-read-property-push-of-undefined/51849)

<div class="topic-metadata">

**Author:** [@abdosml](https://discourse.nodered.org/u/abdosml)\
**Replies:** 6\
**Last updated:** [5 October 2021 00:10 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-push-of-undefined/51849 "2021-10-05T00:10:50Z")

</div>

i had this error msg "TypeError: Cannot read property 'push' of undefined" i use a serial in to use it with a dropdown but nothings works good iwas blocked with this erorr exemple of datat: {"payload":"CE3PRO~4.GCO…

---

## [Would such a node exist? Max/Ave/Min](https://discourse.nodered.org/t/would-such-a-node-exist-max-ave-min/51840)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [4 October 2021 21:06 UTC](https://discourse.nodered.org/t/would-such-a-node-exist-max-ave-min/51840 "2021-10-04T21:06:39Z")

</div>

It wouldn't be rocket science, but I don't want to reinvent the wheel if I can avoid it. You are receiving a series of messages (values). The node "splits" the values to 3 outputs: Maximum value received. Average val…

---

## [Weird chart happenings](https://discourse.nodered.org/t/weird-chart-happenings/51764)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 12\
**Last updated:** [4 October 2021 22:13 UTC](https://discourse.nodered.org/t/weird-chart-happenings/51764 "2021-10-04T22:13:40Z")

</div>

Ok, not good, but: NR 1.2.6 Dashboard 2.26.2 RasPiZ(W) This is the desired output. This is taken from my real machine. NUC, Ubuntu and a lot of memory. I power it (this machine) up and load the page with said …

---

## [Using markdown directly to document the nodes](https://discourse.nodered.org/t/using-markdown-directly-to-document-the-nodes/49592)

<div class="topic-metadata">

**Author:** [@mannharleen](https://discourse.nodered.org/u/mannharleen)\
**Replies:** 18\
**Last updated:** [4 October 2021 22:12 UTC](https://discourse.nodered.org/t/using-markdown-directly-to-document-the-nodes/49592 "2021-10-04T22:12:03Z")

</div>

Issue: I find using the help style guide (Node help style guide : Node-RED) cumbersome. It takes time to document about the node using html tags. Ask: Since the documentation is converted into markdown anyway, is there …

---

## [Reading GPIOs issue](https://discourse.nodered.org/t/reading-gpios-issue/51759)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 15\
**Last updated:** [4 October 2021 21:54 UTC](https://discourse.nodered.org/t/reading-gpios-issue/51759 "2021-10-04T21:54:53Z")

</div>

Hello again, Still crawling the learning curve so pls, bear with me. I'm reading 5 GPIOs lines and displaying them as LEDs. However, only one of them responds to the changes. I run a python loop to physically check t…

---

## [Detecting global/flow object change](https://discourse.nodered.org/t/detecting-global-flow-object-change/51499)

<div class="topic-metadata">

**Author:** [@pautorras](https://discourse.nodered.org/u/pautorras)\
**Replies:** 11\
**Last updated:** [4 October 2021 20:47 UTC](https://discourse.nodered.org/t/detecting-global-flow-object-change/51499 "2021-10-04T20:47:27Z")

</div>

Hi all folks! I'm trying to detect a change of value in self created object. This object contains presence info from the diferent domo devices in home (Fibaro FGMS-001) via zwave. I set the PRES object global every 1s…

---

## [Any app that shows Dashboard on fullscreen?](https://discourse.nodered.org/t/any-app-that-shows-dashboard-on-fullscreen/51825)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 5\
**Last updated:** [4 October 2021 20:23 UTC](https://discourse.nodered.org/t/any-app-that-shows-dashboard-on-fullscreen/51825 "2021-10-04T20:23:38Z")

</div>

Hi, maybe you have a quicker idea than me, my goal is to show the dashboard fullscreen on an Android tablet and maybe keep the screen always on . If I use a typical browser I can't hide the top bar, any ideas? I've tried…

---

## [Trying to gather global vars into a single object once daily](https://discourse.nodered.org/t/trying-to-gather-global-vars-into-a-single-object-once-daily/51855)

<div class="topic-metadata">

**Author:** [@HeneryH](https://discourse.nodered.org/u/HeneryH)\
**Replies:** 1\
**Last updated:** [4 October 2021 19:04 UTC](https://discourse.nodered.org/t/trying-to-gather-global-vars-into-a-single-object-once-daily/51855 "2021-10-04T19:04:13Z")

</div>

Hi folks. I have a flow that is monitoring a series of IoT things and sending SMS alerts just fine. I am trying to do something that seems simple enough. Create a daily SMS that gathers designated saved global variabl…

---

## [Bar Chart 2 decimals](https://discourse.nodered.org/t/bar-chart-2-decimals/51843)

<div class="topic-metadata">

**Author:** [@Mrous](https://discourse.nodered.org/u/Mrous)\
**Replies:** 2\
**Last updated:** [4 October 2021 16:15 UTC](https://discourse.nodered.org/t/bar-chart-2-decimals/51843 "2021-10-04T16:15:56Z")

</div>

Hi, I made a bar chart with this data. And I would like to have the value CUMULWATT with only 2 decimals. Here is my code, but it doesn't work .. Edit Function Node var m = {}; m.labels = ; m.data = ; m.series = \[…

---

## [Break flow after http request error](https://discourse.nodered.org/t/break-flow-after-http-request-error/51833)

<div class="topic-metadata">

**Author:** [@loukaspe](https://discourse.nodered.org/u/loukaspe)\
**Replies:** 6\
**Last updated:** [4 October 2021 16:03 UTC](https://discourse.nodered.org/t/break-flow-after-http-request-error/51833 "2021-10-04T16:03:32Z")

</div>

I have a simple flow (code and sceenshot provided): an HTTP Input an HTTP request (for which I want to handle errors) an HTTP Response (status 200) an Catch node along with an HTTP Response (status 500). What I've not…

---

## [I2C node explanation for mcp4725](https://discourse.nodered.org/t/i2c-node-explanation-for-mcp4725/51646)

<div class="topic-metadata">

**Author:** [@mkh12345](https://discourse.nodered.org/u/mkh12345)\
**Replies:** 8\
**Last updated:** [4 October 2021 15:26 UTC](https://discourse.nodered.org/t/i2c-node-explanation-for-mcp4725/51646 "2021-10-04T15:26:47Z")

</div>

Good day I am a new to node red, and programming all together. I have not done programming in well over 12 years. The last programming I have done was PIC and arduino. I have attempted to utilise the node-red-contrib-i2…

---

## [Does ui-template script have access to context?](https://discourse.nodered.org/t/does-ui-template-script-have-access-to-context/50994)

<div class="topic-metadata">

**Author:** [@chris.willing](https://discourse.nodered.org/u/chris.willing)\
**Replies:** 4\
**Last updated:** [4 October 2021 12:23 UTC](https://discourse.nodered.org/t/does-ui-template-script-have-access-to-context/50994 "2021-10-04T12:23:07Z")

</div>

I have a ui-template node in which I'd like to access some data using flow.get() from within script tags. Should that be possible? I have a very simplified flow to test that with just a plain varaiable but it doesn't wor…

---

## [Showing visual node diff when git repo is not at Project level](https://discourse.nodered.org/t/showing-visual-node-diff-when-git-repo-is-not-at-project-level/7228)

<div class="topic-metadata">

**Author:** [@danielcompton](https://discourse.nodered.org/u/danielcompton)\
**Replies:** 7\
**Last updated:** [4 October 2021 12:16 UTC](https://discourse.nodered.org/t/showing-visual-node-diff-when-git-repo-is-not-at-project-level/7228 "2021-10-04T12:16:34Z")

</div>

We have one Git repository which contains a number of folders, one for each service. One of these folders is for Node-RED. The Projects feature is very useful, especially the node diffs that show the changes to a Flow a…

---

## [Feature request: start flow despite unregistered nodes if they are disabled](https://discourse.nodered.org/t/feature-request-start-flow-despite-unregistered-nodes-if-they-are-disabled/51831)

<div class="topic-metadata">

**Author:** [@heleon19](https://discourse.nodered.org/u/heleon19)\
**Replies:** 0\
**Last updated:** [4 October 2021 11:44 UTC](https://discourse.nodered.org/t/feature-request-start-flow-despite-unregistered-nodes-if-they-are-disabled/51831 "2021-10-04T11:44:50Z")

</div>

If a node type is not present in a flow, the entire flow will not start. This restriction is quite reasonable, but sometimes tedious when switching between different projects. My suggestion: If a node is deactivated, o…

---

## [Reset counter - function flow](https://discourse.nodered.org/t/reset-counter-function-flow/51609)

<div class="topic-metadata">

**Author:** [@cysoz](https://discourse.nodered.org/u/cysoz)\
**Replies:** 5\
**Last updated:** [4 October 2021 08:42 UTC](https://discourse.nodered.org/t/reset-counter-function-flow/51609 "2021-10-04T08:42:42Z")

</div>

I have project, but when I do deployed counter reset to 0, but timer switch not reset. I would like when I do deployed value counter not change timer switch reset counter per times \[{"id":"7f5ecbe2.d53fe4","type":"com…

---

## [Parsing a JSON file](https://discourse.nodered.org/t/parsing-a-json-file/51824)

<div class="topic-metadata">

**Author:** [@mathgoy](https://discourse.nodered.org/u/mathgoy)\
**Replies:** 2\
**Last updated:** [4 October 2021 08:29 UTC](https://discourse.nodered.org/t/parsing-a-json-file/51824 "2021-10-04T08:29:22Z")

</div>

Gents, I am getting the JSON below from my boiler and zould like to extract the L\_statetext value. { "pe1":{ "L\_temp\_act":"681", "L\_temp\_set":"700", "L\_ext\_temp":"-32768", "L\_frt\_temp\_act":"8…

---

## [Function execution time](https://discourse.nodered.org/t/function-execution-time/51819)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 6\
**Last updated:** [4 October 2021 08:27 UTC](https://discourse.nodered.org/t/function-execution-time/51819 "2021-10-04T08:27:52Z")

</div>

Hi, at start of my home automation project, I read a text file to load the default values of my system. These are 80 and more variables that I update, are subdivided into groups and I have a delay node before each gro…

---

## [Button text not visible on first load](https://discourse.nodered.org/t/button-text-not-visible-on-first-load/51743)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 30\
**Last updated:** [4 October 2021 08:14 UTC](https://discourse.nodered.org/t/button-text-not-visible-on-first-load/51743 "2021-10-04T08:14:32Z")

</div>

Hi, I'd appreciate some guidance on this issue. I've a button which, for some reasons, doesn't show its text when loading for the first time the page. The text comes up once actioned the button and stays on. How do I …

---

## [Get cookies in server](https://discourse.nodered.org/t/get-cookies-in-server/51822)

<div class="topic-metadata">

**Author:** [@jaap](https://discourse.nodered.org/u/jaap)\
**Replies:** 2\
**Last updated:** [4 October 2021 08:13 UTC](https://discourse.nodered.org/t/get-cookies-in-server/51822 "2021-10-04T08:13:46Z")

</div>

Hi. I'm struggling with cookies. I can set and read it back with the UI template Node. But this is running in the browser. Is it possible to get the cookie in a server node for example in a function node or template node…

---

## [How can I access global context in tests?](https://discourse.nodered.org/t/how-can-i-access-global-context-in-tests/51820)

<div class="topic-metadata">

**Author:** [@Roman](https://discourse.nodered.org/u/Roman)\
**Replies:** 2\
**Last updated:** [4 October 2021 08:06 UTC](https://discourse.nodered.org/t/how-can-i-access-global-context-in-tests/51820 "2021-10-04T08:06:32Z")

</div>

I'm using node-red-node-test-helper for tests of my nodes. During work nodes change global context and I should text this changes. Here is my code: let n1 = helper.getNode("n1"); n1.on('input', function(msg){ let gc…

---

## [Transform array in Function](https://discourse.nodered.org/t/transform-array-in-function/51809)

<div class="topic-metadata">

**Author:** [@rploeg](https://discourse.nodered.org/u/rploeg)\
**Replies:** 10\
**Last updated:** [4 October 2021 06:36 UTC](https://discourse.nodered.org/t/transform-array-in-function/51809 "2021-10-04T06:36:34Z")

</div>

Hello, I am trying to convert an array to send the item as a number to an API. I get the data from a Modbus connector and receive it this way: I have tried several functions to get the data point (509) and send it as…

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

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