# Latest

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

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

**Page:** 447

---

## [How do I set and then reference a global variable in an expression?](https://discourse.nodered.org/t/how-do-i-set-and-then-reference-a-global-variable-in-an-expression/71679)

<div class="topic-metadata">

**Author:** [@UngluedChalice](https://discourse.nodered.org/u/UngluedChalice)\
**Replies:** 3\
**Last updated:** [4 December 2022 18:57 UTC](https://discourse.nodered.org/t/how-do-i-set-and-then-reference-a-global-variable-in-an-expression/71679 "2022-12-04T18:57:53Z")

</div>

I'm using Node Red 13.5.3 in Home Assistant and using a call service node that is part of the Home Assistant "node package" (not sure what the proper term is). I want to set my shades to not close all the way in the win…

---

## [Call "Link call" from function](https://discourse.nodered.org/t/call-link-call-from-function/71651)

<div class="topic-metadata">

**Author:** [@S0T0](https://discourse.nodered.org/u/S0T0)\
**Replies:** 3\
**Last updated:** [4 December 2022 17:54 UTC](https://discourse.nodered.org/t/call-link-call-from-function/71651 "2022-12-04T17:54:59Z")

</div>

Is it possible to call "link call" from a function and then work with what it returns? Thank you and take care!

---

## [Microsoft Forms Creation In Node-Red](https://discourse.nodered.org/t/microsoft-forms-creation-in-node-red/71603)

<div class="topic-metadata">

**Author:** [@ganeshiac](https://discourse.nodered.org/u/ganeshiac)\
**Replies:** 6\
**Last updated:** [4 December 2022 16:57 UTC](https://discourse.nodered.org/t/microsoft-forms-creation-in-node-red/71603 "2022-12-04T16:57:36Z")

</div>

Hi, Is there possible to communicate with Microsoft Forms in node-red. Actually, we want to know the How to install in node. Can you able to suggest me. Thanks,

---

## [Flexdash iframe: Cannot GET /home/my/Pictures/image2048x2048.jpg](https://discourse.nodered.org/t/flexdash-iframe-cannot-get-home-my-pictures-image2048x2048-jpg/71085)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 1\
**Last updated:** [4 December 2022 16:41 UTC](https://discourse.nodered.org/t/flexdash-iframe-cannot-get-home-my-pictures-image2048x2048-jpg/71085 "2022-12-04T16:41:54Z")

</div>

Linux running flexdash Node-RED 3.02. How can you reference an image on local disk vs. URL?

---

## [Flexdash dashboard conflict? Can I use both at the same time? Thanks in advance](https://discourse.nodered.org/t/flexdash-dashboard-conflict-can-i-use-both-at-the-same-time-thanks-in-advance/71116)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 3\
**Last updated:** [4 December 2022 16:39 UTC](https://discourse.nodered.org/t/flexdash-dashboard-conflict-can-i-use-both-at-the-same-time-thanks-in-advance/71116 "2022-12-04T16:39:51Z")

</div>

Developers of Flexdash / Node-RED Dashboard. Is it possible to have these co-exist in order to leverage items in both currently running in the same environment? What conflicts do I need to look for? Should I separate…

---

## [Flexdash 'Time Plot Raw' chart formatting (uPlot)](https://discourse.nodered.org/t/flexdash-time-plot-raw-chart-formatting-uplot/71646)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 5\
**Last updated:** [4 December 2022 16:24 UTC](https://discourse.nodered.org/t/flexdash-time-plot-raw-chart-formatting-uplot/71646 "2022-12-04T16:24:55Z")

</div>

Anybody using the Flexdash Time Plot Raw or uPlot? I've used the Flexdash Time Plot node so far for charts, which is much easier to use, but I wanted the flexibility to create a High/Low bands chart, and use more advanc…

---

## [Breadcrumb navigation](https://discourse.nodered.org/t/breadcrumb-navigation/71507)

<div class="topic-metadata">

**Author:** [@rizwan](https://discourse.nodered.org/u/rizwan)\
**Replies:** 2\
**Last updated:** [4 December 2022 15:27 UTC](https://discourse.nodered.org/t/breadcrumb-navigation/71507 "2022-12-04T15:27:10Z")

</div>

Hi Experts, I am working on node red dashboard with table-browser technique. That means, if I will click on any row in table, i will generate another table and will show the further details of that row and in more depth…

---

## [Error Message in Node-Red Version info](https://discourse.nodered.org/t/error-message-in-node-red-version-info/71664)

<div class="topic-metadata">

**Author:** [@JackHenry99](https://discourse.nodered.org/u/JackHenry99)\
**Replies:** 3\
**Last updated:** [4 December 2022 14:16 UTC](https://discourse.nodered.org/t/error-message-in-node-red-version-info/71664 "2022-12-04T14:16:56Z")

</div>

In the attached image, what do the two error messages in the version listing mean?

---

## [Advent Of Code 2022 Day 2](https://discourse.nodered.org/t/advent-of-code-2022-day-2/71629)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 19\
**Last updated:** [4 December 2022 14:12 UTC](https://discourse.nodered.org/t/advent-of-code-2022-day-2/71629 "2022-12-04T14:12:38Z")

</div>

Managed to do Part 1 of Day 2 - I've run out of time to do Part 2 today \[{"id":"e12ec0a178524de9","type":"join","z":"ae849d01ff1599e6","name":"","mode":"custom","build":"array","property":"payload","propertyType":"ms…

---

## [Hello, does anyone know why the svg image does not appear on my dashboard?Can someone please help me I want to make a dashboard that has the node red-node-contrib-ui-svg and the ui-button node](https://discourse.nodered.org/t/hello-does-anyone-know-why-the-svg-image-does-not-appear-on-my-dashboard-can-someone-please-help-me-i-want-to-make-a-dashboard-that-has-the-node-red-node-contrib-ui-svg-and-the-ui-button-node/71669)

<div class="topic-metadata">

**Author:** [@jhoningMTN](https://discourse.nodered.org/u/jhoningMTN)\
**Replies:** 0\
**Last updated:** [4 December 2022 13:53 UTC](https://discourse.nodered.org/t/hello-does-anyone-know-why-the-svg-image-does-not-appear-on-my-dashboard-can-someone-please-help-me-i-want-to-make-a-dashboard-that-has-the-node-red-node-contrib-ui-svg-and-the-ui-button-node/71669 "2022-12-04T13:53:27Z")

</div>

when adding these nodes by group in my normal board it appears in my board But when I add the node of node-red-contrib-ui-svg in another group, my other nodes do not appear, I only see the node of node-red-contri…

---

## [How to fill template frame](https://discourse.nodered.org/t/how-to-fill-template-frame/71648)

<div class="topic-metadata">

**Author:** [@JorgeGomes](https://discourse.nodered.org/u/JorgeGomes)\
**Replies:** 1\
**Last updated:** [4 December 2022 13:17 UTC](https://discourse.nodered.org/t/how-to-fill-template-frame/71648 "2022-12-04T13:17:26Z")

</div>

Hello all, I've a flow where I present a video stream and a picture into node template. I'm wondering if is any way to fill the frame with a text message like " No video available" when the template is empty as I show i…

---

## [Trying to set a payload.name in a function node](https://discourse.nodered.org/t/trying-to-set-a-payload-name-in-a-function-node/71645)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 12\
**Last updated:** [3 December 2022 18:59 UTC](https://discourse.nodered.org/t/trying-to-set-a-payload-name-in-a-function-node/71645 "2022-12-03T18:59:53Z")

</div>

I am setting values in my function: let sync = context.get('sync') || {}; const nodeName = msg.nodeName; sync\[nodeName\] = msg.payload.value; const sync\_array = Object.values(sync); if (sync\_array.length \>= 3) { msg…

---

## [Dashboard notificatioin question](https://discourse.nodered.org/t/dashboard-notificatioin-question/71415)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 11\
**Last updated:** [3 December 2022 21:18 UTC](https://discourse.nodered.org/t/dashboard-notificatioin-question/71415 "2022-12-03T21:18:21Z")

</div>

When using the dashboard notification, I noticed the output does not convey any message components handed to it, except payload and topic among other items. I need information passed such that I can continue logic back…

---

## [Dashboard dropdown node can I reset to 'select option' after selection](https://discourse.nodered.org/t/dashboard-dropdown-node-can-i-reset-to-select-option-after-selection/71642)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 8\
**Last updated:** [3 December 2022 16:11 UTC](https://discourse.nodered.org/t/dashboard-dropdown-node-can-i-reset-to-select-option-after-selection/71642 "2022-12-03T16:11:08Z")

</div>

I need to reset some of my dashboard dropdown nodes after selection of a value to 'select option'. So I would like to be able to select an option from the dropdown, that then normally stays as the last selection on the d…

---

## [Motion sensor to integrate with wemo smart plug (WSP080)](https://discourse.nodered.org/t/motion-sensor-to-integrate-with-wemo-smart-plug-wsp080/69068)

<div class="topic-metadata">

**Author:** [@nodeBoy816](https://discourse.nodered.org/u/nodeBoy816)\
**Replies:** 23\
**Last updated:** [3 December 2022 15:52 UTC](https://discourse.nodered.org/t/motion-sensor-to-integrate-with-wemo-smart-plug-wsp080/69068 "2022-12-03T15:52:53Z")

</div>

I’m trying to find a motion sensor (or rather collection of sensors - 5 sensors in 5 different rooms) that I could get to turn on a wemo smart plug (WSP080) and then turn it off 30 minutes after the last motion is detect…

---

## [Copy file from Docker to Host (Synology)](https://discourse.nodered.org/t/copy-file-from-docker-to-host-synology/71644)

<div class="topic-metadata">

**Author:** [@My\_Millenium](https://discourse.nodered.org/u/My_Millenium)\
**Replies:** 0\
**Last updated:** [3 December 2022 13:05 UTC](https://discourse.nodered.org/t/copy-file-from-docker-to-host-synology/71644 "2022-12-03T13:05:58Z")

</div>

Hello, I need some help. I have Node-Red running as an instance in ioBroker which is running in a Docker container on my Synology DS. With the node "write file" I have written some data to a file called TEST.txt. In …

---

## [Bug updating global arrays](https://discourse.nodered.org/t/bug-updating-global-arrays/2403)

<div class="topic-metadata">

**Author:** [@blechdom](https://discourse.nodered.org/u/blechdom)\
**Replies:** 5\
**Last updated:** [3 December 2022 13:56 UTC](https://discourse.nodered.org/t/bug-updating-global-arrays/2403 "2022-12-03T13:56:02Z")

</div>

I've been hitting my head against a certain code behavior which I believe\`I've captured in the following flow. I'm trying to do something quite simple. I have two global arrays (flow arrays): current\_array and last\_arr…

---

## [Function node & var definition](https://discourse.nodered.org/t/function-node-var-definition/71492)

<div class="topic-metadata">

**Author:** [@pacmanmt](https://discourse.nodered.org/u/pacmanmt)\
**Replies:** 46\
**Last updated:** [3 December 2022 12:04 UTC](https://discourse.nodered.org/t/function-node-var-definition/71492 "2022-12-03T12:04:52Z")

</div>

I must anticipate that I am not a programmer and most comes from cut & paste from others work. I cannot understand the behavior of a function node I am using (NodeRed 3.0.2 and Monaco editor). The function uses a Case …

---

## [Light go on or off below an certain brightness level](https://discourse.nodered.org/t/light-go-on-or-off-below-an-certain-brightness-level/71015)

<div class="topic-metadata">

**Author:** [@Rellens](https://discourse.nodered.org/u/Rellens)\
**Replies:** 2\
**Last updated:** [3 December 2022 11:15 UTC](https://discourse.nodered.org/t/light-go-on-or-off-below-an-certain-brightness-level/71015 "2022-12-03T11:15:01Z")

</div>

hello, i'm trying to get an flow working. but just don't know how, and tried a lot to get it working. I have an zigbee light dimmer in the bathroom, when showering or have a bath the flow does'nt have to do anything. Th…

---

## [Dynamic chart Label disappears in dashboard](https://discourse.nodered.org/t/dynamic-chart-label-disappears-in-dashboard/71634)

<div class="topic-metadata">

**Author:** [@Switchblade2](https://discourse.nodered.org/u/Switchblade2)\
**Replies:** 2\
**Last updated:** [3 December 2022 09:47 UTC](https://discourse.nodered.org/t/dynamic-chart-label-disappears-in-dashboard/71634 "2022-12-03T09:47:39Z")

</div>

Hi, I'm setting the chart Label (or title) with msg.Lable. It works fine on the first view but it disappears if I move to another dashboard tab and then back again. Any tips on how to make the Label stick? \[ { …

---

## [Check entity state inside function node](https://discourse.nodered.org/t/check-entity-state-inside-function-node/71631)

<div class="topic-metadata">

**Author:** [@sd\_dracula](https://discourse.nodered.org/u/sd_dracula)\
**Replies:** 2\
**Last updated:** [3 December 2022 07:29 UTC](https://discourse.nodered.org/t/check-entity-state-inside-function-node/71631 "2022-12-03T07:29:41Z")

</div>

I have a function node like this: And a home assistant entity like so: I need to add an if/else condition in this function that checks the on/off value of the home assistant entity but not sure how to call it insi…

---

## [Manage Pallate (dashboard) not found](https://discourse.nodered.org/t/manage-pallate-dashboard-not-found/70480)

<div class="topic-metadata">

**Author:** [@elektrosttal41](https://discourse.nodered.org/u/elektrosttal41)\
**Replies:** 3\
**Last updated:** [3 December 2022 05:10 UTC](https://discourse.nodered.org/t/manage-pallate-dashboard-not-found/70480 "2022-12-03T05:10:15Z")

</div>

I have installed Node Red on Rapberry Pi Now trying to view and play with the “DASHBOARD”. the Problem : We can not see the “Manage Palette” setting under the Hamburger Menu. My understanding is that we need to go to …

---

## [Global Context to file](https://discourse.nodered.org/t/global-context-to-file/71217)

<div class="topic-metadata">

**Author:** [@dmac101](https://discourse.nodered.org/u/dmac101)\
**Replies:** 8\
**Last updated:** [2 December 2022 22:29 UTC](https://discourse.nodered.org/t/global-context-to-file/71217 "2022-12-02T22:29:58Z")

</div>

Hi Everyone, I am working on a telemetry project that is using a RPI4 and Node-Red to provide 16 digital inputs, 16 digital outputs and 8 analogue inputs. One of the requirements is to have all of the buttons, status, u…

---

## [Homie convention and Javascript Object](https://discourse.nodered.org/t/homie-convention-and-javascript-object/71621)

<div class="topic-metadata">

**Author:** [@Urs-Eppenberger](https://discourse.nodered.org/u/Urs-Eppenberger)\
**Replies:** 3\
**Last updated:** [2 December 2022 21:31 UTC](https://discourse.nodered.org/t/homie-convention-and-javascript-object/71621 "2022-12-02T21:31:27Z")

</div>

Hello This is a question about the Homie convention and how to put all the data into a Javascript object which follows the Homie convention structure. The question is further down, for those not interested in the backg…

---

## [UI Tabular Table Sorting](https://discourse.nodered.org/t/ui-tabular-table-sorting/69466)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 197\
**Last updated:** [2 December 2022 21:07 UTC](https://discourse.nodered.org/t/ui-tabular-table-sorting/69466 "2022-12-02T21:07:29Z")

</div>

Hello, I have a Tabular Table that gets rows added via this function: var msg\_obj = msg.payload ; var arr\_msgs = flow.get("msg\_events", 'memoryOnly'); if (arr\_msgs===undefined ) { // Create an empty array if it do…

---

## [Dashboard layouts changing. Ok, different resolution monitors but](https://discourse.nodered.org/t/dashboard-layouts-changing-ok-different-resolution-monitors-but/71627)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [2 December 2022 20:49 UTC](https://discourse.nodered.org/t/dashboard-layouts-changing-ok-different-resolution-monitors-but/71627 "2022-12-02T20:49:28Z")

</div>

I am Low resolution person. 1368 x 768 I believe. (EDIT) Ok, I maybe fell for the oldest trick. ZOOM levels. I'll check that next time I am one other machine. I shall leave this here just to \*rub salt into my wound. …

---

## [Node-red-contrib-sqlstring: not reading VALUES message format](https://discourse.nodered.org/t/node-red-contrib-sqlstring-not-reading-values-message-format/71626)

<div class="topic-metadata">

**Author:** [@rbmgf7](https://discourse.nodered.org/u/rbmgf7)\
**Replies:** 0\
**Last updated:** [2 December 2022 19:42 UTC](https://discourse.nodered.org/t/node-red-contrib-sqlstring-not-reading-values-message-format/71626 "2022-12-02T19:42:48Z")

</div>

I've been writing the SQL code in the function node and it's been a PITA then I found this node. Well, what am I doing wrong? Doesn't seem to want to read the payload. Can't find much documentation on this. SQL is j…

---

## [How does a node send entries to Syslog on a Pi?](https://discourse.nodered.org/t/how-does-a-node-send-entries-to-syslog-on-a-pi/71131)

<div class="topic-metadata">

**Author:** [@Rgrove](https://discourse.nodered.org/u/Rgrove)\
**Replies:** 23\
**Last updated:** [2 December 2022 17:52 UTC](https://discourse.nodered.org/t/how-does-a-node-send-entries-to-syslog-on-a-pi/71131 "2022-12-02T17:52:27Z")

</div>

I have a pi that disappears from the network every day, and when that happens, Syslog is overwhelmed with entries from SNMP nodes that can't connect with their target. The nodes run once per second, and sometimes the Pi…

---

## [Node-red-contrib-chart-image, trouble getting installed](https://discourse.nodered.org/t/node-red-contrib-chart-image-trouble-getting-installed/71615)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 12\
**Last updated:** [2 December 2022 17:49 UTC](https://discourse.nodered.org/t/node-red-contrib-chart-image-trouble-getting-installed/71615 "2022-12-02T17:49:26Z")

</div>

I tried installing the package node-red-contrib-chart-image from the pallet manager, but this failed. So I looked around for solutions. I found, Thank you for the advice, I managed to get it working. I had to do 3 st…

---

## [Trying to add 3 incoming msg.payload.value - and failing](https://discourse.nodered.org/t/trying-to-add-3-incoming-msg-payload-value-and-failing/71620)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 8\
**Last updated:** [2 December 2022 17:48 UTC](https://discourse.nodered.org/t/trying-to-add-3-incoming-msg-payload-value-and-failing/71620 "2022-12-02T17:48:28Z")

</div>

Looks so easy but failing to do it. I have 3 nodes sending values, all I am trying to do is adding them up so I end up with a payload of the sum of the 3 msg.payload.value(s) I thought it was easiest with a function no…

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

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