# General

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

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

**Page:** 152

---

## [How can I set the payload in a http.request when method is 'POST'?](https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647)

<div class="topic-metadata">

**Author:** [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Replies:** 3\
**Last updated:** [12 December 2023 19:17 UTC](https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647 "2023-12-12T19:17:12Z")

</div>

Sorry, ... i'm totally new ... How can I set the payload in this node? I can't see a 'payload' textarea or similar

---

## [What does it mean to "export to library"?](https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646)

<div class="topic-metadata">

**Author:** [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Replies:** 3\
**Last updated:** [12 December 2023 18:38 UTC](https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646 "2023-12-12T18:38:47Z")

</div>

What and where is the 'library' ?

---

## [Confusion, on my part, about how to change chart legend... series labels?](https://discourse.nodered.org/t/confusion-on-my-part-about-how-to-change-chart-legend-series-labels/82382)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [12 December 2023 16:26 UTC](https://discourse.nodered.org/t/confusion-on-my-part-about-how-to-change-chart-legend-series-labels/82382 "2023-12-12T16:26:18Z")

</div>

Confusion, on my part, about how to change chart legend... series labels? I know you can initialize a chart with labels, data, series information from scratch in a payload, but I have a chart that has received data and …

---

## [Confirmation of received input](https://discourse.nodered.org/t/confirmation-of-received-input/83604)

<div class="topic-metadata">

**Author:** [@FireWizard52](https://discourse.nodered.org/u/FireWizard52)\
**Replies:** 5\
**Last updated:** [12 December 2023 14:52 UTC](https://discourse.nodered.org/t/confirmation-of-received-input/83604 "2023-12-12T14:52:19Z")

</div>

Hi, I have the following situation: If I have an open window or open door of my car, I receive an input message by MQTT and the result is that I receive a notification by email. So far, so good. Every 5 minutes the sta…

---

## [In-browser Node-RED - a follow up using Stackblitz](https://discourse.nodered.org/t/in-browser-node-red-a-follow-up-using-stackblitz/83639)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 0\
**Last updated:** [12 December 2023 14:11 UTC](https://discourse.nodered.org/t/in-browser-node-red-a-follow-up-using-stackblitz/83639 "2023-12-12T14:11:47Z")

</div>

Hi There! as a followup to what @bloigge did in this topic, I made a minor upgrade to 3.1.3 plus added some of my nodes for other purposes and extended the settings with a few more options - can be viewed here. The code…

---

## [Error 404 when trying to start Node-red-contrib-hue](https://discourse.nodered.org/t/error-404-when-trying-to-start-node-red-contrib-hue/83631)

<div class="topic-metadata">

**Author:** [@Kitten3002](https://discourse.nodered.org/u/Kitten3002)\
**Replies:** 8\
**Last updated:** [12 December 2023 11:28 UTC](https://discourse.nodered.org/t/error-404-when-trying-to-start-node-red-contrib-hue/83631 "2023-12-12T11:28:05Z")

</div>

Hey there im trying to connect knx and Phillps hue and everything were working well until i downloaded the palette Node-red-contrib-hue. then it stopped working. My node red is running on a raspberry pi 4 model B. and …

---

## [Camera Pi Does Not Working at Node Red Dashboard](https://discourse.nodered.org/t/camera-pi-does-not-working-at-node-red-dashboard/83628)

<div class="topic-metadata">

**Author:** [@Aster](https://discourse.nodered.org/u/Aster)\
**Replies:** 1\
**Last updated:** [12 December 2023 09:24 UTC](https://discourse.nodered.org/t/camera-pi-does-not-working-at-node-red-dashboard/83628 "2023-12-12T09:24:03Z")

</div>

I have made a simple flow from timestamp to camerapi take photo node. when i trigger the time stamp, the flow run successfully but there is no picture taken. can you guys help me how to overcme this problem? the debug me…

---

## [Error 503 when installing node-red/Node.js](https://discourse.nodered.org/t/error-503-when-installing-node-red-node-js/83603)

<div class="topic-metadata">

**Author:** [@nx2i](https://discourse.nodered.org/u/nx2i)\
**Replies:** 21\
**Last updated:** [12 December 2023 09:19 UTC](https://discourse.nodered.org/t/error-503-when-installing-node-red-node-js/83603 "2023-12-12T09:19:48Z")

</div>

I am having difficulties upgrading my node-red installation. The following command (and others) all return a 503 Error when run: Running Node-RED install for user pi at /home/pi on raspbian bash \<(curl -sL https://raw.…

---

## [Migrated NR from homeassistant to standalone on Windows pc "extra key errors"](https://discourse.nodered.org/t/migrated-nr-from-homeassistant-to-standalone-on-windows-pc-extra-key-errors/83620)

<div class="topic-metadata">

**Author:** [@wrmac](https://discourse.nodered.org/u/wrmac)\
**Replies:** 4\
**Last updated:** [12 December 2023 03:57 UTC](https://discourse.nodered.org/t/migrated-nr-from-homeassistant-to-standalone-on-windows-pc-extra-key-errors/83620 "2023-12-12T03:57:19Z")

</div>

I had Node red running on my Home assistant VM but wanted to run Node-Red as a standalone app on my PC. I have Node red installed on my PC and the server portion configured with a long-lived token and it seems to be con…

---

## [What is the correct way to use jsonata inside a switch node with "has key" rule?](https://discourse.nodered.org/t/what-is-the-correct-way-to-use-jsonata-inside-a-switch-node-with-has-key-rule/83616)

<div class="topic-metadata">

**Author:** [@alwinter](https://discourse.nodered.org/u/alwinter)\
**Replies:** 12\
**Last updated:** [12 December 2023 00:07 UTC](https://discourse.nodered.org/t/what-is-the-correct-way-to-use-jsonata-inside-a-switch-node-with-has-key-rule/83616 "2023-12-12T00:07:25Z")

</div>

Hi I have the following situation, I want to test if a given msg.payload has some keys. Let's say for example: msg.payload.keyOne msg.payload.keyTwo I know i can check that with a function node, but I'm curious about …

---

## [Raspberry pi2: nodered is accessible only via ip](https://discourse.nodered.org/t/raspberry-pi2-nodered-is-accessible-only-via-ip/83599)

<div class="topic-metadata">

**Author:** [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Replies:** 5\
**Last updated:** [11 December 2023 21:17 UTC](https://discourse.nodered.org/t/raspberry-pi2-nodered-is-accessible-only-via-ip/83599 "2023-12-11T21:17:45Z")

</div>

Hi ! first time here for me, and first day with node red. I installed nodered on a fresh and clean OS on a pi2 model 2 I can login via ssh using "raspberrypi.local" as hostname from my windows machine, without having…

---

## [Making connection secure (HTTPS) in Windows](https://discourse.nodered.org/t/making-connection-secure-https-in-windows/83601)

<div class="topic-metadata">

**Author:** [@BitEater](https://discourse.nodered.org/u/BitEater)\
**Replies:** 1\
**Last updated:** [11 December 2023 21:12 UTC](https://discourse.nodered.org/t/making-connection-secure-https-in-windows/83601 "2023-12-11T21:12:23Z")

</div>

I am running Node Red in a Windows VM. It is only used for connection from local network. Also already added user authentication with the node-red-contrib-users node. But now I want to implement some browser notificatio…

---

## [Modbus Server set inputs](https://discourse.nodered.org/t/modbus-server-set-inputs/83586)

<div class="topic-metadata">

**Author:** [@PeterMir](https://discourse.nodered.org/u/PeterMir)\
**Replies:** 0\
**Last updated:** [10 December 2023 19:42 UTC](https://discourse.nodered.org/t/modbus-server-set-inputs/83586 "2023-12-10T19:42:56Z")

</div>

Hey here, I set up an Modbus Server and read write to holding work. But preset of input only work at adress 0. If I try at adress 1 this don’t work. I need to preset 5002. how can I do this? I now see, if I write a big…

---

## [Refer in node to flows location / Serve files from flows location](https://discourse.nodered.org/t/refer-in-node-to-flows-location-serve-files-from-flows-location/82835)

<div class="topic-metadata">

**Author:** [@BitEater](https://discourse.nodered.org/u/BitEater)\
**Replies:** 10\
**Last updated:** [11 December 2023 14:29 UTC](https://discourse.nodered.org/t/refer-in-node-to-flows-location-serve-files-from-flows-location/82835 "2023-12-11T14:29:13Z")

</div>

Instead of having my HTML/CSS/JS Files as nodes within my Node Red Flows I want to have them in separate files. My Flows file is versioned in git and it would make sense to have all the other files in git. But I don't se…

---

## [MQTT5 retained message](https://discourse.nodered.org/t/mqtt5-retained-message/83494)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 21\
**Last updated:** [11 December 2023 09:56 UTC](https://discourse.nodered.org/t/mqtt5-retained-message/83494 "2023-12-11T09:56:15Z")

</div>

Hi, my question almost close to these topics Understanding MQTT v5 retain options and Ignore retained MQTT messages at restart but I'm still not able to get what I need without awful workarounds. My problem is this: …

---

## [I want to turn off and turn on my display via node red](https://discourse.nodered.org/t/i-want-to-turn-off-and-turn-on-my-display-via-node-red/83587)

<div class="topic-metadata">

**Author:** [@druckstick.at](https://discourse.nodered.org/u/druckstick.at)\
**Replies:** 3\
**Last updated:** [10 December 2023 21:01 UTC](https://discourse.nodered.org/t/i-want-to-turn-off-and-turn-on-my-display-via-node-red/83587 "2023-12-10T21:01:35Z")

</div>

Hello everybody! I want to turn off and turn on my display via node red. On the Raspberry this works great with xrandr --output DSI-1 --off and xrandr --output DSI-1 --auto However, this command cannot be executed fro…

---

## [Made my Node-RED crash by working with global arrays](https://discourse.nodered.org/t/made-my-node-red-crash-by-working-with-global-arrays/83580)

<div class="topic-metadata">

**Author:** [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Replies:** 1\
**Last updated:** [10 December 2023 19:36 UTC](https://discourse.nodered.org/t/made-my-node-red-crash-by-working-with-global-arrays/83580 "2023-12-10T19:36:51Z")

</div>

Hi, I dig around in the forum here, copy pasted some array things and mixed it up with my own knowledge - I thought I do understand :laughing:. Node-RED crashed some parts of UIBUILDER (clearly my mistake) - now I know…

---

## [UIBUILDER newbee conceptual question node-red \<-\>UIBUILDER\<-\>frontend](https://discourse.nodered.org/t/uibuilder-newbee-conceptual-question-node-red-uibuilder-frontend/83307)

<div class="topic-metadata">

**Author:** [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Replies:** 5\
**Last updated:** [10 December 2023 15:56 UTC](https://discourse.nodered.org/t/uibuilder-newbee-conceptual-question-node-red-uibuilder-frontend/83307 "2023-12-10T15:56:13Z")

</div>

Hi, I started with UIBUILDER to put some vars on my raspiDisplays. It is so awesome easy to make it! Thank you very much @TotallyInformation But now I got crazy and wanted to rework all my old stuff and reinvent some …

---

## [I have problem about viewing image from esp32 cam on nodered](https://discourse.nodered.org/t/i-have-problem-about-viewing-image-from-esp32-cam-on-nodered/83560)

<div class="topic-metadata">

**Author:** [@roaa](https://discourse.nodered.org/u/roaa)\
**Replies:** 5\
**Last updated:** [10 December 2023 14:39 UTC](https://discourse.nodered.org/t/i-have-problem-about-viewing-image-from-esp32-cam-on-nodered/83560 "2023-12-10T14:39:01Z")

</div>

Hi ....i use esp32-cam with nodered and mqtt i use node-red version: v3.1.0 node.js version v20.9.0 My problem is that the image is not displayed on Nodered even though it is received and sent on Mosquitto "image not …

---

## [Using serial port on docker](https://discourse.nodered.org/t/using-serial-port-on-docker/83573)

<div class="topic-metadata">

**Author:** [@poitf098](https://discourse.nodered.org/u/poitf098)\
**Replies:** 1\
**Last updated:** [10 December 2023 14:28 UTC](https://discourse.nodered.org/t/using-serial-port-on-docker/83573 "2023-12-10T14:28:43Z")

</div>

How can I configure serial communication, specifically with an Arduino device, within a Node-RED Docker container using the provided docker-compose.yml file? this is my docker-compose.yml version: "3" services: node…

---

## [All flows have disappeared on AWS hosted system](https://discourse.nodered.org/t/all-flows-have-disappeared-on-aws-hosted-system/83569)

<div class="topic-metadata">

**Author:** [@JonT](https://discourse.nodered.org/u/JonT)\
**Replies:** 8\
**Last updated:** [10 December 2023 14:01 UTC](https://discourse.nodered.org/t/all-flows-have-disappeared-on-aws-hosted-system/83569 "2023-12-10T14:01:15Z")

</div>

I have been running a dashboard with some quite complex flows and nodes to show various environmental monitors passing data via MQTT. Node-red is installed on an AWS Ubuntu instance. This morning the dashboard UI is show…

---

## [Mqtt in and out topic](https://discourse.nodered.org/t/mqtt-in-and-out-topic/83565)

<div class="topic-metadata">

**Author:** [@mohammad-torabi-84](https://discourse.nodered.org/u/mohammad-torabi-84)\
**Replies:** 6\
**Last updated:** [10 December 2023 08:06 UTC](https://discourse.nodered.org/t/mqtt-in-and-out-topic/83565 "2023-12-10T08:06:36Z")

</div>

Hi, I have a very simple flow that contains an mqtt-in node, two mqtt-out nodes and two function nodes. the topic of the mqtt-in node is home/Garage/# and the topic of mqtt-out nodes are home/Garage/door/status and hom…

---

## [Connect to ADAX Neo heater API](https://discourse.nodered.org/t/connect-to-adax-neo-heater-api/83395)

<div class="topic-metadata">

**Author:** [@hakanlarsson](https://discourse.nodered.org/u/hakanlarsson)\
**Replies:** 4\
**Last updated:** [9 December 2023 19:27 UTC](https://discourse.nodered.org/t/connect-to-adax-neo-heater-api/83395 "2023-12-09T19:27:53Z")

</div>

Hello, I try to connect to a ADAX Neo heater with NodeRed. I have a working code in python: (snippet) url = 'https://' + HEATER\_IP + '/api' payload = { 'command': 'set\_target', 'time': int(time.time()), 'val…

---

## [Problem sending slider value to OSC](https://discourse.nodered.org/t/problem-sending-slider-value-to-osc/83445)

<div class="topic-metadata">

**Author:** [@jhoepffner](https://discourse.nodered.org/u/jhoepffner)\
**Replies:** 16\
**Last updated:** [9 December 2023 17:51 UTC](https://discourse.nodered.org/t/problem-sending-slider-value-to-osc/83445 "2023-12-09T17:51:02Z")

</div>

Hello, I have problem sending variable data (moved by a dashboard slider) by OSC. If I send {"type": "i", "value": 4096}, it work if I send {"type": "i", "value": "{{payload}}"}, it doen't work. I tried all the com…

---

## [Change color of existing polygon on node-red-contrib-web-worldmap](https://discourse.nodered.org/t/change-color-of-existing-polygon-on-node-red-contrib-web-worldmap/83558)

<div class="topic-metadata">

**Author:** [@scoobie71](https://discourse.nodered.org/u/scoobie71)\
**Replies:** 1\
**Last updated:** [9 December 2023 17:22 UTC](https://discourse.nodered.org/t/change-color-of-existing-polygon-on-node-red-contrib-web-worldmap/83558 "2023-12-09T17:22:35Z")

</div>

I have created a map with a layer and one polygon with id=1.I want to have two buttons one to chnage the color of the polygon to red and one to blue, but i don't want to remove the layer to add again with new color. Is i…

---

## [Persistent global context used in template node](https://discourse.nodered.org/t/persistent-global-context-used-in-template-node/83537)

<div class="topic-metadata">

**Author:** [@Tany](https://discourse.nodered.org/u/Tany)\
**Replies:** 8\
**Last updated:** [9 December 2023 14:06 UTC](https://discourse.nodered.org/t/persistent-global-context-used-in-template-node/83537 "2023-12-09T14:06:54Z")

</div>

Hallo, This code works perfect in a template node (html) to retrieve cvMode as a global variable... in memory. Now I installed contrib-persistent-global-context, and with a function node... global.set('cvMode', "ON",…

---

## [Dashboard 2.0 Pre-Alpha Available](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142)

<div class="topic-metadata">

**Author:** [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Replies:** 314\
**Last updated:** [9 December 2023 11:08 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142 "2023-12-09T11:08:44Z")

</div>

Hi All, just wanted to share an update that we, at FlowForge, have released the Dashboard 2.0 pre-alpha. It's still a work in progress, but wanted to put something out for people to start playing with. We're open to i…

---

## [Flows disappear after a few hours!](https://discourse.nodered.org/t/flows-disappear-after-a-few-hours/82458)

<div class="topic-metadata">

**Author:** [@Olaa](https://discourse.nodered.org/u/Olaa)\
**Replies:** 44\
**Last updated:** [9 December 2023 09:11 UTC](https://discourse.nodered.org/t/flows-disappear-after-a-few-hours/82458 "2023-12-09T09:11:24Z")

</div>

I'm very bad at this. Have managed to install Node-Red and a MQTT on my ROCK 4 SE card with Debian 11. The installation took place in January 2023. Got nice Flows connected to my IOTs. Everything has worked great until …

---

## [All flows gone after fresh install](https://discourse.nodered.org/t/all-flows-gone-after-fresh-install/82476)

<div class="topic-metadata">

**Author:** [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Replies:** 38\
**Last updated:** [9 December 2023 06:10 UTC](https://discourse.nodered.org/t/all-flows-gone-after-fresh-install/82476 "2023-12-09T06:10:58Z")

</div>

Hello, i did a search first , but didnt find the answer. I was trying to setup a reverse proxy and all of a sudden my flows where deleted. I did a fresh install of OS, reinstalled nodered and mqtt. made sure all updat…

---

## ["Keep Retain Flag after Original Publish?"](https://discourse.nodered.org/t/keep-retain-flag-after-original-publish/83543)

<div class="topic-metadata">

**Author:** [@SamuelSauerSacK](https://discourse.nodered.org/u/SamuelSauerSacK)\
**Replies:** 1\
**Last updated:** [9 December 2023 03:56 UTC](https://discourse.nodered.org/t/keep-retain-flag-after-original-publish/83543 "2023-12-09T03:56:49Z")

</div>

I have some trouble understanding this option in the "MQTT In" Node. Can someone please shine a light on this? "Keep Retain Flag after Original Publish?" Any hint would be very much appreciated.

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

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