# General

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

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

**Page:** 49

---

## [Cannot send command to Niryo Ned2 robot](https://discourse.nodered.org/t/cannot-send-command-to-niryo-ned2-robot/95939)

<div class="topic-metadata">

**Author:** [@Safouene28](https://discourse.nodered.org/u/Safouene28)\
**Replies:** 2\
**Last updated:** [13 March 2025 09:20 UTC](https://discourse.nodered.org/t/cannot-send-command-to-niryo-ned2-robot/95939 "2025-03-13T09:20:32Z")

</div>

Hello everyone, I would like to know if someone has already worked on the niryo ned2 robot, I tried something simple to send a calibration command, but nothing happens, after some time, it disconnects. I know there is s…

---

## [Dropdown node - what am I missing](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935)

<div class="topic-metadata">

**Author:** [@itolond](https://discourse.nodered.org/u/itolond)\
**Replies:** 6\
**Last updated:** [13 March 2025 06:56 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935 "2025-03-13T06:56:12Z")

</div>

\[Newbie\] Following a video guide on how to set up a dropdown in Node-Red seemed very straightforward, as I am using a static list in the dropdown. Using "MSG.Dropdown" However, I see the MSG output via the debug but wit…

---

## [Newbee question](https://discourse.nodered.org/t/newbee-question/95959)

<div class="topic-metadata">

**Author:** [@RonaldHA](https://discourse.nodered.org/u/RonaldHA)\
**Replies:** 1\
**Last updated:** [12 March 2025 23:58 UTC](https://discourse.nodered.org/t/newbee-question/95959 "2025-03-12T23:58:07Z")

</div>

I am new to Node Red, and have watched several videos but I still can't figure out the question below. In HA I have a Boolean input ON/OFF if it is on I want to use scheme 1 and if it is off scheme 2. A lamp must ligh…

---

## [Using modules Offline](https://discourse.nodered.org/t/using-modules-offline/95946)

<div class="topic-metadata">

**Author:** [@LoRdOfUnO](https://discourse.nodered.org/u/LoRdOfUnO)\
**Replies:** 2\
**Last updated:** [12 March 2025 21:41 UTC](https://discourse.nodered.org/t/using-modules-offline/95946 "2025-03-12T21:41:39Z")

</div>

Hi All, I'm trying to use otpauth otpauth - npm inside of Nodered function node using the modules import Use any npm module in Node-RED • FlowFuse. The issue is that the node red doesn't reach internet. When deploying…

---

## [Error rc217 or 247. When installing, deleting, updating nodes](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887)

<div class="topic-metadata">

**Author:** [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)\
**Replies:** 27\
**Last updated:** [12 March 2025 18:41 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887 "2025-03-12T18:41:49Z")

</div>

Hello. I have this error npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict @node-red-contrib-themes/theme-collection@4.0.11 rc=217 when installing, deleting, updat…

---

## [Truncate String?](https://discourse.nodered.org/t/truncate-string/95947)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 3\
**Last updated:** [12 March 2025 16:46 UTC](https://discourse.nodered.org/t/truncate-string/95947 "2025-03-12T16:46:00Z")

</div>

The msg.datetime is a string and I am trying to get rid of the last 5 char. I just want the Date and Time. I want to get rid of what the green arrow is pointing to. Thanks for any help

---

## [Smarter programming with subflow and sensors](https://discourse.nodered.org/t/smarter-programming-with-subflow-and-sensors/95945)

<div class="topic-metadata">

**Author:** [@MrX](https://discourse.nodered.org/u/MrX)\
**Replies:** 4\
**Last updated:** [12 March 2025 15:29 UTC](https://discourse.nodered.org/t/smarter-programming-with-subflow-and-sensors/95945 "2025-03-12T15:29:41Z")

</div>

I want to use one common subflow for many types of sensors to get the sensors value. The sensors value is received from the MQTT message with "msg.topic" = "tele/xxx/SENSOR", sent with TELEPERIOD interval. A "Environme…

---

## [Node-Red Security](https://discourse.nodered.org/t/node-red-security/95858)

<div class="topic-metadata">

**Author:** [@WDL](https://discourse.nodered.org/u/WDL)\
**Replies:** 11\
**Last updated:** [12 March 2025 15:15 UTC](https://discourse.nodered.org/t/node-red-security/95858 "2025-03-12T15:15:45Z")

</div>

Hi, Have read a lot here about NR and security issues when deploying in the cloud. Have read that it is good to go and also that don't do it as commercially you are going to get issues. The security of NR in the cloud…

---

## [Environment variable in subflow name?](https://discourse.nodered.org/t/environment-variable-in-subflow-name/95902)

<div class="topic-metadata">

**Author:** [@ktw](https://discourse.nodered.org/u/ktw)\
**Replies:** 8\
**Last updated:** [12 March 2025 10:47 UTC](https://discourse.nodered.org/t/environment-variable-in-subflow-name/95902 "2025-03-12T10:47:22Z")

</div>

Hi. Is it possible to use an environment variable in a subflow name, to display the current selection? Or is there a better way of doing this?

---

## [Best way to combine multiple Modbus RTU controllers into a single dashboard](https://discourse.nodered.org/t/best-way-to-combine-multiple-modbus-rtu-controllers-into-a-single-dashboard/95851)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 6\
**Last updated:** [12 March 2025 02:04 UTC](https://discourse.nodered.org/t/best-way-to-combine-multiple-modbus-rtu-controllers-into-a-single-dashboard/95851 "2025-03-12T02:04:05Z")

</div>

I have several RPi's (spread out in a large building) each with an RS485 to USB adapter connected to a Modbus RTU temperature controller to read the actual temp and write the setpoint (as part of a program running in v2 …

---

## [List files local directory (file name Strings)](https://discourse.nodered.org/t/list-files-local-directory-file-name-strings/95915)

<div class="topic-metadata">

**Author:** [@itolond](https://discourse.nodered.org/u/itolond)\
**Replies:** 8\
**Last updated:** [12 March 2025 00:13 UTC](https://discourse.nodered.org/t/list-files-local-directory-file-name-strings/95915 "2025-03-12T00:13:47Z")

</div>

New to Node Red created a flow with a readdir node - debug indicates the node is picking up all the files in the directory as a complete path (all good here) What I am not sure of is how to make this a drop down (sing…

---

## [Migration to DB 2.0 charts not rendering](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 6\
**Last updated:** [11 March 2025 22:33 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919 "2025-03-11T22:33:39Z")

</div>

I migrated must of my stuff to DB 2.0 and now - very late - I noticed that the chart will not be rendered when the page containing the chart is not opened. I guess that was a design decision but is there no way to come a…

---

## [How to run curl command](https://discourse.nodered.org/t/how-to-run-curl-command/95930)

<div class="topic-metadata">

**Author:** [@MKaiser96](https://discourse.nodered.org/u/MKaiser96)\
**Replies:** 2\
**Last updated:** [11 March 2025 20:43 UTC](https://discourse.nodered.org/t/how-to-run-curl-command/95930 "2025-03-11T20:43:47Z")

</div>

Hello, I'm newly log my datapoints with InfluxDB. I want to create a template to delete datapoints via the InfluxDB API. There is a curl command to delete datapoints, but I don't know how to run this command in Node-RED…

---

## [Communication between two node-red applications](https://discourse.nodered.org/t/communication-between-two-node-red-applications/95662)

<div class="topic-metadata">

**Author:** [@joey\_ind](https://discourse.nodered.org/u/joey_ind)\
**Replies:** 8\
**Last updated:** [11 March 2025 10:02 UTC](https://discourse.nodered.org/t/communication-between-two-node-red-applications/95662 "2025-03-11T10:02:26Z")

</div>

Hi folks, I have node red applications running on two separate systems (PC). I wish to push /move data from one application to another. I tried by hooking these computers on to a VPN (zerotier) and using MQTT broker (…

---

## [Ajax request error reporting cross-domain](https://discourse.nodered.org/t/ajax-request-error-reporting-cross-domain/95914)

<div class="topic-metadata">

**Author:** [@SkyYxl](https://discourse.nodered.org/u/SkyYxl)\
**Replies:** 1\
**Last updated:** [11 March 2025 09:51 UTC](https://discourse.nodered.org/t/ajax-request-error-reporting-cross-domain/95914 "2025-03-11T09:51:53Z")

</div>

May I ask how to initiate ajax requests in the defined node? When I request, I always report cross-domain errors. The backend engineer also configured the cosr response header, but it still does not help

---

## [When Cloning a Project, what is the Credentials Encryption Key](https://discourse.nodered.org/t/when-cloning-a-project-what-is-the-credentials-encryption-key/95509)

<div class="topic-metadata">

**Author:** [@IanH](https://discourse.nodered.org/u/IanH)\
**Replies:** 8\
**Last updated:** [11 March 2025 03:16 UTC](https://discourse.nodered.org/t/when-cloning-a-project-what-is-the-credentials-encryption-key/95509 "2025-03-11T03:16:35Z")

</div>

RasPi 3B+ running Bookworm, NR 4.0.8, Node 20.18.2 and Npm 10.8.2 Still building a clone of my RasPi with a virgin install of Bookworm, Node-red etc Come to cloning the existing project using git. I copied the project…

---

## [New Debug Message automatic delete after 10 sec](https://discourse.nodered.org/t/new-debug-message-automatic-delete-after-10-sec/95908)

<div class="topic-metadata">

**Author:** [@nixilb](https://discourse.nodered.org/u/nixilb)\
**Replies:** 2\
**Last updated:** [10 March 2025 16:59 UTC](https://discourse.nodered.org/t/new-debug-message-automatic-delete-after-10-sec/95908 "2025-03-10T16:59:00Z")

</div>

Using Last NR 4, new message sent with the debug node auto deletes after some seconds. It seems the whole panel gets cleared. Cannot debug anymore. See: New Debug Message automatic delete after 10 sec - Node-RED - Home…

---

## [Running node red on a headless raspberry pi5](https://discourse.nodered.org/t/running-node-red-on-a-headless-raspberry-pi5/95891)

<div class="topic-metadata">

**Author:** [@invictagunner](https://discourse.nodered.org/u/invictagunner)\
**Replies:** 5\
**Last updated:** [10 March 2025 09:46 UTC](https://discourse.nodered.org/t/running-node-red-on-a-headless-raspberry-pi5/95891 "2025-03-10T09:46:23Z")

</div>

I have, with help, successfully transferred my NR project from windows to a headless raspberry pi5, but started Node-Red from a putty session on windows. Will node red be stopped if I close the putty session? If so can a…

---

## [REST API Node POST for ETA SH heating system](https://discourse.nodered.org/t/rest-api-node-post-for-eta-sh-heating-system/95862)

<div class="topic-metadata">

**Author:** [@bindpe](https://discourse.nodered.org/u/bindpe)\
**Replies:** 3\
**Last updated:** [9 March 2025 17:44 UTC](https://discourse.nodered.org/t/rest-api-node-post-for-eta-sh-heating-system/95862 "2025-03-09T17:44:46Z")

</div>

Deare can anyone help me please I want to set an Value on my ETA Touch heating system, via Rest api with; (http://192.168.178.22:8080/user/var//120/10281/0/0/12080) i get this value 1802 how must look the flow to…

---

## [Help with listing mongoDB collections](https://discourse.nodered.org/t/help-with-listing-mongodb-collections/95886)

<div class="topic-metadata">

**Author:** [@Joaovitor](https://discourse.nodered.org/u/Joaovitor)\
**Replies:** 1\
**Last updated:** [9 March 2025 15:04 UTC](https://discourse.nodered.org/t/help-with-listing-mongodb-collections/95886 "2025-03-09T15:04:54Z")

</div>

I am writing code for a small administrative database. One of the things I need from the database is the ability to list existing collections and list them in checkboxes. However, I am unable to do this. Attached is the …

---

## [Nodes become unresponsive after a while](https://discourse.nodered.org/t/nodes-become-unresponsive-after-a-while/95847)

<div class="topic-metadata">

**Author:** [@vie5i](https://discourse.nodered.org/u/vie5i)\
**Replies:** 3\
**Last updated:** [8 March 2025 20:28 UTC](https://discourse.nodered.org/t/nodes-become-unresponsive-after-a-while/95847 "2025-03-08T20:28:20Z")

</div>

After a few hours of normal operation I've noticed since v4.08 the nodes become unresponsive. They do not send messages through. I don't see anything wrong. I can modify and deploy the software but when I send a comma…

---

## [InfluxDB v2, how to combine multiple queries to show in one graph](https://discourse.nodered.org/t/influxdb-v2-how-to-combine-multiple-queries-to-show-in-one-graph/95778)

<div class="topic-metadata">

**Author:** [@cameo69](https://discourse.nodered.org/u/cameo69)\
**Replies:** 6\
**Last updated:** [8 March 2025 12:46 UTC](https://discourse.nodered.org/t/influxdb-v2-how-to-combine-multiple-queries-to-show-in-one-graph/95778 "2025-03-08T12:46:59Z")

</div>

Hi, could I get some help with InfluxDB Queries for V2? I used to use Influx v1.8 and am now trying to migrate to v2, but retrieving multiple time series in one go, like I did before, does not work right now. Retrievi…

---

## [Flow to Mermaid Diagram](https://discourse.nodered.org/t/flow-to-mermaid-diagram/95871)

<div class="topic-metadata">

**Author:** [@SandeepA](https://discourse.nodered.org/u/SandeepA)\
**Replies:** 2\
**Last updated:** [8 March 2025 11:02 UTC](https://discourse.nodered.org/t/flow-to-mermaid-diagram/95871 "2025-03-08T11:02:24Z")

</div>

Hi I found this amazing link. Installed and tinkered with it - and works gives very good results. Have asked the author - if this can be converted into a standard node. It takes input as flow json (for a tab) and g…

---

## [Web Server - for my customers?](https://discourse.nodered.org/t/web-server-for-my-customers/95828)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 6\
**Last updated:** [8 March 2025 10:17 UTC](https://discourse.nodered.org/t/web-server-for-my-customers/95828 "2025-03-08T10:17:31Z")

</div>

Hello: I'm looking for suggestion on how I need to get this done. I have a new project and this is what I need to make happen. I'm using Mqtt as my communication protocol. So this is what I'm doing. I have a job that…

---

## [JSONata evaluate expression inside function node is returning empty object at debug window](https://discourse.nodered.org/t/jsonata-evaluate-expression-inside-function-node-is-returning-empty-object-at-debug-window/95834)

<div class="topic-metadata">

**Author:** [@shubhamnodered](https://discourse.nodered.org/u/shubhamnodered)\
**Replies:** 20\
**Last updated:** [8 March 2025 09:07 UTC](https://discourse.nodered.org/t/jsonata-evaluate-expression-inside-function-node-is-returning-empty-object-at-debug-window/95834 "2025-03-08T09:07:08Z")

</div>

Hi, I can work with JSONATA expression with inject node and change node fine but I'm facing an issue while working with JSONata inside the Function node. When I use JSONATA's .evaluate() method, i get empty object at t…

---

## [Handling variables through the flow](https://discourse.nodered.org/t/handling-variables-through-the-flow/95816)

<div class="topic-metadata">

**Author:** [@WDL](https://discourse.nodered.org/u/WDL)\
**Replies:** 13\
**Last updated:** [7 March 2025 19:51 UTC](https://discourse.nodered.org/t/handling-variables-through-the-flow/95816 "2025-03-07T19:51:41Z")

</div>

Hi, Am new here, have had a search but forgive me if this has been asked before but could not find the answer. Have installed NodeRed on a Pi that will be receiving data from a GPIO connected RF hat device, the data co…

---

## [Controlling switches using UDP and manual operation](https://discourse.nodered.org/t/controlling-switches-using-udp-and-manual-operation/95848)

<div class="topic-metadata">

**Author:** [@TBL](https://discourse.nodered.org/u/TBL)\
**Replies:** 3\
**Last updated:** [7 March 2025 17:15 UTC](https://discourse.nodered.org/t/controlling-switches-using-udp-and-manual-operation/95848 "2025-03-07T17:15:37Z")

</div>

Hello eveyone. I am struggeling creating the proper flow for my project. I have tried using the GitHub AI to help, but it is taking forever to create a proper flow. This is what I am trying to do: I have more than 10…

---

## [Accessing environment details from a Node-red flow](https://discourse.nodered.org/t/accessing-environment-details-from-a-node-red-flow/95807)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 8\
**Last updated:** [7 March 2025 10:25 UTC](https://discourse.nodered.org/t/accessing-environment-details-from-a-node-red-flow/95807 "2025-03-07T10:25:37Z")

</div>

The node-red usage message (on Linux) shows that you can specify various runtime settings (irrelevant options removed from example): node-red --help Node-RED v4.0.9 Usage: node-red \[--settings settings.js\] \[--userDir DI…

---

## [Using dashboard chart node but chart label is set but disappers?](https://discourse.nodered.org/t/using-dashboard-chart-node-but-chart-label-is-set-but-disappers/95833)

<div class="topic-metadata">

**Author:** [@Jibun-no-Kage](https://discourse.nodered.org/u/Jibun-no-Kage)\
**Replies:** 1\
**Last updated:** [7 March 2025 08:33 UTC](https://discourse.nodered.org/t/using-dashboard-chart-node-but-chart-label-is-set-but-disappers/95833 "2025-03-07T08:33:52Z")

</div>

OK, this issue has me wondering! I am sending two series to a dashboard chart node, that is working just fine, I happen to be enabling the legend, that is fine. But as part of the msg object I am also sending a propert…

---

## [Knowing if MQTT IN or OUT are connected?](https://discourse.nodered.org/t/knowing-if-mqtt-in-or-out-are-connected/95802)

<div class="topic-metadata">

**Author:** [@greengolfer](https://discourse.nodered.org/u/greengolfer)\
**Replies:** 15\
**Last updated:** [6 March 2025 21:30 UTC](https://discourse.nodered.org/t/knowing-if-mqtt-in-or-out-are-connected/95802 "2025-03-06T21:30:27Z")

</div>

Hello, Is there a way to get the information when needed on whether the MQTT IN or OUT node is effectively connected ? I know about the status node, however, the value is changed only when an "event" (connection, disco…

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

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