# General

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

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

**Page:** 340

---

## [Discord node bot mentions not working](https://discourse.nodered.org/t/discord-node-bot-mentions-not-working/66075)

<div class="topic-metadata">

**Author:** [@hepcat72](https://discourse.nodered.org/u/hepcat72)\
**Replies:** 4\
**Last updated:** [6 August 2022 16:26 UTC](https://discourse.nodered.org/t/discord-node-bot-mentions-not-working/66075 "2022-08-06T16:26:19Z")

</div>

This is probably the wrong place for this question, but since discord support won't help with this and I'm trying to use the discord node to send myself messages, I thougt I'd start here before asking elsewhere. I set u…

---

## [Interesting desktop application?](https://discourse.nodered.org/t/interesting-desktop-application/66109)

<div class="topic-metadata">

**Author:** [@Fabios](https://discourse.nodered.org/u/Fabios)\
**Replies:** 0\
**Last updated:** [6 August 2022 14:55 UTC](https://discourse.nodered.org/t/interesting-desktop-application/66109 "2022-08-06T14:55:11Z")

</div>

Don't know if works 100%, still testing but may have some utility. created with GitHub - nativefier/nativefier: Make any web page a desktop application :smiley: .ico file : node-red-hexagon.ico - Google Drive

---

## [Rpi Serial communtication to Marlin on Arduino Mega](https://discourse.nodered.org/t/rpi-serial-communtication-to-marlin-on-arduino-mega/66107)

<div class="topic-metadata">

**Author:** [@sjamesparsonsjr](https://discourse.nodered.org/u/sjamesparsonsjr)\
**Replies:** 0\
**Last updated:** [6 August 2022 13:55 UTC](https://discourse.nodered.org/t/rpi-serial-communtication-to-marlin-on-arduino-mega/66107 "2022-08-06T13:55:38Z")

</div>

Hello, Node-Red community, I'm using Node-Red on an RPi to communicate with Stepper Motors and End Stops through Arduino Mega running Marlin. For anyone attempting the same add \\n\\r\\ to the end of the gCode. Does an…

---

## [CO2 notification spam when over 1500 ppm](https://discourse.nodered.org/t/co2-notification-spam-when-over-1500-ppm/66101)

<div class="topic-metadata">

**Author:** [@RogerSik](https://discourse.nodered.org/u/RogerSik)\
**Replies:** 2\
**Last updated:** [6 August 2022 12:47 UTC](https://discourse.nodered.org/t/co2-notification-spam-when-over-1500-ppm/66101 "2022-08-06T12:47:31Z")

</div>

Currenlty i have following setup with node-red + home-assistant If CO2 Sensor is over 1500 ppm, then send me notification to smartphone. It works. But example my CO2 ppm is up to 1800. It takes sometime to get down u…

---

## [HIKVISION doorstation](https://discourse.nodered.org/t/hikvision-doorstation/66096)

<div class="topic-metadata">

**Author:** [@Simone](https://discourse.nodered.org/u/Simone)\
**Replies:** 1\
**Last updated:** [6 August 2022 12:44 UTC](https://discourse.nodered.org/t/hikvision-doorstation/66096 "2022-08-06T12:44:52Z")

</div>

Hi, I'm working on a domotic project and I have an HIKVISION door station DS-KV8213-WME1. I need to manage the doorbell and the video stream, I'm using the node-red-contrib-hikvision-ultimate doorbell and picture nodes …

---

## [Why does the getSeconds() function return a different value?](https://discourse.nodered.org/t/why-does-the-getseconds-function-return-a-different-value/66093)

<div class="topic-metadata">

**Author:** [@m8nix](https://discourse.nodered.org/u/m8nix)\
**Replies:** 3\
**Last updated:** [6 August 2022 07:39 UTC](https://discourse.nodered.org/t/why-does-the-getseconds-function-return-a-different-value/66093 "2022-08-06T07:39:48Z")

</div>

Hi, I'm just starting with "Node Red" and "JS" and I have a probably simple beginner's question. I intend to log an average value exactly every full minute in InfluxDB.

---

## [Node-red-contrib-usbhid on Raspberry Pi - anyone got it running recently?](https://discourse.nodered.org/t/node-red-contrib-usbhid-on-raspberry-pi-anyone-got-it-running-recently/66091)

<div class="topic-metadata">

**Author:** [@Flustered](https://discourse.nodered.org/u/Flustered)\
**Replies:** 2\
**Last updated:** [5 August 2022 19:39 UTC](https://discourse.nodered.org/t/node-red-contrib-usbhid-on-raspberry-pi-anyone-got-it-running-recently/66091 "2022-08-05T19:39:20Z")

</div>

Hey, I'm quite new to node-red and not a Linux expert... I am (desperately) tying to get this USB RFID reader to work in node-red. https://www.amazon.co.uk/UMTMedia®-125khz-Contactless-Proximity-Reader/dp/B0933M6S1J/ E…

---

## [Array send to InfluxDB](https://discourse.nodered.org/t/array-send-to-influxdb/66029)

<div class="topic-metadata">

**Author:** [@VinistoisR](https://discourse.nodered.org/u/VinistoisR)\
**Replies:** 6\
**Last updated:** [5 August 2022 16:24 UTC](https://discourse.nodered.org/t/array-send-to-influxdb/66029 "2022-08-05T16:24:16Z")

</div>

I'm working with an API that is giving me a nice array in one shot with all the data I need. I want to use the influxdb batch node to write the data into influxdb I get back a variable number of objects, roughly 100 of…

---

## [Node Red Flows on ESP8266 and ESP32](https://discourse.nodered.org/t/node-red-flows-on-esp8266-and-esp32/64345)

<div class="topic-metadata">

**Author:** [@mtoko](https://discourse.nodered.org/u/mtoko)\
**Replies:** 16\
**Last updated:** [5 August 2022 16:12 UTC](https://discourse.nodered.org/t/node-red-flows-on-esp8266-and-esp32/64345 "2022-08-05T16:12:22Z")

</div>

Who would have believed this is possible! Nick and Peter Hoddie had a chat at OpenJSWorld22 and Peter has started a project to run Node Red flows on ESP8266 and ESP32 using Javascript and Moddable. I purchased Peters boo…

---

## [Send Email with mailgun](https://discourse.nodered.org/t/send-email-with-mailgun/66078)

<div class="topic-metadata">

**Author:** [@dereckradford](https://discourse.nodered.org/u/dereckradford)\
**Replies:** 0\
**Last updated:** [5 August 2022 15:35 UTC](https://discourse.nodered.org/t/send-email-with-mailgun/66078 "2022-08-05T15:35:16Z")

</div>

I am extremely new with Node-RED and I am struggling with translating mailguns curl to http request in Node-RED. I found a couple examples on here but nothing that looks like there curl command. Any help would be greatl…

---

## [Mysql: different date Debian VS Windows](https://discourse.nodered.org/t/mysql-different-date-debian-vs-windows/65983)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 36\
**Last updated:** [5 August 2022 14:50 UTC](https://discourse.nodered.org/t/mysql-different-date-debian-vs-windows/65983 "2022-08-05T14:50:37Z")

</div>

Hi, I'm facing this problem without succeeding. I have a project running on both Windows and Debian system. As database I use phpmyadmin, and in node-red this mysql node node-red-node-mysql (node) - Node-RED. The prob…

---

## [Websocket in and out within the same connection](https://discourse.nodered.org/t/websocket-in-and-out-within-the-same-connection/66068)

<div class="topic-metadata">

**Author:** [@Tzoreol](https://discourse.nodered.org/u/Tzoreol)\
**Replies:** 1\
**Last updated:** [5 August 2022 14:33 UTC](https://discourse.nodered.org/t/websocket-in-and-out-within-the-same-connection/66068 "2022-08-05T14:33:40Z")

</div>

Hi! I'm trying to connect Node-RED with OBS websocket. Without authentication this is pretty straigthforward but I'm stuck for the authentication. According to OBS websocket documentation there are 3 steps. First, aft…

---

## [UIbulder does not want to connect](https://discourse.nodered.org/t/uibulder-does-not-want-to-connect/65999)

<div class="topic-metadata">

**Author:** [@use](https://discourse.nodered.org/u/use)\
**Replies:** 7\
**Last updated:** [5 August 2022 12:10 UTC](https://discourse.nodered.org/t/uibulder-does-not-want-to-connect/65999 "2022-08-05T12:10:30Z")

</div>

Hallo, I have a old Project with an SPS and a UIBilder. I get some data from the SPS and with the UIBilder I show some values on a HTML page. Now I get a new pc and I install Node-Red and the needed nodes in a newer ver…

---

## [Wanna add timestamp to payload](https://discourse.nodered.org/t/wanna-add-timestamp-to-payload/66031)

<div class="topic-metadata">

**Author:** [@trombose009](https://discourse.nodered.org/u/trombose009)\
**Replies:** 4\
**Last updated:** [5 August 2022 10:52 UTC](https://discourse.nodered.org/t/wanna-add-timestamp-to-payload/66031 "2022-08-05T10:52:28Z")

</div>

Hey guys, I wanna write some mqtt messages to a txt-file for troubleshooting purposes of an IOT device. So, I achieved the goal to write these messages to a file. But now I need some kind of function which is adding a…

---

## [Failed to load page using uibuilder due to Maximum call stack size exceeded](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021)

<div class="topic-metadata">

**Author:** [@alex88](https://discourse.nodered.org/u/alex88)\
**Replies:** 6\
**Last updated:** [5 August 2022 08:51 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021 "2022-08-05T08:51:56Z")

</div>

Has anyone else experienced an issue today with loading pages when using uibuilder? I have 3x Windows 10 machines that all did a scheduled update today, after which I could not load pages on Chrome. Since then I have do…

---

## [Can Node-red run on WasmEdge?](https://discourse.nodered.org/t/can-node-red-run-on-wasmedge/66050)

<div class="topic-metadata">

**Author:** [@farooqhasny](https://discourse.nodered.org/u/farooqhasny)\
**Replies:** 1\
**Last updated:** [5 August 2022 07:58 UTC](https://discourse.nodered.org/t/can-node-red-run-on-wasmedge/66050 "2022-08-05T07:58:20Z")

</div>

Can we run Node-red on wasmedge? that's a new webassembly and WASI based VM.

---

## [Is this possible to achieve with NodeRed?](https://discourse.nodered.org/t/is-this-possible-to-achieve-with-nodered/64303)

<div class="topic-metadata">

**Author:** [@cosmarchy](https://discourse.nodered.org/u/cosmarchy)\
**Replies:** 7\
**Last updated:** [5 August 2022 07:57 UTC](https://discourse.nodered.org/t/is-this-possible-to-achieve-with-nodered/64303 "2022-08-05T07:57:10Z")

</div>

I have never used NodeRed before and I wanted to ask this question here before embarking on a journey of how to use NodeRed only to find out it is not capable… First a bit of background. I have an alarm system which do…

---

## [Get value based on object.id](https://discourse.nodered.org/t/get-value-based-on-object-id/66004)

<div class="topic-metadata">

**Author:** [@Petter](https://discourse.nodered.org/u/Petter)\
**Replies:** 2\
**Last updated:** [5 August 2022 06:20 UTC](https://discourse.nodered.org/t/get-value-based-on-object-id/66004 "2022-08-05T06:20:47Z")

</div>

Hi. I have an object with an array of objects. I want to use a function node to get one spesific value based on the object id. So if I only want temp from a speseific device/object if msg.payload.object.id == "2920009…

---

## [Array path identifier wild card](https://discourse.nodered.org/t/array-path-identifier-wild-card/66043)

<div class="topic-metadata">

**Author:** [@zunder1990](https://discourse.nodered.org/u/zunder1990)\
**Replies:** 2\
**Last updated:** [5 August 2022 06:04 UTC](https://discourse.nodered.org/t/array-path-identifier-wild-card/66043 "2022-08-05T06:04:11Z")

</div>

I have array that I am trying to read values from the problem is part of the path changes in my case it is a mac address. Normal path like say from a mysql return would be msg.payload\[0\].TalkID but in my case it is paylo…

---

## [Split a Lat/Lon coordinates from a string](https://discourse.nodered.org/t/split-a-lat-lon-coordinates-from-a-string/66005)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 19\
**Last updated:** [4 August 2022 21:13 UTC](https://discourse.nodered.org/t/split-a-lat-lon-coordinates-from-a-string/66005 "2022-08-04T21:13:19Z")

</div>

String: 53.0094583 -1.2078455 I'm playing around with the split node using space as the splitter, but then I need to put the two parts into a single message as msg.lat and msg.lon. What's the simplest method? Send each…

---

## [Having trouble with looping through a function](https://discourse.nodered.org/t/having-trouble-with-looping-through-a-function/66028)

<div class="topic-metadata">

**Author:** [@cwesterfield](https://discourse.nodered.org/u/cwesterfield)\
**Replies:** 2\
**Last updated:** [4 August 2022 20:19 UTC](https://discourse.nodered.org/t/having-trouble-with-looping-through-a-function/66028 "2022-08-04T20:19:44Z")

</div>

I'm not a coder, so bear with me. I trying to create a flow that pulls info from an API call, checks to see if a sms message has come in in the last 5 min, and then moves it on down the flow. I have the function working…

---

## [Display data from DFRobot Digital Wattmeter](https://discourse.nodered.org/t/display-data-from-dfrobot-digital-wattmeter/66010)

<div class="topic-metadata">

**Author:** [@Alexandru89](https://discourse.nodered.org/u/Alexandru89)\
**Replies:** 2\
**Last updated:** [4 August 2022 19:23 UTC](https://discourse.nodered.org/t/display-data-from-dfrobot-digital-wattmeter/66010 "2022-08-04T19:23:39Z")

</div>

Dear makers, I have in mind a project for power consumption monitoring and I decided to use one of this sensor: Gravity: I2C Digital Wattmeter SKU: SEN0291-DFRobot My initial idea was to use a pythonshell block and po…

---

## [\[error\] Error: getaddrinfo ENOTFOUND ws://localhost:1880/ws/data at GetAddrInfoReqWrap.onlookup \[as oncomplete\] (node:dns:71:26)](https://discourse.nodered.org/t/error-error-getaddrinfo-enotfound-ws-localhost-1880-ws-data-at-getaddrinforeqwrap-onlookup-as-oncomplete-node71-26/65979)

<div class="topic-metadata">

**Author:** [@lbfabiano](https://discourse.nodered.org/u/lbfabiano)\
**Replies:** 7\
**Last updated:** [4 August 2022 18:56 UTC](https://discourse.nodered.org/t/error-error-getaddrinfo-enotfound-ws-localhost-1880-ws-data-at-getaddrinforeqwrap-onlookup-as-oncomplete-node71-26/65979 "2022-08-04T18:56:58Z")

</div>

Hello everybody. I have the below error when I try to start node-red on Windows 10 even after uninstalling everything. \[error\] Error: getaddrinfo ENOTFOUND ws://localhost:1880/ws/data in GetAddrInfoReqWrap.onlookup \[as…

---

## [Write file node in docker](https://discourse.nodered.org/t/write-file-node-in-docker/66011)

<div class="topic-metadata">

**Author:** [@trombose009](https://discourse.nodered.org/u/trombose009)\
**Replies:** 5\
**Last updated:** [4 August 2022 18:28 UTC](https://discourse.nodered.org/t/write-file-node-in-docker/66011 "2022-08-04T18:28:08Z")

</div>

Hey, I just wanna write some kind of logfile using the write file node. My installation is made in docker. So how can I achieve this goal? It does not really matter where the file will appear on my raspberry pi file s…

---

## [How does injecting {{msg.payload}} tag works in HTML?](https://discourse.nodered.org/t/how-does-injecting-msg-payload-tag-works-in-html/66025)

<div class="topic-metadata">

**Author:** [@Wilay](https://discourse.nodered.org/u/Wilay)\
**Replies:** 5\
**Last updated:** [4 August 2022 17:37 UTC](https://discourse.nodered.org/t/how-does-injecting-msg-payload-tag-works-in-html/66025 "2022-08-04T17:37:50Z")

</div>

It feels like sometimes it works, sometime it doesn't, and sometimes it breaks. My template node goes like this : \<div id = '{{msg.name}}' style = 'background-image : url("/{{msg.background}}") !important;'\> \<d…

---

## [Call function inside a template](https://discourse.nodered.org/t/call-function-inside-a-template/66008)

<div class="topic-metadata">

**Author:** [@joshuaC](https://discourse.nodered.org/u/joshuaC)\
**Replies:** 1\
**Last updated:** [4 August 2022 13:47 UTC](https://discourse.nodered.org/t/call-function-inside-a-template/66008 "2022-08-04T13:47:39Z")

</div>

Hello, I have a flow that is starting with an http node (GET), checking for the login, and if successful, I have some functions and rest api call (post) that are being run to retrieve some data. After that I display my …

---

## [Having issues with HTTP-Request](https://discourse.nodered.org/t/having-issues-with-http-request/66009)

<div class="topic-metadata">

**Author:** [@psybernoid](https://discourse.nodered.org/u/psybernoid)\
**Replies:** 5\
**Last updated:** [4 August 2022 13:06 UTC](https://discourse.nodered.org/t/having-issues-with-http-request/66009 "2022-08-04T13:06:16Z")

</div>

Hi all, quite new to Node-Red - only started using it yesterday, so may be trying to run before I can walk. Anyway, I had a notion of scraping my local refuse collection site to keep an up-to date list of when the next …

---

## [Install additional node to docker](https://discourse.nodered.org/t/install-additional-node-to-docker/66015)

<div class="topic-metadata">

**Author:** [@luis1](https://discourse.nodered.org/u/luis1)\
**Replies:** 0\
**Last updated:** [4 August 2022 12:11 UTC](https://discourse.nodered.org/t/install-additional-node-to-docker/66015 "2022-08-04T12:11:18Z")

</div>

Hi, I'm running node-red with docker-compose and try to preinstall a node to my environment. I followed the example from the documentation and added WORKDIR /usr/src/node-red RUN npm install node-red-node-smooth at …

---

## [Problem with @intres/azure-cognitive speech to text](https://discourse.nodered.org/t/problem-with-intres-azure-cognitive-speech-to-text/65882)

<div class="topic-metadata">

**Author:** [@Corentin-F](https://discourse.nodered.org/u/Corentin-F)\
**Replies:** 11\
**Last updated:** [4 August 2022 11:48 UTC](https://discourse.nodered.org/t/problem-with-intres-azure-cognitive-speech-to-text/65882 "2022-08-04T11:48:52Z")

</div>

Hi, During a test with @intres/azure-cognitive, using ms-speech-to-text, i always got this debug message : SST is cancelled with NoMatch To test, i do that : But same error.. If someone have an idea or can help me.…

---

## [Extract specific values from nested JSON array from Influxv2 query](https://discourse.nodered.org/t/extract-specific-values-from-nested-json-array-from-influxv2-query/65977)

<div class="topic-metadata">

**Author:** [@becsL](https://discourse.nodered.org/u/becsL)\
**Replies:** 7\
**Last updated:** [4 August 2022 11:27 UTC](https://discourse.nodered.org/t/extract-specific-values-from-nested-json-array-from-influxv2-query/65977 "2022-08-04T11:27:07Z")

</div>

First time poster so be gentle! I have scoured Google and this forum for similar issues as me but to no avail. I have had similar problems with nested JSON in the past but have worked around it because I couldn't find an…

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

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