# General

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

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

**Page:** 175

---

## [Problem with TCP requests](https://discourse.nodered.org/t/problem-with-tcp-requests/81538)

<div class="topic-metadata">

**Author:** [@JeromeVISUALS](https://discourse.nodered.org/u/JeromeVISUALS)\
**Replies:** 12\
**Last updated:** [27 September 2023 19:59 UTC](https://discourse.nodered.org/t/problem-with-tcp-requests/81538 "2023-09-27T19:59:32Z")

</div>

Hi, I have some troubles with TCP requests. I'd like to send over TCP a flowContext variable with some string appended to it, and it seems I could be able to do that using JSONata in the inject node. Problem is, when I…

---

## [this.setAuthHeaders is not defined](https://discourse.nodered.org/t/this-setauthheaders-is-not-defined/81616)

<div class="topic-metadata">

**Author:** [@fmalka](https://discourse.nodered.org/u/fmalka)\
**Replies:** 0\
**Last updated:** [27 September 2023 15:21 UTC](https://discourse.nodered.org/t/this-setauthheaders-is-not-defined/81616 "2023-09-27T15:21:50Z")

</div>

After generating a node from a swagger file with nodered generator and when i try to execute a POST request from the new node, i get the following error: "TypeError: this.setAuthHeaders is not a function" Anyone has a …

---

## [More than one user for httpNodeAuth and httpStaticAuth](https://discourse.nodered.org/t/more-than-one-user-for-httpnodeauth-and-httpstaticauth/81588)

<div class="topic-metadata">

**Author:** [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Replies:** 1\
**Last updated:** [27 September 2023 15:14 UTC](https://discourse.nodered.org/t/more-than-one-user-for-httpnodeauth-and-httpstaticauth/81588 "2023-09-27T15:14:08Z")

</div>

Hi Node-REDers, is there a way to provide more than one user for httpNodeAuth and httpStaticAuth like adminAuth in settings.js?

---

## [Endpoint with query parameter named callback](https://discourse.nodered.org/t/endpoint-with-query-parameter-named-callback/81606)

<div class="topic-metadata">

**Author:** [@hxRedd](https://discourse.nodered.org/u/hxRedd)\
**Replies:** 2\
**Last updated:** [27 September 2023 13:19 UTC](https://discourse.nodered.org/t/endpoint-with-query-parameter-named-callback/81606 "2023-09-27T13:19:51Z")

</div>

I'm currently migrating some old stuff to node-red. One of the legacy API that I'm migrating is simple like this: Method: GET URL: /sampleendpoint The response is a formatted JSON object like this: { "type": "tes…

---

## [Disabling flows in node-red](https://discourse.nodered.org/t/disabling-flows-in-node-red/81602)

<div class="topic-metadata">

**Author:** [@Khk2000](https://discourse.nodered.org/u/Khk2000)\
**Replies:** 3\
**Last updated:** [27 September 2023 11:12 UTC](https://discourse.nodered.org/t/disabling-flows-in-node-red/81602 "2023-09-27T11:12:13Z")

</div>

Hi, I was exploring Node-red editor and was checking if there is an option to disable adding additional flows in the editor I just wanted to have an option such that only one flow tab should be able to create

---

## [Storing RSA Keys in Credentials Node](https://discourse.nodered.org/t/storing-rsa-keys-in-credentials-node/81598)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 0\
**Last updated:** [27 September 2023 02:10 UTC](https://discourse.nodered.org/t/storing-rsa-keys-in-credentials-node/81598 "2023-09-27T02:10:47Z")

</div>

I have an RSA (openssl) key I am trying to store in the credentials node, but upon retrieval, it does not work. I have an example: It works when I store in a variable inside the function node using the multiline string…

---

## [Node-red-contrib-opcua: set source timestamp](https://discourse.nodered.org/t/node-red-contrib-opcua-set-source-timestamp/79703)

<div class="topic-metadata">

**Author:** [@yoba](https://discourse.nodered.org/u/yoba)\
**Replies:** 3\
**Last updated:** [26 September 2023 18:34 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-set-source-timestamp/79703 "2023-09-26T18:34:48Z")

</div>

Hi, I'm using node RED as a gateway between an API and OPC UA. Node RED receives values from API with a timestamp. I'm successfully writing values to a variable "vannstand" on opc ua server from node red, but i struggle…

---

## [Set (number) value to NaN in change / inject node](https://discourse.nodered.org/t/set-number-value-to-nan-in-change-inject-node/81589)

<div class="topic-metadata">

**Author:** [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Replies:** 2\
**Last updated:** [26 September 2023 18:11 UTC](https://discourse.nodered.org/t/set-number-value-to-nan-in-change-inject-node/81589 "2023-09-26T18:11:05Z")

</div>

I used to do the following to create a NaN : I'm pretty sure this worked fine - until recently. Now (post 3.1) the typedInput field gets the red error indicating border & the node gets flagged with the red issue tri…

---

## [Error home assistant](https://discourse.nodered.org/t/error-home-assistant/81594)

<div class="topic-metadata">

**Author:** [@tegoli](https://discourse.nodered.org/u/tegoli)\
**Replies:** 1\
**Last updated:** [26 September 2023 14:39 UTC](https://discourse.nodered.org/t/error-home-assistant/81594 "2023-09-26T14:39:48Z")

</div>

Hello everyone, I'm a newie with home assistant and Nod-Red, i was trying to program an automation for my roller shutter so it can close when there is bad weather, but I cannot go past this API error... thank u for your …

---

## [Node-RED 4.0 warnings have taken over my debug window](https://discourse.nodered.org/t/node-red-4-0-warnings-have-taken-over-my-debug-window/81556)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 4\
**Last updated:** [26 September 2023 12:59 UTC](https://discourse.nodered.org/t/node-red-4-0-warnings-have-taken-over-my-debug-window/81556 "2023-09-26T12:59:13Z")

</div>

I am running Node Red V3.10 as an add-on in Home Assistant. Recently I have begun to receive this warning: "Deprecated API warning: Calls to RED.util.evaluateJSONataExpression must include a callback. This will not be …

---

## [Language localization guidance](https://discourse.nodered.org/t/language-localization-guidance/80069)

<div class="topic-metadata">

**Author:** [@AmirYaakbarieh](https://discourse.nodered.org/u/AmirYaakbarieh)\
**Replies:** 12\
**Last updated:** [26 September 2023 12:52 UTC](https://discourse.nodered.org/t/language-localization-guidance/80069 "2023-09-26T12:52:37Z")

</div>

Hello! My colleagues and I are in the process of designing a product, and after considering the capabilities of Node-RED, we have decided to utilize it. Throughout this endeavor, our goal has been to design and incorpor…

---

## [Guaranteed delivery of SQL insert data](https://discourse.nodered.org/t/guaranteed-delivery-of-sql-insert-data/81565)

<div class="topic-metadata">

**Author:** [@AidoB](https://discourse.nodered.org/u/AidoB)\
**Replies:** 6\
**Last updated:** [26 September 2023 08:20 UTC](https://discourse.nodered.org/t/guaranteed-delivery-of-sql-insert-data/81565 "2023-09-26T08:20:15Z")

</div>

I am using the Guaranteed delivery of data https://flows.nodered.org/flow/05e6d61f14ef6af763ec4cfd1049ab61 in my workflow on V3.1.0 of node-red. It seemed to be working ok buffering data to SQL. I let a test run over the…

---

## [Flow library being hammered?](https://discourse.nodered.org/t/flow-library-being-hammered/81579)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 5\
**Last updated:** [26 September 2023 07:59 UTC](https://discourse.nodered.org/t/flow-library-being-hammered/81579 "2023-09-26T07:59:36Z")

</div>

I am only bringing this is up, as it caused a few performance issues last time. But I have been seeing this all day, up until the last 1 hour? seems like an automated run - it goes for a few pages

---

## [Printing to the Node-Red debug-sidebar](https://discourse.nodered.org/t/printing-to-the-node-red-debug-sidebar/81555)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 4\
**Last updated:** [26 September 2023 06:07 UTC](https://discourse.nodered.org/t/printing-to-the-node-red-debug-sidebar/81555 "2023-09-26T06:07:30Z")

</div>

I was looking for ways to print to the Node-Red debug-sidebar from a Function Node. I came across node.warn() and node.error(); they both print messages to the debug-sidebar, highlighted in yellow and red respectively. I…

---

## [Filtering data and outputting to Function node with multiple outputs](https://discourse.nodered.org/t/filtering-data-and-outputting-to-function-node-with-multiple-outputs/81501)

<div class="topic-metadata">

**Author:** [@Arnie419](https://discourse.nodered.org/u/Arnie419)\
**Replies:** 3\
**Last updated:** [26 September 2023 05:04 UTC](https://discourse.nodered.org/t/filtering-data-and-outputting-to-function-node-with-multiple-outputs/81501 "2023-09-26T05:04:30Z")

</div>

Hopefully somebody can help me with the following: I have incoming serial data with needs to be separated via a function node, now i am able to split the sentence to their propiatary ID but i can´t manage to send them t…

---

## [Challenges with running Node-RED on SAP Cloud Foundry](https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567)

<div class="topic-metadata">

**Author:** [@Samokomo](https://discourse.nodered.org/u/Samokomo)\
**Replies:** 3\
**Last updated:** [25 September 2023 15:50 UTC](https://discourse.nodered.org/t/challenges-with-running-node-red-on-sap-cloud-foundry/81567 "2023-09-25T15:50:44Z")

</div>

Hello Node-Red community. I have deployed Node-RED in my company SAP Cloud Foundry Runtime. Node-RED itself runs great - but the thing is that SAP Cloud Foundry runs in a way - that everytime it restarts it returns Node…

---

## [Shutdown or Restart Remote Linux Devices](https://discourse.nodered.org/t/shutdown-or-restart-remote-linux-devices/81523)

<div class="topic-metadata">

**Author:** [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Replies:** 9\
**Last updated:** [25 September 2023 15:19 UTC](https://discourse.nodered.org/t/shutdown-or-restart-remote-linux-devices/81523 "2023-09-25T15:19:29Z")

</div>

Hi, at the moment i try to find out how i can use Node-Red Dashboard with Buttons to shutdown oder Restart remote Servers. I found some threads, but no one helped me for a solution. the Flow must do: Login via ssh on …

---

## [Node.js v20 valid with Node-RED v3.1.0. Any success? I had issues with i2c](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526)

<div class="topic-metadata">

**Author:** [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Replies:** 7\
**Last updated:** [25 September 2023 12:34 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526 "2023-09-25T12:34:14Z")

</div>

Folks, Is anyone running node.js v20 w/ node-RED v3.1.0? I had issues with flows that communicated with i2c, so I went back to node.js v18 and all is good. Didn't know if I'm trying to be too bleeding edge... Peter

---

## [Node red crashing](https://discourse.nodered.org/t/node-red-crashing/81547)

<div class="topic-metadata">

**Author:** [@Paulos](https://discourse.nodered.org/u/Paulos)\
**Replies:** 6\
**Last updated:** [24 September 2023 20:27 UTC](https://discourse.nodered.org/t/node-red-crashing/81547 "2023-09-24T20:27:52Z")

</div>

Greetings, I started using node-red a while ago as a SCADA main system and I am really impressed with it's capabilities. Although, the software crashes every time I start it... Any thoughts? 24 Sep 12:52:06 - \[info\] Se…

---

## [Default Location on flows and installed nodes](https://discourse.nodered.org/t/default-location-on-flows-and-installed-nodes/81544)

<div class="topic-metadata">

**Author:** [@dgulliver](https://discourse.nodered.org/u/dgulliver)\
**Replies:** 1\
**Last updated:** [24 September 2023 15:56 UTC](https://discourse.nodered.org/t/default-location-on-flows-and-installed-nodes/81544 "2023-09-24T15:56:57Z")

</div>

Hi, Installed noded red in a docker container sometime back and decided to upgrade to the lasted version, whilst I backed up my flows the nodes I installed via the palette was not, so was deleted, so lesson learnt I’ve …

---

## [Node-red-contrib-cip-st-ethernet-ip](https://discourse.nodered.org/t/node-red-contrib-cip-st-ethernet-ip/81530)

<div class="topic-metadata">

**Author:** [@thahamp](https://discourse.nodered.org/u/thahamp)\
**Replies:** 2\
**Last updated:** [24 September 2023 15:45 UTC](https://discourse.nodered.org/t/node-red-contrib-cip-st-ethernet-ip/81530 "2023-09-24T15:45:49Z")

</div>

Hi. I am using node-red-contrib-cip-st-ethernet-ip to connect with ControlLogix PLC. It is a very nice node and thanks to the contributor. I am trying to use this node in my manufacturing environment as a POC. Unfortunat…

---

## [How to create a flow dynamically given a tree structure](https://discourse.nodered.org/t/how-to-create-a-flow-dynamically-given-a-tree-structure/81541)

<div class="topic-metadata">

**Author:** [@Gio-Formichella](https://discourse.nodered.org/u/Gio-Formichella)\
**Replies:** 1\
**Last updated:** [24 September 2023 14:06 UTC](https://discourse.nodered.org/t/how-to-create-a-flow-dynamically-given-a-tree-structure/81541 "2023-09-24T14:06:13Z")

</div>

I have a Java web application with tree data structures in XML, by pressing a button I want it to open the Node-RED editor page and have it display a flow containing function nodes with the same "structure" of the chosen…

---

## [Join node automatic mode without Split node](https://discourse.nodered.org/t/join-node-automatic-mode-without-split-node/81531)

<div class="topic-metadata">

**Author:** [@biros](https://discourse.nodered.org/u/biros)\
**Replies:** 7\
**Last updated:** [24 September 2023 09:41 UTC](https://discourse.nodered.org/t/join-node-automatic-mode-without-split-node/81531 "2023-09-24T09:41:48Z")

</div>

Hi, I am trying to join 4 messages into one object with the automatic mode of the join node but without a split node. I constructed msg.parts into each message and the join works in manual mode but i want a certain ord…

---

## [MQTT connection to broker lost when adding LWT property](https://discourse.nodered.org/t/mqtt-connection-to-broker-lost-when-adding-lwt-property/81529)

<div class="topic-metadata">

**Author:** [@flyinfalcon](https://discourse.nodered.org/u/flyinfalcon)\
**Replies:** 2\
**Last updated:** [24 September 2023 09:01 UTC](https://discourse.nodered.org/t/mqtt-connection-to-broker-lost-when-adding-lwt-property/81529 "2023-09-24T09:01:57Z")

</div>

I am trying to setup a Last Will & Testament but once I add the LWT topic to the broker properties and once I deploy the connection is immediately lost to the broker which is hosted on aws IoT core. I've tried configuri…

---

## [Convert Specific Gravity to Brix](https://discourse.nodered.org/t/convert-specific-gravity-to-brix/81402)

<div class="topic-metadata">

**Author:** [@ryanprel](https://discourse.nodered.org/u/ryanprel)\
**Replies:** 3\
**Last updated:** [24 September 2023 03:20 UTC](https://discourse.nodered.org/t/convert-specific-gravity-to-brix/81402 "2023-09-24T03:20:40Z")

</div>

I'm attempting to convert Specific Gravity to Brix coming in via a webhook from a Tilt Hydrometer. These numbers are used to monitor fermentation progress. I pulled the equation from Wikipedia and it's below but I'm tr…

---

## [NodeRed shooting after MQTT restart \[SOLVED\]](https://discourse.nodered.org/t/nodered-shooting-after-mqtt-restart-solved/81520)

<div class="topic-metadata">

**Author:** [@homonto](https://discourse.nodered.org/u/homonto)\
**Replies:** 19\
**Last updated:** [23 September 2023 18:54 UTC](https://discourse.nodered.org/t/nodered-shooting-after-mqtt-restart-solved/81520 "2023-09-23T18:54:42Z")

</div>

So I have a small problem. I have a flow: \[ { "id": "112985cb18f5dd1f", "type": "tab", "label": "desk", "disabled": false, "info": "", "env": \[\] }, { …

---

## [For if statement in Function Block, variable remains local](https://discourse.nodered.org/t/for-if-statement-in-function-block-variable-remains-local/81505)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 0\
**Last updated:** [23 September 2023 03:14 UTC](https://discourse.nodered.org/t/for-if-statement-in-function-block-variable-remains-local/81505 "2023-09-23T03:14:05Z")

</div>

Please review this code: let senState\_msg; if (msg.payload==="On") { let senState\_msg={payload:"Sys08: ASE"}; } else { let senState\_msg={payload:"Sys07: SSD"}; } return senState\_msg; I've declared the variable …

---

## [How to change the payload so it can be sent via telegram](https://discourse.nodered.org/t/how-to-change-the-payload-so-it-can-be-sent-via-telegram/81518)

<div class="topic-metadata">

**Author:** [@Ronaltama](https://discourse.nodered.org/u/Ronaltama)\
**Replies:** 1\
**Last updated:** [23 September 2023 14:54 UTC](https://discourse.nodered.org/t/how-to-change-the-payload-so-it-can-be-sent-via-telegram/81518 "2023-09-23T14:54:56Z")

</div>

javascript coding to change msg.payload to "content",

---

## [Communication with multiple node with id](https://discourse.nodered.org/t/communication-with-multiple-node-with-id/81513)

<div class="topic-metadata">

**Author:** [@aziz.ham](https://discourse.nodered.org/u/aziz.ham)\
**Replies:** 2\
**Last updated:** [23 September 2023 13:17 UTC](https://discourse.nodered.org/t/communication-with-multiple-node-with-id/81513 "2023-09-23T13:17:39Z")

</div>

hi hello every one . I have a question : in the node red can I send a message from node to another node using only the id of the node ??? some time I need to reset the value of the node from multiple place that's why …

---

## [Node Red Flow library not working!](https://discourse.nodered.org/t/node-red-flow-library-not-working/81516)

<div class="topic-metadata">

**Author:** [@nithinbandaru1](https://discourse.nodered.org/u/nithinbandaru1)\
**Replies:** 1\
**Last updated:** [23 September 2023 12:11 UTC](https://discourse.nodered.org/t/node-red-flow-library-not-working/81516 "2023-09-23T12:11:49Z")

</div>

I am trying to access this website https://flows.nodered.org/ but its not working. Is it supposed to be that way?

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

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