# Latest

**URL:** https://discourse.nodered.org/latest.md?page=675

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

**Page:** 676

---

## [I need to find a way to read a frequency of (on/off) on GPIO, Im trying to use TCS3200 colour sensor](https://discourse.nodered.org/t/i-need-to-find-a-way-to-read-a-frequency-of-on-off-on-gpio-im-trying-to-use-tcs3200-colour-sensor/55032)

<div class="topic-metadata">

**Author:** [@XhanceHd](https://discourse.nodered.org/u/XhanceHd)\
**Replies:** 1\
**Last updated:** [11 December 2021 09:18 UTC](https://discourse.nodered.org/t/i-need-to-find-a-way-to-read-a-frequency-of-on-off-on-gpio-im-trying-to-use-tcs3200-colour-sensor/55032 "2021-12-11T09:18:50Z")

</div>

I'm trying to run TCS3200 color sensor on raspberry pi 4 and node red. the color sensors outputs a frequency based on the light intensity I've tried running the normal GPIO In and removed the debounce, with a function …

---

## [Multistate switch issue](https://discourse.nodered.org/t/multistate-switch-issue/54973)

<div class="topic-metadata">

**Author:** [@Lights1971](https://discourse.nodered.org/u/Lights1971)\
**Replies:** 4\
**Last updated:** [11 December 2021 08:32 UTC](https://discourse.nodered.org/t/multistate-switch-issue/54973 "2021-12-11T08:32:00Z")

</div>

I am not sure if I’m doing something wrong, but have set up a dashboard to display a map and to be able to switch lights on and off via Alexa. Currently I use two buttons to control a light, one to send an off message a…

---

## [Enabling or disabling a node](https://discourse.nodered.org/t/enabling-or-disabling-a-node/54891)

<div class="topic-metadata">

**Author:** [@rapidshe](https://discourse.nodered.org/u/rapidshe)\
**Replies:** 5\
**Last updated:** [11 December 2021 06:21 UTC](https://discourse.nodered.org/t/enabling-or-disabling-a-node/54891 "2021-12-11T06:21:20Z")

</div>

Hello everybody! I need to automatically Enabling or disabling the nodes. I have found plugins "node-red-contrib-simple-gate" and "traffic node", but this is not what I want. I just need to disable and enable some the…

---

## [Function-node freezes whole node-red](https://discourse.nodered.org/t/function-node-freezes-whole-node-red/55028)

<div class="topic-metadata">

**Author:** [@hutje](https://discourse.nodered.org/u/hutje)\
**Replies:** 8\
**Last updated:** [10 December 2021 23:00 UTC](https://discourse.nodered.org/t/function-node-freezes-whole-node-red/55028 "2021-12-10T23:00:37Z")

</div>

Hi I am currently working on a way to make a hex buffer out of various hex stings. A microcontroller (ESP32) will be using those hex values as values to compare an input with. I want to keep the message over MQTT as s…

---

## [Creating SCADA for furnace](https://discourse.nodered.org/t/creating-scada-for-furnace/55021)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 5\
**Last updated:** [10 December 2021 20:27 UTC](https://discourse.nodered.org/t/creating-scada-for-furnace/55021 "2021-12-10T20:27:36Z")

</div>

Hello, I was trying to build a SCADA for a furnace with what I have learned so far from node-red forums. I'm sharing the flow below. I was thinking if there is a better way to do it by showing entire process rather showi…

---

## [Disable flow / injection using a button on the dashboard](https://discourse.nodered.org/t/disable-flow-injection-using-a-button-on-the-dashboard/55006)

<div class="topic-metadata">

**Author:** [@nosered1966](https://discourse.nodered.org/u/nosered1966)\
**Replies:** 14\
**Last updated:** [10 December 2021 19:56 UTC](https://discourse.nodered.org/t/disable-flow-injection-using-a-button-on-the-dashboard/55006 "2021-12-10T19:56:35Z")

</div>

Hi all, I am totally new here and I am not really familiar with software development and things like this... I have created an example with a gauge on a dashboard feed with a random number activated using a inject node…

---

## [(Asking) Any suggestions on a good JavaScript book to get](https://discourse.nodered.org/t/asking-any-suggestions-on-a-good-javascript-book-to-get/54908)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [10 December 2021 19:46 UTC](https://discourse.nodered.org/t/asking-any-suggestions-on-a-good-javascript-book-to-get/54908 "2021-12-10T19:46:02Z")

</div>

I was looking around for a book and found this list: If any of the regular people here who have dealt with me WRT JavaScript... Would any of these books be any good for me? The first one sounds good as it has short …

---

## [Splitting an array of 7, and setting an topic for each message](https://discourse.nodered.org/t/splitting-an-array-of-7-and-setting-an-topic-for-each-message/54980)

<div class="topic-metadata">

**Author:** [@monsivar](https://discourse.nodered.org/u/monsivar)\
**Replies:** 6\
**Last updated:** [10 December 2021 19:34 UTC](https://discourse.nodered.org/t/splitting-an-array-of-7-and-setting-an-topic-for-each-message/54980 "2021-12-10T19:34:43Z")

</div>

Hi I got an function for splitting an array that contains last 7 days of data ( 0-6), where i want the data for the new day like this: for (let i = 0; i \< msg.payload.length; i++) { const el = msg.payload\[i\]; c…

---

## [How to use array loop?](https://discourse.nodered.org/t/how-to-use-array-loop/54962)

<div class="topic-metadata">

**Author:** [@Schmtterfliege](https://discourse.nodered.org/u/Schmtterfliege)\
**Replies:** 20\
**Last updated:** [10 December 2021 17:50 UTC](https://discourse.nodered.org/t/how-to-use-array-loop/54962 "2021-12-10T17:50:07Z")

</div>

Hi, I'm pretty much a noob it seems. I can't get the array loop from contrib-loop-processing to work. My goal is to go over an array with 18 datapoints (as a string). Defined in a function node: I want to go over …

---

## [Data entry into influxdb](https://discourse.nodered.org/t/data-entry-into-influxdb/52068)

<div class="topic-metadata">

**Author:** [@Urs-Eppenberger](https://discourse.nodered.org/u/Urs-Eppenberger)\
**Replies:** 21\
**Last updated:** [10 December 2021 16:34 UTC](https://discourse.nodered.org/t/data-entry-into-influxdb/52068 "2021-12-10T16:34:16Z")

</div>

Hello experts I'm using node-red to fetch sensor data from an MQTT broker. I modify the data and send it again to the broker, to the global context and some of it to influxdb. I use this data model on the broker: msg.…

---

## [Installation of modbus](https://discourse.nodered.org/t/installation-of-modbus/55009)

<div class="topic-metadata">

**Author:** [@pfe](https://discourse.nodered.org/u/pfe)\
**Replies:** 3\
**Last updated:** [10 December 2021 14:49 UTC](https://discourse.nodered.org/t/installation-of-modbus/55009 "2021-12-10T14:49:37Z")

</div>

hello forum I have problem to install the node-red contrib modbus . Is there someone else who has the same problems ? How to solve ? my nodered is updated. I'm suspecting a problem with the serial link module.. Any adv…

---

## [Out of memory crash on Windows 10 PC](https://discourse.nodered.org/t/out-of-memory-crash-on-windows-10-pc/54141)

<div class="topic-metadata">

**Author:** [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Replies:** 24\
**Last updated:** [10 December 2021 14:06 UTC](https://discourse.nodered.org/t/out-of-memory-crash-on-windows-10-pc/54141 "2021-12-10T14:06:01Z")

</div>

I run Node-RED on a Windows 10 (Home) PC with 32 gigs of ram. Typically, the PC runs with around 9-10 gigs in use. I am running with Node.js version 14.18.1 and Node-RED version 2.1.3 For the past many years, the odd c…

---

## [OPCUA - FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory](https://discourse.nodered.org/t/opcua-fatal-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javascript-heap-out-of-memory/54994)

<div class="topic-metadata">

**Author:** [@R0bbe](https://discourse.nodered.org/u/R0bbe)\
**Replies:** 7\
**Last updated:** [10 December 2021 13:58 UTC](https://discourse.nodered.org/t/opcua-fatal-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javascript-heap-out-of-memory/54994 "2021-12-10T13:58:57Z")

</div>

Hello guys, Im currently running into an error where my Node-RED keeps crashing, due to JavaScript running out of memory. (Error code below) The Node-Red application is currently running in a docker image, on an old…

---

## [Lifespan markers worldmap](https://discourse.nodered.org/t/lifespan-markers-worldmap/54986)

<div class="topic-metadata">

**Author:** [@Razio](https://discourse.nodered.org/u/Razio)\
**Replies:** 2\
**Last updated:** [10 December 2021 13:16 UTC](https://discourse.nodered.org/t/lifespan-markers-worldmap/54986 "2021-12-10T13:16:18Z")

</div>

Hi, I noticed that the lifespan of the markers placed on worldmap is about 10 min. Is that predefined or is that caused by something specific? Node Red v2.1.4 node-red-contrib-web-worldmap v2.23.0 Thanks in advance. …

---

## [How to use the node-red-contrib-firebase-admin package](https://discourse.nodered.org/t/how-to-use-the-node-red-contrib-firebase-admin-package/55011)

<div class="topic-metadata">

**Author:** [@letandat1712](https://discourse.nodered.org/u/letandat1712)\
**Replies:** 0\
**Last updated:** [10 December 2021 13:06 UTC](https://discourse.nodered.org/t/how-to-use-the-node-red-contrib-firebase-admin-package/55011 "2021-12-10T13:06:55Z")

</div>

Please help me, i use node-red-contrib-firebase-admin in order to read and write data to the firebase storage through node-red, i connected everything well done but the problem here is I do not know how to upload an imag…

---

## [JSON to WLED2 node](https://discourse.nodered.org/t/json-to-wled2-node/54603)

<div class="topic-metadata">

**Author:** [@hermann1514](https://discourse.nodered.org/u/hermann1514)\
**Replies:** 3\
**Last updated:** [10 December 2021 13:06 UTC](https://discourse.nodered.org/t/json-to-wled2-node/54603 "2021-12-10T13:06:17Z")

</div>

Hi, can someone tell me, which format must have a json object to send it to a wled2 node to change the brightness or effects? Thx. Regards Hermann

---

## [Memory spikes - no idea why](https://discourse.nodered.org/t/memory-spikes-no-idea-why/55000)

<div class="topic-metadata">

**Author:** [@Razio](https://discourse.nodered.org/u/Razio)\
**Replies:** 3\
**Last updated:** [10 December 2021 11:49 UTC](https://discourse.nodered.org/t/memory-spikes-no-idea-why/55000 "2021-12-10T11:49:12Z")

</div>

Hi again, A bit desperate on this one. I'm running several containers in BalenaOS (as project as (aged) student). The most important ones being node-RED and a postgresql db with postgis extension. I am loading a geojs…

---

## [Display CPU Temp from Pi4 on localhost:1880](https://discourse.nodered.org/t/display-cpu-temp-from-pi4-on-localhost-1880/54989)

<div class="topic-metadata">

**Author:** [@Sol](https://discourse.nodered.org/u/Sol)\
**Replies:** 5\
**Last updated:** [10 December 2021 10:51 UTC](https://discourse.nodered.org/t/display-cpu-temp-from-pi4-on-localhost-1880/54989 "2021-12-10T10:51:49Z")

</div>

I am new to Node-Red. Node-Red is installed on bullseye version of Raspberry. Started Node Red console on Pi4 and start localhost:1880 in browser. I create simple nodes that flow from "timestamp" into function node "ex…

---

## [How can I extract a value from message payload (object)? with the change node](https://discourse.nodered.org/t/how-can-i-extract-a-value-from-message-payload-object-with-the-change-node/54996)

<div class="topic-metadata">

**Author:** [@WBr](https://discourse.nodered.org/u/WBr)\
**Replies:** 6\
**Last updated:** [10 December 2021 11:09 UTC](https://discourse.nodered.org/t/how-can-i-extract-a-value-from-message-payload-object-with-the-change-node/54996 "2021-12-10T11:09:58Z")

</div>

Could someone explain me how I can extract a value (IP adress) so i only get the IP adress without other text? I would like to have the text in green removed: But can't seem to figure out how. This is for UI purpose …

---

## [Camera motion activated](https://discourse.nodered.org/t/camera-motion-activated/54999)

<div class="topic-metadata">

**Author:** [@steve4063](https://discourse.nodered.org/u/steve4063)\
**Replies:** 0\
**Last updated:** [10 December 2021 11:04 UTC](https://discourse.nodered.org/t/camera-motion-activated/54999 "2021-12-10T11:04:22Z")

</div>

i have HA with noide-red installed. i have a few nest cameras set up what i want it when a camera detectrs motion it shows on my google hub foir a short time until no motion is dected. i am completely new to node-red a…

---

## [Comparision of two numeric values and make conditional accordingly](https://discourse.nodered.org/t/comparision-of-two-numeric-values-and-make-conditional-accordingly/54974)

<div class="topic-metadata">

**Author:** [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Replies:** 2\
**Last updated:** [10 December 2021 09:07 UTC](https://discourse.nodered.org/t/comparision-of-two-numeric-values-and-make-conditional-accordingly/54974 "2021-12-10T09:07:59Z")

</div>

Hi, I am new in node red and dont k now programing language of node red, i have taken two temperature values from my PLC and now i want to compare these two values and put conditional on it like if differencer of two v…

---

## [Brooke Jessica Kaio](https://discourse.nodered.org/t/brooke-jessica-kaio/54976)

<div class="topic-metadata">

**Author:** [@brookejessicakaio](https://discourse.nodered.org/u/brookejessicakaio)\
**Replies:** 3\
**Last updated:** [10 December 2021 07:16 UTC](https://discourse.nodered.org/t/brooke-jessica-kaio/54976 "2021-12-10T07:16:22Z")

</div>

Hi all, Brooke Jessica Kaio new here and hope everyone will be fine here. I found this forum really affective for discussion. I'm looking forward to learn some useful ideas related to node-red.

---

## [OPC-UA BadTypeMismatch (0x80740000) - S7\_1500](https://discourse.nodered.org/t/opc-ua-badtypemismatch-0x80740000-s7-1500/54935)

<div class="topic-metadata">

**Author:** [@nico25](https://discourse.nodered.org/u/nico25)\
**Replies:** 0\
**Last updated:** [9 December 2021 14:17 UTC](https://discourse.nodered.org/t/opc-ua-badtypemismatch-0x80740000-s7-1500/54935 "2021-12-09T14:17:06Z")

</div>

Hello, i am using node-red-contrib-opcua in my current project. I am able to read/write boolean values with the opc-client to my S7-1500. Now i am trying so send a numerical value e.g 70009, to my S7. For some reason…

---

## [Node-red serial comm palette failing to install](https://discourse.nodered.org/t/node-red-serial-comm-palette-failing-to-install/53516)

<div class="topic-metadata">

**Author:** [@kevinksdroid](https://discourse.nodered.org/u/kevinksdroid)\
**Replies:** 6\
**Last updated:** [10 December 2021 06:21 UTC](https://discourse.nodered.org/t/node-red-serial-comm-palette-failing-to-install/53516 "2021-12-10T06:21:41Z")

</div>

Hi, so I have been using the node-red-node-serialport for quite a while without any issue. I installed node-red using this method and followed the optional two steps for windows-build-tools. My version of nodejs is v12. …

---

## [Did i miss something here? Help](https://discourse.nodered.org/t/did-i-miss-something-here-help/54968)

<div class="topic-metadata">

**Author:** [@jhunnx](https://discourse.nodered.org/u/jhunnx)\
**Replies:** 2\
**Last updated:** [10 December 2021 05:37 UTC](https://discourse.nodered.org/t/did-i-miss-something-here-help/54968 "2021-12-10T05:37:45Z")

</div>

I have this project and when i try to use node-red the values changes without node-red this is the my code and the serial plotter output. const int sampleWindow = 50; unsigned int sample…

---

## [Err Msg from Non existent node](https://discourse.nodered.org/t/err-msg-from-non-existent-node/54970)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 15\
**Last updated:** [10 December 2021 01:04 UTC](https://discourse.nodered.org/t/err-msg-from-non-existent-node/54970 "2021-12-10T01:04:52Z")

</div>

I am getting an err msg in debug pane and I have not been able to find the node. I have grepped the flows.json file for the id '4ec33857e45da101' and nothing shows up. I suspect it is do to a broken link but was hopi…

---

## [Beginner problem: MQTT](https://discourse.nodered.org/t/beginner-problem-mqtt/54961)

<div class="topic-metadata">

**Author:** [@jhunnx](https://discourse.nodered.org/u/jhunnx)\
**Replies:** 3\
**Last updated:** [9 December 2021 22:09 UTC](https://discourse.nodered.org/t/beginner-problem-mqtt/54961 "2021-12-09T22:09:12Z")

</div>

I have a iot project uses Arduino uno wifi rev2 along with mqtt protocol. The connection is working fine but when i tried to use the old modem(no internet connection) i have its just keep connecting but when i checked th…

---

## [Appending an attribute to an incoming message from a flow context](https://discourse.nodered.org/t/appending-an-attribute-to-an-incoming-message-from-a-flow-context/54954)

<div class="topic-metadata">

**Author:** [@ChankyTheConqueror](https://discourse.nodered.org/u/ChankyTheConqueror)\
**Replies:** 9\
**Last updated:** [9 December 2021 21:19 UTC](https://discourse.nodered.org/t/appending-an-attribute-to-an-incoming-message-from-a-flow-context/54954 "2021-12-09T21:19:53Z")

</div>

Hi, i'm new here, thank you for the great forum, well i'm playing with interactive ui-tables, and i have this specific table containing my temperature sensors on the same table i have a column which is editable. The co…

---

## [Compare the result of two functions and get just one](https://discourse.nodered.org/t/compare-the-result-of-two-functions-and-get-just-one/54939)

<div class="topic-metadata">

**Author:** [@virginiasacudato1](https://discourse.nodered.org/u/virginiasacudato1)\
**Replies:** 3\
**Last updated:** [9 December 2021 21:18 UTC](https://discourse.nodered.org/t/compare-the-result-of-two-functions-and-get-just-one/54939 "2021-12-09T21:18:28Z")

</div>

I have the result of two functions and I want to compare their result in a single function. But I can't, I don't know if it's a synchronization error or times, I tried the join node but nothing works. Here I leave some s…

---

## [Can I use the worldmap plugin in node-red to view a building in 3D?](https://discourse.nodered.org/t/can-i-use-the-worldmap-plugin-in-node-red-to-view-a-building-in-3d/54951)

<div class="topic-metadata">

**Author:** [@bchernis](https://discourse.nodered.org/u/bchernis)\
**Replies:** 2\
**Last updated:** [9 December 2021 21:09 UTC](https://discourse.nodered.org/t/can-i-use-the-worldmap-plugin-in-node-red-to-view-a-building-in-3d/54951 "2021-12-09T21:09:28Z")

</div>

Hello. I am trying to use the "worldmap" plugin in node-red to display a 3D building in Barcelona, Spain that I've constructed from polygons using coordinates from the following source (which also shows what the buildin…

[Previous page](https://discourse.nodered.org/latest.md?page=674)

[Next page](https://discourse.nodered.org/latest.md?page=676)
