# General

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

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

**Page:** 462

---

## [Declaring for datatime value](https://discourse.nodered.org/t/declaring-for-datatime-value/54207)

<div class="topic-metadata">

**Author:** [@TROJAN053](https://discourse.nodered.org/u/TROJAN053)\
**Replies:** 2\
**Last updated:** [26 November 2021 16:47 UTC](https://discourse.nodered.org/t/declaring-for-datatime-value/54207 "2021-11-26T16:47:39Z")

</div>

\[{"id":"af47db90.c714c8","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"252febcc.2b8d54","type":"mqtt in","z":"af47db90.c714c8","name":"","topic":"VEHICLE/LINE3/STN\_DATA","qos":"2","datatype":"json","br…

---

## [Using cloudantStorage.js in 'storageModule' config option](https://discourse.nodered.org/t/using-cloudantstorage-js-in-storagemodule-config-option/54172)

<div class="topic-metadata">

**Author:** [@hammoaj](https://discourse.nodered.org/u/hammoaj)\
**Replies:** 2\
**Last updated:** [26 November 2021 15:53 UTC](https://discourse.nodered.org/t/using-cloudantstorage-js-in-storagemodule-config-option/54172 "2021-11-26T15:53:16Z")

</div>

I'm looking to port the existing cloudStorage.js option to the latest version of NR and wanted to know whether it is likely to work as-is within the 'storageModule' config option: storageModule: require("cloudantStorage…

---

## [How to work with Git](https://discourse.nodered.org/t/how-to-work-with-git/54306)

<div class="topic-metadata">

**Author:** [@loukaspe](https://discourse.nodered.org/u/loukaspe)\
**Replies:** 0\
**Last updated:** [26 November 2021 07:43 UTC](https://discourse.nodered.org/t/how-to-work-with-git/54306 "2021-11-26T07:43:01Z")

</div>

Hello, I do not have a problem, I want your experience from using git with NR. We are having the following difficulties: When conflicts emerge, is there a way of resolving them through the UI ? Our NRs are built on d…

---

## [How to stop nodes processing too quickly?](https://discourse.nodered.org/t/how-to-stop-nodes-processing-too-quickly/54321)

<div class="topic-metadata">

**Author:** [@LoONeY](https://discourse.nodered.org/u/LoONeY)\
**Replies:** 1\
**Last updated:** [26 November 2021 13:44 UTC](https://discourse.nodered.org/t/how-to-stop-nodes-processing-too-quickly/54321 "2021-11-26T13:44:07Z")

</div>

I am currently working on creating a Dashboard in MS Excel, using Node-RED to get the data from the source system. In order not to have to import all the gathered data all the time, I created a flow that checks for a fil…

---

## [Deduplicate payload based on url](https://discourse.nodered.org/t/deduplicate-payload-based-on-url/54296)

<div class="topic-metadata">

**Author:** [@steffok](https://discourse.nodered.org/u/steffok)\
**Replies:** 3\
**Last updated:** [26 November 2021 12:45 UTC](https://discourse.nodered.org/t/deduplicate-payload-based-on-url/54296 "2021-11-26T12:45:53Z")

</div>

I would like deduplicate a payload but my payload has content (which changes) and an url (which stays the same). I would like to deduplicate based on URL This is the function I'm using for the payload. Is there any chan…

---

## [Do not add more than one config of the same type](https://discourse.nodered.org/t/do-not-add-more-than-one-config-of-the-same-type/54314)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 3\
**Last updated:** [26 November 2021 11:05 UTC](https://discourse.nodered.org/t/do-not-add-more-than-one-config-of-the-same-type/54314 "2021-11-26T11:05:22Z")

</div>

Hello my dear masters. As seen in the picture, after adding a config node, no other option to add will appear, if the first node is deleted, the addition will be active. Is there a way to do this?

---

## [Recommended way for measuring timings in a chain of nodes](https://discourse.nodered.org/t/recommended-way-for-measuring-timings-in-a-chain-of-nodes/54258)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 6\
**Last updated:** [26 November 2021 10:54 UTC](https://discourse.nodered.org/t/recommended-way-for-measuring-timings-in-a-chain-of-nodes/54258 "2021-11-26T10:54:17Z")

</div>

Hi folks, I have somewhere a bottleneck in a chain of nodes. So I would like to inject a message in that chain of nodes, and measure the process timing of that message in each node of that chain. I.e. how long it take…

---

## [Node-red-contrib-midi fails to install from Manage palette under Linux (Ubuntu 21.10)](https://discourse.nodered.org/t/node-red-contrib-midi-fails-to-install-from-manage-palette-under-linux-ubuntu-21-10/54233)

<div class="topic-metadata">

**Author:** [@HonestJohn61](https://discourse.nodered.org/u/HonestJohn61)\
**Replies:** 24\
**Last updated:** [26 November 2021 09:57 UTC](https://discourse.nodered.org/t/node-red-contrib-midi-fails-to-install-from-manage-palette-under-linux-ubuntu-21-10/54233 "2021-11-26T09:57:46Z")

</div>

Hi, I'm running Node-RED v2.1.3 on Ubuntu 21.10 (GNU/Linux 5.13.0-1010-raspi aarch64) and I get the following error log when trying to install this module. I'm pretty new to Linux and Node-RED and can't make any sense o…

---

## [Execute Python2 script with payload](https://discourse.nodered.org/t/execute-python2-script-with-payload/54255)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 4\
**Last updated:** [26 November 2021 06:46 UTC](https://discourse.nodered.org/t/execute-python2-script-with-payload/54255 "2021-11-26T06:46:51Z")

</div>

Until now I have executed Python scripts using an exec node in this way: python -u /home/pi/....../script.py and everything works great. I have a situation now where I need to execute a Python2 script with a payload…

---

## [Many-to-One modelling](https://discourse.nodered.org/t/many-to-one-modelling/54313)

<div class="topic-metadata">

**Author:** [@scull06](https://discourse.nodered.org/u/scull06)\
**Replies:** 1\
**Last updated:** [26 November 2021 08:34 UTC](https://discourse.nodered.org/t/many-to-one-modelling/54313 "2021-11-26T08:34:08Z")

</div>

Hi all, I'm very new to Node-RED and I have a use case where many sensors (around 500) need to connected to a flow application in Node-RED. Is there a way of modelling this many-to-one relationship in the flow-graph? I…

---

## [I need help in how to create a function where it allows me to turn on and off a switch by means of an infrared sensor using remote control, the control will allow to control LEDs](https://discourse.nodered.org/t/i-need-help-in-how-to-create-a-function-where-it-allows-me-to-turn-on-and-off-a-switch-by-means-of-an-infrared-sensor-using-remote-control-the-control-will-allow-to-control-leds/54311)

<div class="topic-metadata">

**Author:** [@joan895](https://discourse.nodered.org/u/joan895)\
**Replies:** 1\
**Last updated:** [26 November 2021 08:27 UTC](https://discourse.nodered.org/t/i-need-help-in-how-to-create-a-function-where-it-allows-me-to-turn-on-and-off-a-switch-by-means-of-an-infrared-sensor-using-remote-control-the-control-will-allow-to-control-leds/54311 "2021-11-26T08:27:04Z")

</div>

I need help in how to create a function where it allows me to turn on and off a switch by means of an infrared sensor using remote control, the control will allow to control LEDs

---

## [Node Red on Home Assistant connecting to undefined MySensors Gateway](https://discourse.nodered.org/t/node-red-on-home-assistant-connecting-to-undefined-mysensors-gateway/54266)

<div class="topic-metadata">

**Author:** [@BeatSynch](https://discourse.nodered.org/u/BeatSynch)\
**Replies:** 1\
**Last updated:** [26 November 2021 06:55 UTC](https://discourse.nodered.org/t/node-red-on-home-assistant-connecting-to-undefined-mysensors-gateway/54266 "2021-11-26T06:55:50Z")

</div>

I get the following messages in the Node Red log panel: '25 Nov 11:01:41 - \[info\] \[tcp in:MySensors Gateway\] Error: connect ETIMEDOUT 192.168.1.20:5003 25 Nov 11:01:41 - \[info\] \[tcp in:MySensors Gateway\] connection los…

---

## [What all features does the node-red-contrib-opencv node support.?](https://discourse.nodered.org/t/what-all-features-does-the-node-red-contrib-opencv-node-support/54295)

<div class="topic-metadata">

**Author:** [@rajendra-sahu](https://discourse.nodered.org/u/rajendra-sahu)\
**Replies:** 1\
**Last updated:** [26 November 2021 06:55 UTC](https://discourse.nodered.org/t/what-all-features-does-the-node-red-contrib-opencv-node-support/54295 "2021-11-26T06:55:05Z")

</div>

I am intending to use NR for an academic IoT project. We have to build a drowsiness detection system that uses native opencv package. So I wanted to ask it in the community if using the node-red-contrib-opencv is the co…

---

## [Controlling an output from Temperature with Notification](https://discourse.nodered.org/t/controlling-an-output-from-temperature-with-notification/53857)

<div class="topic-metadata">

**Author:** [@pspeirs](https://discourse.nodered.org/u/pspeirs)\
**Replies:** 13\
**Last updated:** [26 November 2021 04:20 UTC](https://discourse.nodered.org/t/controlling-an-output-from-temperature-with-notification/53857 "2021-11-26T04:20:42Z")

</div>

Hi All, I'm a bit stuck with my first flow ever, I'm trying to switch an output based on temperature being above a setpoint and this all works as expected. With the following debug output. 11/17/2021, 8:46:34 AM\[no…

---

## [Check if ping fails 3 times](https://discourse.nodered.org/t/check-if-ping-fails-3-times/54267)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 2\
**Last updated:** [26 November 2021 01:23 UTC](https://discourse.nodered.org/t/check-if-ping-fails-3-times/54267 "2021-11-26T01:23:46Z")

</div>

I send ping to hosts and check if fails, and I have a lot of alarms. How to check if ping false 3 times. When only 2 times or 1 times reset counter to 0. \[{"id":"f7fb5a53.530398","type":"inject","z":"1842eb59.625d05","…

---

## [Lost everything after Update](https://discourse.nodered.org/t/lost-everything-after-update/54236)

<div class="topic-metadata">

**Author:** [@RichdeCrep](https://discourse.nodered.org/u/RichdeCrep)\
**Replies:** 6\
**Last updated:** [25 November 2021 21:53 UTC](https://discourse.nodered.org/t/lost-everything-after-update/54236 "2021-11-25T21:53:59Z")

</div>

Hi, This is a warning more than a question. I have a large (0.5MB) Node Red system that has been reliable to date. I have also been backing up the system regularly (about 4 times a day). But one hour ago, Node Red…

---

## [Seeking monthly timer](https://discourse.nodered.org/t/seeking-monthly-timer/54282)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 4\
**Last updated:** [25 November 2021 20:45 UTC](https://discourse.nodered.org/t/seeking-monthly-timer/54282 "2021-11-25T20:45:07Z")

</div>

Hi, is there a node that I can use to trigger on the 1st of every month at 0:00 for example ? I want to write counter readings in influxdb, so that I can build the difference in grafana for every month. Grafana can on…

---

## [Html to html get information](https://discourse.nodered.org/t/html-to-html-get-information/54232)

<div class="topic-metadata">

**Author:** [@danieleronchi](https://discourse.nodered.org/u/danieleronchi)\
**Replies:** 6\
**Last updated:** [25 November 2021 20:37 UTC](https://discourse.nodered.org/t/html-to-html-get-information/54232 "2021-11-25T20:37:09Z")

</div>

Good evening, i've created a project and it works perfectly. I use Node RED version:V2.1.1 and Node.js version:v14.18.1 Now i have a little problem: i have to html page, each one with a html table, in the table there …

---

## [Telegram tag users](https://discourse.nodered.org/t/telegram-tag-users/54287)

<div class="topic-metadata">

**Author:** [@gleba](https://discourse.nodered.org/u/gleba)\
**Replies:** 1\
**Last updated:** [25 November 2021 19:54 UTC](https://discourse.nodered.org/t/telegram-tag-users/54287 "2021-11-25T19:54:35Z")

</div>

\[ { "id": "3daf0122193d41f8", "type": "tab", "label": "Flow 1", "disabled": false, "info": "", "env": \[\] }, { "id": "de4f42c19b4b53d1", "type": …

---

## [Node -red filtering](https://discourse.nodered.org/t/node-red-filtering/54278)

<div class="topic-metadata">

**Author:** [@AYo](https://discourse.nodered.org/u/AYo)\
**Replies:** 15\
**Last updated:** [25 November 2021 16:41 UTC](https://discourse.nodered.org/t/node-red-filtering/54278 "2021-11-25T16:41:40Z")

</div>

hi guys i am not so good in NodeJs, please how can i filter the the messages so that i will only debug few of the messages the messages are {"timestamp":"2021-11-22T22:40:00","load\_state":"ON","load\_w":148.946,"output…

---

## [Node.py - Python for Node-RED?](https://discourse.nodered.org/t/node-py-python-for-node-red/53838)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 57\
**Last updated:** [25 November 2021 15:53 UTC](https://discourse.nodered.org/t/node-py-python-for-node-red/53838 "2021-11-25T15:53:30Z")

</div>

I'm new to Node-RED; my personal software preferences tend toward Python, not Java script. Is there a way to integrate Python into Node-RED for use in function blocks in lieu of Java script?

---

## [Exec node output - tostring() broken data](https://discourse.nodered.org/t/exec-node-output-tostring-broken-data/54276)

<div class="topic-metadata">

**Author:** [@habakuk25](https://discourse.nodered.org/u/habakuk25)\
**Replies:** 3\
**Last updated:** [25 November 2021 15:14 UTC](https://discourse.nodered.org/t/exec-node-output-tostring-broken-data/54276 "2021-11-25T15:14:08Z")

</div>

hello! I do have a gps interface with a quite complex cmd output: cgps -s -l s: when I pout this in the exec node i get a buffer: 25.11.2021, 15:17:46node: f7486f94b9ec09bamsg : Object object payload: buffer\[205…

---

## [Webhook format problem sending json string and binary buffer](https://discourse.nodered.org/t/webhook-format-problem-sending-json-string-and-binary-buffer/54219)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 5\
**Last updated:** [25 November 2021 15:00 UTC](https://discourse.nodered.org/t/webhook-format-problem-sending-json-string-and-binary-buffer/54219 "2021-11-25T15:00:12Z")

</div>

I am having trouble figuring out to exactly format a webhook (http request). I need to send a json string as well as a binary buffer. I have spent over a day trying different configurations and googling for solutions. I …

---

## [CryptoJS.enc.Base64.stringify(hash) conversion](https://discourse.nodered.org/t/cryptojs-enc-base64-stringify-hash-conversion/54249)

<div class="topic-metadata">

**Author:** [@DipikaSamanta](https://discourse.nodered.org/u/DipikaSamanta)\
**Replies:** 1\
**Last updated:** [25 November 2021 13:09 UTC](https://discourse.nodered.org/t/cryptojs-enc-base64-stringify-hash-conversion/54249 "2021-11-25T13:09:55Z")

</div>

Hello I have this code in js. To make this code in node red, I have used JSON node and then cryptojs decode Utf8 and then cryptojs encode base64. After this all, still I am not getting the values of js and node red out…

---

## [DALI with serial out](https://discourse.nodered.org/t/dali-with-serial-out/54252)

<div class="topic-metadata">

**Author:** [@kadlik](https://discourse.nodered.org/u/kadlik)\
**Replies:** 7\
**Last updated:** [25 November 2021 13:06 UTC](https://discourse.nodered.org/t/dali-with-serial-out/54252 "2021-11-25T13:06:26Z")

</div>

Hello, I am trying to set up DALI lights with UniPi PLC and NodeRed I have USB RS232 to DALI interface. It works flawlessly with python. I should send ASCI format of message on serial port. Example - switch off all m…

---

## [HTTP error:status code 404, net::ERR\_HTTP\_RESPONSE\_CODE\_FAILURE](https://discourse.nodered.org/t/http-error-status-code-404-net-err-http-response-code-failure/54247)

<div class="topic-metadata">

**Author:** [@SangamBgk](https://discourse.nodered.org/u/SangamBgk)\
**Replies:** 5\
**Last updated:** [25 November 2021 11:41 UTC](https://discourse.nodered.org/t/http-error-status-code-404-net-err-http-response-code-failure/54247 "2021-11-25T11:41:10Z")

</div>

Hi, can anyone explain why we are getting these warnings on console and how we can get rid of these.

---

## [I'm trying to use split to separate the content, but it doesn't meet my needs](https://discourse.nodered.org/t/im-trying-to-use-split-to-separate-the-content-but-it-doesnt-meet-my-needs/54264)

<div class="topic-metadata">

**Author:** [@Cybertron](https://discourse.nodered.org/u/Cybertron)\
**Replies:** 5\
**Last updated:** [25 November 2021 11:36 UTC](https://discourse.nodered.org/t/im-trying-to-use-split-to-separate-the-content-but-it-doesnt-meet-my-needs/54264 "2021-11-25T11:36:56Z")

</div>

hello I'm browsing the course https://nodered.org/docs/user-guide/messages#understanding-the-structure-of-a-message I have a TCP connection originating content that looks like JSON text, but I have tried many ways to …

---

## [Cryptojs hmac sha256 node output](https://discourse.nodered.org/t/cryptojs-hmac-sha256-node-output/54240)

<div class="topic-metadata">

**Author:** [@DipikaSamanta](https://discourse.nodered.org/u/DipikaSamanta)\
**Replies:** 2\
**Last updated:** [25 November 2021 09:24 UTC](https://discourse.nodered.org/t/cryptojs-hmac-sha256-node-output/54240 "2021-11-25T09:24:55Z")

</div>

Hello I am using crypto js hmac sha256 node. Previously I was getting different output for different message in the debug node. Recently I have been getting same value for any message node which is incorrect. Can any…

---

## [Alexa-remote-event \<\<\< not working](https://discourse.nodered.org/t/alexa-remote-event-not-working/52035)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 17\
**Last updated:** [12 October 2021 14:34 UTC](https://discourse.nodered.org/t/alexa-remote-event-not-working/52035 "2021-10-12T14:34:08Z")

</div>

I've been using alexa-remote-event from node-red-contrib-alexa-remote-fork to listen to responses from Alexa. It's been working fine for months but today it just seems to ignore the verbal responses. Has anyone else enc…

---

## [Modifying Array inside Object Type Payload](https://discourse.nodered.org/t/modifying-array-inside-object-type-payload/54237)

<div class="topic-metadata">

**Author:** [@sheminasalam](https://discourse.nodered.org/u/sheminasalam)\
**Replies:** 2\
**Last updated:** [25 November 2021 08:02 UTC](https://discourse.nodered.org/t/modifying-array-inside-object-type-payload/54237 "2021-11-25T08:02:01Z")

</div>

The below payload has 4 array inside data. One of these is refresh\_tokens and in it one of the properties is last\_used which has a datetime in it. I want to use this datatime to know if 3 days has past from that date and…

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

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