# Latest

**URL:** https://discourse.nodered.org/latest.md?page=345

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

**Page:** 346

---

## [Create a TCP server and send messages to client](https://discourse.nodered.org/t/create-a-tcp-server-and-send-messages-to-client/78462)

<div class="topic-metadata">

**Author:** [@andre\_x](https://discourse.nodered.org/u/andre_x)\
**Replies:** 3\
**Last updated:** [16 May 2023 16:50 UTC](https://discourse.nodered.org/t/create-a-tcp-server-and-send-messages-to-client/78462 "2023-05-16T16:50:40Z")

</div>

I need to create a TCP server to which a media player software (Coolux Pandoras Box) will connect. This is simple, but I should use that same server to send commands to the client...how do I do that? Thanks!

---

## [Flows-cred.json decrypt/encrypt dependency](https://discourse.nodered.org/t/flows-cred-json-decrypt-encrypt-dependency/78456)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 3\
**Last updated:** [16 May 2023 15:51 UTC](https://discourse.nodered.org/t/flows-cred-json-decrypt-encrypt-dependency/78456 "2023-05-16T15:51:24Z")

</div>

I am creating a script that a user would provide a configuration file, that haves a list of: -dependencies settings ( for updating settings.js) -flows -subflows -configurations (for nodes) -nodes What i want to d…

---

## [New book about Node-RED MCU Edition](https://discourse.nodered.org/t/new-book-about-node-red-mcu-edition/78307)

<div class="topic-metadata">

**Author:** [@phoddie](https://discourse.nodered.org/u/phoddie)\
**Replies:** 2\
**Last updated:** [16 May 2023 15:51 UTC](https://discourse.nodered.org/t/new-book-about-node-red-mcu-edition/78307 "2023-05-16T15:51:22Z")

</div>

I happy to be able to pass along news of a new book about Node-RED MCU Edition that was just published in Japan. It's a step-by-step introduction to using Node-RED on microcontrollers. It starts from getting set-up befor…

---

## [Login session with http](https://discourse.nodered.org/t/login-session-with-http/78470)

<div class="topic-metadata">

**Author:** [@Raimaisa](https://discourse.nodered.org/u/Raimaisa)\
**Replies:** 0\
**Last updated:** [16 May 2023 14:56 UTC](https://discourse.nodered.org/t/login-session-with-http/78470 "2023-05-16T14:56:14Z")

</div>

Hi, I'm pretty new to node-red and I've got a few doubts and questions. I've been trying to create a login system with node red http nodes, but I can't figure out how to give each user its own session. I tried to use co…

---

## [How custom UI node recognize last value to display when switch tab on Node-Red dashboard?](https://discourse.nodered.org/t/how-custom-ui-node-recognize-last-value-to-display-when-switch-tab-on-node-red-dashboard/78408)

<div class="topic-metadata">

**Author:** [@jatu-studiobox](https://discourse.nodered.org/u/jatu-studiobox)\
**Replies:** 4\
**Last updated:** [16 May 2023 14:46 UTC](https://discourse.nodered.org/t/how-custom-ui-node-recognize-last-value-to-display-when-switch-tab-on-node-red-dashboard/78408 "2023-05-16T14:46:03Z")

</div>

Hi, I have some problem about custom UI node recognize last value to display when switch tab in Node-RED dashboard. First, I create custom UI node for display temperature. Now it works fine when it display on one tab. …

---

## [How to activate the Global Hooks](https://discourse.nodered.org/t/how-to-activate-the-global-hooks/78251)

<div class="topic-metadata">

**Author:** [@nru2023](https://discourse.nodered.org/u/nru2023)\
**Replies:** 15\
**Last updated:** [16 May 2023 10:06 UTC](https://discourse.nodered.org/t/how-to-activate-the-global-hooks/78251 "2023-05-16T10:06:44Z")

</div>

Hi ! I would like to activate the global hooks as described in Hooks API : Node-RED. After spending hours and hours searching for any example how to activate them - has anybody any deeper information how to do this ? W…

---

## [Node-RED with PIC Microcontroller](https://discourse.nodered.org/t/node-red-with-pic-microcontroller/78310)

<div class="topic-metadata">

**Author:** [@mexcoindia](https://discourse.nodered.org/u/mexcoindia)\
**Replies:** 12\
**Last updated:** [16 May 2023 03:08 UTC](https://discourse.nodered.org/t/node-red-with-pic-microcontroller/78310 "2023-05-16T03:08:57Z")

</div>

I am new to Node-RED and today first time created account and logged. I want to control a device over WhatsApp. The device has PIC microcontroller. I need tutorial and guidance.

---

## [The objects disappears from map when .geojson file is used as an input for worldmap node](https://discourse.nodered.org/t/the-objects-disappears-from-map-when-geojson-file-is-used-as-an-input-for-worldmap-node/78454)

<div class="topic-metadata">

**Author:** [@nensak](https://discourse.nodered.org/u/nensak)\
**Replies:** 0\
**Last updated:** [16 May 2023 00:30 UTC](https://discourse.nodered.org/t/the-objects-disappears-from-map-when-geojson-file-is-used-as-an-input-for-worldmap-node/78454 "2023-05-16T00:30:13Z")

</div>

I use two type of files as an input in "worldmap" node, .csv and .geojson, it works fine, BUT I've realized that the map populated with objects defined from .geojson file is being cleared after browser refresh, while it …

---

## [Whats missing to get credentials check on dashboard and editor?](https://discourse.nodered.org/t/whats-missing-to-get-credentials-check-on-dashboard-and-editor/78410)

<div class="topic-metadata">

**Author:** [@LuisPereira](https://discourse.nodered.org/u/LuisPereira)\
**Replies:** 17\
**Last updated:** [15 May 2023 20:44 UTC](https://discourse.nodered.org/t/whats-missing-to-get-credentials-check-on-dashboard-and-editor/78410 "2023-05-15T20:44:02Z")

</div>

Hi I'm trying to get credentials requirement upon acessing nodered dashbaord and editor. I have edited the settings.js (uncommenting and adding username and encrypted password) just as explained here. But no promp log…

---

## [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…

---

## ["X-Powered-By: Express" still present in /theme responses](https://discourse.nodered.org/t/x-powered-by-express-still-present-in-theme-responses/78383)

<div class="topic-metadata">

**Author:** [@fmp](https://discourse.nodered.org/u/fmp)\
**Replies:** 2\
**Last updated:** [15 May 2023 15:20 UTC](https://discourse.nodered.org/t/x-powered-by-express-still-present-in-theme-responses/78383 "2023-05-15T15:20:16Z")

</div>

I am trying to remove the "x-powered-by" header from all Node-RED API responses because of a pentest finding. As I see this should have already been done: Ensure httpServerOptions gets applied to ALL the express apps ·…

---

## [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…

---

## [Looking for nice custom Shutter Dashboard UI Control](https://discourse.nodered.org/t/looking-for-nice-custom-shutter-dashboard-ui-control/78436)

<div class="topic-metadata">

**Author:** [@lori](https://discourse.nodered.org/u/lori)\
**Replies:** 0\
**Last updated:** [15 May 2023 14:13 UTC](https://discourse.nodered.org/t/looking-for-nice-custom-shutter-dashboard-ui-control/78436 "2023-05-15T14:13:24Z")

</div>

I am looking for a nice dashboard widget/template to control the position of the shutter in percentage as well as the angle of the lamella. Using the slider controls does not realy look nice. For my thermostates for ins…

---

## [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"?

---

## [Can not find new node under palette](https://discourse.nodered.org/t/can-not-find-new-node-under-palette/78426)

<div class="topic-metadata">

**Author:** [@zhangmx](https://discourse.nodered.org/u/zhangmx)\
**Replies:** 2\
**Last updated:** [15 May 2023 09:44 UTC](https://discourse.nodered.org/t/can-not-find-new-node-under-palette/78426 "2023-05-15T09:44:30Z")

</div>

On last Friday, I created a node named '@mingxingzhang/node-red-contrib-tcp-request2' , published it on '@mingxingzhang/node-red-contrib-tcp-request2 - npm' and added it to 'http://flows.nodered.org'. However, today I st…

---

## [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…

---

## [3-phase power consumption measurement](https://discourse.nodered.org/t/3-phase-power-consumption-measurement/68489)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 202\
**Last updated:** [14 May 2023 17:38 UTC](https://discourse.nodered.org/t/3-phase-power-consumption-measurement/68489 "2023-05-14T17:38:27Z")

</div>

Hi folks, Wife has asked me to measure the power on every of the 3 phases, to get a quick overview of our power consumption. The shelly 3EM looks pretty cool and affordable. It has a clamp for every phase wire: P.…

---

## [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…

---

## [How to create a group of SVG objects in Dashboard?](https://discourse.nodered.org/t/how-to-create-a-group-of-svg-objects-in-dashboard/78397)

<div class="topic-metadata">

**Author:** [@beg1nner](https://discourse.nodered.org/u/beg1nner)\
**Replies:** 2\
**Last updated:** [13 May 2023 17:40 UTC](https://discourse.nodered.org/t/how-to-create-a-group-of-svg-objects-in-dashboard/78397 "2023-05-13T17:40:21Z")

</div>

Hi there, I'd like to create a group of svg objects, because moving every single object is a way to hard (once I'll have around 100 svg objects). Is there an easy way to do that? Is it possible to move all objects o…

---

## [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…

[Previous page](https://discourse.nodered.org/latest.md?page=344)

[Next page](https://discourse.nodered.org/latest.md?page=346)
