# Latest

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

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

**Page:** 620

---

## [Init Global array and flush it](https://discourse.nodered.org/t/init-global-array-and-flush-it/59078)

<div class="topic-metadata">

**Author:** [@thierry-rhone](https://discourse.nodered.org/u/thierry-rhone)\
**Replies:** 2\
**Last updated:** [27 February 2022 21:15 UTC](https://discourse.nodered.org/t/init-global-array-and-flush-it/59078 "2022-02-27T21:15:07Z")

</div>

Hi, I'm searching how create a global empty array with name 'sources' afterward I will fill it to have a array such as this one sources 0 : "Name": "thierry" "Num": 3 1 : "Name": "search" "Num": 1 2 : "Name": …

---

## [Keep state of sensor](https://discourse.nodered.org/t/keep-state-of-sensor/59074)

<div class="topic-metadata">

**Author:** [@Chura](https://discourse.nodered.org/u/Chura)\
**Replies:** 1\
**Last updated:** [27 February 2022 18:48 UTC](https://discourse.nodered.org/t/keep-state-of-sensor/59074 "2022-02-27T18:48:45Z")

</div>

Hi I have a contact sensor, that tell me if something stop the rollercoaster from shutting down. I want to add, that send the command on the right, only if other sensor is closed However, That other sensor report t…

---

## [Tutorial - align multiple multistate switches](https://discourse.nodered.org/t/tutorial-align-multiple-multistate-switches/59054)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 3\
**Last updated:** [27 February 2022 18:20 UTC](https://discourse.nodered.org/t/tutorial-align-multiple-multistate-switches/59054 "2022-02-27T18:20:10Z")

</div>

Hi folks, Used my multistate switch node yesterday for the first time myself, and appeared that all my switches were incorrectly aligned due to labels of different length. Then I suddenly remembered that our CSS magici…

---

## [Modal popup use more than once](https://discourse.nodered.org/t/modal-popup-use-more-than-once/59024)

<div class="topic-metadata">

**Author:** [@goony](https://discourse.nodered.org/u/goony)\
**Replies:** 2\
**Last updated:** [27 February 2022 17:38 UTC](https://discourse.nodered.org/t/modal-popup-use-more-than-once/59024 "2022-02-27T17:38:31Z")

</div>

I need help once more. I need 2 buttons in one tab. both buttons should popup a modalwindow with, let's say, 3 sub-buttons. These sub-buttons are different for both buttons. Each sub-button sends some data and closes…

---

## [Object to string issue](https://discourse.nodered.org/t/object-to-string-issue/59064)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 10\
**Last updated:** [27 February 2022 16:48 UTC](https://discourse.nodered.org/t/object-to-string-issue/59064 "2022-02-27T16:48:43Z")

</div>

I need to change an object to string but I am not getting out the desired output. My object is like this: I am using a function to stringify the object and strip out/replace the unwonted chars. For some reason I am n…

---

## [Looking for reference of dashboard elements](https://discourse.nodered.org/t/looking-for-reference-of-dashboard-elements/59062)

<div class="topic-metadata">

**Author:** [@bs-eng](https://discourse.nodered.org/u/bs-eng)\
**Replies:** 4\
**Last updated:** [27 February 2022 14:34 UTC](https://discourse.nodered.org/t/looking-for-reference-of-dashboard-elements/59062 "2022-02-27T14:34:23Z")

</div>

Hi there! In order to adjust the dashboard to my needs I am looking for a sort of node-red/dashboard reference that lists the available elements. What I mean are things like a docu on items like "nr-dashboard-warning" w…

---

## [Alarm Clock Home Assistant Esp8266](https://discourse.nodered.org/t/alarm-clock-home-assistant-esp8266/59049)

<div class="topic-metadata">

**Author:** [@Techttv](https://discourse.nodered.org/u/Techttv)\
**Replies:** 2\
**Last updated:** [27 February 2022 12:42 UTC](https://discourse.nodered.org/t/alarm-clock-home-assistant-esp8266/59049 "2022-02-27T12:42:12Z")

</div>

Hi, I know this is a big project but I want to try. I'd like to do a panel on Home Assistant to set an alarm clock. When it's time nodered send a command to my esp8266 which ring and print on the LCD the name of the alar…

---

## [How to build a button flow that has 3 functions 🤧](https://discourse.nodered.org/t/how-to-build-a-button-flow-that-has-3-functions/59022)

<div class="topic-metadata">

**Author:** [@noobmaster](https://discourse.nodered.org/u/noobmaster)\
**Replies:** 6\
**Last updated:** [27 February 2022 09:24 UTC](https://discourse.nodered.org/t/how-to-build-a-button-flow-that-has-3-functions/59022 "2022-02-27T09:24:47Z")

</div>

i need a flow to: 1-start counting 2-stop counting 3- reset counting all using just a one button thx in advance :slightly\_smiling\_face:

---

## [Node-red-dashboard : ui\_slider bug?](https://discourse.nodered.org/t/node-red-dashboard-ui-slider-bug/58623)

<div class="topic-metadata">

**Author:** [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Replies:** 3\
**Last updated:** [27 February 2022 09:11 UTC](https://discourse.nodered.org/t/node-red-dashboard-ui-slider-bug/58623 "2022-02-27T09:11:06Z")

</div>

With a ui\_slider node connected to a debug node and set to: It seems to be sending an output before release (while dragging, or at first click), is this expected behavior?

---

## [Offline Custom Icons](https://discourse.nodered.org/t/offline-custom-icons/58999)

<div class="topic-metadata">

**Author:** [@sconey](https://discourse.nodered.org/u/sconey)\
**Replies:** 3\
**Last updated:** [27 February 2022 05:53 UTC](https://discourse.nodered.org/t/offline-custom-icons/58999 "2022-02-27T05:53:04Z")

</div>

I would like to use an icon for a button that is not available in the awesome, weather or material design fonts. And although I was successful using iconify, this is only available while on-line, which does work as I nee…

---

## [Status node not seeming to work](https://discourse.nodered.org/t/status-node-not-seeming-to-work/59040)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [27 February 2022 00:18 UTC](https://discourse.nodered.org/t/status-node-not-seeming-to-work/59040 "2022-02-27T00:18:08Z")

</div>

I just posed - and redacted - a post on it. Yeah, I made a mistake. But fixing the mistake didn't fix the problem. Ok, to state what I think/know. the status node gets the status of all/some nodes and spits that out…

---

## [Custom Authentication/storing own token](https://discourse.nodered.org/t/custom-authentication-storing-own-token/59006)

<div class="topic-metadata">

**Author:** [@ArFe](https://discourse.nodered.org/u/ArFe)\
**Replies:** 6\
**Last updated:** [26 February 2022 23:33 UTC](https://discourse.nodered.org/t/custom-authentication-storing-own-token/59006 "2022-02-26T23:33:53Z")

</div>

Hello, I have the same needs of this person: We have two different UIs. One for the entire system and Node-RED. Basically, the idea is to delegate the authentication entirely to an external API (same that works for t…

---

## [Unexpected Switch behavior (datatype?)](https://discourse.nodered.org/t/unexpected-switch-behavior-datatype/59030)

<div class="topic-metadata">

**Author:** [@hw-monkey](https://discourse.nodered.org/u/hw-monkey)\
**Replies:** 11\
**Last updated:** [26 February 2022 22:56 UTC](https://discourse.nodered.org/t/unexpected-switch-behavior-datatype/59030 "2022-02-26T22:56:52Z")

</div>

I am a novice with Node Red. I have a Midea HVAC that cannot keep its tempterature within a decent range. Since I have been troubleshooting this Flow for sometime, I have taken parts of the msg payload and inputs and pu…

---

## [API Error when sending notifcation to phone- call service](https://discourse.nodered.org/t/api-error-when-sending-notifcation-to-phone-call-service/59028)

<div class="topic-metadata">

**Author:** [@Anto79-ops](https://discourse.nodered.org/u/Anto79-ops)\
**Replies:** 8\
**Last updated:** [26 February 2022 21:51 UTC](https://discourse.nodered.org/t/api-error-when-sending-notifcation-to-phone-call-service/59028 "2022-02-26T21:51:31Z")

</div>

Hi! I have a notification system that notifies me via google assistant speakers when particulate matter (PM) is above a certain threshold. Works well sending the notification to my speakers BUT I als would like for it t…

---

## [Recent change to Link Call node?](https://discourse.nodered.org/t/recent-change-to-link-call-node/59031)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 3\
**Last updated:** [26 February 2022 21:47 UTC](https://discourse.nodered.org/t/recent-change-to-link-call-node/59031 "2022-02-26T21:47:50Z")

</div>

I had been using Link Call nodes for a few months, but the other day I found they had stopped working. I looked into it and the debug window says "Missing return node information", but I haven't changed the flow itself. …

---

## [What does context.total mean?](https://discourse.nodered.org/t/what-does-context-total-mean/58997)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 5\
**Last updated:** [26 February 2022 21:47 UTC](https://discourse.nodered.org/t/what-does-context-total-mean/58997 "2022-02-26T21:47:19Z")

</div>

In this simple flow, context.total holds a running total of msg.payload, yet there is no context.get or context.set. The debug panel Context Data shows empty for the Function node and the Flow. So what exactly is conte…

---

## [Disable/enable wire](https://discourse.nodered.org/t/disable-enable-wire/59039)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 2\
**Last updated:** [26 February 2022 21:34 UTC](https://discourse.nodered.org/t/disable-enable-wire/59039 "2022-02-26T21:34:58Z")

</div>

It would be great if we could select a wire and disable it. Sometimes you want to test a different route without deleting the wires. Being able to disable them would be very useful.

---

## [Convert csv string to array](https://discourse.nodered.org/t/convert-csv-string-to-array/19088)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 9\
**Last updated:** [26 February 2022 20:52 UTC](https://discourse.nodered.org/t/convert-csv-string-to-array/19088 "2022-02-26T20:52:52Z")

</div>

I feel this should be possible using basic nodes but I'm failing to acheive a result I've got and rgb triple coming in via MQTT as a csv string e.g 255,255,0 but I need to change it to an array to feed the WS2801 node …

---

## [ZWave.js wont install on synology nas](https://discourse.nodered.org/t/zwave-js-wont-install-on-synology-nas/58960)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 7\
**Last updated:** [26 February 2022 19:40 UTC](https://discourse.nodered.org/t/zwave-js-wont-install-on-synology-nas/58960 "2022-02-26T19:40:02Z")

</div>

hi, i am trying to install ZWave.js on a synology nas box, Node red installed perfectly and runs properly and other nodes all loaded apart from ZWave.js which fails on serial port fault, i can show the fault log if any…

---

## [\[Automatic or Adaptive Dashboard screens \] \[PC Smartphone \]](https://discourse.nodered.org/t/automatic-or-adaptive-dashboard-screens-pc-smartphone/58625)

<div class="topic-metadata">

**Author:** [@JulesRosette](https://discourse.nodered.org/u/JulesRosette)\
**Replies:** 4\
**Last updated:** [26 February 2022 19:06 UTC](https://discourse.nodered.org/t/automatic-or-adaptive-dashboard-screens-pc-smartphone/58625 "2022-02-26T19:06:35Z")

</div>

I looked around all diferents topics and didn't found answers about... i created some dashboards for a 24' screen size and it works finelly thanks to NR. I would like to display them on a tablet scrren one. Unfortunat…

---

## [Join two strings in a SPECIFIC order after pressing ui\_button?](https://discourse.nodered.org/t/join-two-strings-in-a-specific-order-after-pressing-ui-button/59008)

<div class="topic-metadata">

**Author:** [@MandySteffen](https://discourse.nodered.org/u/MandySteffen)\
**Replies:** 10\
**Last updated:** [26 February 2022 18:34 UTC](https://discourse.nodered.org/t/join-two-strings-in-a-specific-order-after-pressing-ui-button/59008 "2022-02-26T18:34:25Z")

</div>

Hello, there! I'm new here and a bit lost, to be honest. In my Dashboard, I want the user to type in numbers in two separate fields, then press a button. After this button is pressed, I need to join the two strings orig…

---

## [Use websocket get data](https://discourse.nodered.org/t/use-websocket-get-data/59033)

<div class="topic-metadata">

**Author:** [@lvalue](https://discourse.nodered.org/u/lvalue)\
**Replies:** 1\
**Last updated:** [26 February 2022 18:27 UTC](https://discourse.nodered.org/t/use-websocket-get-data/59033 "2022-02-26T18:27:31Z")

</div>

Do you have any cases

---

## [Sum number error?](https://discourse.nodered.org/t/sum-number-error/59027)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 7\
**Last updated:** [26 February 2022 17:14 UTC](https://discourse.nodered.org/t/sum-number-error/59027 "2022-02-26T17:14:15Z")

</div>

This is my simple function ... var x = msg.payload; var temp = x.toFixed(1); var tempNumber = parseFloat(temp); var z = (tempNumber + 0.3); node.status(tempNumber + " - " + z); global.set("var\_temperaturaCamerina", z); …

---

## [Link in / out / call in appearance ability to set color](https://discourse.nodered.org/t/link-in-out-call-in-appearance-ability-to-set-color/58267)

<div class="topic-metadata">

**Author:** [@wshostak](https://discourse.nodered.org/u/wshostak)\
**Replies:** 18\
**Last updated:** [26 February 2022 16:58 UTC](https://discourse.nodered.org/t/link-in-out-call-in-appearance-ability-to-set-color/58267 "2022-02-26T16:58:02Z")

</div>

You can set the icon but setting the color too would make those nodes easier to follow without having to click the node.

---

## [Right way/better way: action if other entity inactive "recently"](https://discourse.nodered.org/t/right-way-better-way-action-if-other-entity-inactive-recently/59029)

<div class="topic-metadata">

**Author:** [@sblessley](https://discourse.nodered.org/u/sblessley)\
**Replies:** 1\
**Last updated:** [26 February 2022 16:57 UTC](https://discourse.nodered.org/t/right-way-better-way-action-if-other-entity-inactive-recently/59029 "2022-02-26T16:57:27Z")

</div>

Noob here. I have two sensors, a PIR sensor outdoors, and a door switch. I want to trigger a response if there is motion sensed but the door sensor hasn't been triggered just before. The use-case is somebody's left a pac…

---

## [Email node IDs and openwethermap API KEY disappears when copy flow.json](https://discourse.nodered.org/t/email-node-ids-and-openwethermap-api-key-disappears-when-copy-flow-json/58979)

<div class="topic-metadata">

**Author:** [@corso66](https://discourse.nodered.org/u/corso66)\
**Replies:** 4\
**Last updated:** [26 February 2022 16:41 UTC](https://discourse.nodered.org/t/email-node-ids-and-openwethermap-api-key-disappears-when-copy-flow-json/58979 "2022-02-26T16:41:12Z")

</div>

Hi, I'm using these node packages : "node-red-node-email": "~1.14.0", "node-red-node-openweathermap": "~0.5.1" When i work in multi-users, and i copy original flow in an userDir, i see that this tow no…

---

## [TCP Request Node Error not caught](https://discourse.nodered.org/t/tcp-request-node-error-not-caught/59021)

<div class="topic-metadata">

**Author:** [@mlschuh](https://discourse.nodered.org/u/mlschuh)\
**Replies:** 1\
**Last updated:** [26 February 2022 15:39 UTC](https://discourse.nodered.org/t/tcp-request-node-error-not-caught/59021 "2022-02-26T15:39:57Z")

</div>

Hello! I'm going to preface this with the fact that I'm running a rather old version, 1.0.3, for mostly political reasons. It's a production system that's been in place for many years and budget to update it, no matter …

---

## [Node-red-contrib-advanced-ftp Access rights problem?](https://discourse.nodered.org/t/node-red-contrib-advanced-ftp-access-rights-problem/58968)

<div class="topic-metadata">

**Author:** [@struland](https://discourse.nodered.org/u/struland)\
**Replies:** 5\
**Last updated:** [26 February 2022 14:53 UTC](https://discourse.nodered.org/t/node-red-contrib-advanced-ftp-access-rights-problem/58968 "2022-02-26T14:53:04Z")

</div>

Hello, In a node-contrib-advanced-ftp node I try to list a directory with workingDir parameter set. If I try it with workingDir = /sdcard the message is "Error: No such file or directory." If I try it for example…

---

## [Using Object Key as Dynamic Label Text Output](https://discourse.nodered.org/t/using-object-key-as-dynamic-label-text-output/59020)

<div class="topic-metadata">

**Author:** [@CheeKC](https://discourse.nodered.org/u/CheeKC)\
**Replies:** 2\
**Last updated:** [26 February 2022 14:32 UTC](https://discourse.nodered.org/t/using-object-key-as-dynamic-label-text-output/59020 "2022-02-26T14:32:41Z")

</div>

Hi, I am trying to access the Msg Object Key as a dynamic label for text label in a NodeRED Dashboard display but has difficulty in finding way to extract the "Key" value. I have a MQTT data object stream that receives…

---

## [Count the messages uuid values](https://discourse.nodered.org/t/count-the-messages-uuid-values/59019)

<div class="topic-metadata">

**Author:** [@akashtalole](https://discourse.nodered.org/u/akashtalole)\
**Replies:** 3\
**Last updated:** [26 February 2022 14:29 UTC](https://discourse.nodered.org/t/count-the-messages-uuid-values/59019 "2022-02-26T14:29:05Z")

</div>

I have a Message which has following data uuid (as String) Time Value I need to count uuid occurances and mantain its count. How I can solve using Count the messages ?

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

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