# General

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

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

**Page:** 458

---

## [Can anyone help with the tuya smart device node?](https://discourse.nodered.org/t/can-anyone-help-with-the-tuya-smart-device-node/51767)

<div class="topic-metadata">

**Author:** [@DavidE1A](https://discourse.nodered.org/u/DavidE1A)\
**Replies:** 13\
**Last updated:** [5 December 2021 10:09 UTC](https://discourse.nodered.org/t/can-anyone-help-with-the-tuya-smart-device-node/51767 "2021-12-05T10:09:34Z")

</div>

I've used the tuya-smart-device node, and following the instructions and the example flow managed to get everything linked up and can turn the bulb on and off, but I'm a bit lost as to how I can change the colour and bri…

---

## [Compare different msg and Trigger](https://discourse.nodered.org/t/compare-different-msg-and-trigger/54729)

<div class="topic-metadata">

**Author:** [@Herbert](https://discourse.nodered.org/u/Herbert)\
**Replies:** 4\
**Last updated:** [5 December 2021 09:56 UTC](https://discourse.nodered.org/t/compare-different-msg-and-trigger/54729 "2021-12-05T09:56:07Z")

</div>

Hello, I tried to compare two values from my solar inverter. One value is the state of charge from my battery: msg.payload Other value should be the goal. Name of msg is: msg.payload.toSolar with value 95.6. This valu…

---

## [RBE node \*conflict\* after updating. Sorry](https://discourse.nodered.org/t/rbe-node-conflict-after-updating-sorry/54728)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [5 December 2021 09:12 UTC](https://discourse.nodered.org/t/rbe-node-conflict-after-updating-sorry/54728 "2021-12-05T09:12:29Z")

</div>

NR 2.1.3 RasPi I was going through getting some nodes up to date. RBE is a problem. Before and after the update. I know a while back I was asking and was told of an updated release which addressed the problem I ment…

---

## ["Search" and how good it is/n't. I'm stuck](https://discourse.nodered.org/t/search-and-how-good-it-is-nt-im-stuck/54719)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [4 December 2021 23:27 UTC](https://discourse.nodered.org/t/search-and-how-good-it-is-nt-im-stuck/54719 "2021-12-04T23:27:45Z")

</div>

Folks, I nearly posted the other day and didn't because I nearly shot myself in the foot with the question I was about to ask. This is (maybe) a better worded version. Though I am not 100% sure there seems to be someth…

---

## [Node-red Startup Console: connecting: mongodb://127.0.0.1:27017/{{mydb}}](https://discourse.nodered.org/t/node-red-startup-console-connecting-mongodb-127-0-0-1-27017-mydb/54722)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 7\
**Last updated:** [4 December 2021 22:40 UTC](https://discourse.nodered.org/t/node-red-startup-console-connecting-mongodb-127-0-0-1-27017-mydb/54722 "2021-12-04T22:40:58Z")

</div>

Hopefully someone can explain to me what's going on when I start node-red, I get a long list output on the console: connecting: mongodb://127.0.0.1:27017/{{mydb}} connecting: mongodb://127.0.0.1:27017/{{mydb}} connec…

---

## [Rpi-gpio input node "stopped"](https://discourse.nodered.org/t/rpi-gpio-input-node-stopped/5184)

<div class="topic-metadata">

**Author:** [@r0drunner](https://discourse.nodered.org/u/r0drunner)\
**Replies:** 51\
**Last updated:** [4 December 2021 20:53 UTC](https://discourse.nodered.org/t/rpi-gpio-input-node-stopped/5184 "2021-12-04T20:53:17Z")

</div>

I'm trying to follow the Rapsberrypi.org guide "getting started with Node-RED" I completed very easily the first flow for switching on/off a LED with a rpi-gpio out node and two inject nodes, but I got stuck adding a bu…

---

## [Backing up data](https://discourse.nodered.org/t/backing-up-data/54368)

<div class="topic-metadata">

**Author:** [@Hunter](https://discourse.nodered.org/u/Hunter)\
**Replies:** 8\
**Last updated:** [4 December 2021 19:05 UTC](https://discourse.nodered.org/t/backing-up-data/54368 "2021-12-04T19:05:51Z")

</div>

Hello, I'n using NR to provide data to a large group of users (it was \> 1000 but after I lost my data I'm back about 300 now). Each user has it's own settings, stored in aUsers object, stored als file : flow.set("aUser…

---

## [Facing problem in installing -node-arduino](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517)

<div class="topic-metadata">

**Author:** [@binyameenaslam342](https://discourse.nodered.org/u/binyameenaslam342)\
**Replies:** 29\
**Last updated:** [4 December 2021 16:59 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517 "2021-12-04T16:59:26Z")

</div>

I have been receiving this error. How do I resolve this? I have installed node-red locally on a PC.

---

## [Jetson Nano CSI camera](https://discourse.nodered.org/t/jetson-nano-csi-camera/52727)

<div class="topic-metadata">

**Author:** [@jaafar](https://discourse.nodered.org/u/jaafar)\
**Replies:** 1\
**Last updated:** [4 December 2021 15:50 UTC](https://discourse.nodered.org/t/jetson-nano-csi-camera/52727 "2021-12-04T15:50:18Z")

</div>

Hello Community, I'm pretty new on Node-Red, and I'm working on a project where I need to obtain a video feed from the CSI camera connected to my Jetson Nano. I only found examples about the raspberry camera but it seem…

---

## [Any clever / fun ways of using info from Unifi devices?](https://discourse.nodered.org/t/any-clever-fun-ways-of-using-info-from-unifi-devices/54682)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 4\
**Last updated:** [4 December 2021 15:00 UTC](https://discourse.nodered.org/t/any-clever-fun-ways-of-using-info-from-unifi-devices/54682 "2021-12-04T15:00:22Z")

</div>

Bit of a general / ideas gathering question here. Has anyone done anything clever with node-red-contrib-unifi, e.g. in the area of home automation - or anything really? It provides loads of detailed info about what's c…

---

## [Node-Red mqtt node in String sorting with javascript](https://discourse.nodered.org/t/node-red-mqtt-node-in-string-sorting-with-javascript/54703)

<div class="topic-metadata">

**Author:** [@saeed1](https://discourse.nodered.org/u/saeed1)\
**Replies:** 8\
**Last updated:** [4 December 2021 13:59 UTC](https://discourse.nodered.org/t/node-red-mqtt-node-in-string-sorting-with-javascript/54703 "2021-12-04T13:59:36Z")

</div>

Hi Guys! I am receiving a data srtring from a gateway at mqtt in node in node red. I am not able to understand, why my node-red debug window is showing the string length of 41, however if i count manually, length is 37…

---

## [Moving LAN MQTT Broker to new machine by text editing flows.json](https://discourse.nodered.org/t/moving-lan-mqtt-broker-to-new-machine-by-text-editing-flows-json/54702)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [4 December 2021 11:21 UTC](https://discourse.nodered.org/t/moving-lan-mqtt-broker-to-new-machine-by-text-editing-flows-json/54702 "2021-12-04T11:21:52Z")

</div>

Background I need to move old Win10 machine that is running my LAN broker to a place with no wire connection so enabled WiFi on it, removed ethernet cable - changed reservation in my router to swap IP over to WiFI MAC …

---

## [Need help with node-red-node-random](https://discourse.nodered.org/t/need-help-with-node-red-node-random/54697)

<div class="topic-metadata">

**Author:** [@omono35](https://discourse.nodered.org/u/omono35)\
**Replies:** 1\
**Last updated:** [4 December 2021 09:46 UTC](https://discourse.nodered.org/t/need-help-with-node-red-node-random/54697 "2021-12-04T09:46:53Z")

</div>

I am having trouble being able to dynamically change the From and To Values on the random node. I understand that if you leave the values blank it will default to 1-10. My plan is to be able to eventually have the user…

---

## [Delete persistent flow context variable](https://discourse.nodered.org/t/delete-persistent-flow-context-variable/3121)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 9\
**Last updated:** [3 December 2021 22:33 UTC](https://discourse.nodered.org/t/delete-persistent-flow-context-variable/3121 "2021-12-03T22:33:12Z")

</div>

I'm using persistant storage and I created a flow.context object with the wrong name I would like to delete it - whats the easiest way to do this -preferably without having to manually edit the storage file or even stop…

---

## [Context sidebar: pin path](https://discourse.nodered.org/t/context-sidebar-pin-path/54685)

<div class="topic-metadata">

**Author:** [@Simon01011](https://discourse.nodered.org/u/Simon01011)\
**Replies:** 2\
**Last updated:** [3 December 2021 20:03 UTC](https://discourse.nodered.org/t/context-sidebar-pin-path/54685 "2021-12-03T20:03:38Z")

</div>

Hi everyone! I have a question about the sidebar for the context: is there a way to pin a path in an object, so that it stays open after updating the context? I think I read about that feature here on the forum somewher…

---

## [How to use enviroments variables into redis configs](https://discourse.nodered.org/t/how-to-use-enviroments-variables-into-redis-configs/54643)

<div class="topic-metadata">

**Author:** [@DaniloMourelle](https://discourse.nodered.org/u/DaniloMourelle)\
**Replies:** 5\
**Last updated:** [3 December 2021 13:04 UTC](https://discourse.nodered.org/t/how-to-use-enviroments-variables-into-redis-configs/54643 "2021-12-03T13:04:31Z")

</div>

Hi, we use node-red v2.0.6 and node-red-contrib-redis 1.3.9. We were wondering how to use envioments variables, so we can use same flow in all envs. We are able to use json, but we have to change the flows.json when co…

---

## [Parent context variable accessed in subflow's first function node yields undefined?](https://discourse.nodered.org/t/parent-context-variable-accessed-in-subflows-first-function-node-yields-undefined/54525)

<div class="topic-metadata">

**Author:** [@r0ller](https://discourse.nodered.org/u/r0ller)\
**Replies:** 42\
**Last updated:** [3 December 2021 12:11 UTC](https://discourse.nodered.org/t/parent-context-variable-accessed-in-subflows-first-function-node-yields-undefined/54525 "2021-12-03T12:11:12Z")

</div>

I remember that earlier (\<NR-1.0.5) there was a problem when parent context variables were accessed in a subflow right in the first function node. Is it possible that it can still happen (NR-2.0.5 or 1.2.9)? I'm chasing …

---

## [Triggering an http call to an API based on a msg property value in the msg.payload from a previous node](https://discourse.nodered.org/t/triggering-an-http-call-to-an-api-based-on-a-msg-property-value-in-the-msg-payload-from-a-previous-node/54044)

<div class="topic-metadata">

**Author:** [@SumeetBulani](https://discourse.nodered.org/u/SumeetBulani)\
**Replies:** 2\
**Last updated:** [3 December 2021 11:51 UTC](https://discourse.nodered.org/t/triggering-an-http-call-to-an-api-based-on-a-msg-property-value-in-the-msg-payload-from-a-previous-node/54044 "2021-12-03T11:51:04Z")

</div>

Hello people, I am making an http request (using http request node) to an API and I get the output in msg.payload as a JSON object. Based on the value of a particular key within this JSON object, I want to trigger anoth…

---

## [Same object property differend nodes](https://discourse.nodered.org/t/same-object-property-differend-nodes/54659)

<div class="topic-metadata">

**Author:** [@gokhanolmezz](https://discourse.nodered.org/u/gokhanolmezz)\
**Replies:** 0\
**Last updated:** [3 December 2021 08:44 UTC](https://discourse.nodered.org/t/same-object-property-differend-nodes/54659 "2021-12-03T08:44:18Z")

</div>

Hi. I have a problem seems like minor but, i can't find a solution. As you can see on the image, I have different trigger node for trigger any mission. I set a property which is name missionTriggered in the change nodes…

---

## [Implementing basic auth on http nodes breaks admin page](https://discourse.nodered.org/t/implementing-basic-auth-on-http-nodes-breaks-admin-page/54383)

<div class="topic-metadata">

**Author:** [@aderici](https://discourse.nodered.org/u/aderici)\
**Replies:** 6\
**Last updated:** [3 December 2021 09:12 UTC](https://discourse.nodered.org/t/implementing-basic-auth-on-http-nodes-breaks-admin-page/54383 "2021-12-03T09:12:39Z")

</div>

Hi, recently had a case where i implemented basic auth for my http nodes to serve a web page. When you visit the page browser asks for user pass and saves this user pass to be sent with every page visit. Just after this…

---

## [Node-Red Install Ubuntu Server 18.0.4](https://discourse.nodered.org/t/node-red-install-ubuntu-server-18-0-4/54492)

<div class="topic-metadata">

**Author:** [@metadrew](https://discourse.nodered.org/u/metadrew)\
**Replies:** 10\
**Last updated:** [2 December 2021 22:14 UTC](https://discourse.nodered.org/t/node-red-install-ubuntu-server-18-0-4/54492 "2021-12-02T22:14:48Z")

</div>

Hi all, new to node-red and ubuntu l. I have followed the installation guides I found online for Ubuntu Server 18.0.4 (clean install) and everything seems to have gone well. Installing node+npm+node-red. After install, …

---

## [Query SMA Energy Meter / Home Manager by UDP Part2](https://discourse.nodered.org/t/query-sma-energy-meter-home-manager-by-udp-part2/54498)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 15\
**Last updated:** [1 December 2021 12:34 UTC](https://discourse.nodered.org/t/query-sma-energy-meter-home-manager-by-udp-part2/54498 "2021-12-01T12:34:53Z")

</div>

In the continuation of I have a new question to @Steve-Mcl : the SMA EM got a new firmware, like it always get, but now the query stucks every 30s. I analyzed the raw data and I saw this data every 30s: \[83,77,65,0,…

---

## [TypeError: Request path contains unescaped characters](https://discourse.nodered.org/t/typeerror-request-path-contains-unescaped-characters/54641)

<div class="topic-metadata">

**Author:** [@Loonhaunt](https://discourse.nodered.org/u/Loonhaunt)\
**Replies:** 3\
**Last updated:** [2 December 2021 21:30 UTC](https://discourse.nodered.org/t/typeerror-request-path-contains-unescaped-characters/54641 "2021-12-02T21:30:29Z")

</div>

Hello, I had a flow that was running through then this occurred. TypeError: Request path contains unescaped characters I have searched for similar issues but have not found anything too similar to this. I am assuming…

---

## [Pass parameters to NR instance](https://discourse.nodered.org/t/pass-parameters-to-nr-instance/54644)

<div class="topic-metadata">

**Author:** [@Onixarts](https://discourse.nodered.org/u/Onixarts)\
**Replies:** 2\
**Last updated:** [2 December 2021 21:25 UTC](https://discourse.nodered.org/t/pass-parameters-to-nr-instance/54644 "2021-12-02T21:25:35Z")

</div>

Hi. My NR system is growing, so I decide to split functionality into many separate NR instances. I want extract some settings from existing flows, like mqtt server adress, device/service (NR instance) name and so on. Th…

---

## [Cache function for google translate node](https://discourse.nodered.org/t/cache-function-for-google-translate-node/54596)

<div class="topic-metadata">

**Author:** [@xjust](https://discourse.nodered.org/u/xjust)\
**Replies:** 3\
**Last updated:** [2 December 2021 16:53 UTC](https://discourse.nodered.org/t/cache-function-for-google-translate-node/54596 "2021-12-02T16:53:16Z")

</div>

I am using google translate node for some json messages I receive from an API. They are usually the same messages that repeats that needs the translation. (msg.payload in -\> msg.payload out). This function can work on…

---

## [\[localhost\] \[default\]\[Opening\]](https://discourse.nodered.org/t/localhost-default-opening/54636)

<div class="topic-metadata">

**Author:** [@JulesRosette](https://discourse.nodered.org/u/JulesRosette)\
**Replies:** 1\
**Last updated:** [2 December 2021 15:35 UTC](https://discourse.nodered.org/t/localhost-default-opening/54636 "2021-12-02T15:35:48Z")

</div>

Hi, It's my node-red post. Versions installed : Node-RED version: v2.1.3 Node.js version: v16.13.0 By default,when a code is created,it's attached to the localhost:1880 and localhost/ui. I would like to be able to…

---

## [Sending buffer payloads with binary audio with HTTP-GET](https://discourse.nodered.org/t/sending-buffer-payloads-with-binary-audio-with-http-get/54619)

<div class="topic-metadata">

**Author:** [@hutje](https://discourse.nodered.org/u/hutje)\
**Replies:** 6\
**Last updated:** [2 December 2021 15:07 UTC](https://discourse.nodered.org/t/sending-buffer-payloads-with-binary-audio-with-http-get/54619 "2021-12-02T15:07:39Z")

</div>

I am trying to send audio buffer payloads over HTTP-GET but the browser only takes one payload and stops. I get 4 seconds of music and it doesn't take anything else. It should keep going. I tried all kinds of headers in…

---

## [How can I change mssql connection timeout value?](https://discourse.nodered.org/t/how-can-i-change-mssql-connection-timeout-value/54573)

<div class="topic-metadata">

**Author:** [@vi-rgaigl](https://discourse.nodered.org/u/vi-rgaigl)\
**Replies:** 5\
**Last updated:** [2 December 2021 14:12 UTC](https://discourse.nodered.org/t/how-can-i-change-mssql-connection-timeout-value/54573 "2021-12-02T14:12:56Z")

</div>

I have a database query that takes about 90 seconds (database very large and complex query with many joints). I always run into a connection timeout of 15000 ms with the mssql node. How can I change the value? I use no…

---

## [Node Red returning nodes when accessing /flows in API](https://discourse.nodered.org/t/node-red-returning-nodes-when-accessing-flows-in-api/54625)

<div class="topic-metadata">

**Author:** [@mmijoski](https://discourse.nodered.org/u/mmijoski)\
**Replies:** 6\
**Last updated:** [2 December 2021 13:55 UTC](https://discourse.nodered.org/t/node-red-returning-nodes-when-accessing-flows-in-api/54625 "2021-12-02T13:55:32Z")

</div>

I tried to create a flow using the API. I submitted the data for a flow along with all nodes and their connections to POST /flows, but some error happened which caused the dashboard to show Error adding flows Cannot re…

---

## [getCredentials not being called](https://discourse.nodered.org/t/getcredentials-not-being-called/54567)

<div class="topic-metadata">

**Author:** [@hammoaj](https://discourse.nodered.org/u/hammoaj)\
**Replies:** 2\
**Last updated:** [2 December 2021 12:21 UTC](https://discourse.nodered.org/t/getcredentials-not-being-called/54567 "2021-12-02T12:21:47Z")

</div>

I am in the process of re-implementing the cloudantStorage code that was originally written for IBM Cloud to use the new Cloudant SDK. It's mainly working, but I'm having problems with flow encryption. To do this, I am …

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

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