# General

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

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

**Page:** 463

---

## [How to transfer flows including package.json](https://discourse.nodered.org/t/how-to-transfer-flows-including-package-json/54183)

<div class="topic-metadata">

**Author:** [@mkilivan](https://discourse.nodered.org/u/mkilivan)\
**Replies:** 7\
**Last updated:** [25 November 2021 07:30 UTC](https://discourse.nodered.org/t/how-to-transfer-flows-including-package-json/54183 "2021-11-25T07:30:54Z")

</div>

Hi, If I wish to transfer the complete flows into a new machine then; I can download the flow.json file using the editor. Menu -\> Export or Ctrl/⌘-e shortcut and import it from the new machine using the editor. No sh…

---

## [All objects in array updated with last UI keying data](https://discourse.nodered.org/t/all-objects-in-array-updated-with-last-ui-keying-data/54214)

<div class="topic-metadata">

**Author:** [@zyx09](https://discourse.nodered.org/u/zyx09)\
**Replies:** 2\
**Last updated:** [25 November 2021 03:35 UTC](https://discourse.nodered.org/t/all-objects-in-array-updated-with-last-ui-keying-data/54214 "2021-11-25T03:35:58Z")

</div>

Hi, i want keep setup parameter objects on array via Apply ui button. Setup parameter will update to connection\_para flow context as object. Once finished setup, click ui Apply button save parameter object to store\_con…

---

## [Node-red dashboard or ui as web page](https://discourse.nodered.org/t/node-red-dashboard-or-ui-as-web-page/6902)

<div class="topic-metadata">

**Author:** [@manal](https://discourse.nodered.org/u/manal)\
**Replies:** 26\
**Last updated:** [25 November 2021 02:47 UTC](https://discourse.nodered.org/t/node-red-dashboard-or-ui-as-web-page/6902 "2021-11-25T02:47:29Z")

</div>

Hi I want to access node-red dashboard as web page through apache2 web server installed in the same device with node red. could you help me with any link or document to access dashboard as web page?! does it need only …

---

## [External settings.js file misunderstood](https://discourse.nodered.org/t/external-settings-js-file-misunderstood/54222)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 6\
**Last updated:** [25 November 2021 01:55 UTC](https://discourse.nodered.org/t/external-settings-js-file-misunderstood/54222 "2021-11-25T01:55:17Z")

</div>

I read something about the possibility to import an external js file to settings.js, and as I use an embedded device that run node-red and the manufacturer likes to overwrite the settings file with updates, I thought it …

---

## [\[Help\] - How to save 2 timestamps in a single sequence](https://discourse.nodered.org/t/help-how-to-save-2-timestamps-in-a-single-sequence/54220)

<div class="topic-metadata">

**Author:** [@snofkin](https://discourse.nodered.org/u/snofkin)\
**Replies:** 4\
**Last updated:** [24 November 2021 21:46 UTC](https://discourse.nodered.org/t/help-how-to-save-2-timestamps-in-a-single-sequence/54220 "2021-11-24T21:46:25Z")

</div>

Hello kind people :slight\_smile: I am currently working with Node Red and Home Assistant, My main goal is to have the time I leave home and the time I arrive at the office recorded, (I am trying to find out the average…

---

## [Help parsing out MQTT message](https://discourse.nodered.org/t/help-parsing-out-mqtt-message/54227)

<div class="topic-metadata">

**Author:** [@gvbz](https://discourse.nodered.org/u/gvbz)\
**Replies:** 2\
**Last updated:** [24 November 2021 21:00 UTC](https://discourse.nodered.org/t/help-parsing-out-mqtt-message/54227 "2021-11-24T21:00:29Z")

</div>

Hey everyone, I'm getting into node red and have an ESP32 broadcasting some MQTT messages for a Ruuvitag and they are received by Mosquitto broker. I then read these values into node-red via the MQTT subscribe node. I ma…

---

## [Node.js on ESP8266](https://discourse.nodered.org/t/node-js-on-esp8266/54216)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 6\
**Last updated:** [24 November 2021 20:52 UTC](https://discourse.nodered.org/t/node-js-on-esp8266/54216 "2021-11-24T20:52:12Z")

</div>

re: Node.js installation on an ESP8266 using ESPruino. If I were to use Node-RED to develop a flow intended for the ESP8266, would it be possible to simply load the JSON file to the ESP8266 and it would perform the same…

---

## [Ziel-Internetseite im selben Tab öffnen](https://discourse.nodered.org/t/ziel-internetseite-im-selben-tab-offnen/54106)

<div class="topic-metadata">

**Author:** [@SGD](https://discourse.nodered.org/u/SGD)\
**Replies:** 3\
**Last updated:** [24 November 2021 20:26 UTC](https://discourse.nodered.org/t/ziel-internetseite-im-selben-tab-offnen/54106 "2021-11-24T20:26:52Z")

</div>

Hallo Liebes Forum, zur Zeit versuche ich eine bidirektionale Kommunikation zwischen einer SPS und z.B. dem Smartphone herzustellen. Das funktioniert auch schon ganz gut. Jedoch habe ich ein kosmetisches Problem, welch…

---

## [Open the target website in the same tab](https://discourse.nodered.org/t/open-the-target-website-in-the-same-tab/54225)

<div class="topic-metadata">

**Author:** [@SGD](https://discourse.nodered.org/u/SGD)\
**Replies:** 0\
**Last updated:** [24 November 2021 20:16 UTC](https://discourse.nodered.org/t/open-the-target-website-in-the-same-tab/54225 "2021-11-24T20:16:54Z")

</div>

Hello dear forum, I am currently trying to establish bidirectional communication between a simatic s7 and, for example, the smartphone. That works pretty well. However, I have a cosmetic problem that I cannot fix. I h…

---

## [Issue in node-red-contrib-zwave-js 6.3.0 / event-filter node](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140)

<div class="topic-metadata">

**Author:** [@Francky](https://discourse.nodered.org/u/Francky)\
**Replies:** 4\
**Last updated:** [24 November 2021 19:54 UTC](https://discourse.nodered.org/t/issue-in-node-red-contrib-zwave-js-6-3-0-event-filter-node/54140 "2021-11-24T19:54:34Z")

</div>

Hello, at first, many thanks for this great node for managing a zwave network! I have migrated form openwave to zwave js and realy appreciate the new performance and also the capability to manage ZW network directly fo…

---

## [Trouble with "watch" node](https://discourse.nodered.org/t/trouble-with-watch-node/54217)

<div class="topic-metadata">

**Author:** [@tim26](https://discourse.nodered.org/u/tim26)\
**Replies:** 2\
**Last updated:** [24 November 2021 18:15 UTC](https://discourse.nodered.org/t/trouble-with-watch-node/54217 "2021-11-24T18:15:42Z")

</div>

Hi There, maybe someone has a hint for my problem with the "watch" node. I created a file on my linux system and watch it for changes with the "watch" node. When I change this file the watch node recognizes this and t…

---

## [OAuth/OpenID login with Keycloak](https://discourse.nodered.org/t/oauth-openid-login-with-keycloak/54144)

<div class="topic-metadata">

**Author:** [@quarfie](https://discourse.nodered.org/u/quarfie)\
**Replies:** 3\
**Last updated:** [24 November 2021 17:36 UTC](https://discourse.nodered.org/t/oauth-openid-login-with-keycloak/54144 "2021-11-24T17:36:45Z")

</div>

I would like to authenticate to the Node-RED editor against my Keycloak server. I used npm to install passport and passport-keycloak-oauth2-oidc When I click the button to login, it goes to Keycloak and I login, then i…

---

## [Question regarding MQTT communication in MQTT nodes](https://discourse.nodered.org/t/question-regarding-mqtt-communication-in-mqtt-nodes/54213)

<div class="topic-metadata">

**Author:** [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Replies:** 4\
**Last updated:** [24 November 2021 17:18 UTC](https://discourse.nodered.org/t/question-regarding-mqtt-communication-in-mqtt-nodes/54213 "2021-11-24T17:18:50Z")

</div>

Hello, I'm wondering if someone knows if there is any generic (lower level) background communication ongoing in MQTT while the client is just connected to the broker and subscribes to topics? And if the node red MQTT nod…

---

## [Cannot login to Router since Update (Fritzbox Login seit 7.28)](https://discourse.nodered.org/t/cannot-login-to-router-since-update-fritzbox-login-seit-7-28/54175)

<div class="topic-metadata">

**Author:** [@SavageSkull](https://discourse.nodered.org/u/SavageSkull)\
**Replies:** 3\
**Last updated:** [24 November 2021 16:31 UTC](https://discourse.nodered.org/t/cannot-login-to-router-since-update-fritzbox-login-seit-7-28/54175 "2021-11-24T16:31:28Z")

</div>

Hi there, i got a problem and i am too noob to get it done. i use the palette "node-red-contrib-fritzapi" in the latest version 0.3.2 (4 weeks old). today my router Fritzbox has done an update to OS Version 7.28 and m…

---

## [Telegram admins](https://discourse.nodered.org/t/telegram-admins/54151)

<div class="topic-metadata">

**Author:** [@gleba](https://discourse.nodered.org/u/gleba)\
**Replies:** 8\
**Last updated:** [24 November 2021 15:33 UTC](https://discourse.nodered.org/t/telegram-admins/54151 "2021-11-24T15:33:50Z")

</div>

I am trying to create a command that only responds to administrators. how should i set the command to get an array of all admin?

---

## [Lose connection when enabling HTTPS](https://discourse.nodered.org/t/lose-connection-when-enabling-https/54210)

<div class="topic-metadata">

**Author:** [@Trocergian](https://discourse.nodered.org/u/Trocergian)\
**Replies:** 0\
**Last updated:** [24 November 2021 13:27 UTC](https://discourse.nodered.org/t/lose-connection-when-enabling-https/54210 "2021-11-24T13:27:00Z")

</div>

When enabling HTTPS access per: https://nodered.org/docs/user-guide/runtime/securing-node-red I can no longer connect to Node-RED and receive a "This page isn't working" ERR\_EMPTY\_RESPONSE error message. I've checked …

---

## [What to use on a Linux server to get a simple HTTP API to fetch system stats?](https://discourse.nodered.org/t/what-to-use-on-a-linux-server-to-get-a-simple-http-api-to-fetch-system-stats/54180)

<div class="topic-metadata">

**Author:** [@theloneranger](https://discourse.nodered.org/u/theloneranger)\
**Replies:** 3\
**Last updated:** [24 November 2021 12:41 UTC](https://discourse.nodered.org/t/what-to-use-on-a-linux-server-to-get-a-simple-http-api-to-fetch-system-stats/54180 "2021-11-24T12:41:13Z")

</div>

I have a 2 personal servers with Ubuntu 20.04 that I'd like to build a NodeRed monitoring dashboard for with NodeRed running on my Pi. I'd like to see this sort of info: ServerName: ONLINE or OFFLINE since $TIMESTAM…

---

## [Keine Verbindung zum SQL Server 2019](https://discourse.nodered.org/t/keine-verbindung-zum-sql-server-2019/53985)

<div class="topic-metadata">

**Author:** [@SENR](https://discourse.nodered.org/u/SENR)\
**Replies:** 9\
**Last updated:** [24 November 2021 09:58 UTC](https://discourse.nodered.org/t/keine-verbindung-zum-sql-server-2019/53985 "2021-11-24T09:58:25Z")

</div>

Deutsch: Ich bekomme keine Verbindung mit dem SQL-Server 2019 EXPRESS. Habe einen simplen Flow erstellt, der auf einen Tastendruck eine Anfrage einer Funktion in die MSSQL Funktion übergibt. Ich erhalte immer den Fehler…

---

## [Limit message number per Hour](https://discourse.nodered.org/t/limit-message-number-per-hour/53724)

<div class="topic-metadata">

**Author:** [@sheminasalam](https://discourse.nodered.org/u/sheminasalam)\
**Replies:** 17\
**Last updated:** [24 November 2021 08:55 UTC](https://discourse.nodered.org/t/limit-message-number-per-hour/53724 "2021-11-24T08:55:49Z")

</div>

I want to limit the messages between two nodes to 30 messages per hour. I know about rate limit of the delay node but the problem is that instead of passing the first 30 messages as soon as they arrive, the delay node wi…

---

## [How to loop an array?](https://discourse.nodered.org/t/how-to-loop-an-array/20191)

<div class="topic-metadata">

**Author:** [@Golonder](https://discourse.nodered.org/u/Golonder)\
**Replies:** 16\
**Last updated:** [24 November 2021 06:26 UTC](https://discourse.nodered.org/t/how-to-loop-an-array/20191 "2021-11-24T06:26:39Z")

</div>

Hi, can you please help me to find out how to go through an array and perform an action on every element in this array ? Something like that: MQTT\_Array = \["sonoff/sonoff082/STATUS8","sonoff/sonoff084/SENSOR","sonoff/…

---

## [Flow.set - One set string - One set 	 "\[object Object\]"](https://discourse.nodered.org/t/flow-set-one-set-string-one-set-object-object/54176)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 2\
**Last updated:** [23 November 2021 21:56 UTC](https://discourse.nodered.org/t/flow-set-one-set-string-one-set-object-object/54176 "2021-11-23T21:56:39Z")

</div>

I have a inject node injecting a string into a function node - The function node sets a flow.set to the string -- Happy days. All of a sudden with no changes this flow now set the flow.set to "\[object Object\]" -- Un hap…

---

## [Either dumb question or possible suggestion for the Change node](https://discourse.nodered.org/t/either-dumb-question-or-possible-suggestion-for-the-change-node/54143)

<div class="topic-metadata">

**Author:** [@tymarbut](https://discourse.nodered.org/u/tymarbut)\
**Replies:** 4\
**Last updated:** [23 November 2021 19:41 UTC](https://discourse.nodered.org/t/either-dumb-question-or-possible-suggestion-for-the-change-node/54143 "2021-11-23T19:41:22Z")

</div>

I find myself frequently dragging a Change node onto the canvas, only to delete it and write a JS function to do the same thing, because the change node can't do the job I'm trying to do (as far as I know). That job is …

---

## [Control widget from external ui\_template](https://discourse.nodered.org/t/control-widget-from-external-ui-template/54171)

<div class="topic-metadata">

**Author:** [@xjust](https://discourse.nodered.org/u/xjust)\
**Replies:** 0\
**Last updated:** [23 November 2021 18:15 UTC](https://discourse.nodered.org/t/control-widget-from-external-ui-template/54171 "2021-11-23T18:15:34Z")

</div>

sorry if this has already been posted, is it possible to control widget from ui\_template javascript? im just trying to select trigger a dropdown selection of the ui\_timescheduler widget this area here: \<md-select cla…

---

## [Watching your network for unwanted visitors](https://discourse.nodered.org/t/watching-your-network-for-unwanted-visitors/53678)

<div class="topic-metadata">

**Author:** [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Replies:** 2\
**Last updated:** [13 November 2021 13:13 UTC](https://discourse.nodered.org/t/watching-your-network-for-unwanted-visitors/53678 "2021-11-13T13:13:56Z")

</div>

Hi, just wondering if any of you have configured some clever flow to watch for "unexpected visitors" to your network. I just saw a Swedish TV program "You Are Hacked" where a team of hackers got the task to hack into an …

---

## [Properties of a message to influx](https://discourse.nodered.org/t/properties-of-a-message-to-influx/54127)

<div class="topic-metadata">

**Author:** [@Jonathan95](https://discourse.nodered.org/u/Jonathan95)\
**Replies:** 3\
**Last updated:** [23 November 2021 16:32 UTC](https://discourse.nodered.org/t/properties-of-a-message-to-influx/54127 "2021-11-23T16:32:08Z")

</div>

I am having a bit of trouble understanding how I can get my message properties from the object. There is mutliple "sites" and they have use the same structure as others so after a few attempts with template node trying…

---

## [Help with the \`node-red-contrib-os\` \`drives\` node](https://discourse.nodered.org/t/help-with-the-node-red-contrib-os-drives-node/54085)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [23 November 2021 16:29 UTC](https://discourse.nodered.org/t/help-with-the-node-red-contrib-os-drives-node/54085 "2021-11-23T16:29:44Z")

</div>

I have a USB stick in a RasPi. I want to keep a eye on how full it is. I do that with the drive node. But.... (And isn't there always a but?) The output is an array. I noticed that I wasn't getting a result for th…

---

## [Press button in NR will run a python script on a remote win pc](https://discourse.nodered.org/t/press-button-in-nr-will-run-a-python-script-on-a-remote-win-pc/53718)

<div class="topic-metadata">

**Author:** [@CarloJongen](https://discourse.nodered.org/u/CarloJongen)\
**Replies:** 13\
**Last updated:** [23 November 2021 15:59 UTC](https://discourse.nodered.org/t/press-button-in-nr-will-run-a-python-script-on-a-remote-win-pc/53718 "2021-11-23T15:59:13Z")

</div>

I would like to make a button in Node Red on my RPI that sends a command to a remote windows pc to run a \*.bat file or python script directly. So if I press this button in Node Red it will execute a python script on a re…

---

## [Foreach topic and payload](https://discourse.nodered.org/t/foreach-topic-and-payload/54046)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 9\
**Last updated:** [23 November 2021 11:57 UTC](https://discourse.nodered.org/t/foreach-topic-and-payload/54046 "2021-11-23T11:57:16Z")

</div>

I have array, for (var i = 0; i \< numbers.length; i++) { numbers\[i\] \*= 2; query.push(array\[i\].query; temp.push(array\[i\].push; } and I want to send msg.topic, msg.payload, msg.something like this msg.query.forEach(qu…

---

## [Node-red-contrib-usb-hid-relay](https://discourse.nodered.org/t/node-red-contrib-usb-hid-relay/54134)

<div class="topic-metadata">

**Author:** [@Antor](https://discourse.nodered.org/u/Antor)\
**Replies:** 5\
**Last updated:** [23 November 2021 09:07 UTC](https://discourse.nodered.org/t/node-red-contrib-usb-hid-relay/54134 "2021-11-23T09:07:10Z")

</div>

Hello, I have tried to install node-red-contrib-usb-hid-relay with no success. I have tried with manage palette and this is the error code: 2021-11-22T18:32:10.807Z Install : node-red-contrib-usb-hid-relay 0.2.6 2021-1…

---

## [Action depending status Philips Hue lamp](https://discourse.nodered.org/t/action-depending-status-philips-hue-lamp/54095)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 2\
**Last updated:** [23 November 2021 09:04 UTC](https://discourse.nodered.org/t/action-depending-status-philips-hue-lamp/54095 "2021-11-23T09:04:24Z")

</div>

I use the Hue Magic node and it works fine. Now I want to perform an action on a Hue lamp but only if that lamp is turned OFF. For that I suspect that I have to request the status of that lamp and then do or not perform …

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

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