# General

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

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

**Page:** 39

---

## [How to set the trigger frequency based on context value](https://discourse.nodered.org/t/how-to-set-the-trigger-frequency-based-on-context-value/97224)

<div class="topic-metadata">

**Author:** [@vijayaprabu](https://discourse.nodered.org/u/vijayaprabu)\
**Replies:** 4\
**Last updated:** [23 May 2025 10:24 UTC](https://discourse.nodered.org/t/how-to-set-the-trigger-frequency-based-on-context-value/97224 "2025-05-23T10:24:36Z")

</div>

I have to respond based on a regular interval which is part of request. can you suggest

---

## [How to send Modbus Values to Solarfocus Heatpump via NodeRed](https://discourse.nodered.org/t/how-to-send-modbus-values-to-solarfocus-heatpump-via-nodered/97153)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 12\
**Last updated:** [23 May 2025 08:26 UTC](https://discourse.nodered.org/t/how-to-send-modbus-values-to-solarfocus-heatpump-via-nodered/97153 "2025-05-23T08:26:51Z")

</div>

Hi, I try to send external temperature via NodeRod to a Modbus Register in my Solarfocus VampAir Heatpump. It works perfectly fine for positive numbers, but does not work for negative numbers: This is how it works for…

---

## [Trying to use JSONata $map for Nested arrays, getting Invalid JSONata expression: Expected "{", got "\["](https://discourse.nodered.org/t/trying-to-use-jsonata-map-for-nested-arrays-getting-invalid-jsonata-expression-expected-got/97190)

<div class="topic-metadata">

**Author:** [@dubnemo](https://discourse.nodered.org/u/dubnemo)\
**Replies:** 11\
**Last updated:** [23 May 2025 05:53 UTC](https://discourse.nodered.org/t/trying-to-use-jsonata-map-for-nested-arrays-getting-invalid-jsonata-expression-expected-got/97190 "2025-05-23T05:53:14Z")

</div>

This is barking in my change node using JSONata: \[ $map( payload, function($v) \[ { "fieldKey": "fieldUUID", "value": $v.fieldUUID }, …

---

## [node-RED crashing with 'Invalid Websocket Frame'](https://discourse.nodered.org/t/node-red-crashing-with-invalid-websocket-frame/97210)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 3\
**Last updated:** [22 May 2025 16:41 UTC](https://discourse.nodered.org/t/node-red-crashing-with-invalid-websocket-frame/97210 "2025-05-22T16:41:41Z")

</div>

I'm running a flow using node-red-contrib-ocpp, and have had a few node-RED crashes over the past week when that flow is running. In the logfile I see it's linked to a 'Invalid WebSocket frame: RSV1 must be clear' error…

---

## [Printing Raw/ESC](https://discourse.nodered.org/t/printing-raw-esc/97070)

<div class="topic-metadata">

**Author:** [@BrallanH2](https://discourse.nodered.org/u/BrallanH2)\
**Replies:** 2\
**Last updated:** [22 May 2025 13:43 UTC](https://discourse.nodered.org/t/printing-raw-esc/97070 "2025-05-22T13:43:10Z")

</div>

Read File Node There are four options for "Output": a single utf8 string a msg per line a single Buffer object a stream of Buffers Is option 3 able to open and put a whole file in a single Buffer object that can be a…

---

## [Issues passing variable to data field? ("None for dictionary value")](https://discourse.nodered.org/t/issues-passing-variable-to-data-field-none-for-dictionary-value/97208)

<div class="topic-metadata">

**Author:** [@vaderag](https://discourse.nodered.org/u/vaderag)\
**Replies:** 1\
**Last updated:** [22 May 2025 13:29 UTC](https://discourse.nodered.org/t/issues-passing-variable-to-data-field-none-for-dictionary-value/97208 "2025-05-22T13:29:36Z")

</div>

I’m trying to pass generated R G B values to an action node and ending up with “None for dictionary value” I’ve posted my flow below - having read around it looked like it might have been an issue with putting it all to…

---

## [How do I declare an array element in OpcUa-Item node](https://discourse.nodered.org/t/how-do-i-declare-an-array-element-in-opcua-item-node/97209)

<div class="topic-metadata">

**Author:** [@kapparice](https://discourse.nodered.org/u/kapparice)\
**Replies:** 0\
**Last updated:** [22 May 2025 13:15 UTC](https://discourse.nodered.org/t/how-do-i-declare-an-array-element-in-opcua-item-node/97209 "2025-05-22T13:15:27Z")

</div>

Hi All, I am new to node-red and I am developing a simulation environment for a PLC using OPC-UA. I added some values to the OPCUA server in the PLC, and tested them in UAExpert Client: One of them is a boolean, to ena…

---

## [How to setup the login and password on node-red-contrib-ocpp Server configuration node](https://discourse.nodered.org/t/how-to-setup-the-login-and-password-on-node-red-contrib-ocpp-server-configuration-node/97204)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 1\
**Last updated:** [22 May 2025 11:25 UTC](https://discourse.nodered.org/t/how-to-setup-the-login-and-password-on-node-red-contrib-ocpp-server-configuration-node/97204 "2025-05-22T11:25:20Z")

</div>

Hello I try to use the node-red-contrib-ocpp Actually, i have a charge point that tries to communicate with the OCPP Server, but i only get an ONLINE and an OFFLINE message. I am surprised, because in the help of this…

---

## [Looking for ideas how to generate a monitoring/control for a drain pump (heating/aircondition water)](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069)

<div class="topic-metadata">

**Author:** [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Replies:** 11\
**Last updated:** [22 May 2025 11:20 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069 "2025-05-22T11:20:10Z")

</div>

Hi, background: I am using node-red for my smart home since some years with basic features and just started to dig deaper :grinning\_face: story: water in the cellar - drain pump was ok - inflow was stuffed with mud …

---

## [Emulate Keyboard](https://discourse.nodered.org/t/emulate-keyboard/97167)

<div class="topic-metadata">

**Author:** [@jauntddd](https://discourse.nodered.org/u/jauntddd)\
**Replies:** 5\
**Last updated:** [21 May 2025 23:21 UTC](https://discourse.nodered.org/t/emulate-keyboard/97167 "2025-05-21T23:21:42Z")

</div>

I want to use a node to emulate keystrokes to type on a windows host remotely. I can send a payload with the text I want to type, but I haven't had any luck finding a node that works which can type out this payload. I'v…

---

## [$filter array is return undefined in logs - flow.fileContents or payload.arrayEntry not accessible?](https://discourse.nodered.org/t/filter-array-is-return-undefined-in-logs-flow-filecontents-or-payload-arrayentry-not-accessible/97170)

<div class="topic-metadata">

**Author:** [@dubnemo](https://discourse.nodered.org/u/dubnemo)\
**Replies:** 13\
**Last updated:** [21 May 2025 16:58 UTC](https://discourse.nodered.org/t/filter-array-is-return-undefined-in-logs-flow-filecontents-or-payload-arrayentry-not-accessible/97170 "2025-05-21T16:58:01Z")

</div>

I am trying $filter a subset of json based an email address in the JSON payload which I copied to flow.fileContents context data (attached), trying many variations of the function syntax. I get a $distinct list of email…

---

## [Hi, I need help about Stream Http Response](https://discourse.nodered.org/t/hi-i-need-help-about-stream-http-response/97187)

<div class="topic-metadata">

**Author:** [@dysoft](https://discourse.nodered.org/u/dysoft)\
**Replies:** 1\
**Last updated:** [21 May 2025 15:02 UTC](https://discourse.nodered.org/t/hi-i-need-help-about-stream-http-response/97187 "2025-05-21T15:02:25Z")

</div>

Guys There is a web request that i am receiving from Node : http in \*\*GET : method \*\* /msg\_stream : PATH , URL : http://localhost:1880/msg\_stream When i get request, i need to response with "text/event-stream" …

---

## [Nodered-contrib-anthropic example](https://discourse.nodered.org/t/nodered-contrib-anthropic-example/96970)

<div class="topic-metadata">

**Author:** [@pprenghy](https://discourse.nodered.org/u/pprenghy)\
**Replies:** 2\
**Last updated:** [21 May 2025 12:03 UTC](https://discourse.nodered.org/t/nodered-contrib-anthropic-example/96970 "2025-05-21T12:03:17Z")

</div>

Hello, does anyone here use nodered-contrib-anthropic? I just need a simple example of how to use it. This node would be useful to me, but I can't use it and there is no documentation. I don't want to try it by trial and…

---

## [Changing icon pallet from CoT 2525C to OSM and show the correct Icon](https://discourse.nodered.org/t/changing-icon-pallet-from-cot-2525c-to-osm-and-show-the-correct-icon/97136)

<div class="topic-metadata">

**Author:** [@rivershark13](https://discourse.nodered.org/u/rivershark13)\
**Replies:** 4\
**Last updated:** [21 May 2025 07:23 UTC](https://discourse.nodered.org/t/changing-icon-pallet-from-cot-2525c-to-osm-and-show-the-correct-icon/97136 "2025-05-21T07:23:00Z")

</div>

After using node-red to inject an API key to input data onto the map we can modify the code to switch between unknown, friend, neutral, and hostile. When we try to use a different icon such as one from the OSM table tran…

---

## [Help with code in \`function\` node](https://discourse.nodered.org/t/help-with-code-in-function-node/97007)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [21 May 2025 05:29 UTC](https://discourse.nodered.org/t/help-with-code-in-function-node/97007 "2025-05-21T05:29:36Z")

</div>

I'm going over old code and updating things. This has me not getting anywhere just now. code: //const time\_ = new Date().toLocaleString() const time\_ = new Date().toLocaleString('en-AU', { hour12: false }) let Mod…

---

## [Meshtastic and Node.js v20](https://discourse.nodered.org/t/meshtastic-and-node-js-v20/97164)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 6\
**Last updated:** [20 May 2025 17:01 UTC](https://discourse.nodered.org/t/meshtastic-and-node-js-v20/97164 "2025-05-20T17:01:12Z")

</div>

I am on NR 4.0.9 but somehow still on Node.js v18.19.0. I want to play around with Meshtastic and wanted to use @danpeig/node-red-meshtastic-msg, but it required Node.js v20. So far I only used the upgrade script to ke…

---

## [Connection to REST API](https://discourse.nodered.org/t/connection-to-rest-api/97101)

<div class="topic-metadata">

**Author:** [@povallee](https://discourse.nodered.org/u/povallee)\
**Replies:** 2\
**Last updated:** [20 May 2025 11:23 UTC](https://discourse.nodered.org/t/connection-to-rest-api/97101 "2025-05-20T11:23:51Z")

</div>

Hello, I'm totally new to Node-Red. I've been doing some research and it seems that Node-Red could help us to achieve what we are trying to do. On one end we have a REST API with information that we want to send to a MQ…

---

## [Httprequest node - help](https://discourse.nodered.org/t/httprequest-node-help/97155)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 23\
**Last updated:** [20 May 2025 11:01 UTC](https://discourse.nodered.org/t/httprequest-node-help/97155 "2025-05-20T11:01:10Z")

</div>

Folks, a while back other (smarter) people wrote a quick bit of code for me that uses the httprequest node. I'm wanting to use it again in a similar way but am getting nowhere - fast. Every time I force a request, I ge…

---

## [Sonoff iHost and Node red: influxdb backup node error](https://discourse.nodered.org/t/sonoff-ihost-and-node-red-influxdb-backup-node-error/97126)

<div class="topic-metadata">

**Author:** [@djpole](https://discourse.nodered.org/u/djpole)\
**Replies:** 13\
**Last updated:** [20 May 2025 10:48 UTC](https://discourse.nodered.org/t/sonoff-ihost-and-node-red-influxdb-backup-node-error/97126 "2025-05-20T10:48:25Z")

</div>

I´m running Node red in a Sonoff iHost. I have running the Nodered container and running too an influxdb container, so I´m hosting my own database (it´s influx 1.x , not 1.8 or 2.0). As iHost relays on an SD card (like R…

---

## [Error: EXDEV: cross-device link not permitted, rename 'node\_trace.1.log'](https://discourse.nodered.org/t/error-exdev-cross-device-link-not-permitted-rename-node-trace-1-log/97157)

<div class="topic-metadata">

**Author:** [@malee](https://discourse.nodered.org/u/malee)\
**Replies:** 1\
**Last updated:** [20 May 2025 08:37 UTC](https://discourse.nodered.org/t/error-exdev-cross-device-link-not-permitted-rename-node-trace-1-log/97157 "2025-05-20T08:37:48Z")

</div>

I am running node-RED as an embedded app to profile some flows with clinic.JS. On occasion I get this node\_trace.1.log file appear in the folder root of the script I am running. Just wondering if anybody has an insight …

---

## [I can't install node-red-contrib-rc522 or mfrc522-rfid](https://discourse.nodered.org/t/i-cant-install-node-red-contrib-rc522-or-mfrc522-rfid/97148)

<div class="topic-metadata">

**Author:** [@splaza](https://discourse.nodered.org/u/splaza)\
**Replies:** 2\
**Last updated:** [19 May 2025 15:00 UTC](https://discourse.nodered.org/t/i-cant-install-node-red-contrib-rc522-or-mfrc522-rfid/97148 "2025-05-19T15:00:39Z")

</div>

Hi, I just installed raspberry with node red v.4.0.9 and I can't install node-red-contrib-rc522 or mfrc522-rfid nodes. 2025-05-19T13:37:48.555Z Instalar : node-red-contrib-rc522 1.0.3 2025-05-19T13:37:48.803Z npm insta…

---

## [Installing Node-Red on a Mac Mini M4 pro](https://discourse.nodered.org/t/installing-node-red-on-a-mac-mini-m4-pro/95810)

<div class="topic-metadata">

**Author:** [@Robertotarga](https://discourse.nodered.org/u/Robertotarga)\
**Replies:** 18\
**Last updated:** [19 May 2025 01:55 UTC](https://discourse.nodered.org/t/installing-node-red-on-a-mac-mini-m4-pro/95810 "2025-05-19T01:55:27Z")

</div>

Hi Folks, I need to install NR on a M4 Pro Mac Mini with Sequoia 15.3 Is there a step-by-step guide that I can follow? I.e. should I install node.js before and then NR or is there a complete setup that installs all ne…

---

## [Monitor battery value](https://discourse.nodered.org/t/monitor-battery-value/97129)

<div class="topic-metadata">

**Author:** [@Haithamk](https://discourse.nodered.org/u/Haithamk)\
**Replies:** 1\
**Last updated:** [18 May 2025 21:03 UTC](https://discourse.nodered.org/t/monitor-battery-value/97129 "2025-05-18T21:03:37Z")

</div>

Gents, I have many zigbee sensors running on batteries. I want to read the value of the batteries of some sensors and if it is less than 30 percent I want to turn on a virtual device i have on my ihost. the following…

---

## [Raspberry Pi drops Wi-Fi while openig UI](https://discourse.nodered.org/t/raspberry-pi-drops-wi-fi-while-openig-ui/96931)

<div class="topic-metadata">

**Author:** [@kdpsz](https://discourse.nodered.org/u/kdpsz)\
**Replies:** 9\
**Last updated:** [18 May 2025 17:47 UTC](https://discourse.nodered.org/t/raspberry-pi-drops-wi-fi-while-openig-ui/96931 "2025-05-18T17:47:41Z")

</div>

Hi everyone, Unfortunately, I’ve encountered a rather annoying issue over the past few days. Everything was working fine until recently, but a few days ago, when I turned on the Pi in the morning and tried to open the U…

---

## [Pushover Node with base64 image](https://discourse.nodered.org/t/pushover-node-with-base64-image/97118)

<div class="topic-metadata">

**Author:** [@sammie76-2](https://discourse.nodered.org/u/sammie76-2)\
**Replies:** 16\
**Last updated:** [18 May 2025 15:27 UTC](https://discourse.nodered.org/t/pushover-node-with-base64-image/97118 "2025-05-18T15:27:05Z")

</div>

Hi everyone, I'm trying to send an image via the Pushover node in Node-RED as an embedded image attachment. Here's what I’ve done so far: I used the HTTP request node to fetch an image over HTTPS. I converted the ima…

---

## [Flowfuse Dashboard 2.0 issue: ERR\_TOO\_MANY\_REDIRECTS](https://discourse.nodered.org/t/flowfuse-dashboard-2-0-issue-err-too-many-redirects/97107)

<div class="topic-metadata">

**Author:** [@Martin12](https://discourse.nodered.org/u/Martin12)\
**Replies:** 18\
**Last updated:** [18 May 2025 11:32 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-2-0-issue-err-too-many-redirects/97107 "2025-05-18T11:32:04Z")

</div>

Hello, today I ran into the following issue with ui-builder after rebooting my Raspberry PI (on which node red is running on): Whenever I try to open the website that is delivered through the ui-builder node I get the f…

---

## [Infinite loop updating node-red on Raspbian Stretch](https://discourse.nodered.org/t/infinite-loop-updating-node-red-on-raspbian-stretch/97104)

<div class="topic-metadata">

**Author:** [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Replies:** 4\
**Last updated:** [18 May 2025 02:45 UTC](https://discourse.nodered.org/t/infinite-loop-updating-node-red-on-raspbian-stretch/97104 "2025-05-18T02:45:51Z")

</div>

I appear to be stuck in an infinite loop trying to update node red 0.19.4 on Raspbian "Stretch" It is and old system and was working well until I tried installing an improved flow for my AI security add-on system. I've…

---

## [Javascript library](https://discourse.nodered.org/t/javascript-library/97076)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 9\
**Last updated:** [17 May 2025 12:44 UTC](https://discourse.nodered.org/t/javascript-library/97076 "2025-05-17T12:44:22Z")

</div>

I know there are multiple backdoors into node red for creating reusable functionality. But I'd like a first-class javascript library instead. It would be much easier to view and edit a shared js code inside node red, tha…

---

## [How to open NR - from my web app based based on user authentication](https://discourse.nodered.org/t/how-to-open-nr-from-my-web-app-based-based-on-user-authentication/96962)

<div class="topic-metadata">

**Author:** [@SandeepA](https://discourse.nodered.org/u/SandeepA)\
**Replies:** 7\
**Last updated:** [16 May 2025 20:32 UTC](https://discourse.nodered.org/t/how-to-open-nr-from-my-web-app-based-based-on-user-authentication/96962 "2025-05-16T20:32:41Z")

</div>

Hi I need to integrate NR into a my web based application . Today all i do is give the NR link in my menu and user clicks and NR opens. I would like to have user /password authentication done seamlessly when user acce…

---

## [RED.stop is not a function](https://discourse.nodered.org/t/red-stop-is-not-a-function/97079)

<div class="topic-metadata">

**Author:** [@malee](https://discourse.nodered.org/u/malee)\
**Replies:** 6\
**Last updated:** [16 May 2025 12:55 UTC](https://discourse.nodered.org/t/red-stop-is-not-a-function/97079 "2025-05-16T12:55:04Z")

</div>

I am working on a way of gracefully stopping a node-RED instance from running to simply the task of bench marking with clinic.js and auto cannon. To allow for this to happen I initially tried using a call to RED.stop() …

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

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