# General

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

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

**Page:** 256

---

## [Converting a JSON String to Object](https://discourse.nodered.org/t/converting-a-json-string-to-object/74438)

<div class="topic-metadata">

**Author:** [@daolio](https://discourse.nodered.org/u/daolio)\
**Replies:** 10\
**Last updated:** [30 January 2023 20:23 UTC](https://discourse.nodered.org/t/converting-a-json-string-to-object/74438 "2023-01-30T20:23:24Z")

</div>

So i have a Formated JSON String which is published by a PLC {"data":{"Temperatura":27,"Umidade":78}} And i need to convert this string into a Java Script object, I've tried the JSON parser node as in the image bellow…

---

## [Elegant way to build the code visually](https://discourse.nodered.org/t/elegant-way-to-build-the-code-visually/74435)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 14\
**Last updated:** [30 January 2023 20:13 UTC](https://discourse.nodered.org/t/elegant-way-to-build-the-code-visually/74435 "2023-01-30T20:13:16Z")

</div>

Folks, I would like some help, please. I have the following code below: //Assign to a variable for the expression to be small. var pMaxima = global.get("pMaxima"); var varSupervisor = global.get("varSupervisor"); var …

---

## [Can't bring back the manage palette - a new wrinkle?](https://discourse.nodered.org/t/cant-bring-back-the-manage-palette-a-new-wrinkle/74377)

<div class="topic-metadata">

**Author:** [@geekfun](https://discourse.nodered.org/u/geekfun)\
**Replies:** 12\
**Last updated:** [30 January 2023 19:58 UTC](https://discourse.nodered.org/t/cant-bring-back-the-manage-palette-a-new-wrinkle/74377 "2023-01-30T19:58:54Z")

</div>

Howdy, I am in the process of bringing up several node-red instances on an ubuntu 22.04 server and have had some hard fought successes but I have run into a problem that I cannot seem to find any clues on where to go nex…

---

## [Cant Install @bannsaenger/node-red-contrib-artnet-controller](https://discourse.nodered.org/t/cant-install-bannsaenger-node-red-contrib-artnet-controller/74365)

<div class="topic-metadata">

**Author:** [@Schmarvin](https://discourse.nodered.org/u/Schmarvin)\
**Replies:** 3\
**Last updated:** [30 January 2023 18:38 UTC](https://discourse.nodered.org/t/cant-install-bannsaenger-node-red-contrib-artnet-controller/74365 "2023-01-30T18:38:56Z")

</div>

Hello, my NodeRed Client is running on windows11. I'm currently trying to send some DMX addresses & values via ArtNet to an DMX Ethernet Node Controller. I tested it with a Software that is supposed to communicate wit…

---

## [Subtraction of two values](https://discourse.nodered.org/t/subtraction-of-two-values/74396)

<div class="topic-metadata">

**Author:** [@pierpaolo1972](https://discourse.nodered.org/u/pierpaolo1972)\
**Replies:** 5\
**Last updated:** [30 January 2023 15:51 UTC](https://discourse.nodered.org/t/subtraction-of-two-values/74396 "2023-01-30T15:51:59Z")

</div>

I need to subtract two values. "sensor.instant\_solar\_power" - "sensor.recharge\_auto\_power" = ? Which node should I use and which code? Can someone help me? thank you

---

## [Killing an exec node](https://discourse.nodered.org/t/killing-an-exec-node/74405)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 4\
**Last updated:** [30 January 2023 12:24 UTC](https://discourse.nodered.org/t/killing-an-exec-node/74405 "2023-01-30T12:24:29Z")

</div>

I have used many times a change node setting a "msg.kill" to the value of "kill -2" to stop an exec node running a python script (python -u /../..something.py). But I just experienced that, for some reason I don't under…

---

## [Value 0 not considered](https://discourse.nodered.org/t/value-0-not-considered/74413)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 2\
**Last updated:** [30 January 2023 12:51 UTC](https://discourse.nodered.org/t/value-0-not-considered/74413 "2023-01-30T12:51:49Z")

</div>

I try to explain .... In my dashboard I show the current temperature and the lowest temperature of the day. This morning the current temperature was 0 and I set the var tempEsternaMinPrec to 0 because it was the lowes…

---

## [How to merge multi csv file in one with deferent time](https://discourse.nodered.org/t/how-to-merge-multi-csv-file-in-one-with-deferent-time/74393)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 0\
**Last updated:** [30 January 2023 09:37 UTC](https://discourse.nodered.org/t/how-to-merge-multi-csv-file-in-one-with-deferent-time/74393 "2023-01-30T09:37:56Z")

</div>

i wanna to merge csv fils to be like this jour | heure | capteur | conductivity | temp | capteur2 | level | capteur3| pression02 30/1/23 | 11:25:05 | 106 | 325 | 25 .1 | 108 | …

---

## [Stylesheet for "site \<head\> section" with classes & sub-classes](https://discourse.nodered.org/t/stylesheet-for-site-head-section-with-classes-sub-classes/74308)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 18\
**Last updated:** [30 January 2023 07:04 UTC](https://discourse.nodered.org/t/stylesheet-for-site-head-section-with-classes-sub-classes/74308 "2023-01-30T07:04:42Z")

</div>

I have made a template object "levelbar". This object is working fine for me. But now I want to make it universally applicable, not only in one place but in several flows. So I want de style sheet migrate from "Widget i…

---

## [Connect two Node Red (Raspberry) together](https://discourse.nodered.org/t/connect-two-node-red-raspberry-together/74370)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 5\
**Last updated:** [29 January 2023 21:16 UTC](https://discourse.nodered.org/t/connect-two-node-red-raspberry-together/74370 "2023-01-29T21:16:35Z")

</div>

Hi there, I got two raspberry pi and one needs information from the other. What's the best way to connect them to each other. Ah, both are in the same network. What is the most stable connection ... Mqtt? Webhook? So…

---

## [Guaranteed Delivery flow with fileStorage gets stuck often](https://discourse.nodered.org/t/guaranteed-delivery-flow-with-filestorage-gets-stuck-often/74312)

<div class="topic-metadata">

**Author:** [@jakonnode](https://discourse.nodered.org/u/jakonnode)\
**Replies:** 8\
**Last updated:** [29 January 2023 20:23 UTC](https://discourse.nodered.org/t/guaranteed-delivery-flow-with-filestorage-gets-stuck-often/74312 "2023-01-29T20:23:15Z")

</div>

Refer to this thread Using the below flow for guaranteed delivery with FileStore backing. Over time, it gets stuck with state being "waitingForOKFail" and was never able to recover from this. This happens for no reas…

---

## [Checking a tumble dryer for its "Anti Crease" state](https://discourse.nodered.org/t/checking-a-tumble-dryer-for-its-anti-crease-state/73806)

<div class="topic-metadata">

**Author:** [@CountDocula](https://discourse.nodered.org/u/CountDocula)\
**Replies:** 11\
**Last updated:** [29 January 2023 19:23 UTC](https://discourse.nodered.org/t/checking-a-tumble-dryer-for-its-anti-crease-state/73806 "2023-01-29T19:23:21Z")

</div>

Hi, I recently managed to get Home Assistant setup with Zigbee and Node Red. Now I am overwhelmed with what you can do. A thing that I wanted to do for a long time is sending a message when our tumble dryer reached its…

---

## [Error update or install nodes on Home Assistant supervised OS](https://discourse.nodered.org/t/error-update-or-install-nodes-on-home-assistant-supervised-os/74353)

<div class="topic-metadata">

**Author:** [@emimor](https://discourse.nodered.org/u/emimor)\
**Replies:** 3\
**Last updated:** [29 January 2023 18:27 UTC](https://discourse.nodered.org/t/error-update-or-install-nodes-on-home-assistant-supervised-os/74353 "2023-01-29T18:27:16Z")

</div>

Hi, Sorry for my english. I have the problem that it gives me an error when I install new nodes or when I update the existing ones. I've been looking for a solution for 15 days, but due to bad luck or lack of knowledge…

---

## [Using node-red-contrib-unifi with a UniFi WiFi Network](https://discourse.nodered.org/t/using-node-red-contrib-unifi-with-a-unifi-wifi-network/74246)

<div class="topic-metadata">

**Author:** [@ianh33](https://discourse.nodered.org/u/ianh33)\
**Replies:** 56\
**Last updated:** [29 January 2023 16:56 UTC](https://discourse.nodered.org/t/using-node-red-contrib-unifi-with-a-unifi-wifi-network/74246 "2023-01-29T16:56:13Z")

</div>

I am trying to address the age old problem of which phones are attached to my network (i.e. are we in?). I have 5 meshed UniFi APs which I have set up and control via the UniFi Network application. I do not have a UniF…

---

## [Incomplete data with MQTT node in Node-RED](https://discourse.nodered.org/t/incomplete-data-with-mqtt-node-in-node-red/74351)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 6\
**Last updated:** [29 January 2023 14:50 UTC](https://discourse.nodered.org/t/incomplete-data-with-mqtt-node-in-node-red/74351 "2023-01-29T14:50:40Z")

</div>

Hi all, I'm having an issue with the MQTT node in Node-RED. I'm not getting all of the data that I'm getting in a MQTT client application, so the data I'm receiving is incomplete. I'm wondering if anyone else has experi…

---

## [Cron-Plus using dynamic schedule to schedule a cron event](https://discourse.nodered.org/t/cron-plus-using-dynamic-schedule-to-schedule-a-cron-event/74200)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 8\
**Last updated:** [29 January 2023 14:36 UTC](https://discourse.nodered.org/t/cron-plus-using-dynamic-schedule-to-schedule-a-cron-event/74200 "2023-01-29T14:36:29Z")

</div>

Hi All, I have been using cron-plus with dynamic schedules based on solar events and am trying to set up a "regular" cron event, also dynamic schedule based... While the solar event ones work fine, my "regular" cron ev…

---

## [How to fill in and submit the login web form?](https://discourse.nodered.org/t/how-to-fill-in-and-submit-the-login-web-form/74296)

<div class="topic-metadata">

**Author:** [@TataGEEK](https://discourse.nodered.org/u/TataGEEK)\
**Replies:** 6\
**Last updated:** [29 January 2023 13:39 UTC](https://discourse.nodered.org/t/how-to-fill-in-and-submit-the-login-web-form/74296 "2023-01-29T13:39:48Z")

</div>

Hi, I would like to log in to the site and then perform scraping. Unfortunately the site doesn't provide any API. The form on the page expects the variables "username" and "password". Then there is a CSRF token in a hidd…

---

## [Send message on tcp node](https://discourse.nodered.org/t/send-message-on-tcp-node/73643)

<div class="topic-metadata">

**Author:** [@LinkView\_Maze](https://discourse.nodered.org/u/LinkView_Maze)\
**Replies:** 18\
**Last updated:** [29 January 2023 13:26 UTC](https://discourse.nodered.org/t/send-message-on-tcp-node/73643 "2023-01-29T13:26:25Z")

</div>

Hello I have an interconnection project with a system communicating in TCP via port 3005. I set up a TCP request node with the site's IP address and port 3005. As input I put a null inject for the test. When I click o…

---

## [An action once a day, every day…](https://discourse.nodered.org/t/an-action-once-a-day-every-day/74254)

<div class="topic-metadata">

**Author:** [@patrickp78](https://discourse.nodered.org/u/patrickp78)\
**Replies:** 25\
**Last updated:** [29 January 2023 13:18 UTC](https://discourse.nodered.org/t/an-action-once-a-day-every-day/74254 "2023-01-29T13:18:54Z")

</div>

Hi Newbie with Node Red, I would like to open a roller shutter every morning from 8:00 a.m. when the light is above 200 lux. What nodes should be used so that this action only occurs once a day? Thanks for your advice…

---

## [Entity ID instead of name](https://discourse.nodered.org/t/entity-id-instead-of-name/74315)

<div class="topic-metadata">

**Author:** [@radames](https://discourse.nodered.org/u/radames)\
**Replies:** 11\
**Last updated:** [29 January 2023 12:09 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315 "2023-01-29T12:09:42Z")

</div>

hi need help something went wrong in my node red and all the nodes now display the entity Id like (switch.102\_2) instead the friendly name I gave them like (patio light ustairs-local). may be there is an index file that…

---

## [Mqtt node not connect to MQTT Broker](https://discourse.nodered.org/t/mqtt-node-not-connect-to-mqtt-broker/74335)

<div class="topic-metadata">

**Author:** [@dhana](https://discourse.nodered.org/u/dhana)\
**Replies:** 6\
**Last updated:** [29 January 2023 11:13 UTC](https://discourse.nodered.org/t/mqtt-node-not-connect-to-mqtt-broker/74335 "2023-01-29T11:13:56Z")

</div>

I install node red on ubuntu server at AWS .I create Mqtt node but my node not connect MQTT Broker. node showing connecting message. Pleas rifer screen shot

---

## [How to setup this curl request?](https://discourse.nodered.org/t/how-to-setup-this-curl-request/74343)

<div class="topic-metadata">

**Author:** [@TimC1986](https://discourse.nodered.org/u/TimC1986)\
**Replies:** 4\
**Last updated:** [29 January 2023 10:19 UTC](https://discourse.nodered.org/t/how-to-setup-this-curl-request/74343 "2023-01-29T10:19:23Z")

</div>

Hi all I like to use this curl request from SMA but I'm not familar with curl requests. I tried already some flows myself but with no succes, I get always a 401 fault response Can some get me on track with this? h…

---

## [Flow library stuck again?](https://discourse.nodered.org/t/flow-library-stuck-again/74329)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 6\
**Last updated:** [29 January 2023 08:29 UTC](https://discourse.nodered.org/t/flow-library-stuck-again/74329 "2023-01-29T08:29:24Z")

</div>

I added and updated repos in the flow library 40 minutes ago and they still don't show up in the catalogue. Is the library updater stuck again?

---

## [Values from a string filter](https://discourse.nodered.org/t/values-from-a-string-filter/74324)

<div class="topic-metadata">

**Author:** [@koma1965](https://discourse.nodered.org/u/koma1965)\
**Replies:** 0\
**Last updated:** [28 January 2023 23:09 UTC](https://discourse.nodered.org/t/values-from-a-string-filter/74324 "2023-01-28T23:09:44Z")

</div>

Hallo allezusammen, ich bin Neuling in Node Red. Habe die Version 3.0.2 auf einem Raspi4b Vers. 11 Bullseye Ich habe jetzt an meinen smarten Stromzähler einen Hichi Lesekopf rangebaut und möchte einige Daten per MQTT,…

---

## [Extract a part of string from a payload](https://discourse.nodered.org/t/extract-a-part-of-string-from-a-payload/74251)

<div class="topic-metadata">

**Author:** [@Fef\_38](https://discourse.nodered.org/u/Fef_38)\
**Replies:** 5\
**Last updated:** [28 January 2023 21:35 UTC](https://discourse.nodered.org/t/extract-a-part-of-string-from-a-payload/74251 "2023-01-28T21:35:35Z")

</div>

Form my LoRa Module I receive the ascii buffer: msg.payload = Buffer.from("240E5048556D366420A262000026200F00AA7400", "hex") In this buffer I have a DevEUI from the module : E5048556D366420 I would like to save this …

---

## [Event-triggered flow to switch on/off rf-plug](https://discourse.nodered.org/t/event-triggered-flow-to-switch-on-off-rf-plug/74306)

<div class="topic-metadata">

**Author:** [@KlausR](https://discourse.nodered.org/u/KlausR)\
**Replies:** 9\
**Last updated:** [28 January 2023 20:07 UTC](https://discourse.nodered.org/t/event-triggered-flow-to-switch-on-off-rf-plug/74306 "2023-01-28T20:07:34Z")

</div>

Absolute newbie in terms of nodered and hass needs a little help...^^ I managed to turn on/off almost with 2 nodes: inject node with msg.payload like "#123456" mqtt-out node with topic "cmnd/tasmota/rfbridge/RfCode" N…

---

## [Switch Stops Flow After Second Rule Applies](https://discourse.nodered.org/t/switch-stops-flow-after-second-rule-applies/74298)

<div class="topic-metadata">

**Author:** [@ars4l4n](https://discourse.nodered.org/u/ars4l4n)\
**Replies:** 7\
**Last updated:** [28 January 2023 19:17 UTC](https://discourse.nodered.org/t/switch-stops-flow-after-second-rule-applies/74298 "2023-01-28T19:17:00Z")

</div>

I set up a switch with 2 conditional outputs. There's instances where both outputs would fire and so that this wouldn't happen I set the switch to stop after the first rule applies. What the switch does now is it just ch…

---

## [Interpreting payload message from LORA Gateway](https://discourse.nodered.org/t/interpreting-payload-message-from-lora-gateway/11293)

<div class="topic-metadata">

**Author:** [@Partheepan](https://discourse.nodered.org/u/Partheepan)\
**Replies:** 9\
**Last updated:** [28 January 2023 18:17 UTC](https://discourse.nodered.org/t/interpreting-payload-message-from-lora-gateway/11293 "2023-01-28T18:17:29Z")

</div>

Hi, I have some trouble in interpreting the message payload received from the LORA gateway. The payload is received correctly and it contains sensor data from three sensors. The payload received is as follows, "paylo…

---

## [How to plot JSON data in UI\_Chart?](https://discourse.nodered.org/t/how-to-plot-json-data-in-ui-chart/74311)

<div class="topic-metadata">

**Author:** [@windpoint](https://discourse.nodered.org/u/windpoint)\
**Replies:** 1\
**Last updated:** [28 January 2023 17:33 UTC](https://discourse.nodered.org/t/how-to-plot-json-data-in-ui-chart/74311 "2023-01-28T17:33:12Z")

</div>

I am trying to use time from json date for x axis, not the time stamp I publish 24 items in the json structure, which is 24 hours Thank you data example: 01/28/2023 01:00:00: -14 01/28/2023 02:00:00: -12.8 01/28/20…

---

## [HTTP Auth node is obsolete](https://discourse.nodered.org/t/http-auth-node-is-obsolete/74272)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 7\
**Last updated:** [28 January 2023 13:06 UTC](https://discourse.nodered.org/t/http-auth-node-is-obsolete/74272 "2023-01-28T13:06:30Z")

</div>

I would like to protect an HTTP-in node with a password. I tried to download the"http-auth" node but noted that was updated 5 years ago and it doesn't install anymore on NR. Is there any alternative? How do you protect…

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

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