# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=431

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

**Page:** 432

---

## [Problems after upgrade to v. 2.2](https://discourse.nodered.org/t/problems-after-upgrade-to-v-2-2/57417)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 5\
**Last updated:** [28 January 2022 20:14 UTC](https://discourse.nodered.org/t/problems-after-upgrade-to-v-2-2/57417 "2022-01-28T20:14:50Z")

</div>

Dear all, Till today I was having v.1.3.x and it was working fine. SInce I wanted to have Monaco editor, I upgraded to v.2.2. After upgrade everything seems fine. ALso all the flows were working until, I entered into s…

---

## [How to store Name of the Function to the variable](https://discourse.nodered.org/t/how-to-store-name-of-the-function-to-the-variable/57421)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 3\
**Last updated:** [28 January 2022 19:53 UTC](https://discourse.nodered.org/t/how-to-store-name-of-the-function-to-the-variable/57421 "2022-01-28T19:53:56Z")

</div>

Dear All, I have Function with its name. How to get name of the function into the variable? In pasted example, how can I get "Rok" into the variable in that particular function?

---

## [Editing node red in Visual Studio Code](https://discourse.nodered.org/t/editing-node-red-in-visual-studio-code/57404)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 5\
**Last updated:** [28 January 2022 18:57 UTC](https://discourse.nodered.org/t/editing-node-red-in-visual-studio-code/57404 "2022-01-28T18:57:49Z")

</div>

Dear all, As I am reading here: Node-RED - Visual Studio Marketplace It is possible to edit Node-red nodes inside Visual Studio code. I tried it, but I am unable to get any nodes inside Visual studio. I Enabled extensi…

---

## [Can't explain double lines in graph](https://discourse.nodered.org/t/cant-explain-double-lines-in-graph/57410)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 4\
**Last updated:** [28 January 2022 18:42 UTC](https://discourse.nodered.org/t/cant-explain-double-lines-in-graph/57410 "2022-01-28T18:42:39Z")

</div>

Hi, My dashboard shows double lines which is not the intention. What is the reason that a 2nd line appears and how do I remove it? The data comes via MQTT ... and is linked to my node-RED dashboard. These a…

---

## [Data Prep Nodes](https://discourse.nodered.org/t/data-prep-nodes/57262)

<div class="topic-metadata">

**Author:** [@elipsa](https://discourse.nodered.org/u/elipsa)\
**Replies:** 3\
**Last updated:** [28 January 2022 18:18 UTC](https://discourse.nodered.org/t/data-prep-nodes/57262 "2022-01-28T18:18:44Z")

</div>

Hi everyone, we are working to release free access to a series of data prep nodes. We currently expose a series of AI and data prep algorithms through our Elipsa APIs but are looking to make it easier to use. I am post…

---

## [Pass on entity-id to service call node](https://discourse.nodered.org/t/pass-on-entity-id-to-service-call-node/57412)

<div class="topic-metadata">

**Author:** [@rkluijt](https://discourse.nodered.org/u/rkluijt)\
**Replies:** 2\
**Last updated:** [28 January 2022 17:49 UTC](https://discourse.nodered.org/t/pass-on-entity-id-to-service-call-node/57412 "2022-01-28T17:49:42Z")

</div>

Hi all, I have a question. I have several motion sensors in and around my house. I would like to make a sequence that when there is motion a specific light turns on. So I have state node with substring motion. What I …

---

## [Congratulations to @Steve-Mcl in joining the Node-RED team :)](https://discourse.nodered.org/t/congratulations-to-steve-mcl-in-joining-the-node-red-team/56965)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 24\
**Last updated:** [28 January 2022 17:39 UTC](https://discourse.nodered.org/t/congratulations-to-steve-mcl-in-joining-the-node-red-team/56965 "2022-01-28T17:39:27Z")

</div>

@Steve-Mcl :smiley:

---

## [Async function for sending messages (CHATBOT)](https://discourse.nodered.org/t/async-function-for-sending-messages-chatbot/57403)

<div class="topic-metadata">

**Author:** [@wjr1506](https://discourse.nodered.org/u/wjr1506)\
**Replies:** 9\
**Last updated:** [28 January 2022 17:38 UTC](https://discourse.nodered.org/t/async-function-for-sending-messages-chatbot/57403 "2022-01-28T17:38:37Z")

</div>

hi there! I'm doing a chatbot for instagram, and I came across a situation. I made a script to put in an array each messages that the bot returns, but it returns with some messages with order exchanged/shuffled. So I ap…

---

## [Payload change scan](https://discourse.nodered.org/t/payload-change-scan/57353)

<div class="topic-metadata">

**Author:** [@maliheh.amirfakhry](https://discourse.nodered.org/u/maliheh.amirfakhry)\
**Replies:** 5\
**Last updated:** [28 January 2022 15:58 UTC](https://discourse.nodered.org/t/payload-change-scan/57353 "2022-01-28T15:58:31Z")

</div>

Hi guys. I'm looking for a solution in which the value of payload is sent to the debug node if there's a change in value. Otherwise, nothing is sent to the debug node.

---

## [Deploy failed: no response from server - even after trying from "scratch"](https://discourse.nodered.org/t/deploy-failed-no-response-from-server-even-after-trying-from-scratch/57369)

<div class="topic-metadata">

**Author:** [@calixtoemilio](https://discourse.nodered.org/u/calixtoemilio)\
**Replies:** 2\
**Last updated:** [28 January 2022 14:22 UTC](https://discourse.nodered.org/t/deploy-failed-no-response-from-server-even-after-trying-from-scratch/57369 "2022-01-28T14:22:46Z")

</div>

All of the sudden after editing a node, this started happening. No the first time, but this time is more frustrating I have restarted the nodered docker, restarted the computer, deleted the data volume and imported whol…

---

## [Ui\_dropdown take index of current selected item and impose item shown](https://discourse.nodered.org/t/ui-dropdown-take-index-of-current-selected-item-and-impose-item-shown/57406)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 0\
**Last updated:** [28 January 2022 13:20 UTC](https://discourse.nodered.org/t/ui-dropdown-take-index-of-current-selected-item-and-impose-item-shown/57406 "2022-01-28T13:20:25Z")

</div>

Hi all, I'd like get current index of dropdown item selected and if one dropdown item changed I'd like change automatically the current item of one other dropdown menu imposing index of list of second dropdown menu I h…

---

## [Nodered function automatically update !?!?](https://discourse.nodered.org/t/nodered-function-automatically-update/57383)

<div class="topic-metadata">

**Author:** [@d3z1b3l](https://discourse.nodered.org/u/d3z1b3l)\
**Replies:** 5\
**Last updated:** [28 January 2022 12:39 UTC](https://discourse.nodered.org/t/nodered-function-automatically-update/57383 "2022-01-28T12:39:37Z")

</div>

Hello Together! I think the topic has certainly been discussed before, but I think I'm too stupid to find it :frowning: I have a function in Nodered. This is used several times. If I change this function now, I want t…

---

## [Auth Token "expires\_in" meaning?](https://discourse.nodered.org/t/auth-token-expires-in-meaning/57377)

<div class="topic-metadata">

**Author:** [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Replies:** 3\
**Last updated:** [28 January 2022 12:21 UTC](https://discourse.nodered.org/t/auth-token-expires-in-meaning/57377 "2022-01-28T12:21:40Z")

</div>

Hi nodered experts, May I know the meaning for the expires\_in in the admin API of nodered? I believed this is the range of time where the token will be expire, but I am not sure wether it is in minutes? hour? or days? …

---

## [Time Range for the weekend](https://discourse.nodered.org/t/time-range-for-the-weekend/57216)

<div class="topic-metadata">

**Author:** [@borpin](https://discourse.nodered.org/u/borpin)\
**Replies:** 11\
**Last updated:** [28 January 2022 04:54 UTC](https://discourse.nodered.org/t/time-range-for-the-weekend/57216 "2022-01-28T04:54:57Z")

</div>

I have been using the time range node to limit messages being sent at night. I'd like to have a different time range for the weekend. Can anyone suggest how? I looked at bigtimer and it looks like the msg.payload can …

---

## [Connect to MYSQL server which is powered off during night](https://discourse.nodered.org/t/connect-to-mysql-server-which-is-powered-off-during-night/57366)

<div class="topic-metadata">

**Author:** [@hbb999](https://discourse.nodered.org/u/hbb999)\
**Replies:** 6\
**Last updated:** [27 January 2022 21:51 UTC](https://discourse.nodered.org/t/connect-to-mysql-server-which-is-powered-off-during-night/57366 "2022-01-27T21:51:17Z")

</div>

Hello, I connected Node Red to a remote MySQL server, which is powered off during nights, starting between 4pm and 8pm randomly. When it is powered on, I can connect to it. But at night, when it is powered off, I keep …

---

## [Nbrower node : Saveas doesn't work?](https://discourse.nodered.org/t/nbrower-node-saveas-doesnt-work/57283)

<div class="topic-metadata">

**Author:** [@Lafayette](https://discourse.nodered.org/u/Lafayette)\
**Replies:** 11\
**Last updated:** [27 January 2022 20:44 UTC](https://discourse.nodered.org/t/nbrower-node-saveas-doesnt-work/57283 "2022-01-27T20:44:42Z")

</div>

Hi i use this flow to save a web page into a pdf file : \[ { "id": "129d963431e3975c", "type": "tab", "label": "Flow 1", "disabled": false, "info": "", "env": \[\] },…

---

## [How do I tell a flow to ignore the next msg.payload received after msg.payload=unavailable?](https://discourse.nodered.org/t/how-do-i-tell-a-flow-to-ignore-the-next-msg-payload-received-after-msg-payload-unavailable/57292)

<div class="topic-metadata">

**Author:** [@SpaceCadetRick](https://discourse.nodered.org/u/SpaceCadetRick)\
**Replies:** 4\
**Last updated:** [27 January 2022 21:27 UTC](https://discourse.nodered.org/t/how-do-i-tell-a-flow-to-ignore-the-next-msg-payload-received-after-msg-payload-unavailable/57292 "2022-01-27T21:27:32Z")

</div>

So basically what I have is a Shelly Dimmer 2 relay set up in detached mode controlling 3 zigbee lights. At night my son uses one of those lights as a night light however the Shelly will sometimes go "unavailable" for a …

---

## [Curl- \> http req](https://discourse.nodered.org/t/curl-http-req/56619)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 6\
**Last updated:** [27 January 2022 20:40 UTC](https://discourse.nodered.org/t/curl-http-req/56619 "2022-01-27T20:40:51Z")

</div>

Hi there, I've seen the following issue raised by others, but haven't been able to solve it. I need to replicate the following CURL in node-red. This was set up for testing in "postman" - it works (not sure if the…

---

## [Dashboard graphic layout editor](https://discourse.nodered.org/t/dashboard-graphic-layout-editor/57358)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 2\
**Last updated:** [27 January 2022 20:34 UTC](https://discourse.nodered.org/t/dashboard-graphic-layout-editor/57358 "2022-01-27T20:34:38Z")

</div>

Is something changed concerning the Dashboard graphical Layout editor in NR v.2.2.0? I was used to move, shrink or enlarge widgets from that page, but now it doesn't seem possibile anymore.

---

## [How to realize a virtual Midi Port in Midi Out?](https://discourse.nodered.org/t/how-to-realize-a-virtual-midi-port-in-midi-out/57356)

<div class="topic-metadata">

**Author:** [@prato](https://discourse.nodered.org/u/prato)\
**Replies:** 0\
**Last updated:** [27 January 2022 17:41 UTC](https://discourse.nodered.org/t/how-to-realize-a-virtual-midi-port-in-midi-out/57356 "2022-01-27T17:41:20Z")

</div>

Hello need a litle help cause i\`m not familar with midi on my Node Red (at Ubuntu 20.4 extern Server ) contrib-Midi-windows qsynth installed on the Midi Out flow only selectable: Midi Through Port-0 14:0 RTMid…

---

## [Filter false payloads](https://discourse.nodered.org/t/filter-false-payloads/57359)

<div class="topic-metadata">

**Author:** [@maliheh.amirfakhry](https://discourse.nodered.org/u/maliheh.amirfakhry)\
**Replies:** 4\
**Last updated:** [27 January 2022 19:22 UTC](https://discourse.nodered.org/t/filter-false-payloads/57359 "2022-01-27T19:22:04Z")

</div>

Hi guys, I have to filter false payloads out. I'd like to have the payload values at the output If the payload value did not change over a period of time, e.g. on a 100 ms period or longer, otherwise nothing at the outpu…

---

## [Can someone help me with this function node code?](https://discourse.nodered.org/t/can-someone-help-me-with-this-function-node-code/57362)

<div class="topic-metadata">

**Author:** [@furrymayo](https://discourse.nodered.org/u/furrymayo)\
**Replies:** 4\
**Last updated:** [27 January 2022 18:53 UTC](https://discourse.nodered.org/t/can-someone-help-me-with-this-function-node-code/57362 "2022-01-27T18:53:09Z")

</div>

Sorry if this isn't the right place but can anyone tell me why this code creates errors? if (msg.payload === "on") msg.payload = {"service":"turn\_on"} if (msg.payload === "off") msg.payload = {"service":"turn\_off"} if…

---

## [Assistance with image formatting, please?](https://discourse.nodered.org/t/assistance-with-image-formatting-please/50809)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 4\
**Last updated:** [27 January 2022 17:29 UTC](https://discourse.nodered.org/t/assistance-with-image-formatting-please/50809 "2022-01-27T17:29:08Z")

</div>

Hey all, I'm using Pushover.net for push notifications and it's working very well (reliable, fast and very inexpensive). The only thing I haven't figured out yet is how to include an image in the notification. I spoke …

---

## [Node-RED + Oracle, node bringing incorrect dates and times to the database](https://discourse.nodered.org/t/node-red-oracle-node-bringing-incorrect-dates-and-times-to-the-database/57335)

<div class="topic-metadata">

**Author:** [@radjunior](https://discourse.nodered.org/u/radjunior)\
**Replies:** 16\
**Last updated:** [27 January 2022 16:39 UTC](https://discourse.nodered.org/t/node-red-oracle-node-bringing-incorrect-dates-and-times-to-the-database/57335 "2022-01-27T16:39:58Z")

</div>

Hello everyone, I would like to know if there is somehow a solution to deal with this divergence of information between Node-RED and Oracle, my problem is in capturing the date and time of my database, the message arrive…

---

## [Export Excel of Node-Red on Azure Web-App](https://discourse.nodered.org/t/export-excel-of-node-red-on-azure-web-app/57347)

<div class="topic-metadata">

**Author:** [@Bernard1807](https://discourse.nodered.org/u/Bernard1807)\
**Replies:** 0\
**Last updated:** [27 January 2022 14:59 UTC](https://discourse.nodered.org/t/export-excel-of-node-red-on-azure-web-app/57347 "2022-01-27T14:59:45Z")

</div>

Hi all! I am currently running a Node-red on Azure Web-app. With this public web-app, it allows me to access my Node-red as well as my Node-red Dashboard everywhere, but I have a problem. I still haven't figured out the …

---

## [Save and deploy](https://discourse.nodered.org/t/save-and-deploy/57339)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 4\
**Last updated:** [27 January 2022 16:12 UTC](https://discourse.nodered.org/t/save-and-deploy/57339 "2022-01-27T16:12:43Z")

</div>

To edit a function, template or other nodes you double click on the node, then click the button to get the full page editor. I frequently make a minor change and have to click Done, Done, Deploy then switch to the brows…

---

## [Watch node on network path](https://discourse.nodered.org/t/watch-node-on-network-path/15773)

<div class="topic-metadata">

**Author:** [@crolshoven](https://discourse.nodered.org/u/crolshoven)\
**Replies:** 22\
**Last updated:** [27 January 2022 15:21 UTC](https://discourse.nodered.org/t/watch-node-on-network-path/15773 "2022-01-27T15:21:47Z")

</div>

Hi, Is it possible to configure the watch node with credentials to watch a folder on a network path? What would be an alternative solution, if this is not possible? Thanks for the help in advanced. Regards,

---

## [Interrogating z wave thermostat using node-red-contrib-zwave-js](https://discourse.nodered.org/t/interrogating-z-wave-thermostat-using-node-red-contrib-zwave-js/56332)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 15\
**Last updated:** [27 January 2022 15:19 UTC](https://discourse.nodered.org/t/interrogating-z-wave-thermostat-using-node-red-contrib-zwave-js/56332 "2022-01-27T15:19:45Z")

</div>

Hi i am using the Zwave JS node. I am trying to get the "Air temperature" from the configuration file for the Secure SRT321 thermostat, just not sure how to interrogate the Zwave data to obtain it? i want to move it in…

---

## [Node red and zigbee2mqtt](https://discourse.nodered.org/t/node-red-and-zigbee2mqtt/56076)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 15\
**Last updated:** [27 January 2022 15:10 UTC](https://discourse.nodered.org/t/node-red-and-zigbee2mqtt/56076 "2022-01-27T15:10:28Z")

</div>

Hi, there is someone who use the palette "node-red-contrib-zigbee2mqtt" without problems? Because from yesterday I try to update my home automation from deconz to zigbee2mqtt but I have many problems with devices tha…

---

## [Unconfigured "ghost" nodes in 2.2.0](https://discourse.nodered.org/t/unconfigured-ghost-nodes-in-2-2-0/57343)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 5\
**Last updated:** [27 January 2022 14:52 UTC](https://discourse.nodered.org/t/unconfigured-ghost-nodes-in-2-2-0/57343 "2022-01-27T14:52:19Z")

</div>

Since upgrade to 2.2.0, each time I change my test page in the editor, I got this warning (never had before). But in the page there are not ui\_space nodes...

[Previous page](https://discourse.nodered.org/c/general/7.md?page=430)

[Next page](https://discourse.nodered.org/c/general/7.md?page=432)
