# General

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

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

**Page:** 398

---

## [Ical / Get the tomorrow's first and last even](https://discourse.nodered.org/t/ical-get-the-tomorrows-first-and-last-even/60620)

<div class="topic-metadata">

**Author:** [@Lafayette](https://discourse.nodered.org/u/Lafayette)\
**Replies:** 6\
**Last updated:** [1 April 2022 01:23 UTC](https://discourse.nodered.org/t/ical-get-the-tomorrows-first-and-last-even/60620 "2022-04-01T01:23:33Z")

</div>

Hi, I'd like to know how you would do to get the tomorrow first and the last events in a ical which I get with node-red-contrib-ical-events every day Thx

---

## [TEST MOCHA, got error "a.filter is not a function"](https://discourse.nodered.org/t/test-mocha-got-error-a-filter-is-not-a-function/60612)

<div class="topic-metadata">

**Author:** [@rita7](https://discourse.nodered.org/u/rita7)\
**Replies:** 1\
**Last updated:** [31 March 2022 22:07 UTC](https://discourse.nodered.org/t/test-mocha-got-error-a-filter-is-not-a-function/60612 "2022-03-31T22:07:44Z")

</div>

I try use MOCHA test. Need remove dublicate words in array. It my test. I got errors "TypeError: a.filter is not a function at removeDuplicateWords (test.js:3:14) at Context. (test.js:16:24) at processImmediate (inter…

---

## [String zu JSON, some problems with the string](https://discourse.nodered.org/t/string-zu-json-some-problems-with-the-string/60617)

<div class="topic-metadata">

**Author:** [@hohmannc](https://discourse.nodered.org/u/hohmannc)\
**Replies:** 2\
**Last updated:** [31 March 2022 20:47 UTC](https://discourse.nodered.org/t/string-zu-json-some-problems-with-the-string/60617 "2022-03-31T20:47:11Z")

</div>

Hello I try to form a string to a json and I need to replace some chars in the request. The error seem to at this part: from debug: "rssi":"{WEB\_MSG\_STRONG}→9", (short version) "rssi":"{WEB\_MSG\_STRONG} 9" (long versio…

---

## [No response from TCP request](https://discourse.nodered.org/t/no-response-from-tcp-request/60597)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 6\
**Last updated:** [31 March 2022 19:17 UTC](https://discourse.nodered.org/t/no-response-from-tcp-request/60597 "2022-03-31T19:17:23Z")

</div>

I have a home automation server that I can communicate with simply using a TCP connection. When I test it in putty, it looks simple: I send GET 1 and I get the data back for device 1, I send GET 2 and get the data fo…

---

## [File Upload through Uibuilder NodeRED Interface](https://discourse.nodered.org/t/file-upload-through-uibuilder-nodered-interface/60337)

<div class="topic-metadata">

**Author:** [@stefanoanzilotti](https://discourse.nodered.org/u/stefanoanzilotti)\
**Replies:** 13\
**Last updated:** [31 March 2022 18:29 UTC](https://discourse.nodered.org/t/file-upload-through-uibuilder-nodered-interface/60337 "2022-03-31T18:29:04Z")

</div>

Dear all, First of all, a little introduction to my system. I am using a docker container to run several services, one of them is obviously NodeRED. here I use an amazing node-red-contrib-uibuilder to pull up my inter…

---

## [Forwarding a message to any node](https://discourse.nodered.org/t/forwarding-a-message-to-any-node/60501)

<div class="topic-metadata">

**Author:** [@Tonna100](https://discourse.nodered.org/u/Tonna100)\
**Replies:** 10\
**Last updated:** [31 March 2022 14:17 UTC](https://discourse.nodered.org/t/forwarding-a-message-to-any-node/60501 "2022-03-31T14:17:09Z")

</div>

Hi everyone. I apologize in advance for my bad English. I have been working with Node-red for a long time and have not come across this issue before. Now I really need your help, dear community members. I need to forwar…

---

## [How can I remove the quotation marks from the values in the print screen](https://discourse.nodered.org/t/how-can-i-remove-the-quotation-marks-from-the-values-in-the-print-screen/60579)

<div class="topic-metadata">

**Author:** [@murraa](https://discourse.nodered.org/u/murraa)\
**Replies:** 3\
**Last updated:** [31 March 2022 14:07 UTC](https://discourse.nodered.org/t/how-can-i-remove-the-quotation-marks-from-the-values-in-the-print-screen/60579 "2022-03-31T14:07:28Z")

</div>

Hello everyone, I have a question, how can I remove the quotation marks from the values ​​in the print screen Thanks for your answers

---

## [Update a record in MSSQL](https://discourse.nodered.org/t/update-a-record-in-mssql/60588)

<div class="topic-metadata">

**Author:** [@kvramji](https://discourse.nodered.org/u/kvramji)\
**Replies:** 0\
**Last updated:** [31 March 2022 11:57 UTC](https://discourse.nodered.org/t/update-a-record-in-mssql/60588 "2022-03-31T11:57:31Z")

</div>

I am working with a couple of Arduino nano boards and node red installed on a windows server. I have node red running as expected, installed the SQL express edition on it and have successfully managed to figure out how t…

---

## [Node-red . MQTT \[HELP\]](https://discourse.nodered.org/t/node-red-mqtt-help/60575)

<div class="topic-metadata">

**Author:** [@Andhuooo](https://discourse.nodered.org/u/Andhuooo)\
**Replies:** 2\
**Last updated:** [31 March 2022 11:50 UTC](https://discourse.nodered.org/t/node-red-mqtt-help/60575 "2022-03-31T11:50:44Z")

</div>

Is there any way to retain the incoming data from MQTT, When the node-red running pc is off ?

---

## [Long running process, waiting for a response via a message broker](https://discourse.nodered.org/t/long-running-process-waiting-for-a-response-via-a-message-broker/60511)

<div class="topic-metadata">

**Author:** [@lebowen](https://discourse.nodered.org/u/lebowen)\
**Replies:** 8\
**Last updated:** [31 March 2022 08:49 UTC](https://discourse.nodered.org/t/long-running-process-waiting-for-a-response-via-a-message-broker/60511 "2022-03-31T08:49:16Z")

</div>

I'm hoping to use node-red to set up some audio processing for a project I am working on. I have a service which takes some audio and performs some processing on it, this can take up to 30 minutes. I was planning to writ…

---

## [Octoprint rest API](https://discourse.nodered.org/t/octoprint-rest-api/10746)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 9\
**Last updated:** [31 March 2022 06:05 UTC](https://discourse.nodered.org/t/octoprint-rest-api/10746 "2022-03-31T06:05:23Z")

</div>

Did anybody made some work with octoprint rest API? I'm monitoring some data through MQTT but having rest API is plenty f integration possibilities however I have no idea how that works and will be nice to have some flo…

---

## [Telegram gives false alarms](https://discourse.nodered.org/t/telegram-gives-false-alarms/60551)

<div class="topic-metadata">

**Author:** [@fugit185](https://discourse.nodered.org/u/fugit185)\
**Replies:** 8\
**Last updated:** [31 March 2022 05:17 UTC](https://discourse.nodered.org/t/telegram-gives-false-alarms/60551 "2022-03-31T05:17:17Z")

</div>

I have multiple alarms which are send to telegram in my phone. They have been working nicely but roughly one month ago I started to get false alarms. I don't know where to start troubleshooting?

---

## [Flow variables overwritten](https://discourse.nodered.org/t/flow-variables-overwritten/60548)

<div class="topic-metadata">

**Author:** [@guga-mattos](https://discourse.nodered.org/u/guga-mattos)\
**Replies:** 4\
**Last updated:** [30 March 2022 20:57 UTC](https://discourse.nodered.org/t/flow-variables-overwritten/60548 "2022-03-30T20:57:47Z")

</div>

I built a small program with telegram node that makes queries into a database and return it correctly at this time. There are some options on what to query and each one I have created a subflow to get things organized. …

---

## [Table using Array groups and Timestamps](https://discourse.nodered.org/t/table-using-array-groups-and-timestamps/60558)

<div class="topic-metadata">

**Author:** [@DemalCal96](https://discourse.nodered.org/u/DemalCal96)\
**Replies:** 0\
**Last updated:** [30 March 2022 19:12 UTC](https://discourse.nodered.org/t/table-using-array-groups-and-timestamps/60558 "2022-03-30T19:12:03Z")

</div>

Hello, I have a small problem. I am receiving by MQTT some arrays that have quite a lot of elements (about 2000). I get 4 of these arrays within 5 minutes. What I want is that these 4 arrays are each in a column of a tab…

---

## [Node-Red stopping process to early](https://discourse.nodered.org/t/node-red-stopping-process-to-early/60433)

<div class="topic-metadata">

**Author:** [@smitterer](https://discourse.nodered.org/u/smitterer)\
**Replies:** 25\
**Last updated:** [30 March 2022 18:45 UTC](https://discourse.nodered.org/t/node-red-stopping-process-to-early/60433 "2022-03-30T18:45:16Z")

</div>

Hi! I'm struggling with the following: I'm using NR to get a csv from a FTP server, run a java program via exec (using command "ant") and then transfer the output file to another FTP. When I run ant directly via ssh o…

---

## [Worldmap how to make markers persist indefinitely](https://discourse.nodered.org/t/worldmap-how-to-make-markers-persist-indefinitely/60533)

<div class="topic-metadata">

**Author:** [@L0uisc](https://discourse.nodered.org/u/L0uisc)\
**Replies:** 1\
**Last updated:** [30 March 2022 18:33 UTC](https://discourse.nodered.org/t/worldmap-how-to-make-markers-persist-indefinitely/60533 "2022-03-30T18:33:44Z")

</div>

Hi! I'm looking at using the worldmap node to display some location data. I can display the markers on the map, however, the worldmap block removes them after some time. How can I get them to persist as long as the page …

---

## [Hello everyone pls some help](https://discourse.nodered.org/t/hello-everyone-pls-some-help/60265)

<div class="topic-metadata">

**Author:** [@Sheeen](https://discourse.nodered.org/u/Sheeen)\
**Replies:** 40\
**Last updated:** [30 March 2022 18:14 UTC](https://discourse.nodered.org/t/hello-everyone-pls-some-help/60265 "2022-03-30T18:14:25Z")

</div>

Hello everyone :relaxed: pls could anyone help me cause I'm really stuck I have an esp8266 paired with dht11 it measured temperature in the room and send to a raspberry pi 3 through the mqtt broker my main problem is I w…

---

## [Creating an alert - best programing practice?](https://discourse.nodered.org/t/creating-an-alert-best-programing-practice/60517)

<div class="topic-metadata">

**Author:** [@molsonb](https://discourse.nodered.org/u/molsonb)\
**Replies:** 6\
**Last updated:** [30 March 2022 15:21 UTC](https://discourse.nodered.org/t/creating-an-alert-best-programing-practice/60517 "2022-03-30T15:21:14Z")

</div>

I have a programming question, which way is the more efficient way to code. I have an alert when a temperature reaches a certain value and only alerts me when a boolean to turn "On" for the monitoring. Should I start wi…

---

## [Node Red Restarts when Doorbird doorbell button pressed](https://discourse.nodered.org/t/node-red-restarts-when-doorbird-doorbell-button-pressed/60397)

<div class="topic-metadata">

**Author:** [@Ryanshafer](https://discourse.nodered.org/u/Ryanshafer)\
**Replies:** 8\
**Last updated:** [30 March 2022 14:06 UTC](https://discourse.nodered.org/t/node-red-restarts-when-doorbird-doorbell-button-pressed/60397 "2022-03-30T14:06:35Z")

</div>

Hello, I am running node red v1.1.3 on Nodejs v10.22.0 via Docker created using IOTstack. I am trying to use my doorbird doorbell button press to trigger a flow. I have tried two different methods. Both methods are tri…

---

## [Loop through x amount of API pulls after 2s second delay each time](https://discourse.nodered.org/t/loop-through-x-amount-of-api-pulls-after-2s-second-delay-each-time/60534)

<div class="topic-metadata">

**Author:** [@Romprod](https://discourse.nodered.org/u/Romprod)\
**Replies:** 1\
**Last updated:** [30 March 2022 13:56 UTC](https://discourse.nodered.org/t/loop-through-x-amount-of-api-pulls-after-2s-second-delay-each-time/60534 "2022-03-30T13:56:40Z")

</div>

Hi, I'd like to loop a request that polls an API a set amount of times, with having to create the nodes for each loop. Currently everything works correctly just that if I want to add an additional page of results I hav…

---

## [How to use an ui-button with a http in node](https://discourse.nodered.org/t/how-to-use-an-ui-button-with-a-http-in-node/60486)

<div class="topic-metadata">

**Author:** [@between](https://discourse.nodered.org/u/between)\
**Replies:** 3\
**Last updated:** [30 March 2022 12:45 UTC](https://discourse.nodered.org/t/how-to-use-an-ui-button-with-a-http-in-node/60486 "2022-03-30T12:45:13Z")

</div>

I want to export a file by clicking a button. There are the flows I'm using for: \[{"id":"7adc8e2c.3a56d","type":"function","z":"339f2e0a.80f992","name":"Base path","func":"//var basePath = \\"/home/pi/Documents/S0\_data/\\…

---

## [How to send request payload?](https://discourse.nodered.org/t/how-to-send-request-payload/60530)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 4\
**Last updated:** [30 March 2022 11:49 UTC](https://discourse.nodered.org/t/how-to-send-request-payload/60530 "2022-03-30T11:49:59Z")

</div>

How to send request payload? and request header I trying like this \[{"id":"a8faa7af.39251","type":"inject","z":"e0cba348.b7758","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":""…

---

## [Issue with payload for Home assistant](https://discourse.nodered.org/t/issue-with-payload-for-home-assistant/60519)

<div class="topic-metadata">

**Author:** [@sheminasalam](https://discourse.nodered.org/u/sheminasalam)\
**Replies:** 1\
**Last updated:** [30 March 2022 07:10 UTC](https://discourse.nodered.org/t/issue-with-payload-for-home-assistant/60519 "2022-03-30T07:10:10Z")

</div>

I am trying to set the value of a input text sensor in HA from node red. The value that I want to set is /love. But when I inject /love payload into the HA node, the value of the text sensor changes to &#x2F;love instead…

---

## [CPU spikes - fresh install in docker](https://discourse.nodered.org/t/cpu-spikes-fresh-install-in-docker/60514)

<div class="topic-metadata">

**Author:** [@singletonerik](https://discourse.nodered.org/u/singletonerik)\
**Replies:** 1\
**Last updated:** [29 March 2022 23:16 UTC](https://discourse.nodered.org/t/cpu-spikes-fresh-install-in-docker/60514 "2022-03-29T23:16:56Z")

</div>

Here is a similar thread, that hasn't really been resolved: I am running a totally blank instance of Node-RED on an e2 shared core GCE VM (their free tier offer for compute). I am seeing CPU spikes every 30s, and I w…

---

## [Node-Red Crashes - Leaves a TCP timeout error prior - How to trace?](https://discourse.nodered.org/t/node-red-crashes-leaves-a-tcp-timeout-error-prior-how-to-trace/60513)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 15\
**Last updated:** [29 March 2022 21:13 UTC](https://discourse.nodered.org/t/node-red-crashes-leaves-a-tcp-timeout-error-prior-how-to-trace/60513 "2022-03-29T21:13:13Z")

</div>

29 Mar 19:46:14 - \[error\] Error: connect ETIMEDOUT 51.195.235.166:443 at TCPConnectWrap.afterConnect \[as oncomplete\] (net.js:1144:16) nodered.service: Main process exited, code=exited, status=1/FAILURE nodered.servic…

---

## [Multiple httpStatic folders in NodeRED](https://discourse.nodered.org/t/multiple-httpstatic-folders-in-nodered/60458)

<div class="topic-metadata">

**Author:** [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Replies:** 3\
**Last updated:** [29 March 2022 20:15 UTC](https://discourse.nodered.org/t/multiple-httpstatic-folders-in-nodered/60458 "2022-03-29T20:15:40Z")

</div>

Is it possible to have multiple httpStatic folders in NodeRED (defined in settings.js) ? Something like httpStatic: \['C:/FolderX', 'D:/FolderY'\]

---

## [Mitsubishi MC Write Node always writing True](https://discourse.nodered.org/t/mitsubishi-mc-write-node-always-writing-true/60502)

<div class="topic-metadata">

**Author:** [@jts450](https://discourse.nodered.org/u/jts450)\
**Replies:** 2\
**Last updated:** [29 March 2022 19:21 UTC](https://discourse.nodered.org/t/mitsubishi-mc-write-node-always-writing-true/60502 "2022-03-29T19:21:21Z")

</div>

I am able to write directly to a digital output on my Mitsubishi PLC, in my case Y6 and Y7 but when I try to write False to turn the output off it always says true and never turns the output off?

---

## [Many flows to one](https://discourse.nodered.org/t/many-flows-to-one/60503)

<div class="topic-metadata">

**Author:** [@rex](https://discourse.nodered.org/u/rex)\
**Replies:** 1\
**Last updated:** [29 March 2022 17:41 UTC](https://discourse.nodered.org/t/many-flows-to-one/60503 "2022-03-29T17:41:38Z")

</div>

I have some sensors acquired via MQTT. These sensors have similar management, so I'll like to collect them on a common flow or sub-flow. The data received from MQTT are asynchronous so they can arrive together. I think…

---

## [How to extract some properties from an array of object?](https://discourse.nodered.org/t/how-to-extract-some-properties-from-an-array-of-object/60488)

<div class="topic-metadata">

**Author:** [@pagaille](https://discourse.nodered.org/u/pagaille)\
**Replies:** 19\
**Last updated:** [29 March 2022 17:20 UTC](https://discourse.nodered.org/t/how-to-extract-some-properties-from-an-array-of-object/60488 "2022-03-29T17:20:34Z")

</div>

I believe that's a pretty basic question but I can't sort it out : Given the following array : \[ { "TimeStamp":"2022-03-29T10:15:00.000Z", "Name":"SN: 2001680707", "Type":"SB 3300", "Seri…

---

## [UI builder shows only variable name and not the value](https://discourse.nodered.org/t/ui-builder-shows-only-variable-name-and-not-the-value/60411)

<div class="topic-metadata">

**Author:** [@Mbessing](https://discourse.nodered.org/u/Mbessing)\
**Replies:** 12\
**Last updated:** [29 March 2022 14:35 UTC](https://discourse.nodered.org/t/ui-builder-shows-only-variable-name-and-not-the-value/60411 "2022-03-29T14:35:26Z")

</div>

Hi everyone! I tried to make the following "Game Timer and Clue Display" in node-red, following this tutorial: Game Timer and Clue Display · playfultechnology/node-redscape Wiki · GitHub I am able to change the backgro…

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

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