# Latest

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

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

**Page:** 639

---

## [Need help with subflow code](https://discourse.nodered.org/t/need-help-with-subflow-code/57754)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [4 February 2022 21:29 UTC](https://discourse.nodered.org/t/need-help-with-subflow-code/57754 "2022-02-04T21:29:26Z")

</div>

I am trying to rationalise a subflow and rather than using a setup message. I know the code in the function node is a bit messy, but that's because it was written to receive this setup message. When I deployed it I was…

---

## [Node naming convention - Scoped packages](https://discourse.nodered.org/t/node-naming-convention-scoped-packages/57800)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 2\
**Last updated:** [4 February 2022 21:23 UTC](https://discourse.nodered.org/t/node-naming-convention-scoped-packages/57800 "2022-02-04T21:23:33Z")

</div>

I'm not sure if I've read this correctly, but... when using scoped node names is it now necessary when initially publishing the package to npm, to do so using npm publish --access public??

---

## [Using mysql:require(’mysql’) does not function any more - any suggestions why](https://discourse.nodered.org/t/using-mysql-require-mysql-does-not-function-any-more-any-suggestions-why/57746)

<div class="topic-metadata">

**Author:** [@Boja](https://discourse.nodered.org/u/Boja)\
**Replies:** 12\
**Last updated:** [4 February 2022 21:21 UTC](https://discourse.nodered.org/t/using-mysql-require-mysql-does-not-function-any-more-any-suggestions-why/57746 "2022-02-04T21:21:27Z")

</div>

To give function nodes access to a local MariaDB I'm used to adding mysql:require(’mysql’) to functionGlobalContext (in config/node-red/settings.js). I have used this method for a number of years, last time was about a…

---

## [Help request: Adding Home Assistant Values](https://discourse.nodered.org/t/help-request-adding-home-assistant-values/57771)

<div class="topic-metadata">

**Author:** [@cwein87](https://discourse.nodered.org/u/cwein87)\
**Replies:** 2\
**Last updated:** [4 February 2022 21:18 UTC](https://discourse.nodered.org/t/help-request-adding-home-assistant-values/57771 "2022-02-04T21:18:45Z")

</div>

Hi everyone, I want to use a Shelly 3EM as an electricity meter. Since we have a photovoltaik plant and the shelly measures all three phases separatly (offtake and injection, so six values), I need to calculate the sum …

---

## [Requiring a module from the modules used by Node RED](https://discourse.nodered.org/t/requiring-a-module-from-the-modules-used-by-node-red/57606)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 9\
**Last updated:** [4 February 2022 20:18 UTC](https://discourse.nodered.org/t/requiring-a-module-from-the-modules-used-by-node-red/57606 "2022-02-04T20:18:18Z")

</div>

Right! here is the thing. Now that Scorecards are a being displayed, I want to reduce my dependencies in package.json I am sat at 8 - and one or 2 of them are not easily removable. 1 instance is express I have a need…

---

## [Tcp connection not connected](https://discourse.nodered.org/t/tcp-connection-not-connected/548)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 10\
**Last updated:** [4 February 2022 20:13 UTC](https://discourse.nodered.org/t/tcp-connection-not-connected/548 "2022-02-04T20:13:40Z")

</div>

I am making a simple test flow to telnet to port23 Running NodeRed on Raspberriy Pi connected to my network. THe Pi IP = 10.0.0.60 Running Terminal Utility( Hercules) on Laptop . IP address = 10.0.0.66. The TCP Server …

---

## [Running Node-RED behind reverse proxy using sub path](https://discourse.nodered.org/t/running-node-red-behind-reverse-proxy-using-sub-path/57791)

<div class="topic-metadata">

**Author:** [@kellis5137](https://discourse.nodered.org/u/kellis5137)\
**Replies:** 1\
**Last updated:** [4 February 2022 20:02 UTC](https://discourse.nodered.org/t/running-node-red-behind-reverse-proxy-using-sub-path/57791 "2022-02-04T20:02:39Z")

</div>

I'm trying to install Node-RED behind a nginx reverse proxy. I already have an application under the default "/". I'm setting the Node-RED path via the following: location /nodeRed { rewrite /nodeRed(.\*)…

---

## [Question regarding \_msgid](https://discourse.nodered.org/t/question-regarding-msgid/57781)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 2\
**Last updated:** [4 February 2022 19:58 UTC](https://discourse.nodered.org/t/question-regarding-msgid/57781 "2022-02-04T19:58:46Z")

</div>

Never noticed this before but would like to know whether it is the intended output. When I use send in my node, if I send multiple messages as in send(\[{payload:1},{payload:2},{payload:3}\] - All of the sent messages hav…

---

## [How to release a stepper motor with node-red-contrib-i2c-motorhat?](https://discourse.nodered.org/t/how-to-release-a-stepper-motor-with-node-red-contrib-i2c-motorhat/57794)

<div class="topic-metadata">

**Author:** [@K5OZ](https://discourse.nodered.org/u/K5OZ)\
**Replies:** 0\
**Last updated:** [4 February 2022 19:51 UTC](https://discourse.nodered.org/t/how-to-release-a-stepper-motor-with-node-red-contrib-i2c-motorhat/57794 "2022-02-04T19:51:07Z")

</div>

I am using the node-red-contrib-i2c-motorhat node and can get it to work CW/CCW, Steps, and Styles with the example flows shown on the node download page; however, I cannot create a flow that puts the stepper in “release…

---

## [Template node: {{states.msg.payload.data.entity\_id.attributes.current\_position}} fails! What on earth should it be?](https://discourse.nodered.org/t/template-node-states-msg-payload-data-entity-id-attributes-current-position-fails-what-on-earth-should-it-be/57698)

<div class="topic-metadata">

**Author:** [@danielbrunt57](https://discourse.nodered.org/u/danielbrunt57)\
**Replies:** 6\
**Last updated:** [4 February 2022 19:24 UTC](https://discourse.nodered.org/t/template-node-states-msg-payload-data-entity-id-attributes-current-position-fails-what-on-earth-should-it-be/57698 "2022-02-04T19:24:41Z")

</div>

I have this payload which is output from a call\_service node:: msg.payload: { "domain":"cover", "service":"set\_cover\_position", "data": { "position":97, "entity\_id":"cover.kitchen\_blind\_2" } } I want to use the…

---

## [Latency problem](https://discourse.nodered.org/t/latency-problem/57785)

<div class="topic-metadata">

**Author:** [@agmacedo](https://discourse.nodered.org/u/agmacedo)\
**Replies:** 1\
**Last updated:** [4 February 2022 19:02 UTC](https://discourse.nodered.org/t/latency-problem/57785 "2022-02-04T19:02:04Z")

</div>

Recently I face a problem with my NR applications. I have multiple charts and online data on my home tab mais application. If I connect to NR with a remote browser installed on a PC no problems at all. But, if I connect…

---

## [Reading analog gauge values in NodeRED](https://discourse.nodered.org/t/reading-analog-gauge-values-in-nodered/57779)

<div class="topic-metadata">

**Author:** [@wolfred](https://discourse.nodered.org/u/wolfred)\
**Replies:** 3\
**Last updated:** [4 February 2022 18:02 UTC](https://discourse.nodered.org/t/reading-analog-gauge-values-in-nodered/57779 "2022-02-04T18:02:49Z")

</div>

I need to get the numeric value every 5 minutes from an analog gauge. The gauge looks like this: I looked in this topic some years ago and asked a question on Stack Exchange: image recognition - Reading a value of a r…

---

## [Water pressure sensor for central heating](https://discourse.nodered.org/t/water-pressure-sensor-for-central-heating/57045)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 45\
**Last updated:** [4 February 2022 17:34 UTC](https://discourse.nodered.org/t/water-pressure-sensor-for-central-heating/57045 "2022-02-04T17:34:17Z")

</div>

Hi folks, Had some damage yesterday on my central heating system. Could have prevented that by checking my water pressure more often, but you know how does things go... Currently I have this: To keep an eye on this…

---

## [Can we configure websocket node programmatically?](https://discourse.nodered.org/t/can-we-configure-websocket-node-programmatically/57775)

<div class="topic-metadata">

**Author:** [@zapicoj](https://discourse.nodered.org/u/zapicoj)\
**Replies:** 0\
**Last updated:** [4 February 2022 16:53 UTC](https://discourse.nodered.org/t/can-we-configure-websocket-node-programmatically/57775 "2022-02-04T16:53:24Z")

</div>

Hi, In my project, the websocket server url is changing over the time so I need to reconfigure the websocket node every time from the node-red editor. I'm wondering if there is a way to set the websocket node URL from a…

---

## [How to use webcam](https://discourse.nodered.org/t/how-to-use-webcam/15664)

<div class="topic-metadata">

**Author:** [@Andres](https://discourse.nodered.org/u/Andres)\
**Replies:** 14\
**Last updated:** [4 February 2022 16:52 UTC](https://discourse.nodered.org/t/how-to-use-webcam/15664 "2022-02-04T16:52:01Z")

</div>

Hello everyone, i don't know if this question goes here, but i hope to find some guidance in this forum. I'm trying to stream the captured webcam image on the browser and i've got this code from some post and i've got i…

---

## [Problem sending message from ui-template node](https://discourse.nodered.org/t/problem-sending-message-from-ui-template-node/57469)

<div class="topic-metadata">

**Author:** [@Jdo300](https://discourse.nodered.org/u/Jdo300)\
**Replies:** 10\
**Last updated:** [4 February 2022 15:54 UTC](https://discourse.nodered.org/t/problem-sending-message-from-ui-template-node/57469 "2022-02-04T15:54:31Z")

</div>

I created a ui-template node for my dashboard containing some code to create a clock with a clickable Home icon on the upper-right corner of my dashboard. The node is being added to the site header. The clock and Home ic…

---

## [Remote node-red using reverse SSH deploy help](https://discourse.nodered.org/t/remote-node-red-using-reverse-ssh-deploy-help/57768)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 2\
**Last updated:** [4 February 2022 15:05 UTC](https://discourse.nodered.org/t/remote-node-red-using-reverse-ssh-deploy-help/57768 "2022-02-04T15:05:12Z")

</div>

I have some remote node-red installations. These remote installations use reverse ssh that is instantiated using an exec node to connect to my VPN server. I can then connect to the remote node-red through a VPN. My ques…

---

## [No response from editor but dashboard UI stills works ?! (FIXED)](https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765)

<div class="topic-metadata">

**Author:** [@vtgav](https://discourse.nodered.org/u/vtgav)\
**Replies:** 3\
**Last updated:** [4 February 2022 14:29 UTC](https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765 "2022-02-04T14:29:43Z")

</div>

I have node-red V2.2.0 installed on an Azure debian 10 VM accessing a local MySQL database, using latest Chrome to access the editor and dashboard ui. Its been working fine for days as I've been developing the applicati…

---

## [Sum function of two sensor data](https://discourse.nodered.org/t/sum-function-of-two-sensor-data/11761)

<div class="topic-metadata">

**Author:** [@b3hzad2012](https://discourse.nodered.org/u/b3hzad2012)\
**Replies:** 11\
**Last updated:** [4 February 2022 13:51 UTC](https://discourse.nodered.org/t/sum-function-of-two-sensor-data/11761 "2022-02-04T13:51:50Z")

</div>

I can't sum the numbers which are collected from sensors. \[{"id":"a451fd95.e588d","type":"tab","label":"IoT Imaginary","disabled":false,"info":""},{"id":"9c84ad2a.aa978","type":"http response","z":"a451fd95.e588d","n…

---

## [Password adminAuth not working](https://discourse.nodered.org/t/password-adminauth-not-working/57753)

<div class="topic-metadata">

**Author:** [@Netplayjoe](https://discourse.nodered.org/u/Netplayjoe)\
**Replies:** 7\
**Last updated:** [4 February 2022 13:19 UTC](https://discourse.nodered.org/t/password-adminauth-not-working/57753 "2022-02-04T13:19:01Z")

</div>

New user here. I have enabled adminAuth using the default user/pass. It worked great. Once. Now when I open the workspace it doesn't ask for credentials, it just opens like adminAuth is not enabled. Tried Edge and Chrom…

---

## [\[Proposal\] Make node property validation tooltip more understandable](https://discourse.nodered.org/t/proposal-make-node-property-validation-tooltip-more-understandable/56661)

<div class="topic-metadata">

**Author:** [@nisiyama](https://discourse.nodered.org/u/nisiyama)\
**Replies:** 11\
**Last updated:** [4 February 2022 11:40 UTC](https://discourse.nodered.org/t/proposal-make-node-property-validation-tooltip-more-understandable/56661 "2022-02-04T11:40:15Z")

</div>

If node’s property validation fails, the node will be flagged with an error. The details of the error can be checked with the tooltip of the node. But, it may not be meaningful to the user in some case because the infor…

---

## [Working with JSON or XML v2](https://discourse.nodered.org/t/working-with-json-or-xml-v2/57635)

<div class="topic-metadata">

**Author:** [@brian](https://discourse.nodered.org/u/brian)\
**Replies:** 3\
**Last updated:** [4 February 2022 09:25 UTC](https://discourse.nodered.org/t/working-with-json-or-xml-v2/57635 "2022-02-04T09:25:08Z")

</div>

hello agian the last tread got closed. i got the unit to upload the file xml to a server, and i can read the file. But can i send it directly in to node red, instead read a file on a server? This is the unit that i …

---

## [Change node label color - e.g. for nodes w/ dark background](https://discourse.nodered.org/t/change-node-label-color-e-g-for-nodes-w-dark-background/57450)

<div class="topic-metadata">

**Author:** [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Replies:** 9\
**Last updated:** [4 February 2022 09:23 UTC](https://discourse.nodered.org/t/change-node-label-color-e-g-for-nodes-w-dark-background/57450 "2022-02-04T09:23:58Z")

</div>

Hi! It seems that currently nodes always use black as color for the labels. This looks good for nodes, that use a light background color. For darker background colors, the label yet is (almost) unreadable. I would l…

---

## [Reading webserver data](https://discourse.nodered.org/t/reading-webserver-data/10621)

<div class="topic-metadata">

**Author:** [@Duncan](https://discourse.nodered.org/u/Duncan)\
**Replies:** 17\
**Last updated:** [4 February 2022 08:18 UTC](https://discourse.nodered.org/t/reading-webserver-data/10621 "2022-02-04T08:18:34Z")

</div>

Hi there Node-Red fans, I have been doing pretty amazing things with node-red the last two years. I am no programmer but i have a fair understanding of the basics. This challenge is a bit out of my league therefore I n…

---

## [Column to row & separated by comma](https://discourse.nodered.org/t/column-to-row-separated-by-comma/57755)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 6\
**Last updated:** [4 February 2022 08:11 UTC](https://discourse.nodered.org/t/column-to-row-separated-by-comma/57755 "2022-02-04T08:11:20Z")

</div>

Need help. need to convert column data to row separated by comma in msg.payload. I get column data from a SQL table, which is in the form of array then I use a csv node which converts it into string. But I need a Pay…

---

## [MQTT - Node Red - Smartthings](https://discourse.nodered.org/t/mqtt-node-red-smartthings/57304)

<div class="topic-metadata">

**Author:** [@mhmatttu](https://discourse.nodered.org/u/mhmatttu)\
**Replies:** 28\
**Last updated:** [4 February 2022 05:49 UTC](https://discourse.nodered.org/t/mqtt-node-red-smartthings/57304 "2022-02-04T05:49:30Z")

</div>

I have a MQTT server with control of my pool equipment. I would like to control the equipment using smartthings virtual switches via node-red and MQTT. I have node-red-contrib-smartthings installed. MQTT is working we…

---

## [Help request: Capture images and blit them together with contrib-image-tools (jimp)](https://discourse.nodered.org/t/help-request-capture-images-and-blit-them-together-with-contrib-image-tools-jimp/57363)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 6\
**Last updated:** [4 February 2022 00:07 UTC](https://discourse.nodered.org/t/help-request-capture-images-and-blit-them-together-with-contrib-image-tools-jimp/57363 "2022-02-04T00:07:16Z")

</div>

Having a little trouble getting and 'blitting' some images together. I suspect the source type is incorrect and I just don't know enough to work out where. Seeing as a picture speaks a thousand words, here's a video dem…

---

## [Error Cannot Get /ui when launching the Dashboard on my PC](https://discourse.nodered.org/t/error-cannot-get-ui-when-launching-the-dashboard-on-my-pc/57742)

<div class="topic-metadata">

**Author:** [@Bubba66](https://discourse.nodered.org/u/Bubba66)\
**Replies:** 12\
**Last updated:** [3 February 2022 22:20 UTC](https://discourse.nodered.org/t/error-cannot-get-ui-when-launching-the-dashboard-on-my-pc/57742 "2022-02-03T22:20:53Z")

</div>

First off I am very new at this. So please be kind. I had Node Red running on a Raspberry Pi and had a isssue so I did a clean install of the PI and Node Red. After that when I tried to launch the Node Red dashboard from…

---

## [How to get node-red users to have different workspaces?](https://discourse.nodered.org/t/how-to-get-node-red-users-to-have-different-workspaces/57684)

<div class="topic-metadata">

**Author:** [@ale1995](https://discourse.nodered.org/u/ale1995)\
**Replies:** 2\
**Last updated:** [3 February 2022 08:17 UTC](https://discourse.nodered.org/t/how-to-get-node-red-users-to-have-different-workspaces/57684 "2022-02-03T08:17:07Z")

</div>

I need my node-network to serve several users at the same time, and I want to see if it is possible for each one to have their independent workspace

---

## [Is there a way to set connections as properties on subflows](https://discourse.nodered.org/t/is-there-a-way-to-set-connections-as-properties-on-subflows/57664)

<div class="topic-metadata">

**Author:** [@cwalter5](https://discourse.nodered.org/u/cwalter5)\
**Replies:** 3\
**Last updated:** [3 February 2022 20:20 UTC](https://discourse.nodered.org/t/is-there-a-way-to-set-connections-as-properties-on-subflows/57664 "2022-02-03T20:20:30Z")

</div>

Hi, I was hoping to create a subflow which could read data from a websocket and send an acknowledgement message back before outputting to the main flow. This appears to be possible but, the whole reason I'd like to put t…

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

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