# General

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

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

**Page:** 564

---

## [Help array: need to put an array in an array](https://discourse.nodered.org/t/help-array-need-to-put-an-array-in-an-array/44922)

<div class="topic-metadata">

**Author:** [@AxelD](https://discourse.nodered.org/u/AxelD)\
**Replies:** 2\
**Last updated:** [29 April 2021 10:06 UTC](https://discourse.nodered.org/t/help-array-need-to-put-an-array-in-an-array/44922 "2021-04-29T10:06:08Z")

</div>

Hey guys! I need some help. In the first payload there is an array of data and I want to write a function that puts that array one step further. Now it is msg.payload\[ \] ==\> I want it to be msg.payload.metadata\[ \] C…

---

## [TypeError: callback is not a function](https://discourse.nodered.org/t/typeerror-callback-is-not-a-function/44865)

<div class="topic-metadata">

**Author:** [@Lost](https://discourse.nodered.org/u/Lost)\
**Replies:** 5\
**Last updated:** [29 April 2021 08:46 UTC](https://discourse.nodered.org/t/typeerror-callback-is-not-a-function/44865 "2021-04-29T08:46:52Z")

</div>

Hi. Hope someone can explain why i get the error: TypeError: callback is not a function I have been using an old openhab installation on a RSPI3 where i used nodered (v0.19.5) as the gateway between openhab and "HDL Bu…

---

## [Permanent running Node-Red Methods?](https://discourse.nodered.org/t/permanent-running-node-red-methods/44843)

<div class="topic-metadata">

**Author:** [@Eintracht00](https://discourse.nodered.org/u/Eintracht00)\
**Replies:** 6\
**Last updated:** [29 April 2021 08:40 UTC](https://discourse.nodered.org/t/permanent-running-node-red-methods/44843 "2021-04-29T08:40:49Z")

</div>

Hey which Methods do I have to run my Node-Red automatically and permanent. I made it locally on my Laptop. Now I am thinking about a VM or something like that. Which ways do I have? Pro's & Con's?

---

## [Data Conversion - Java Script Expression - EtherNetIP node](https://discourse.nodered.org/t/data-conversion-java-script-expression-ethernetip-node/44787)

<div class="topic-metadata">

**Author:** [@BrallanH2](https://discourse.nodered.org/u/BrallanH2)\
**Replies:** 7\
**Last updated:** [29 April 2021 08:33 UTC](https://discourse.nodered.org/t/data-conversion-java-script-expression-ethernetip-node/44787 "2021-04-29T08:33:47Z")

</div>

I am reading PLC tags using the Ethernet/IP node. The output is something like: {Recipe.Ingredient\[0\]: 1234.5, Recipe.Ingredient\[1\]: 678.9} There will be hundreds of tags. Right now, I can read them and get a nice log…

---

## [Node-red-contrib-dutch-weather Trigger](https://discourse.nodered.org/t/node-red-contrib-dutch-weather-trigger/44914)

<div class="topic-metadata">

**Author:** [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Replies:** 2\
**Last updated:** [29 April 2021 07:25 UTC](https://discourse.nodered.org/t/node-red-contrib-dutch-weather-trigger/44914 "2021-04-29T07:25:14Z")

</div>

Goodday everyone, In the description of node-red-contrib-dutch-weather it says that the node needs to be triggered in order for it to work. \*Quote: \* In order to get updated data you have to send a message on the inpu…

---

## [Simple voice messages don't work with google home and Node-red-nora](https://discourse.nodered.org/t/simple-voice-messages-dont-work-with-google-home-and-node-red-nora/9040)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 6\
**Last updated:** [29 April 2021 07:03 UTC](https://discourse.nodered.org/t/simple-voice-messages-dont-work-with-google-home-and-node-red-nora/9040 "2021-04-29T07:03:26Z")

</div>

Hello I have created a flow using nora nodes. I have created a nora token, that iuse with my gmail account. I have created some objects (lamp, switch, thermostat,...) in my flow, and I can control them from google hom…

---

## [Initial global variable not working debug undefined](https://discourse.nodered.org/t/initial-global-variable-not-working-debug-undefined/44886)

<div class="topic-metadata">

**Author:** [@riker65](https://discourse.nodered.org/u/riker65)\
**Replies:** 6\
**Last updated:** [29 April 2021 04:49 UTC](https://discourse.nodered.org/t/initial-global-variable-not-working-debug-undefined/44886 "2021-04-29T04:49:31Z")

</div>

Hi I am having a change node to set a global variable triggery by time inject node wondering why after deployment variable is not defined. checking with debug node what am I missing? \[{"id":"510cbd9c.4b2f24","type"…

---

## [Custom Binary string construction help needed](https://discourse.nodered.org/t/custom-binary-string-construction-help-needed/44895)

<div class="topic-metadata">

**Author:** [@Peter](https://discourse.nodered.org/u/Peter)\
**Replies:** 8\
**Last updated:** [28 April 2021 23:32 UTC](https://discourse.nodered.org/t/custom-binary-string-construction-help-needed/44895 "2021-04-28T23:32:06Z")

</div>

Good evening all, here is a challenge for the real node-red genuises!! I am working on an RFID project and need to convert decimal values in a binary string, in a specific order, or change base on a start and end indi…

---

## [Is It possible to download malicious software with node-red?](https://discourse.nodered.org/t/is-it-possible-to-download-malicious-software-with-node-red/44894)

<div class="topic-metadata">

**Author:** [@Toster](https://discourse.nodered.org/u/Toster)\
**Replies:** 4\
**Last updated:** [28 April 2021 22:04 UTC](https://discourse.nodered.org/t/is-it-possible-to-download-malicious-software-with-node-red/44894 "2021-04-28T22:04:32Z")

</div>

I have never thought about it and just downloaded random nodes from the "manage pallete" tab. Is It possible? Are those packages checked somehow? Or should i be more careful. Just wondering. Thank you in advance for you…

---

## [Serial Ascii data](https://discourse.nodered.org/t/serial-ascii-data/44832)

<div class="topic-metadata">

**Author:** [@JanUlr](https://discourse.nodered.org/u/JanUlr)\
**Replies:** 7\
**Last updated:** [28 April 2021 20:38 UTC](https://discourse.nodered.org/t/serial-ascii-data/44832 "2021-04-28T20:38:34Z")

</div>

Hi, im trying to read serial data from a RS232 device and need help to parse it to respective variables for the GUI. Data is on a format $ISAGM,a.aaa,a.aaa,a.aaa,g.ggg,g.ggg,g.ggg,m.mmm,m.mmm,m.mmm\*xx Any suggestions …

---

## [Send QR code via email](https://discourse.nodered.org/t/send-qr-code-via-email/44813)

<div class="topic-metadata">

**Author:** [@torrent](https://discourse.nodered.org/u/torrent)\
**Replies:** 11\
**Last updated:** [28 April 2021 19:55 UTC](https://discourse.nodered.org/t/send-qr-code-via-email/44813 "2021-04-28T19:55:12Z")

</div>

Hi, I want to send QR via email to user. However, I am stuck with coverting output of QR Code module to Buffer or Base64, which can be used to send to user via email. I am using now this QRCode module: QRCode module A…

---

## [Need a nudge in the right direction with msg.params](https://discourse.nodered.org/t/need-a-nudge-in-the-right-direction-with-msg-params/44890)

<div class="topic-metadata">

**Author:** [@brendonhatcher](https://discourse.nodered.org/u/brendonhatcher)\
**Replies:** 1\
**Last updated:** [28 April 2021 20:03 UTC](https://discourse.nodered.org/t/need-a-nudge-in-the-right-direction-with-msg-params/44890 "2021-04-28T20:03:34Z")

</div>

Hi I am using the Spotify node, and having a lot of fun! I have simple nodes - play, pause, skip working. Now I need to use the node with some additional input parameters. I have found the documentation at the bottom…

---

## [Node Red Se queda cargando controladores/Node Red keeps loading plugins](https://discourse.nodered.org/t/node-red-se-queda-cargando-controladores-node-red-keeps-loading-plugins/44882)

<div class="topic-metadata">

**Author:** [@EduardoM](https://discourse.nodered.org/u/EduardoM)\
**Replies:** 6\
**Last updated:** [28 April 2021 19:55 UTC](https://discourse.nodered.org/t/node-red-se-queda-cargando-controladores-node-red-keeps-loading-plugins/44882 "2021-04-28T19:55:12Z")

</div>

que puedo hacer?

---

## [Running node-red flows without node-red?](https://discourse.nodered.org/t/running-node-red-flows-without-node-red/44821)

<div class="topic-metadata">

**Author:** [@sad\_cyrano](https://discourse.nodered.org/u/sad_cyrano)\
**Replies:** 2\
**Last updated:** [28 April 2021 18:54 UTC](https://discourse.nodered.org/t/running-node-red-flows-without-node-red/44821 "2021-04-28T18:54:29Z")

</div>

first of all, I would like to apologize for this absolute beginner question, but I can not find a suitable answer. If I have developed a program with Node-RED, can I continue to develop the generated javascript code with…

---

## [Compare msg.payload numbers](https://discourse.nodered.org/t/compare-msg-payload-numbers/44867)

<div class="topic-metadata">

**Author:** [@martini\_geek](https://discourse.nodered.org/u/martini_geek)\
**Replies:** 2\
**Last updated:** [28 April 2021 15:56 UTC](https://discourse.nodered.org/t/compare-msg-payload-numbers/44867 "2021-04-28T15:56:31Z")

</div>

I have 2 function nodes which gives output as - f1 node output : msg.payload.number - 123 f2 node output : msg.payload.number - 456 if f1==f2 then popup=employeeid. This should show a popup with employeeid in worldma…

---

## [Trigger an action when payload equals a 0](https://discourse.nodered.org/t/trigger-an-action-when-payload-equals-a-0/44876)

<div class="topic-metadata">

**Author:** [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Replies:** 2\
**Last updated:** [28 April 2021 15:35 UTC](https://discourse.nodered.org/t/trigger-an-action-when-payload-equals-a-0/44876 "2021-04-28T15:35:04Z")

</div>

Hello, I would need a Node Red flow able to monitor a MQTT payload and to perform an action (for instance send a mail) just once when the payload is detected equal to 0. I have tried with the switch node but it keeps o…

---

## [Whatsapp messages](https://discourse.nodered.org/t/whatsapp-messages/14141)

<div class="topic-metadata">

**Author:** [@fks\_david](https://discourse.nodered.org/u/fks_david)\
**Replies:** 20\
**Last updated:** [28 April 2021 15:31 UTC](https://discourse.nodered.org/t/whatsapp-messages/14141 "2021-04-28T15:31:54Z")

</div>

Hey! Is there a way to send messages on whatsapp with node-RED? I would like to make an application example the following way: I want to make a basic flow, where there is only one DI ( it could be more later but for n…

---

## [HTTP IN node, retrieve my raw data](https://discourse.nodered.org/t/http-in-node-retrieve-my-raw-data/44853)

<div class="topic-metadata">

**Author:** [@Archi](https://discourse.nodered.org/u/Archi)\
**Replies:** 5\
**Last updated:** [28 April 2021 12:34 UTC](https://discourse.nodered.org/t/http-in-node-retrieve-my-raw-data/44853 "2021-04-28T12:34:14Z")

</div>

Hello everyone, I'm new on Node-red and I'm struggling for now 1 week on a simple problem. To quickly sum up my situation, I'm sending data through an HTTP POST like this: The thing is that I need to retrieve my da…

---

## [Hi i'm sending a msg type (object or string) from node-red using serial mobus with shneider iem-3000 over mqtt but the results is invalid msg (I'm using "mqtt fx")](https://discourse.nodered.org/t/hi-im-sending-a-msg-type-object-or-string-from-node-red-using-serial-mobus-with-shneider-iem-3000-over-mqtt-but-the-results-is-invalid-msg-im-using-mqtt-fx/44854)

<div class="topic-metadata">

**Author:** [@fa7](https://discourse.nodered.org/u/fa7)\
**Replies:** 6\
**Last updated:** [28 April 2021 11:27 UTC](https://discourse.nodered.org/t/hi-im-sending-a-msg-type-object-or-string-from-node-red-using-serial-mobus-with-shneider-iem-3000-over-mqtt-but-the-results-is-invalid-msg-im-using-mqtt-fx/44854 "2021-04-28T11:27:41Z")

</div>

Hi i'm sending a msg type (object or string) from node-red using serial mobus with shneider iem-3000 over mqtt but the results is invalid msg (I'm using "mqtt fx")

---

## [Alexa Remote2 stops talking](https://discourse.nodered.org/t/alexa-remote2-stops-talking/32931)

<div class="topic-metadata">

**Author:** [@wecoyote5](https://discourse.nodered.org/u/wecoyote5)\
**Replies:** 56\
**Last updated:** [28 April 2021 11:19 UTC](https://discourse.nodered.org/t/alexa-remote2-stops-talking/32931 "2021-04-28T11:19:41Z")

</div>

Hi all, I apologize if this has been addressed in another thread but I couldn't find it if it does exist. I'm running the current version of remote2 and every week or so it'll stop talking. Everything else seems to work…

---

## [How to Extracting a binary integer data from a msg.payload?](https://discourse.nodered.org/t/how-to-extracting-a-binary-integer-data-from-a-msg-payload/44844)

<div class="topic-metadata">

**Author:** [@Fef\_38](https://discourse.nodered.org/u/Fef_38)\
**Replies:** 2\
**Last updated:** [28 April 2021 10:45 UTC](https://discourse.nodered.org/t/how-to-extracting-a-binary-integer-data-from-a-msg-payload/44844 "2021-04-28T10:45:50Z")

</div>

Hi, I’m a beginner and I don’t understand what happene with “binary” node I receive from MQTT node a msg.payload in binary format: the fields are 12 32bit integers in little endian, like bellow: F0CC0100581B0000D02F0…

---

## [Specify node\_modules folder in settings.js](https://discourse.nodered.org/t/specify-node-modules-folder-in-settings-js/44537)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 39\
**Last updated:** [28 April 2021 09:57 UTC](https://discourse.nodered.org/t/specify-node-modules-folder-in-settings-js/44537 "2021-04-28T09:57:29Z")

</div>

Hi, I use a different user folder than .node-red without problem. The only issue I'm not able to solve is the node\_modules folder. Following other topics I created a simlink to the one inside the .node-red folder install…

---

## [Stop inject message](https://discourse.nodered.org/t/stop-inject-message/44848)

<div class="topic-metadata">

**Author:** [@scouike](https://discourse.nodered.org/u/scouike)\
**Replies:** 4\
**Last updated:** [28 April 2021 09:48 UTC](https://discourse.nodered.org/t/stop-inject-message/44848 "2021-04-28T09:48:46Z")

</div>

Hello I am currently stuck on a problem. I need to be able to send messages from my automaton to a phone every 15 minutes until the person who receives the messages answers a message to say that he has taken it into ac…

---

## [Automatically write sensor data to new folder after midnight](https://discourse.nodered.org/t/automatically-write-sensor-data-to-new-folder-after-midnight/44840)

<div class="topic-metadata">

**Author:** [@Dave298](https://discourse.nodered.org/u/Dave298)\
**Replies:** 4\
**Last updated:** [28 April 2021 09:13 UTC](https://discourse.nodered.org/t/automatically-write-sensor-data-to-new-folder-after-midnight/44840 "2021-04-28T09:13:59Z")

</div>

Hi guys, :slight\_smile: I have just started to work a bit more intensively with Node Red, as part of a project. In the project are many temperature sensors (DS18B20) on a machine and measure the temperature for several …

---

## [How to update ui\_switch state out off a different flow?](https://discourse.nodered.org/t/how-to-update-ui-switch-state-out-off-a-different-flow/44833)

<div class="topic-metadata">

**Author:** [@Marcow](https://discourse.nodered.org/u/Marcow)\
**Replies:** 2\
**Last updated:** [28 April 2021 08:14 UTC](https://discourse.nodered.org/t/how-to-update-ui-switch-state-out-off-a-different-flow/44833 "2021-04-28T08:14:14Z")

</div>

Hello Community, may someone can share her/his thoughts about this and help with a hint. I tried to turn an ui\_switch ON/OFF out of a different flow by setting a global.variable. The problem now is how to sync the stat…

---

## [Transforming Data with JSONata](https://discourse.nodered.org/t/transforming-data-with-jsonata/44831)

<div class="topic-metadata">

**Author:** [@riplatt](https://discourse.nodered.org/u/riplatt)\
**Replies:** 6\
**Last updated:** [28 April 2021 08:10 UTC](https://discourse.nodered.org/t/transforming-data-with-jsonata/44831 "2021-04-28T08:10:38Z")

</div>

Hi, I'm trying to transform a API result to display on a worldmap. The result looks like: { "payload": \[ { "id": "115", "sample\_time": "2021-04-25T14:00:00.000Z", "lat": -20.00, "lon": 15…

---

## [Select minimum of two values](https://discourse.nodered.org/t/select-minimum-of-two-values/44775)

<div class="topic-metadata">

**Author:** [@gazzat5](https://discourse.nodered.org/u/gazzat5)\
**Replies:** 6\
**Last updated:** [28 April 2021 07:50 UTC](https://discourse.nodered.org/t/select-minimum-of-two-values/44775 "2021-04-28T07:50:22Z")

</div>

Hi there, I am receiving two messages from mqtt, what I want to do is select the lesser of the two and output it to influxdb. I'm guessing I need to use a function but am unsure how to address two incoming message payl…

---

## [Time\_Range\_Switch - Usage](https://discourse.nodered.org/t/time-range-switch-usage/44614)

<div class="topic-metadata">

**Author:** [@MikeyD](https://discourse.nodered.org/u/MikeyD)\
**Replies:** 4\
**Last updated:** [28 April 2021 07:00 UTC](https://discourse.nodered.org/t/time-range-switch-usage/44614 "2021-04-28T07:00:47Z")

</div>

I'm using Time Range Switch to turn on my irrigation at dawn. I want it to switch off 30 minutes later. Because dawn only occurs once/day, it's difficult to run a debug. I tried it this morning and it came on as schedul…

---

## [Import/Export of flows](https://discourse.nodered.org/t/import-export-of-flows/44830)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 1\
**Last updated:** [28 April 2021 06:48 UTC](https://discourse.nodered.org/t/import-export-of-flows/44830 "2021-04-28T06:48:11Z")

</div>

Is this a bug, or have I made an error... When exporting 'Selected nodes', and re-importing them, I don't seem to be able to import them in a tab of my choosing (which I could previously) node-RED v1.3.3 Node v12.2…

---

## [OPC UA Certificate Issue](https://discourse.nodered.org/t/opc-ua-certificate-issue/44300)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 1\
**Last updated:** [28 April 2021 04:54 UTC](https://discourse.nodered.org/t/opc-ua-certificate-issue/44300 "2021-04-28T04:54:05Z")

</div>

Hello, I am using the node-red-contrib-opcua nodes and trying to connect the client nodes to my OPC UA server using a certificate. I have generated the certificate on the Siemens software and set it up so that I can acc…

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

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