# General

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

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

**Page:** 302

---

## [Moment.js module included by function node gets deleted when importing is-date-object](https://discourse.nodered.org/t/moment-js-module-included-by-function-node-gets-deleted-when-importing-is-date-object/69801)

<div class="topic-metadata">

**Author:** [@maira](https://discourse.nodered.org/u/maira)\
**Replies:** 2\
**Last updated:** [31 October 2022 18:27 UTC](https://discourse.nodered.org/t/moment-js-module-included-by-function-node-gets-deleted-when-importing-is-date-object/69801 "2022-10-31T18:27:33Z")

</div>

Hi all! I have discovered a strange behaviour in Node Red. I got this error from function node I am running several insatnces and i did not have this error in other instances. Upon looking into it I was able to repro…

---

## [Joining MQTT messages when using a wildcard](https://discourse.nodered.org/t/joining-mqtt-messages-when-using-a-wildcard/69738)

<div class="topic-metadata">

**Author:** [@gspritchard](https://discourse.nodered.org/u/gspritchard)\
**Replies:** 15\
**Last updated:** [31 October 2022 16:40 UTC](https://discourse.nodered.org/t/joining-mqtt-messages-when-using-a-wildcard/69738 "2022-10-31T16:40:07Z")

</div>

Hi, I am relatively new to Node-Red, and have been plugging away for around 12 months with limited coding knowledge. I have a system that sends out MQTT messages for each of the sensor readings in separate MQTT message…

---

## [Installation of node-red-contrib-wazo-platform](https://discourse.nodered.org/t/installation-of-node-red-contrib-wazo-platform/69835)

<div class="topic-metadata">

**Author:** [@Corentin-F](https://discourse.nodered.org/u/Corentin-F)\
**Replies:** 4\
**Last updated:** [31 October 2022 15:56 UTC](https://discourse.nodered.org/t/installation-of-node-red-contrib-wazo-platform/69835 "2022-10-31T15:56:48Z")

</div>

Hello, I had a problem installing node-red-contrib-wazo-platform. I have this: npm i node-red-contrib-wazo-platform npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/reques…

---

## [Send message from a html input button on template back to node red](https://discourse.nodered.org/t/send-message-from-a-html-input-button-on-template-back-to-node-red/69831)

<div class="topic-metadata">

**Author:** [@Henrique](https://discourse.nodered.org/u/Henrique)\
**Replies:** 4\
**Last updated:** [31 October 2022 14:47 UTC](https://discourse.nodered.org/t/send-message-from-a-html-input-button-on-template-back-to-node-red/69831 "2022-10-31T14:47:57Z")

</div>

can i send a msg to the node red debug from a template node? i made a site with the http in - template - http out and i want that when i click a button (not a submit button, just a ) the node red debug receives some mess…

---

## [How to load value of flow variable in different flow](https://discourse.nodered.org/t/how-to-load-value-of-flow-variable-in-different-flow/69832)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 2\
**Last updated:** [31 October 2022 13:13 UTC](https://discourse.nodered.org/t/how-to-load-value-of-flow-variable-in-different-flow/69832 "2022-10-31T13:13:48Z")

</div>

Hi, yes, I know the global variables but happens to me sometimes to use the value of one flow variable set in another flow .... How can I load this value without transform that variable in global?

---

## [Only forward a message after two consequative messages with same payload](https://discourse.nodered.org/t/only-forward-a-message-after-two-consequative-messages-with-same-payload/69834)

<div class="topic-metadata">

**Author:** [@DavyLandman](https://discourse.nodered.org/u/DavyLandman)\
**Replies:** 3\
**Last updated:** [31 October 2022 12:58 UTC](https://discourse.nodered.org/t/only-forward-a-message-after-two-consequative-messages-with-same-payload/69834 "2022-10-31T12:58:29Z")

</div>

I'm parsing something from a noisy source (literal, ascii noise over the line), and I want to filter out "wrong" messages by only sending stuff along after I've seen the same value twice in a row. Since it's a slow movin…

---

## [Change flow variable value from template node](https://discourse.nodered.org/t/change-flow-variable-value-from-template-node/69829)

<div class="topic-metadata">

**Author:** [@Henrique](https://discourse.nodered.org/u/Henrique)\
**Replies:** 0\
**Last updated:** [31 October 2022 11:24 UTC](https://discourse.nodered.org/t/change-flow-variable-value-from-template-node/69829 "2022-10-31T11:24:27Z")

</div>

i have a bunch os input with value='{{flow.abc}}' but i want that when i click a button this {{flow.abc}} turn into another value. there is some way to do this? the page have auto refresh each second and the js is ready …

---

## [How to refresh global variable](https://discourse.nodered.org/t/how-to-refresh-global-variable/69820)

<div class="topic-metadata">

**Author:** [@rush\_cs](https://discourse.nodered.org/u/rush_cs)\
**Replies:** 4\
**Last updated:** [31 October 2022 10:49 UTC](https://discourse.nodered.org/t/how-to-refresh-global-variable/69820 "2022-10-31T10:49:03Z")

</div>

I am currently using global variables to display data from different function. The data does not display real time changes. if I stop the flow, the value of the output changes. How can I make it so the values being displ…

---

## [Can't get email on Pi 3 Ubuntu](https://discourse.nodered.org/t/cant-get-email-on-pi-3-ubuntu/69813)

<div class="topic-metadata">

**Author:** [@LasseMartinell](https://discourse.nodered.org/u/LasseMartinell)\
**Replies:** 4\
**Last updated:** [31 October 2022 08:47 UTC](https://discourse.nodered.org/t/cant-get-email-on-pi-3-ubuntu/69813 "2022-10-31T08:47:15Z")

</div>

I have installed node-red-node-mail. I have 2 computers running node-red. When upgrade the Mac I lost data and have to rebuild the flow. So I invested in a Raspberry Pi 3 to get a stabile computer. It works on the Mac bu…

---

## [Help with redis](https://discourse.nodered.org/t/help-with-redis/69806)

<div class="topic-metadata">

**Author:** [@greengolfer](https://discourse.nodered.org/u/greengolfer)\
**Replies:** 1\
**Last updated:** [31 October 2022 07:19 UTC](https://discourse.nodered.org/t/help-with-redis/69806 "2022-10-31T07:19:55Z")

</div>

Hello, I am using https://flows.nodered.org/node/node-red-contrib-redis. I have some issues to find the right syntax when using the cmd node. As the documentation is pretty scarce I wonder if someone can help here. I w…

---

## [Pycomm3 - Logixdriver](https://discourse.nodered.org/t/pycomm3-logixdriver/69807)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 2\
**Last updated:** [31 October 2022 00:44 UTC](https://discourse.nodered.org/t/pycomm3-logixdriver/69807 "2022-10-31T00:44:13Z")

</div>

I've seen some examples of a simple python program reading and writing tags to the Allen Bradley Micro 820 (800 series plc). Has anyone looked at creating a Node for this function? I'm to much of a beginner to attempt t…

---

## [Help with multiple lines on inject node](https://discourse.nodered.org/t/help-with-multiple-lines-on-inject-node/69768)

<div class="topic-metadata">

**Author:** [@itcouldbeL](https://discourse.nodered.org/u/itcouldbeL)\
**Replies:** 3\
**Last updated:** [30 October 2022 22:42 UTC](https://discourse.nodered.org/t/help-with-multiple-lines-on-inject-node/69768 "2022-10-30T22:42:12Z")

</div>

Hi again, I'm working on a system which extracts info from an email and triggers events based on the input. all the hard part is done regarding regex etc, as I originally built this outside of node red. Now that I'm t…

---

## [Joining msg.payload and then sending to SQLite. Two entries instead of one](https://discourse.nodered.org/t/joining-msg-payload-and-then-sending-to-sqlite-two-entries-instead-of-one/69804)

<div class="topic-metadata">

**Author:** [@jjo998](https://discourse.nodered.org/u/jjo998)\
**Replies:** 2\
**Last updated:** [30 October 2022 20:14 UTC](https://discourse.nodered.org/t/joining-msg-payload-and-then-sending-to-sqlite-two-entries-instead-of-one/69804 "2022-10-30T20:14:49Z")

</div>

Hi there, I'm very new to node red so apologies in advance if I make a mis-step with posting for help. My question outlined here, is how do I get two MQTT messages to input into an SQLite database as a single entry. I …

---

## [How to use different IPs with mqtt](https://discourse.nodered.org/t/how-to-use-different-ips-with-mqtt/69785)

<div class="topic-metadata">

**Author:** [@shaunfish](https://discourse.nodered.org/u/shaunfish)\
**Replies:** 14\
**Last updated:** [30 October 2022 17:32 UTC](https://discourse.nodered.org/t/how-to-use-different-ips-with-mqtt/69785 "2022-10-30T17:32:56Z")

</div>

Hi all I am very new to node-red and have a simple question(to some). I have two Raspberry pi's that I want to monitor from my windows laptop, I have set up a flow but I cant seem to use the two different pi IP addr…

---

## [Node-red restarts of their own accord?](https://discourse.nodered.org/t/node-red-restarts-of-their-own-accord/69766)

<div class="topic-metadata">

**Author:** [@hepcat72](https://discourse.nodered.org/u/hepcat72)\
**Replies:** 21\
**Last updated:** [30 October 2022 16:32 UTC](https://discourse.nodered.org/t/node-red-restarts-of-their-own-accord/69766 "2022-10-30T16:32:55Z")

</div>

A few weeks ago, when we left on vacation and I'd bought some smart water sensors, I'd rigged some automations to turn on a pair of shop vacs in the basement if the water sensors detected that the basement was flooding. …

---

## [Join two times same array, how?](https://discourse.nodered.org/t/join-two-times-same-array-how/69754)

<div class="topic-metadata">

**Author:** [@alexandrechoske](https://discourse.nodered.org/u/alexandrechoske)\
**Replies:** 3\
**Last updated:** [30 October 2022 16:18 UTC](https://discourse.nodered.org/t/join-two-times-same-array-how/69754 "2022-10-30T16:18:37Z")

</div>

Hi guys, I am facing a hard time here with array and need some help. Basically what I am trying to do is to join 2 arrays, but here is a little bit more complicated because I have 2 ids on arr2, and the id in arr1. Exa…

---

## [General Query : Subflows vs. Link Call - Roadmap](https://discourse.nodered.org/t/general-query-subflows-vs-link-call-roadmap/69788)

<div class="topic-metadata">

**Author:** [@SandeepA](https://discourse.nodered.org/u/SandeepA)\
**Replies:** 3\
**Last updated:** [30 October 2022 11:03 UTC](https://discourse.nodered.org/t/general-query-subflows-vs-link-call-roadmap/69788 "2022-10-30T11:03:00Z")

</div>

Hi , I have a general query - How does NR team see the roadmap / future of subflows vs. Link Call. The main merit of Subflows which i see is - Parameterization - parameters allow on subflow definition - even if stat…

---

## [Port 1880 does not work in Docker on a Raspi 400](https://discourse.nodered.org/t/port-1880-does-not-work-in-docker-on-a-raspi-400/69638)

<div class="topic-metadata">

**Author:** [@MPerezP](https://discourse.nodered.org/u/MPerezP)\
**Replies:** 13\
**Last updated:** [30 October 2022 10:40 UTC](https://discourse.nodered.org/t/port-1880-does-not-work-in-docker-on-a-raspi-400/69638 "2022-10-30T10:40:44Z")

</div>

I an trying to install nodered over docker in Raspi 400. I have to use the command "docker run..." with all options as recommended in GitHub. Including "-p 1880:1880". But when I run this command and try to see the node…

---

## [Raspberry Pi 4 forum?](https://discourse.nodered.org/t/raspberry-pi-4-forum/69748)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 6\
**Last updated:** [30 October 2022 10:20 UTC](https://discourse.nodered.org/t/raspberry-pi-4-forum/69748 "2022-10-30T10:20:19Z")

</div>

I realize this has nothing to do with this forum, I'm just asking if anyone know what is going on. I have been trying to register in the raspberry pi forum, I have created an account and it say it's going to send email …

---

## [Set node config values as \`undefined\`](https://discourse.nodered.org/t/set-node-config-values-as-undefined/69781)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 4\
**Last updated:** [30 October 2022 08:18 UTC](https://discourse.nodered.org/t/set-node-config-values-as-undefined/69781 "2022-10-30T08:18:34Z")

</div>

So... This might be a really simple thing I am missing... But I am migrating a node over to typescript. and I have a need to set a config value as undefined if its length is \<1... setting this.someConfigValue = undef…

---

## [Node-Red HTTP Request and session cookies](https://discourse.nodered.org/t/node-red-http-request-and-session-cookies/6236)

<div class="topic-metadata">

**Author:** [@masterz666](https://discourse.nodered.org/u/masterz666)\
**Replies:** 3\
**Last updated:** [30 October 2022 07:41 UTC](https://discourse.nodered.org/t/node-red-http-request-and-session-cookies/6236 "2022-10-30T07:41:44Z")

</div>

Hi, I'm trying to control my alarm system (Somfy protexiom 800) from Node-Red. My starting point was a shell script by jcjames\_13009 (located here: \[Bash\] Script alarme Somfy Protexiom 5000 - Forum Domoticz en français)…

---

## [How to send a binary file to MQTT](https://discourse.nodered.org/t/how-to-send-a-binary-file-to-mqtt/69780)

<div class="topic-metadata">

**Author:** [@jsail](https://discourse.nodered.org/u/jsail)\
**Replies:** 5\
**Last updated:** [29 October 2022 23:22 UTC](https://discourse.nodered.org/t/how-to-send-a-binary-file-to-mqtt/69780 "2022-10-29T23:22:13Z")

</div>

I would like to send a small photo to the MQTT broker. Unfortunately I only find a CMD call for it: mosquitto\_pub -t test -f file

---

## [How to config mqtt by "POST /flows"(remotely way) with username and passwd](https://discourse.nodered.org/t/how-to-config-mqtt-by-post-flows-remotely-way-with-username-and-passwd/69776)

<div class="topic-metadata">

**Author:** [@joe1](https://discourse.nodered.org/u/joe1)\
**Replies:** 3\
**Last updated:** [29 October 2022 17:55 UTC](https://discourse.nodered.org/t/how-to-config-mqtt-by-post-flows-remotely-way-with-username-and-passwd/69776 "2022-10-29T17:55:04Z")

</div>

I'm used "POST /flows" remotely api is effect,but in mqtt-broker-json can't set password and username ,I do not know the key in json. please tell me . nodered-version:v2.1.6 ex "type": "mqtt-broker", .... { "id": "…

---

## [Feature Request: Confirm Delete Flow](https://discourse.nodered.org/t/feature-request-confirm-delete-flow/5339)

<div class="topic-metadata">

**Author:** [@bugs181](https://discourse.nodered.org/u/bugs181)\
**Replies:** 9\
**Last updated:** [29 October 2022 12:44 UTC](https://discourse.nodered.org/t/feature-request-confirm-delete-flow/5339 "2022-10-29T12:44:51Z")

</div>

:thought\_balloon: As the title states, a great opportunity to improve the user experience would be a Confirm dialog - such as the one used when there are errors on the flow, with a Confirm button when a user is going to…

---

## [SMTP input causes crash (Windows)](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697)

<div class="topic-metadata">

**Author:** [@itcouldbeL](https://discourse.nodered.org/u/itcouldbeL)\
**Replies:** 5\
**Last updated:** [29 October 2022 12:40 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697 "2022-10-29T12:40:16Z")

</div>

Hi, Thanks for welcoming me to the forum! I really hate to be that person who asks for help on a first post, but here we are... I've got a brand new windows 10 pro machine which I installed node-red on to parse some lo…

---

## [UI Variables Storage Scenario](https://discourse.nodered.org/t/ui-variables-storage-scenario/69764)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 0\
**Last updated:** [29 October 2022 09:35 UTC](https://discourse.nodered.org/t/ui-variables-storage-scenario/69764 "2022-10-29T09:35:37Z")

</div>

Hi there, I am trying to figure out how to implement the following scenario . Lets say I have several global/flow variables (A,B,C) used in various ways throughout the flow (displays, calculations, etc.). On the UI…

---

## [Changing file dynamicaly in media node](https://discourse.nodered.org/t/changing-file-dynamicaly-in-media-node/69695)

<div class="topic-metadata">

**Author:** [@jhoepffner](https://discourse.nodered.org/u/jhoepffner)\
**Replies:** 2\
**Last updated:** [29 October 2022 07:30 UTC](https://discourse.nodered.org/t/changing-file-dynamicaly-in-media-node/69695 "2022-10-29T07:30:01Z")

</div>

Hello, I search to change dynamicaly an image file in media node. I wrote msg.payload = {"category": "portraits", "name": "MalouAirodo.jpg"} The original image disapears but there is only the "not found" icon. The f…

---

## [Check msg.payload in array](https://discourse.nodered.org/t/check-msg-payload-in-array/69756)

<div class="topic-metadata">

**Author:** [@yingkhun](https://discourse.nodered.org/u/yingkhun)\
**Replies:** 3\
**Last updated:** [29 October 2022 06:46 UTC](https://discourse.nodered.org/t/check-msg-payload-in-array/69756 "2022-10-29T06:46:31Z")

</div>

hi I'm new in nodered and nodeJS I need to know how to check if message in array like python var my\_array = \["a", "b", "c", "d", "e"\] msg.payload = "c" if msg.payload in my\_array {do something} how to coding Thank…

---

## [How to change an object to array](https://discourse.nodered.org/t/how-to-change-an-object-to-array/69719)

<div class="topic-metadata">

**Author:** [@Percy](https://discourse.nodered.org/u/Percy)\
**Replies:** 2\
**Last updated:** [29 October 2022 03:35 UTC](https://discourse.nodered.org/t/how-to-change-an-object-to-array/69719 "2022-10-29T03:35:16Z")

</div>

Hello, we are working on a project. We get some difficulties in it. We try to change our object to array so we can but it to our ui-table. but our function is not working because there is an error call "Circular". we are…

---

## [Unofficial log file? openaq.log](https://discourse.nodered.org/t/unofficial-log-file-openaq-log/69700)

<div class="topic-metadata">

**Author:** [@Matt.L](https://discourse.nodered.org/u/Matt.L)\
**Replies:** 12\
**Last updated:** [28 October 2022 22:07 UTC](https://discourse.nodered.org/t/unofficial-log-file-openaq-log/69700 "2022-10-28T22:07:12Z")

</div>

On my RasPi running Node-Red, I recently discovered ~/.node-red/openaq.log mainly as it was taking up a bunch of space :slight\_smile: I had changed my logging level when looking into a previous issue I was having with No…

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

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