# General

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

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

**Page:** 542

---

## [Telegram - Flow spams a lot of messages](https://discourse.nodered.org/t/telegram-flow-spams-a-lot-of-messages/46849)

<div class="topic-metadata">

**Author:** [@ChrisTs99](https://discourse.nodered.org/u/ChrisTs99)\
**Replies:** 2\
**Last updated:** [8 June 2021 09:20 UTC](https://discourse.nodered.org/t/telegram-flow-spams-a-lot-of-messages/46849 "2021-06-08T09:20:38Z")

</div>

Hello, I will explain my problem in this flow in order not to get involved with all the nodes. So trigger node is sending every one second "the existing msg object". Function "Fire" has a value which I want to be decrea…

---

## [Connection emotiv insight with node red installed on a raspberry pi4](https://discourse.nodered.org/t/connection-emotiv-insight-with-node-red-installed-on-a-raspberry-pi4/46842)

<div class="topic-metadata">

**Author:** [@BetinEc](https://discourse.nodered.org/u/BetinEc)\
**Replies:** 0\
**Last updated:** [8 June 2021 07:58 UTC](https://discourse.nodered.org/t/connection-emotiv-insight-with-node-red-installed-on-a-raspberry-pi4/46842 "2021-06-08T07:58:48Z")

</div>

I have a problem when connecting my deadema to node network, I only get connecting, I tried everything. the remote connection from EMOTIVAPP was already made and in my raspberry I already installed cortex and added the …

---

## [Request help with making instructions for subflows so they are readable](https://discourse.nodered.org/t/request-help-with-making-instructions-for-subflows-so-they-are-readable/46834)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [8 June 2021 06:52 UTC](https://discourse.nodered.org/t/request-help-with-making-instructions-for-subflows-so-they-are-readable/46834 "2021-06-08T06:52:31Z")

</div>

Sorry folks. I am trying to understand how to include instructions on subflows. So when you click on the i button (right side of screen) you see the instructions and they are formatted correctly. I have part of it wor…

---

## [TTN Decoder - Help](https://discourse.nodered.org/t/ttn-decoder-help/46711)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 1\
**Last updated:** [8 June 2021 05:31 UTC](https://discourse.nodered.org/t/ttn-decoder-help/46711 "2021-06-08T05:31:36Z")

</div>

Hi, In TTN they are no longer supporting large decoders. ttndecoder.txt (27.5 KB) I know what the decoder needs to be in TTN, it is in my DECODER function. If you use inject Payload \[1,2,3\] RAW, it injects the raw pa…

---

## [Inject Node Periodic 30 minutes incomplete](https://discourse.nodered.org/t/inject-node-periodic-30-minutes-incomplete/46829)

<div class="topic-metadata">

**Author:** [@priamai](https://discourse.nodered.org/u/priamai)\
**Replies:** 3\
**Last updated:** [7 June 2021 21:33 UTC](https://discourse.nodered.org/t/inject-node-periodic-30-minutes-incomplete/46829 "2021-06-07T21:33:04Z")

</div>

Hi there, I am unable to setup a 30 minutes periodic trigger for a full day. This is my setting: I noticed that it stops at 22.30 and then jumps to next day midnight. In the selection box I am unable to select 2…

---

## [Ouvrir une fenêtre a partir d'un texte sur le tableau de bord](https://discourse.nodered.org/t/ouvrir-une-fenetre-a-partir-dun-texte-sur-le-tableau-de-bord/46830)

<div class="topic-metadata">

**Author:** [@fabien](https://discourse.nodered.org/u/fabien)\
**Replies:** 0\
**Last updated:** [7 June 2021 21:01 UTC](https://discourse.nodered.org/t/ouvrir-une-fenetre-a-partir-dun-texte-sur-le-tableau-de-bord/46830 "2021-06-07T21:01:52Z")

</div>

Bonsoir, existe t il un moyen d'ouvrir une fenêtre a partir d'un texte sur le tableau de bord. Par exemple une donnée numérique affiché sur le tableau de bord, on cliquerais dessus et un graphique apparaîtrait.

---

## [Test payload for date.now+1](https://discourse.nodered.org/t/test-payload-for-date-now-1/46820)

<div class="topic-metadata">

**Author:** [@monsivar](https://discourse.nodered.org/u/monsivar)\
**Replies:** 3\
**Last updated:** [7 June 2021 20:57 UTC](https://discourse.nodered.org/t/test-payload-for-date-now-1/46820 "2021-06-07T20:57:18Z")

</div>

I have an payload "payload.date" with format "2021-06-18" How to write an function to check if the payload.date is today's date+1 day If its true, forward message, if not, stop the message Regards Mons

---

## [ERROR msg.payload.debit undefined : Aider moi svp](https://discourse.nodered.org/t/error-msg-payload-debit-undefined-aider-moi-svp/46827)

<div class="topic-metadata">

**Author:** [@azer](https://discourse.nodered.org/u/azer)\
**Replies:** 0\
**Last updated:** [7 June 2021 17:17 UTC](https://discourse.nodered.org/t/error-msg-payload-debit-undefined-aider-moi-svp/46827 "2021-06-07T17:17:06Z")

</div>

Bonjour, Je veux extraire la valeur de débit d'air pour une alerte par email. comment faire svp? voici la fonction du capteur d'air i.o link -- english translation -- Hello, I want to extract the airflow value for …

---

## [Extract value from array based JSON](https://discourse.nodered.org/t/extract-value-from-array-based-json/46787)

<div class="topic-metadata">

**Author:** [@norb3](https://discourse.nodered.org/u/norb3)\
**Replies:** 3\
**Last updated:** [7 June 2021 18:37 UTC](https://discourse.nodered.org/t/extract-value-from-array-based-json/46787 "2021-06-07T18:37:32Z")

</div>

Hi, I have an json payload where data is organised inside an array and I want to obtain a value from one of the positions. since it is inside an array I need to filter the position that I want using a predicate. But I d…

---

## [Where can I find (or enable) an "interactive" console in node-red?](https://discourse.nodered.org/t/where-can-i-find-or-enable-an-interactive-console-in-node-red/45905)

<div class="topic-metadata">

**Author:** [@abhilash-ingale](https://discourse.nodered.org/u/abhilash-ingale)\
**Replies:** 28\
**Last updated:** [7 June 2021 17:36 UTC](https://discourse.nodered.org/t/where-can-i-find-or-enable-an-interactive-console-in-node-red/45905 "2021-06-07T17:36:59Z")

</div>

Disclaimer: Newbie Alert Hi, I am running Node-red (v1.2.9) on Raspbian (version 10 "buster"). I have connected an embedded device through USB-Serial (RS232) adapter that sends data on my USB port (/dev/ttyUSB0). After…

---

## [Cron-Plus - Triggering the currently active job](https://discourse.nodered.org/t/cron-plus-triggering-the-currently-active-job/46810)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 5\
**Last updated:** [7 June 2021 17:17 UTC](https://discourse.nodered.org/t/cron-plus-triggering-the-currently-active-job/46810 "2021-06-07T17:17:19Z")

</div>

Good day all and especially you @Steve-Mcl ! I have been using the node node-red-contrib-cron-plus for a little while now, converting all of my flows over to this node... All is going well, but I have run into my "skill…

---

## [Deprecation warnings](https://discourse.nodered.org/t/deprecation-warnings/46822)

<div class="topic-metadata">

**Author:** [@NPT](https://discourse.nodered.org/u/NPT)\
**Replies:** 6\
**Last updated:** [7 June 2021 16:36 UTC](https://discourse.nodered.org/t/deprecation-warnings/46822 "2021-06-07T16:36:13Z")

</div>

I suddenly started receiving a warning every time I Deploy saying, “The workspace contains some nodes that are not properly configured:” and referring to a Dashboard stylesheet (ui\_template) which has the little red pyr…

---

## [RFID tag writer](https://discourse.nodered.org/t/rfid-tag-writer/46427)

<div class="topic-metadata">

**Author:** [@usmanEmder](https://discourse.nodered.org/u/usmanEmder)\
**Replies:** 7\
**Last updated:** [7 June 2021 16:05 UTC](https://discourse.nodered.org/t/rfid-tag-writer/46427 "2021-06-07T16:05:21Z")

</div>

Hello everyone. Currently, I am using " rc522" node to read rfid tags (id, data). Is there any node to write rfid tags?

---

## [Put of flow api produces z property on tab node](https://discourse.nodered.org/t/put-of-flow-api-produces-z-property-on-tab-node/46823)

<div class="topic-metadata">

**Author:** [@H3llsing](https://discourse.nodered.org/u/H3llsing)\
**Replies:** 2\
**Last updated:** [7 June 2021 15:52 UTC](https://discourse.nodered.org/t/put-of-flow-api-produces-z-property-on-tab-node/46823 "2021-06-07T15:52:06Z")

</div>

Hey all, i was playing around with the api and was testing to update all flows and a specific flow via put /flows put /flow/{flowid} i noticed that when you update a flow via /flow/{flowid} that the tab node inside o…

---

## [Adding timestamp to a switch payload and then writing it to a .CSV file](https://discourse.nodered.org/t/adding-timestamp-to-a-switch-payload-and-then-writing-it-to-a-csv-file/46819)

<div class="topic-metadata">

**Author:** [@ruansonder-r](https://discourse.nodered.org/u/ruansonder-r)\
**Replies:** 2\
**Last updated:** [7 June 2021 15:54 UTC](https://discourse.nodered.org/t/adding-timestamp-to-a-switch-payload-and-then-writing-it-to-a-csv-file/46819 "2021-06-07T15:54:23Z")

</div>

Hi, i am trying to log the times of when I switch devices on and off within my system, and the flow I have made does not work for some reason? this is my first Node-Red project. here is the Json code as well. \[{"id…

---

## [Error adding flows Cannot read property 'indexOf' of undefined](https://discourse.nodered.org/t/error-adding-flows-cannot-read-property-indexof-of-undefined/46776)

<div class="topic-metadata">

**Author:** [@levi](https://discourse.nodered.org/u/levi)\
**Replies:** 3\
**Last updated:** [7 June 2021 15:54 UTC](https://discourse.nodered.org/t/error-adding-flows-cannot-read-property-indexof-of-undefined/46776 "2021-06-07T15:54:16Z")

</div>

Hello, I was working on node-red, then one minute later when I closed and ran it again from cmd it started to give this error: "Error adding flows Cannot read property 'indexOf' of undefined" There is no error in cmd. …

---

## [How does one set a "parameter" via a global variable](https://discourse.nodered.org/t/how-does-one-set-a-parameter-via-a-global-variable/46800)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 10\
**Last updated:** [7 June 2021 14:45 UTC](https://discourse.nodered.org/t/how-does-one-set-a-parameter-via-a-global-variable/46800 "2021-06-07T14:45:05Z")

</div>

Good day learned ones! I have a need to be able to set a serial port address from an defined variable that I can input via a dashboard.... Particularly these bits (particularly the Port Address, More if possible....) …

---

## [Get index of array](https://discourse.nodered.org/t/get-index-of-array/46809)

<div class="topic-metadata">

**Author:** [@MAHRULEZ](https://discourse.nodered.org/u/MAHRULEZ)\
**Replies:** 4\
**Last updated:** [7 June 2021 14:04 UTC](https://discourse.nodered.org/t/get-index-of-array/46809 "2021-06-07T14:04:54Z")

</div>

Hello again, i get an array of objects from node-red-contib-arp (note: filtering for mac adresses is not possible/working in that node!): now i try to get the array index of the searched mac adress (in this case 21) …

---

## [I cant Install node-red](https://discourse.nodered.org/t/i-cant-install-node-red/46808)

<div class="topic-metadata">

**Author:** [@d0d04m3](https://discourse.nodered.org/u/d0d04m3)\
**Replies:** 8\
**Last updated:** [7 June 2021 13:46 UTC](https://discourse.nodered.org/t/i-cant-install-node-red/46808 "2021-06-07T13:46:12Z")

</div>

hi am update nodejs and npm but node-red cant run so am removed and installed againe but nothing same issus $ npm install -g --unsafe-perm node-red npm WARN deprecated har-validator@5.1.5: this library is no longer …

---

## [Compiling Date and Time to a readable value](https://discourse.nodered.org/t/compiling-date-and-time-to-a-readable-value/46803)

<div class="topic-metadata">

**Author:** [@swanside](https://discourse.nodered.org/u/swanside)\
**Replies:** 8\
**Last updated:** [7 June 2021 13:46 UTC](https://discourse.nodered.org/t/compiling-date-and-time-to-a-readable-value/46803 "2021-06-07T13:46:59Z")

</div>

Hello again I can get the minutes, Seconds Hours, day, month and year from my device, but I cant figure out how to make it readable. Any pointers please? Thanks

---

## [Zigbee2mqtt Node](https://discourse.nodered.org/t/zigbee2mqtt-node/46780)

<div class="topic-metadata">

**Author:** [@kurtufiyde](https://discourse.nodered.org/u/kurtufiyde)\
**Replies:** 4\
**Last updated:** [7 June 2021 10:37 UTC](https://discourse.nodered.org/t/zigbee2mqtt-node/46780 "2021-06-07T10:37:23Z")

</div>

I have installed the zigbee2mqtt node node-red-contrib-zigbee2mqtt (node) - Node-RED , i have configured my z2m server details , but it is not listing the devices from my zigbee2mqtt server . tried restarting node red se…

---

## [Sonos with nodered](https://discourse.nodered.org/t/sonos-with-nodered/46805)

<div class="topic-metadata">

**Author:** [@automati](https://discourse.nodered.org/u/automati)\
**Replies:** 0\
**Last updated:** [7 June 2021 10:32 UTC](https://discourse.nodered.org/t/sonos-with-nodered/46805 "2021-06-07T10:32:42Z")

</div>

Hello everybody I managed to switch my Sonos on and off from NodeRed .. Does anyone of you know what I have to do if I want to play an alarm or sound? (i.e. an mp3 file)

---

## [Reboot? Restart?](https://discourse.nodered.org/t/reboot-restart/46490)

<div class="topic-metadata">

**Author:** [@Pinky](https://discourse.nodered.org/u/Pinky)\
**Replies:** 6\
**Last updated:** [7 June 2021 10:19 UTC](https://discourse.nodered.org/t/reboot-restart/46490 "2021-06-07T10:19:45Z")

</div>

Hello everybody, I noticed, that my instance is rebooting/reinitializing very often. Flow Variables are resetting at these times. So I created a routine that always sends a mail after Node Red is started. Now I can insp…

---

## [Telegram - Send and Receive Actions](https://discourse.nodered.org/t/telegram-send-and-receive-actions/46789)

<div class="topic-metadata">

**Author:** [@ChrisTs99](https://discourse.nodered.org/u/ChrisTs99)\
**Replies:** 8\
**Last updated:** [7 June 2021 09:25 UTC](https://discourse.nodered.org/t/telegram-send-and-receive-actions/46789 "2021-06-07T09:25:52Z")

</div>

Hello, I have complete my telegram's bot setup and I am trying to open a switch using command "true" and close it using "false" respectively (telegram app). I also want to receive a feedback of these actions in my teleg…

---

## [HTTP Request Node and special characters](https://discourse.nodered.org/t/http-request-node-and-special-characters/46506)

<div class="topic-metadata">

**Author:** [@TottiT](https://discourse.nodered.org/u/TottiT)\
**Replies:** 4\
**Last updated:** [7 June 2021 09:20 UTC](https://discourse.nodered.org/t/http-request-node-and-special-characters/46506 "2021-06-07T09:20:21Z")

</div>

Hey all! A rather fresh (~1 year on/off) node-red user here! I'm having trouble parsing a webpage which includes Scandinavian letters like ä/ö. Here's an example flow: \[{"id":"a02852a0.3a07","type":"tab","label":"Enco…

---

## [Service :: Turn off not working](https://discourse.nodered.org/t/service-turn-off-not-working/46726)

<div class="topic-metadata">

**Author:** [@alamapstieks](https://discourse.nodered.org/u/alamapstieks)\
**Replies:** 5\
**Last updated:** [7 June 2021 09:05 UTC](https://discourse.nodered.org/t/service-turn-off-not-working/46726 "2021-06-07T09:05:08Z")

</div>

Hi Guys, I have some strange behaviour (running node red v1.3.3) where I call a service to switch off a switch, but it switches it on instead? Any ideas? As you can see below I am calling the turn-off but it fires turn\_…

---

## [Help me parse this payload please](https://discourse.nodered.org/t/help-me-parse-this-payload-please/46758)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 8\
**Last updated:** [7 June 2021 08:41 UTC](https://discourse.nodered.org/t/help-me-parse-this-payload-please/46758 "2021-06-07T08:41:57Z")

</div>

Hey Guys, Using Tasmota on an ESP32 - to monitor BLE temperature sensors - just migrated this from the OpenMQTTGateway platform. I am having trouble getting the MQTT input parsed within NR. In this instance i have 3 o…

---

## [Help with writing and understanding function for setting payload from an json](https://discourse.nodered.org/t/help-with-writing-and-understanding-function-for-setting-payload-from-an-json/46794)

<div class="topic-metadata">

**Author:** [@monsivar](https://discourse.nodered.org/u/monsivar)\
**Replies:** 10\
**Last updated:** [7 June 2021 08:41 UTC](https://discourse.nodered.org/t/help-with-writing-and-understanding-function-for-setting-payload-from-an-json/46794 "2021-06-07T08:41:21Z")

</div>

Hi I got an json ( https://pollenkontroll.no/api/middleware/pollen/b5bb4856-2117-433d-bf18-53504ef2f101?t=1623043832177 ) that i want to sort and set status on sensors in Home assistant. Still struggling with function n…

---

## [If and wait command?](https://discourse.nodered.org/t/if-and-wait-command/46797)

<div class="topic-metadata">

**Author:** [@ysfkhvc](https://discourse.nodered.org/u/ysfkhvc)\
**Replies:** 4\
**Last updated:** [7 June 2021 08:01 UTC](https://discourse.nodered.org/t/if-and-wait-command/46797 "2021-06-07T08:01:09Z")

</div>

Hello , I just started using node-red and I don't know js. I would be glad if you help. What I want to do is to send an e-mail if an incoming temperature information is above a certain value, but then wait 30 minutes t…

---

## [sACN filteren van data](https://discourse.nodered.org/t/sacn-filteren-van-data/46609)

<div class="topic-metadata">

**Author:** [@bvt-events](https://discourse.nodered.org/u/bvt-events)\
**Replies:** 2\
**Last updated:** [7 June 2021 05:26 UTC](https://discourse.nodered.org/t/sacn-filteren-van-data/46609 "2021-06-07T05:26:35Z")

</div>

good afternoon, who could help me with the following. I receive sACN from a light desk (for a light show), I also see this coming in via a debug. this string consists of 512 steps, I would like to filter this so that …

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

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