# General

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

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

**Page:** 211

---

## [Get number of a Mqtt return](https://discourse.nodered.org/t/get-number-of-a-mqtt-return/78445)

<div class="topic-metadata">

**Author:** [@wwl](https://discourse.nodered.org/u/wwl)\
**Replies:** 1\
**Last updated:** [15 May 2023 19:11 UTC](https://discourse.nodered.org/t/get-number-of-a-mqtt-return/78445 "2023-05-15T19:11:49Z")

</div>

Hello, I get the following value from an MQTT server via # from which I want to transfer the temperature in Celsius to a msg.payload and then display it later. How do I get the value? This is the return of the Mqtt re…

---

## [Can someone help me with a flow to control temperature in a server room using 2 thermostats](https://discourse.nodered.org/t/can-someone-help-me-with-a-flow-to-control-temperature-in-a-server-room-using-2-thermostats/78418)

<div class="topic-metadata">

**Author:** [@seiken](https://discourse.nodered.org/u/seiken)\
**Replies:** 9\
**Last updated:** [15 May 2023 19:06 UTC](https://discourse.nodered.org/t/can-someone-help-me-with-a-flow-to-control-temperature-in-a-server-room-using-2-thermostats/78418 "2023-05-15T19:06:21Z")

</div>

Hi my brain is not working at al apparently..... can some one do a flow to control a fan for cooling based on temperature changes of 2 thermostat? i have a larger fan in a server room, when the temperature hits 22c or…

---

## [Where is settings.js with docker default config?](https://discourse.nodered.org/t/where-is-settings-js-with-docker-default-config/78435)

<div class="topic-metadata">

**Author:** [@SSHIntoMe](https://discourse.nodered.org/u/SSHIntoMe)\
**Replies:** 4\
**Last updated:** [15 May 2023 16:09 UTC](https://discourse.nodered.org/t/where-is-settings-js-with-docker-default-config/78435 "2023-05-15T16:09:01Z")

</div>

Installed nodered via docker using the following command on an Ubuntu 18.04 system, but I can't seem to find the settings.js. docker run -it -p 1880:1880 -v node\_red\_data:/data --name mynodered nodered/node-red Where i…

---

## [Node-RED in Docker - does Db2 nodes does not work with the standard nodered images?](https://discourse.nodered.org/t/node-red-in-docker-does-db2-nodes-does-not-work-with-the-standard-nodered-images/78440)

<div class="topic-metadata">

**Author:** [@MariusKolbergsrud](https://discourse.nodered.org/u/MariusKolbergsrud)\
**Replies:** 0\
**Last updated:** [15 May 2023 15:21 UTC](https://discourse.nodered.org/t/node-red-in-docker-does-db2-nodes-does-not-work-with-the-standard-nodered-images/78440 "2023-05-15T15:21:49Z")

</div>

Hi, I have trouble making Db2 nodes work in NodeRED running on docker. I currently use nodered v2.0.0. The only error I get is that I don't have a shared library called "libcrypt.s.1" that is needed for the ibm\_db packa…

---

## [Read flows.json , and position the nodes in most efficient/readable way!](https://discourse.nodered.org/t/read-flows-json-and-position-the-nodes-in-most-efficient-readable-way/78158)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 11\
**Last updated:** [15 May 2023 14:46 UTC](https://discourse.nodered.org/t/read-flows-json-and-position-the-nodes-in-most-efficient-readable-way/78158 "2023-05-15T14:46:09Z")

</div>

Hello everyone! First i want to thanks @BartButenaers for bringing me in javascript development several years ago :hugs: Working on a javascript project that will generate a flows.json file from a config file.... Don't…

---

## [Receiving message send to the telegram bot in different domain](https://discourse.nodered.org/t/receiving-message-send-to-the-telegram-bot-in-different-domain/78433)

<div class="topic-metadata">

**Author:** [@ALIEN](https://discourse.nodered.org/u/ALIEN)\
**Replies:** 1\
**Last updated:** [15 May 2023 13:38 UTC](https://discourse.nodered.org/t/receiving-message-send-to-the-telegram-bot-in-different-domain/78433 "2023-05-15T13:38:28Z")

</div>

Hello everyone, I have a question about telegram api, I would appreciate it if somebody can help me. Actually, I'm reading an array of data through modbus tcp and store it in local database(mysql). Now, I would like to…

---

## [Double message in join node](https://discourse.nodered.org/t/double-message-in-join-node/78382)

<div class="topic-metadata">

**Author:** [@pcnr](https://discourse.nodered.org/u/pcnr)\
**Replies:** 7\
**Last updated:** [15 May 2023 13:19 UTC](https://discourse.nodered.org/t/double-message-in-join-node/78382 "2023-05-15T13:19:09Z")

</div>

Good evening everyone I noticed a strange behaviour with my join node, probably I misconfigured it. The flow gets a message with GPS data, extract latitude and longitude in two different branches and then I join them t…

---

## [Http-in node and getting client (caller) IP address](https://discourse.nodered.org/t/http-in-node-and-getting-client-caller-ip-address/78430)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 2\
**Last updated:** [15 May 2023 12:28 UTC](https://discourse.nodered.org/t/http-in-node-and-getting-client-caller-ip-address/78430 "2023-05-15T12:28:19Z")

</div>

I'm not getting an IP from msg.req.ip when I visit HTTP endpoint ... All worked seemingly well around 2020-2021. Now I see msg.req.ip is not there when I call the endpoint. Did something change since then? I am loo…

---

## [Creating snapshot in Node-Red problem](https://discourse.nodered.org/t/creating-snapshot-in-node-red-problem/78424)

<div class="topic-metadata">

**Author:** [@Hdu1234Pcn](https://discourse.nodered.org/u/Hdu1234Pcn)\
**Replies:** 2\
**Last updated:** [15 May 2023 10:29 UTC](https://discourse.nodered.org/t/creating-snapshot-in-node-red-problem/78424 "2023-05-15T10:29:09Z")

</div>

Why i can't create snapshot in node-red once i click the create button in "Create Project Snapshot"?

---

## [Reverse enginering an app to use with node red](https://discourse.nodered.org/t/reverse-enginering-an-app-to-use-with-node-red/78414)

<div class="topic-metadata">

**Author:** [@umtksa](https://discourse.nodered.org/u/umtksa)\
**Replies:** 2\
**Last updated:** [14 May 2023 22:42 UTC](https://discourse.nodered.org/t/reverse-enginering-an-app-to-use-with-node-red/78414 "2023-05-14T22:42:44Z")

</div>

Hi all, first my question is not related directly with Node-RED but I want to use some closed source app I use with Node-RED for our smart light bulbs. We have 4 smart light bulbs in our home (generic brand) with an app…

---

## [Mqtt node arranging the desired message with the payload](https://discourse.nodered.org/t/mqtt-node-arranging-the-desired-message-with-the-payload/78415)

<div class="topic-metadata">

**Author:** [@Popolackie](https://discourse.nodered.org/u/Popolackie)\
**Replies:** 5\
**Last updated:** [14 May 2023 19:34 UTC](https://discourse.nodered.org/t/mqtt-node-arranging-the-desired-message-with-the-payload/78415 "2023-05-14T19:34:07Z")

</div>

Hi, I'm trying to send a setpoint via mqtt over a esp8266 to an inverter. The message should be inverter/ctrl/limit/0 with a payload giving the setpoint. The payload could be from 2 to 100% (one could also leave out the…

---

## [Running NodeRed on Windows or on Docker: some functionality questions](https://discourse.nodered.org/t/running-nodered-on-windows-or-on-docker-some-functionality-questions/78355)

<div class="topic-metadata">

**Author:** [@V\_J](https://discourse.nodered.org/u/V_J)\
**Replies:** 9\
**Last updated:** [14 May 2023 16:42 UTC](https://discourse.nodered.org/t/running-nodered-on-windows-or-on-docker-some-functionality-questions/78355 "2023-05-14T16:42:40Z")

</div>

Hello, I'm new to NodeRed and am looking at it as a replacement for EventGhost. I first will need to decide if I will run NodeRed on Docker or directly on my Windows host. I would prefer the former, but am aware that so…

---

## [How to pass query params to API](https://discourse.nodered.org/t/how-to-pass-query-params-to-api/78413)

<div class="topic-metadata">

**Author:** [@eldho1416](https://discourse.nodered.org/u/eldho1416)\
**Replies:** 2\
**Last updated:** [14 May 2023 13:05 UTC](https://discourse.nodered.org/t/how-to-pass-query-params-to-api/78413 "2023-05-14T13:05:27Z")

</div>

Hi everyone, I'm trying to post payload to API using HTTP request where i'm trying to pass query params as shown below but it is not getting appended with URL msg.query = { accountID: 'XXXX', apiKey: '6dxxxxxxx…

---

## [Importing Node.js & Typescript Bitget API SDK](https://discourse.nodered.org/t/importing-node-js-typescript-bitget-api-sdk/78402)

<div class="topic-metadata">

**Author:** [@Samokomo](https://discourse.nodered.org/u/Samokomo)\
**Replies:** 1\
**Last updated:** [13 May 2023 22:02 UTC](https://discourse.nodered.org/t/importing-node-js-typescript-bitget-api-sdk/78402 "2023-05-13T22:02:54Z")

</div>

Hello Node-RED community, I am stumbled upon this API SDK I would love to try out: Obviously it is not available as Node-RED pallete install. I am running on AWS - not advanced in Ubuntu, but willing to learn. Can som…

---

## [Help with flow not working](https://discourse.nodered.org/t/help-with-flow-not-working/78338)

<div class="topic-metadata">

**Author:** [@Hasse](https://discourse.nodered.org/u/Hasse)\
**Replies:** 4\
**Last updated:** [13 May 2023 16:35 UTC](https://discourse.nodered.org/t/help-with-flow-not-working/78338 "2023-05-13T16:35:50Z")

</div>

HI. Im new to Home assistant and Node red. I really like node red. But i need a little help. I have Home Assistant running on a computer with Debian (with only SSH and no GUI cause i dont need it). Then i have the Phi…

---

## [Random reboots due FATAL ERROR; Reached Heap limit Allocation](https://discourse.nodered.org/t/random-reboots-due-fatal-error-reached-heap-limit-allocation/78220)

<div class="topic-metadata">

**Author:** [@Soiski](https://discourse.nodered.org/u/Soiski)\
**Replies:** 13\
**Last updated:** [13 May 2023 15:23 UTC](https://discourse.nodered.org/t/random-reboots-due-fatal-error-reached-heap-limit-allocation/78220 "2023-05-13T15:23:19Z")

</div>

Original post related to my issue was reboot looping of node-red. System seems to stabilize when removing majority of contect data and restoring swap memory for my system. https://discourse.nodered.org/t/nod-red-keep-re…

---

## [Custom function for timer](https://discourse.nodered.org/t/custom-function-for-timer/78395)

<div class="topic-metadata">

**Author:** [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Replies:** 7\
**Last updated:** [13 May 2023 14:45 UTC](https://discourse.nodered.org/t/custom-function-for-timer/78395 "2023-05-13T14:45:33Z")

</div>

Hello, Please help me with this flow. I cannot understand why the function "camera state" never goes through the first output when the condition is not met. The idea is to put a timer and, when the timer is reached, tur…

---

## [Help with context variables and their treatment](https://discourse.nodered.org/t/help-with-context-variables-and-their-treatment/78351)

<div class="topic-metadata">

**Author:** [@RAD](https://discourse.nodered.org/u/RAD)\
**Replies:** 4\
**Last updated:** [13 May 2023 13:11 UTC](https://discourse.nodered.org/t/help-with-context-variables-and-their-treatment/78351 "2023-05-13T13:11:31Z")

</div>

Hello everyone, sorry for my English, I only speak Spanish. I am new to Node-red, and I have come across this doubt. I want to save a data in a context variable, to later recover it without modifying its saved value. …

---

## [Toogle value with a button](https://discourse.nodered.org/t/toogle-value-with-a-button/78398)

<div class="topic-metadata">

**Author:** [@Hjorth-Jensen](https://discourse.nodered.org/u/Hjorth-Jensen)\
**Replies:** 2\
**Last updated:** [13 May 2023 11:39 UTC](https://discourse.nodered.org/t/toogle-value-with-a-button/78398 "2023-05-13T11:39:08Z")

</div>

Hi all I am trying to toogle a value too control my light. I have a payload with a value 0-100, and I want a button(Ikea) to toogle the value if it over 0, then set it to 0, and if it is 0 then set it to 40. If I push …

---

## [Alexa Nodered Initialise](https://discourse.nodered.org/t/alexa-nodered-initialise/78399)

<div class="topic-metadata">

**Author:** [@Shwowak](https://discourse.nodered.org/u/Shwowak)\
**Replies:** 0\
**Last updated:** [13 May 2023 11:07 UTC](https://discourse.nodered.org/t/alexa-nodered-initialise/78399 "2023-05-13T11:07:48Z")

</div>

Ich brauche Hilfe beim einrichten von Alexa in Nodered nach dem ich Alex verbunden habe über die Proxy Methode. Nach dem ich nodered deploy will er den Vorgang wieder holen ."open 192.168.178.16:42416 in your Browser" w…

---

## [Node-red-contrib-ewelink Library isse](https://discourse.nodered.org/t/node-red-contrib-ewelink-library-isse/78345)

<div class="topic-metadata">

**Author:** [@Fahad](https://discourse.nodered.org/u/Fahad)\
**Replies:** 3\
**Last updated:** [13 May 2023 01:17 UTC](https://discourse.nodered.org/t/node-red-contrib-ewelink-library-isse/78345 "2023-05-13T01:17:10Z")

</div>

Dear All, I have been trying to connect SonOff devices with nodered but am facing issues with the installation of Library node-red-contrib-ewelink. On Manage Pallet, I am getting two options: node-red-contrib-ewelink an…

---

## [Node-red contrib-alexa and it's forks all broken?](https://discourse.nodered.org/t/node-red-contrib-alexa-and-its-forks-all-broken/78394)

<div class="topic-metadata">

**Author:** [@dhodgesnvl](https://discourse.nodered.org/u/dhodgesnvl)\
**Replies:** 1\
**Last updated:** [13 May 2023 01:10 UTC](https://discourse.nodered.org/t/node-red-contrib-alexa-and-its-forks-all-broken/78394 "2023-05-13T01:10:02Z")

</div>

Hi all I had a working node-red contrib-alexa2 working system until a few months ago. I've tried all the variants/OSs/browsers but when I go to ipaddress:3456 the page never loads. Is it broken or should I do somethin…

---

## [Creating Add Calendar Events to Local Calendar in HA Using Node Red](https://discourse.nodered.org/t/creating-add-calendar-events-to-local-calendar-in-ha-using-node-red/78392)

<div class="topic-metadata">

**Author:** [@erausch](https://discourse.nodered.org/u/erausch)\
**Replies:** 1\
**Last updated:** [12 May 2023 20:53 UTC](https://discourse.nodered.org/t/creating-add-calendar-events-to-local-calendar-in-ha-using-node-red/78392 "2023-05-12T20:53:01Z")

</div>

Hi All, I am hoping someone might be able to help me with a flow I want to implement. Here is the scenario: My garbage is normally collected every Tuesday, but if a holiday falls on a Monday, or Tuesday, garbage is co…

---

## [Help converting buffer to string encoding not matching debug output](https://discourse.nodered.org/t/help-converting-buffer-to-string-encoding-not-matching-debug-output/78388)

<div class="topic-metadata">

**Author:** [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Replies:** 2\
**Last updated:** [12 May 2023 16:59 UTC](https://discourse.nodered.org/t/help-converting-buffer-to-string-encoding-not-matching-debug-output/78388 "2023-05-12T16:59:01Z")

</div>

I can't seem to get a buffer to convert into a string like the debug node is showing. My buffer is: \[64,242,199,249,162,6\] The desired string is: @òÇù¢ The string i'm getting is: @rGy" The buffer for the string I'…

---

## [Using variables in flow set and get](https://discourse.nodered.org/t/using-variables-in-flow-set-and-get/78387)

<div class="topic-metadata">

**Author:** [@talesmaschio](https://discourse.nodered.org/u/talesmaschio)\
**Replies:** 2\
**Last updated:** [12 May 2023 16:38 UTC](https://discourse.nodered.org/t/using-variables-in-flow-set-and-get/78387 "2023-05-12T16:38:16Z")

</div>

Hello guys, Sorry, this is probably something very well known to the more experienced but I couldn't find anything about so here I am. Is it possible to use indirect referencing to variable names in context/flow/global…

---

## [Multiple Node.js servers](https://discourse.nodered.org/t/multiple-node-js-servers/78386)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 3\
**Last updated:** [12 May 2023 15:21 UTC](https://discourse.nodered.org/t/multiple-node-js-servers/78386 "2023-05-12T15:21:58Z")

</div>

Is is possible to run multiple Node.js servers on the same PC; each running a separate Node-Red flow?

---

## [How to get the path of nodered folder](https://discourse.nodered.org/t/how-to-get-the-path-of-nodered-folder/78362)

<div class="topic-metadata">

**Author:** [@Marchal-web](https://discourse.nodered.org/u/Marchal-web)\
**Replies:** 7\
**Last updated:** [12 May 2023 15:03 UTC](https://discourse.nodered.org/t/how-to-get-the-path-of-nodered-folder/78362 "2023-05-12T15:03:41Z")

</div>

Hello all, I would like to get the the path of where is running nodered, how I can do that ? The current path of the folder is "/home/toto/.nodered". How I can get this path in the flow? Thanks

---

## [Email login/password setup](https://discourse.nodered.org/t/email-login-password-setup/77213)

<div class="topic-metadata">

**Author:** [@calixtoemilio](https://discourse.nodered.org/u/calixtoemilio)\
**Replies:** 25\
**Last updated:** [12 May 2023 14:43 UTC](https://discourse.nodered.org/t/email-login-password-setup/77213 "2023-05-12T14:43:56Z")

</div>

configuring userid and password via environmental variables works fine....for a while, when they just disappear from email node. Only applying then manually (using environment format) would restart the authentication pro…

---

## [Node-Red | CEP | node-red-contrib-cep](https://discourse.nodered.org/t/node-red-cep-node-red-contrib-cep/78377)

<div class="topic-metadata">

**Author:** [@ayushmishra](https://discourse.nodered.org/u/ayushmishra)\
**Replies:** 1\
**Last updated:** [12 May 2023 11:56 UTC](https://discourse.nodered.org/t/node-red-cep-node-red-contrib-cep/78377 "2023-05-12T11:56:17Z")

</div>

I am trying to build a system to track user-journey and currently exploring the module node-red-contrib-cep for my CEP usecase. Have some question around the same. facing issue in figuring out how the pattern node works…

---

## [Install error proxy](https://discourse.nodered.org/t/install-error-proxy/78373)

<div class="topic-metadata">

**Author:** [@steve1](https://discourse.nodered.org/u/steve1)\
**Replies:** 6\
**Last updated:** [12 May 2023 11:56 UTC](https://discourse.nodered.org/t/install-error-proxy/78373 "2023-05-12T11:56:01Z")

</div>

Hi, on my ubuntu test machine, we are running node-red in a vm using win11. Later on we want to transfer the vm to another machine. Actually we can't even install node-red. I set the npm proxy for http and https. Gett…

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

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