# General

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

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

**Page:** 103

---

## [IR command creation](https://discourse.nodered.org/t/ir-command-creation/88764)

<div class="topic-metadata">

**Author:** [@JasonH](https://discourse.nodered.org/u/JasonH)\
**Replies:** 1\
**Last updated:** [19 June 2024 11:11 UTC](https://discourse.nodered.org/t/ir-command-creation/88764 "2024-06-19T11:11:29Z")

</div>

I have the following function node that takes source11,a global variable, splits the numbers out, matches them to their respective IR commands for each number and then sends that on. I create a global variable called ma…

---

## [Working with a photovoltaics and Iobroker](https://discourse.nodered.org/t/working-with-a-photovoltaics-and-iobroker/88655)

<div class="topic-metadata">

**Author:** [@MG.Itsrs](https://discourse.nodered.org/u/MG.Itsrs)\
**Replies:** 6\
**Last updated:** [19 June 2024 10:54 UTC](https://discourse.nodered.org/t/working-with-a-photovoltaics-and-iobroker/88655 "2024-06-19T10:54:45Z")

</div>

Hey, im totally new to Node Red and IoBroker and just wanted to know, i have a photovoltaics system on top of my house with 2 Wallboxes using it and the house. Is it possible via node red/Iobroker to tell the system, whe…

---

## [Write msg.payload to a file on my synology NAS](https://discourse.nodered.org/t/write-msg-payload-to-a-file-on-my-synology-nas/88753)

<div class="topic-metadata">

**Author:** [@sigi3360](https://discourse.nodered.org/u/sigi3360)\
**Replies:** 14\
**Last updated:** [19 June 2024 09:34 UTC](https://discourse.nodered.org/t/write-msg-payload-to-a-file-on-my-synology-nas/88753 "2024-06-19T09:34:56Z")

</div>

I am running nodered on my Synology NAS. I want to write a message (msg.payload) that arrives from a temperature sensor on my nodered server to a csv file on my Synology NAS. I have big problems with the correct formula…

---

## [MODBUS Mapping Error](https://discourse.nodered.org/t/modbus-mapping-error/88758)

<div class="topic-metadata">

**Author:** [@Mayur](https://discourse.nodered.org/u/Mayur)\
**Replies:** 2\
**Last updated:** [19 June 2024 08:53 UTC](https://discourse.nodered.org/t/modbus-mapping-error/88758 "2024-06-19T08:53:26Z")

</div>

I would like to map below mentioned MODBUS registers but getting some errors. 5,4,0,PAT-WAM-01.Clbs/day,FLT32 5,4,2,PAT-WAM-01.COST,$,FLT32 5,4,4,PAT-WAM-01.STATE,,UINT16 5,1,0,PAT-WAM-01.OOS,,boolean \[ { …

---

## [I don't know how to input data into a js file](https://discourse.nodered.org/t/i-dont-know-how-to-input-data-into-a-js-file/88785)

<div class="topic-metadata">

**Author:** [@Xiang](https://discourse.nodered.org/u/Xiang)\
**Replies:** 1\
**Last updated:** [19 June 2024 08:20 UTC](https://discourse.nodered.org/t/i-dont-know-how-to-input-data-into-a-js-file/88785 "2024-06-19T08:20:13Z")

</div>

\[ { "id": "b6c45fc4594ea230", "type": "tab", "label": "流程 8", "disabled": false, "info": "", "env": \[\] }, { "id": "5f665f55fe937551", "type": "u…

---

## [Docker - Node Red - add and access additional volume](https://discourse.nodered.org/t/docker-node-red-add-and-access-additional-volume/88724)

<div class="topic-metadata">

**Author:** [@Paulf007](https://discourse.nodered.org/u/Paulf007)\
**Replies:** 4\
**Last updated:** [19 June 2024 01:32 UTC](https://discourse.nodered.org/t/docker-node-red-add-and-access-additional-volume/88724 "2024-06-19T01:32:47Z")

</div>

Good morning all. I am running node-red in docker and want to share a text file outside of docker. In the docker compose file I did volumes: - ./node\_red\_data:/data - /home/server/docker/shared:/sharedfolder I th…

---

## [Why is this working in one function and not another?](https://discourse.nodered.org/t/why-is-this-working-in-one-function-and-not-another/88784)

<div class="topic-metadata">

**Author:** [@strelniece](https://discourse.nodered.org/u/strelniece)\
**Replies:** 3\
**Last updated:** [18 June 2024 22:31 UTC](https://discourse.nodered.org/t/why-is-this-working-in-one-function-and-not-another/88784 "2024-06-18T22:31:50Z")

</div>

I want to check my lap-top's battery using one NR-node (node-red-contrib-battery), acpi and upower (using exec-node) and get the data as graphs. So far so good. But I also wanted to have different colour on the line dep…

---

## [Nodes outside canvas?](https://discourse.nodered.org/t/nodes-outside-canvas/88778)

<div class="topic-metadata">

**Author:** [@kubasmyk](https://discourse.nodered.org/u/kubasmyk)\
**Replies:** 9\
**Last updated:** [18 June 2024 16:30 UTC](https://discourse.nodered.org/t/nodes-outside-canvas/88778 "2024-06-18T16:30:13Z")

</div>

Hi im on 3.0.2 I have nodes outside of canvas. It happened when importing. Any idea on how to bring them back?

---

## [Extra (status) information from patterns](https://discourse.nodered.org/t/extra-status-information-from-patterns/88128)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 10\
**Last updated:** [18 June 2024 13:37 UTC](https://discourse.nodered.org/t/extra-status-information-from-patterns/88128 "2024-06-18T13:37:29Z")

</div>

Hi folks, I need the creativity/experience/knowledge of this community. Finally I am monitoring (with some Shelly plug S) some of my devices at home: Washing machine: Dryer: ... These devices also have a ser…

---

## [PiGPIOd - reading status of output pins](https://discourse.nodered.org/t/pigpiod-reading-status-of-output-pins/88727)

<div class="topic-metadata">

**Author:** [@andre\_x](https://discourse.nodered.org/u/andre_x)\
**Replies:** 4\
**Last updated:** [18 June 2024 06:29 UTC](https://discourse.nodered.org/t/pigpiod-reading-status-of-output-pins/88727 "2024-06-18T06:29:19Z")

</div>

I need to know the status of a pin that I control (with GPIOd). I can set it as input and output, but when I change its status, the output node doesn't say anything. I need this to double check if some commands are work…

---

## [How to send an integer value with an topic to thingspeak?](https://discourse.nodered.org/t/how-to-send-an-integer-value-with-an-topic-to-thingspeak/88754)

<div class="topic-metadata">

**Author:** [@ledi](https://discourse.nodered.org/u/ledi)\
**Replies:** 6\
**Last updated:** [18 June 2024 05:37 UTC](https://discourse.nodered.org/t/how-to-send-an-integer-value-with-an-topic-to-thingspeak/88754 "2024-06-18T05:37:55Z")

</div>

Hello! I am a beginner with Node-RED and I want to send sensor data to thingspeak. I have already installed the thingspeak node and tested it with an injection node. Everything works fine. But now I have the problem t…

---

## [Okta autentication SAML 2.0 Can not post](https://discourse.nodered.org/t/okta-autentication-saml-2-0-can-not-post/88769)

<div class="topic-metadata">

**Author:** [@leozanellato](https://discourse.nodered.org/u/leozanellato)\
**Replies:** 0\
**Last updated:** [18 June 2024 00:54 UTC](https://discourse.nodered.org/t/okta-autentication-saml-2-0-can-not-post/88769 "2024-06-18T00:54:37Z")

</div>

I'm trying to create an Okta authentication using SAML 2.0, and the code looks like this: Every time I try to enter http://127.0.0.1:1880/, I log in but receive the error: "Cannot POST /saml/postResponse" Could someone…

---

## [Include local graphic on a template page](https://discourse.nodered.org/t/include-local-graphic-on-a-template-page/88755)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 7\
**Last updated:** [17 June 2024 22:29 UTC](https://discourse.nodered.org/t/include-local-graphic-on-a-template-page/88755 "2024-06-17T22:29:20Z")

</div>

Within an NR project, graphics (png/jpeg) should also be displayed to the user on a page within a descriptive text. Certainly not rocket science, but I can't find the connection of path/filename between the general proj…

---

## [Can HTTP request be accessed using client IP](https://discourse.nodered.org/t/can-http-request-be-accessed-using-client-ip/88747)

<div class="topic-metadata">

**Author:** [@yooadmin](https://discourse.nodered.org/u/yooadmin)\
**Replies:** 3\
**Last updated:** [17 June 2024 16:01 UTC](https://discourse.nodered.org/t/can-http-request-be-accessed-using-client-ip/88747 "2024-06-17T16:01:02Z")

</div>

My English is not good, please forgive me I have an API interface for querying weather, which uses the visitor's IP to obtain weather information about the city being queried But I used HTTP in combination with HTTP re…

---

## [Catching errors in \`subflow\` - more help please](https://discourse.nodered.org/t/catching-errors-in-subflow-more-help-please/88746)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [17 June 2024 10:12 UTC](https://discourse.nodered.org/t/catching-errors-in-subflow-more-help-please/88746 "2024-06-17T10:12:42Z")

</div>

I did a bit of digging and it paid off. (extract from code used:) if (typeof msg.delay === "undefined") { const id = env.get("NR\_NODE\_PATH"); const ids = id.split("/"); const errr = \`msg.delay not set in m…

---

## [Is there a node that functions like a normally open relay](https://discourse.nodered.org/t/is-there-a-node-that-functions-like-a-normally-open-relay/88704)

<div class="topic-metadata">

**Author:** [@willgoon12337](https://discourse.nodered.org/u/willgoon12337)\
**Replies:** 7\
**Last updated:** [16 June 2024 22:38 UTC](https://discourse.nodered.org/t/is-there-a-node-that-functions-like-a-normally-open-relay/88704 "2024-06-16T22:38:16Z")

</div>

I was hoping to find a node with two inputs and one output. If the first input is high the msg passes from second input to output. If the first input is low then it blocks msg from second input to output.

---

## [Create custom ui node in Dashboard 2](https://discourse.nodered.org/t/create-custom-ui-node-in-dashboard-2/87801)

<div class="topic-metadata">

**Author:** [@greenDog](https://discourse.nodered.org/u/greenDog)\
**Replies:** 35\
**Last updated:** [16 June 2024 08:58 UTC](https://discourse.nodered.org/t/create-custom-ui-node-in-dashboard-2/87801 "2024-06-16T08:58:34Z")

</div>

I want to create a custom ui node for Dashboard 2 in Node-RED. Where can I include my HTML code to be displayed on the dashboard? Do I need to integrate the code into the html or js file? Or is it necessary to create a …

---

## [Starting node-red at boot with systemctl](https://discourse.nodered.org/t/starting-node-red-at-boot-with-systemctl/88688)

<div class="topic-metadata">

**Author:** [@bgrattan3](https://discourse.nodered.org/u/bgrattan3)\
**Replies:** 18\
**Last updated:** [15 June 2024 21:09 UTC](https://discourse.nodered.org/t/starting-node-red-at-boot-with-systemctl/88688 "2024-06-15T21:09:37Z")

</div>

I have installed node-red on Bookworm, RPI5. I can start it manually but cannot get it enabled with systemctl to start at boot. Blockquote Jun 13 17:46:04 RPI5 systemd\[1\]: nodered.service: Failed with result 'exit-co…

---

## [Scaling limits of node-red](https://discourse.nodered.org/t/scaling-limits-of-node-red/88721)

<div class="topic-metadata">

**Author:** [@songoku31](https://discourse.nodered.org/u/songoku31)\
**Replies:** 2\
**Last updated:** [15 June 2024 20:40 UTC](https://discourse.nodered.org/t/scaling-limits-of-node-red/88721 "2024-06-15T20:40:09Z")

</div>

Hello, I am not able to find any scaling limits of node-red. I want to use it for enterprise level. Can it handle that much load or need to be integrated with Airflow? If yes, then do we have a plugin/code to integrate w…

---

## [Append payload to textarea element in open template/WebPage](https://discourse.nodered.org/t/append-payload-to-textarea-element-in-open-template-webpage/88715)

<div class="topic-metadata">

**Author:** [@Tany](https://discourse.nodered.org/u/Tany)\
**Replies:** 3\
**Last updated:** [15 June 2024 16:48 UTC](https://discourse.nodered.org/t/append-payload-to-textarea-element-in-open-template-webpage/88715 "2024-06-15T16:48:36Z")

</div>

if the WebPage is called with "/webserialTest?ESPIP=192.168.0.5" and open, how to refresh automatically at receipt of a payload from an MQTT IN (or in the exemple from an Inject) how to add/append the payload to the te…

---

## [Using a Node that returns 2 msg.payload](https://discourse.nodered.org/t/using-a-node-that-returns-2-msg-payload/88713)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 8\
**Last updated:** [15 June 2024 14:32 UTC](https://discourse.nodered.org/t/using-a-node-that-returns-2-msg-payload/88713 "2024-06-15T14:32:28Z")

</div>

I'm using a node that returns (2) msg.payload see image, how do I address each msg.payload within a "Function" node?

---

## [Edit inject node working with Between : missing inject](https://discourse.nodered.org/t/edit-inject-node-working-with-between-missing-inject/88399)

<div class="topic-metadata">

**Author:** [@Tany](https://discourse.nodered.org/u/Tany)\
**Replies:** 8\
**Last updated:** [15 June 2024 12:10 UTC](https://discourse.nodered.org/t/edit-inject-node-working-with-between-missing-inject/88399 "2024-06-15T12:10:07Z")

</div>

Lectori Salutem, 18 Feb 15:21:58 - \[info\] Node-RED version: v3.1.5 18 Feb 15:21:58 - \[info\] Node.js version: v18.19.1 PC Regional Time: Brussels + DayLightSaving, so is now a 2h difference MariaDB : field “sqldt” set…

---

## [Suggest a category for Node-RED Dashboard Issues](https://discourse.nodered.org/t/suggest-a-category-for-node-red-dashboard-issues/88710)

<div class="topic-metadata">

**Author:** [@Amaramani](https://discourse.nodered.org/u/Amaramani)\
**Replies:** 4\
**Last updated:** [15 June 2024 10:53 UTC](https://discourse.nodered.org/t/suggest-a-category-for-node-red-dashboard-issues/88710 "2024-06-15T10:53:28Z")

</div>

Hello everyone, :grinning: I want to create my query related Node RED Dashboard Issues I feel glad to part this community and I am new here so I do not know witch category is good for my query. If anyone any tips, idea …

---

## [Need Help with Telnet?](https://discourse.nodered.org/t/need-help-with-telnet/88647)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 6\
**Last updated:** [15 June 2024 10:48 UTC](https://discourse.nodered.org/t/need-help-with-telnet/88647 "2024-06-15T10:48:03Z")

</div>

So I have a Telnet Server running (Example: 192.22.50.70:2300) Now for Node Red all I want to do is send a "Telnet command" that will test to see if port 2300 is open on IP address 192.22.50.70 and return a simple "True…

---

## [Programmatically remove unused config nodes](https://discourse.nodered.org/t/programmatically-remove-unused-config-nodes/88676)

<div class="topic-metadata">

**Author:** [@zba](https://discourse.nodered.org/u/zba)\
**Replies:** 10\
**Last updated:** [15 June 2024 09:51 UTC](https://discourse.nodered.org/t/programmatically-remove-unused-config-nodes/88676 "2024-06-15T09:51:13Z")

</div>

Hi, my scenario: I have a set of nodes based on same core in same project Now I want to split them to different projects for deploy And I want still keep single project as source of such nodes I was success to make a…

---

## [Read file node message: No such file or directory error!](https://discourse.nodered.org/t/read-file-node-message-no-such-file-or-directory-error/88698)

<div class="topic-metadata">

**Author:** [@gschmidt](https://discourse.nodered.org/u/gschmidt)\
**Replies:** 3\
**Last updated:** [15 June 2024 09:11 UTC](https://discourse.nodered.org/t/read-file-node-message-no-such-file-or-directory-error/88698 "2024-06-15T09:11:48Z")

</div>

Hi, I am moving my Node-Red flows from a Raspberry Pi device to a Synology DS220+ NAS with node-red created with docker compose. I have a number of flows that have a read-file node, which work properly on the Rpi, but …

---

## [Package install failed](https://discourse.nodered.org/t/package-install-failed/88691)

<div class="topic-metadata">

**Author:** [@zba](https://discourse.nodered.org/u/zba)\
**Replies:** 6\
**Last updated:** [15 June 2024 07:50 UTC](https://discourse.nodered.org/t/package-install-failed/88691 "2024-06-15T07:50:47Z")

</div>

I have dependency record in my project, "@opensearch-project/opensearch": "2.8.0" When I click install from ui it fails with error, logs show this: 2024-06-14T06:33:43.698Z Install : @opensearch-project/opensearch…

---

## [The problem with function node, change only once one variable](https://discourse.nodered.org/t/the-problem-with-function-node-change-only-once-one-variable/88648)

<div class="topic-metadata">

**Author:** [@STawor](https://discourse.nodered.org/u/STawor)\
**Replies:** 15\
**Last updated:** [14 June 2024 22:57 UTC](https://discourse.nodered.org/t/the-problem-with-function-node-change-only-once-one-variable/88648 "2024-06-14T22:57:13Z")

</div>

Hello, i have a problem with a "function2" function node in my flow here: In this flow I take some data from s7-1500 plc controller (pump control value, valve control values etc), combine into one message and then I…

---

## [HTTP In not accepting Content-Type application/xml](https://discourse.nodered.org/t/http-in-not-accepting-content-type-application-xml/88703)

<div class="topic-metadata">

**Author:** [@silversurfer600](https://discourse.nodered.org/u/silversurfer600)\
**Replies:** 9\
**Last updated:** [14 June 2024 22:01 UTC](https://discourse.nodered.org/t/http-in-not-accepting-content-type-application-xml/88703 "2024-06-14T22:01:30Z")

</div>

Hi all, Node Red rookie here. I'm trying to set up a simple workflow to receive a POST in XML format and save it as a file. I can't figure out what I'm doing wrong. I'm using the example workflow "network \> http \> Post …

---

## [Function Code Review](https://discourse.nodered.org/t/function-code-review/88673)

<div class="topic-metadata">

**Author:** [@wcx](https://discourse.nodered.org/u/wcx)\
**Replies:** 7\
**Last updated:** [14 June 2024 20:13 UTC](https://discourse.nodered.org/t/function-code-review/88673 "2024-06-14T20:13:46Z")

</div>

Team, I am new to Java script and Node Red, please can some review the code below and let me know if I made any serous mistakes or did not follow any standerds etc. This flow will be used for a alarm control. This fun…

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

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