# Latest

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

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

**Page:** 412

---

## [Mqtt client's connect behavior when pub/sub to an unauthorized topic](https://discourse.nodered.org/t/mqtt-clients-connect-behavior-when-pub-sub-to-an-unauthorized-topic/74183)

<div class="topic-metadata">

**Author:** [@arlklauss](https://discourse.nodered.org/u/arlklauss)\
**Replies:** 10\
**Last updated:** [25 January 2023 20:21 UTC](https://discourse.nodered.org/t/mqtt-clients-connect-behavior-when-pub-sub-to-an-unauthorized-topic/74183 "2023-01-25T20:21:28Z")

</div>

Hello all! We are working on a setup where the mqtt broker (vernemq) authorizes the user/client\_id on publishing/subscribing certain topics (using broker's ACL). When the topic does not exist in the ACL or the user/cli…

---

## ["Hidden" subflows](https://discourse.nodered.org/t/hidden-subflows/74173)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [25 January 2023 19:30 UTC](https://discourse.nodered.org/t/hidden-subflows/74173 "2023-01-25T19:30:49Z")

</div>

Ok, I asked for it. Nesting subflows - maybe. I made a subflow with 3 levels (or was it 4?) of other subflows. I exported it and imported it to a working machine. (Bad things happened) Suddenly I have 2 subflows wi…

---

## [How to set an output in the template block to send data to MQTT (out)](https://discourse.nodered.org/t/how-to-set-an-output-in-the-template-block-to-send-data-to-mqtt-out/74137)

<div class="topic-metadata">

**Author:** [@Melih](https://discourse.nodered.org/u/Melih)\
**Replies:** 1\
**Last updated:** [25 January 2023 18:48 UTC](https://discourse.nodered.org/t/how-to-set-an-output-in-the-template-block-to-send-data-to-mqtt-out/74137 "2023-01-25T18:48:06Z")

</div>

Hi, my goal is to get an request from mqtt to extend the cylinder (created in SVG), in the template block, when the cylinder is extended, it must send a data to MQTT. But I actually don't know how to set an output th…

---

## [Passing Data from Node-Red to a Node.js Script](https://discourse.nodered.org/t/passing-data-from-node-red-to-a-node-js-script/73763)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 6\
**Last updated:** [25 January 2023 18:05 UTC](https://discourse.nodered.org/t/passing-data-from-node-red-to-a-node-js-script/73763 "2023-01-25T18:05:46Z")

</div>

Hi All, Our Node-Red application is getting rather large and becoming hard to scale. In short, we pull data from a PLC using an OPC database, parse them out, and then send them do a cloud platform and have been slowly i…

---

## [adminAuth question for multiple installs using same hash-pw string](https://discourse.nodered.org/t/adminauth-question-for-multiple-installs-using-same-hash-pw-string/74184)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 1\
**Last updated:** [25 January 2023 18:05 UTC](https://discourse.nodered.org/t/adminauth-question-for-multiple-installs-using-same-hash-pw-string/74184 "2023-01-25T18:05:17Z")

</div>

Dear Sirs: I am loading different machines in Windows 10 with Node-RED, and most likely running not the same version of Node-RED (worst case scenario). If I use my desktop Windows 10 to "hash-pw" and get this code for …

---

## [Enhancement: add option to http in node to ignore httpNodeMiddleware](https://discourse.nodered.org/t/enhancement-add-option-to-http-in-node-to-ignore-httpnodemiddleware/74052)

<div class="topic-metadata">

**Author:** [@NetHans](https://discourse.nodered.org/u/NetHans)\
**Replies:** 8\
**Last updated:** [25 January 2023 17:03 UTC](https://discourse.nodered.org/t/enhancement-add-option-to-http-in-node-to-ignore-httpnodemiddleware/74052 "2023-01-25T17:03:06Z")

</div>

hi, I have built some REST APIs with the node HTTP IN which are authorized using JWT. For the authorization I use a separate node until now. I would like to switch to a central check with the function httpNodeMiddleware.…

---

## [SQL data return array data types? MSSQL Node](https://discourse.nodered.org/t/sql-data-return-array-data-types-mssql-node/72157)

<div class="topic-metadata">

**Author:** [@martinav](https://discourse.nodered.org/u/martinav)\
**Replies:** 16\
**Last updated:** [25 January 2023 15:14 UTC](https://discourse.nodered.org/t/sql-data-return-array-data-types-mssql-node/72157 "2023-01-25T15:14:21Z")

</div>

I have successfully accessed a table from an MSSQL node, but the data my query returns is not coming importing into an array of proper datatype. The VR1148 data fails because its not an integer? Well, how do I initi…

---

## [Multiline RED.notify?](https://discourse.nodered.org/t/multiline-red-notify/74146)

<div class="topic-metadata">

**Author:** [@chris.willing](https://discourse.nodered.org/u/chris.willing)\
**Replies:** 2\
**Last updated:** [25 January 2023 14:49 UTC](https://discourse.nodered.org/t/multiline-red-notify/74146 "2023-01-25T14:49:25Z")

</div>

In oneditsave, I use RED.notify to warn if the node has been misconfigured in a particular way. It works fine but I'd like to spread the message across two lines. Is that possible? Thanks, chris

---

## [Worldmap marker icon alignment](https://discourse.nodered.org/t/worldmap-marker-icon-alignment/74156)

<div class="topic-metadata">

**Author:** [@rmwiseman](https://discourse.nodered.org/u/rmwiseman)\
**Replies:** 9\
**Last updated:** [25 January 2023 12:06 UTC](https://discourse.nodered.org/t/worldmap-marker-icon-alignment/74156 "2023-01-25T12:06:29Z")

</div>

Built-in markers seems to be aligned so that they point to their location, but is there a way of specifying which part of an icon should be at the precise location of the marker? Some image icons might need to be centre…

---

## [parse part of http request](https://discourse.nodered.org/t/parse-part-of-http-request/74164)

<div class="topic-metadata">

**Author:** [@SinizowN](https://discourse.nodered.org/u/SinizowN)\
**Replies:** 3\
**Last updated:** [25 January 2023 11:59 UTC](https://discourse.nodered.org/t/parse-part-of-http-request/74164 "2023-01-25T11:59:59Z")

</div>

Hello, I receive an HTTP request from a plate reading camera which contains a whole series of information but only the plate number interests me. The path is req.files\[0\].buffer It's give are raw data and when i cl…

---

## [MQTT problems with Node-RED on macOS 13.2](https://discourse.nodered.org/t/mqtt-problems-with-node-red-on-macos-13-2/74126)

<div class="topic-metadata">

**Author:** [@duaw](https://discourse.nodered.org/u/duaw)\
**Replies:** 6\
**Last updated:** [25 January 2023 11:38 UTC](https://discourse.nodered.org/t/mqtt-problems-with-node-red-on-macos-13-2/74126 "2023-01-25T11:38:42Z")

</div>

Dear all! I have an instance of the latest Node-RED Version: v3.0.2 with Node.js Version: v19.4.0 running on my M1 MacBook Pro with Darwin 22.3.0 arm64 LE just to try out things from time to time. It used to work like …

---

## [Send Trigger via Shortcut from iPhone without wifi](https://discourse.nodered.org/t/send-trigger-via-shortcut-from-iphone-without-wifi/73953)

<div class="topic-metadata">

**Author:** [@klopo36](https://discourse.nodered.org/u/klopo36)\
**Replies:** 12\
**Last updated:** [25 January 2023 10:17 UTC](https://discourse.nodered.org/t/send-trigger-via-shortcut-from-iphone-without-wifi/73953 "2023-01-25T10:17:52Z")

</div>

Hello, I want to trigger a flow in node-red just by pressing a shortcut on my iphone. But the problem is that it is supposed to work even without wifi. My hope is that I can somehow manage it with the Telegram Bot. B…

---

## [Subflows within subflows - just asking](https://discourse.nodered.org/t/subflows-within-subflows-just-asking/74147)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [25 January 2023 10:10 UTC](https://discourse.nodered.org/t/subflows-within-subflows-just-asking/74147 "2023-01-25T10:10:43Z")

</div>

I am just thinking and this question came up: Ok, a subflow is a specific grouping of nodes that do something and have been put into a subflow because it is used a lot of times in different places. So is it good practi…

---

## [How to add some element in msg payload object](https://discourse.nodered.org/t/how-to-add-some-element-in-msg-payload-object/74163)

<div class="topic-metadata">

**Author:** [@nit-cyber](https://discourse.nodered.org/u/nit-cyber)\
**Replies:** 0\
**Last updated:** [25 January 2023 09:23 UTC](https://discourse.nodered.org/t/how-to-add-some-element-in-msg-payload-object/74163 "2023-01-25T09:23:42Z")

</div>

In my msg.payload i have id and description but 'a' is not there it is in different payload how to join them and generate csv

---

## [How to compare 2 or 3 input by node inject or numbers](https://discourse.nodered.org/t/how-to-compare-2-or-3-input-by-node-inject-or-numbers/74160)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 4\
**Last updated:** [25 January 2023 09:20 UTC](https://discourse.nodered.org/t/how-to-compare-2-or-3-input-by-node-inject-or-numbers/74160 "2023-01-25T09:20:25Z")

</div>

how to compare 2 or 3 input by node inject or numbers {node red v3.0.2}

---

## [Check if message.status.text exists](https://discourse.nodered.org/t/check-if-message-status-text-exists/74155)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 8\
**Last updated:** [25 January 2023 07:41 UTC](https://discourse.nodered.org/t/check-if-message-status-text-exists/74155 "2023-01-25T07:41:37Z")

</div>

Hi, I am using a status node to check if an exec is running. If the exec is started or killed the status is known. However if the exec has not been started or killed, the message.status.text doesn't exist and then I ge…

---

## [Behavior of the gauge node](https://discourse.nodered.org/t/behavior-of-the-gauge-node/74072)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 14\
**Last updated:** [25 January 2023 07:18 UTC](https://discourse.nodered.org/t/behavior-of-the-gauge-node/74072 "2023-01-25T07:18:38Z")

</div>

The behavior of the gauge node is a bit strange. I am trying to use the gauge node as shown in the next picture. Everything goes well, until the value is 0. Then the {{unit}} value doesn't work anymore as expected. …

---

## [Help with weird messages in the wrong place](https://discourse.nodered.org/t/help-with-weird-messages-in-the-wrong-place/74150)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [25 January 2023 06:55 UTC](https://discourse.nodered.org/t/help-with-weird-messages-in-the-wrong-place/74150 "2023-01-25T06:55:57Z")

</div>

I had the code and so decided to put it in a subflow. Ok: It isn't perfect. (There: I said it.) :wink: But I am not getting what is going on. This is the crux of it, and here's how it is supposed to work: Online…

---

## [Subflows, putting $env variable names into fields of \`switch\` node](https://discourse.nodered.org/t/subflows-putting-env-variable-names-into-fields-of-switch-node/74148)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [25 January 2023 03:11 UTC](https://discourse.nodered.org/t/subflows-putting-env-variable-names-into-fields-of-switch-node/74148 "2023-01-25T03:11:16Z")

</div>

Today's problem: Subflow. $env variable used to make it usable on multiple devices. Because subflows are limited to 1 input, I am putting a switch node just inside the subflow to direct traffic messages as needed. S…

---

## [HTML editor @Totallyinformation mentioned](https://discourse.nodered.org/t/html-editor-totallyinformation-mentioned/74141)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 1\
**Last updated:** [24 January 2023 23:21 UTC](https://discourse.nodered.org/t/html-editor-totallyinformation-mentioned/74141 "2023-01-24T23:21:30Z")

</div>

somewhere in here I read @TotallyInformation was looking at a couple of github editors. By the time I could get back home I am now unable to find the post he mentioned them in. There were two. Any chance someone remember…

---

## [How to check if cred encryption is turned off when using projects?](https://discourse.nodered.org/t/how-to-check-if-cred-encryption-is-turned-off-when-using-projects/74014)

<div class="topic-metadata">

**Author:** [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Replies:** 2\
**Last updated:** [24 January 2023 22:47 UTC](https://discourse.nodered.org/t/how-to-check-if-cred-encryption-is-turned-off-when-using-projects/74014 "2023-01-24T22:47:17Z")

</div>

I am working on a little auth middleware experiment and I want to enforce some settings before enabling the middleware, such as https and cred encryption. When not using projects, I can simply check if RED.settings.cred…

---

## [Send multiple data in a single message](https://discourse.nodered.org/t/send-multiple-data-in-a-single-message/74138)

<div class="topic-metadata">

**Author:** [@fsaavedra](https://discourse.nodered.org/u/fsaavedra)\
**Replies:** 2\
**Last updated:** [24 January 2023 22:38 UTC](https://discourse.nodered.org/t/send-multiple-data-in-a-single-message/74138 "2023-01-24T22:38:02Z")

</div>

Hi everyone!! I hope you are very well! I have the following problem, I am receiving data via modbus in array, but I need the transformed value. The problem is that I am dividing the message into parts to be able to c…

---

## [Send password and username from UI Dashboard to http request](https://discourse.nodered.org/t/send-password-and-username-from-ui-dashboard-to-http-request/74118)

<div class="topic-metadata">

**Author:** [@DAD](https://discourse.nodered.org/u/DAD)\
**Replies:** 2\
**Last updated:** [24 January 2023 22:02 UTC](https://discourse.nodered.org/t/send-password-and-username-from-ui-dashboard-to-http-request/74118 "2023-01-24T22:02:22Z")

</div>

Hi everyone, I have a question. I have a NodeRED flow that goes to a website via http request and does different things there. This website requires login data (username and password). So far I have entered the login dat…

---

## [statusCode 403 from https://www.volvocars.com/uk/support/downloads/maps/spa/europe](https://discourse.nodered.org/t/statuscode-403-from-https-www-volvocars-com-uk-support-downloads-maps-spa-europe/73499)

<div class="topic-metadata">

**Author:** [@acaminiti](https://discourse.nodered.org/u/acaminiti)\
**Replies:** 7\
**Last updated:** [24 January 2023 21:54 UTC](https://discourse.nodered.org/t/statuscode-403-from-https-www-volvocars-com-uk-support-downloads-maps-spa-europe/73499 "2023-01-24T21:54:34Z")

</div>

Hi! I made a flow to check if there is a new version of maps from: At the beginning, flow work as expected. I was able to get the payload from the page and check the new version. But one day, it "stopped working" and …

---

## [Beginner - How to after splitting an array](https://discourse.nodered.org/t/beginner-how-to-after-splitting-an-array/73992)

<div class="topic-metadata">

**Author:** [@IanH1](https://discourse.nodered.org/u/IanH1)\
**Replies:** 12\
**Last updated:** [24 January 2023 20:06 UTC](https://discourse.nodered.org/t/beginner-how-to-after-splitting-an-array/73992 "2023-01-24T20:06:56Z")

</div>

Hi all. Quick background - i have connected a modbus interface to give me 16 digital ins. Its all working and reporting binary true/false in a 0-15 array. I've also managed to use the split node to split it down into se…

---

## [Is it possible to dynamically set length for 'buffer maker' and ' buffer parser'](https://discourse.nodered.org/t/is-it-possible-to-dynamically-set-length-for-buffer-maker-and-buffer-parser/74134)

<div class="topic-metadata">

**Author:** [@Dyslexicbloke](https://discourse.nodered.org/u/Dyslexicbloke)\
**Replies:** 2\
**Last updated:** [24 January 2023 20:03 UTC](https://discourse.nodered.org/t/is-it-possible-to-dynamically-set-length-for-buffer-maker-and-buffer-parser/74134 "2023-01-24T20:03:52Z")

</div>

Hi folks, I am putting together a flow to read and write 32bit floats from/to a PLC using Modbus TCP. To be honest it took mw way longer than it should have to get my head around the buffer manipulation nodes but I hav…

---

## [Locations of node\_modules - global vs. local](https://discourse.nodered.org/t/locations-of-node-modules-global-vs-local/74133)

<div class="topic-metadata">

**Author:** [@xtrailrunner](https://discourse.nodered.org/u/xtrailrunner)\
**Replies:** 1\
**Last updated:** [24 January 2023 19:23 UTC](https://discourse.nodered.org/t/locations-of-node-modules-global-vs-local/74133 "2023-01-24T19:23:36Z")

</div>

I just started to define the first flows and got confused by the different locations of node-red modules. Using Linux Mint I installed nodejs, npm, node-red and some other modules globally. The location of these modules…

---

## [Help with switch node](https://discourse.nodered.org/t/help-with-switch-node/74096)

<div class="topic-metadata">

**Author:** [@hattemp](https://discourse.nodered.org/u/hattemp)\
**Replies:** 5\
**Last updated:** [24 January 2023 18:28 UTC](https://discourse.nodered.org/t/help-with-switch-node/74096 "2023-01-24T18:28:00Z")

</div>

I cannot get a switch node to work with my payload. have ben trying al sort of things but it will not work. I have a reterminal with 4 buttons. it will give payload on the press and the release. I only want to do some…

---

## [ERESOLVE error when trying to remove a contrib node](https://discourse.nodered.org/t/eresolve-error-when-trying-to-remove-a-contrib-node/74074)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 25\
**Last updated:** [24 January 2023 18:00 UTC](https://discourse.nodered.org/t/eresolve-error-when-trying-to-remove-a-contrib-node/74074 "2023-01-24T18:00:29Z")

</div>

Whenever I try to update or remove a contrib node I get a ERESOLVE error that relates to the node... node-red-contrib-ui-mp4frag. I was unable to remove this node, using Manage palette or npm on the command-line, so I …

---

## [Join node remembering more than it should](https://discourse.nodered.org/t/join-node-remembering-more-than-it-should/74119)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 7\
**Last updated:** [24 January 2023 15:29 UTC](https://discourse.nodered.org/t/join-node-remembering-more-than-it-should/74119 "2023-01-24T15:29:40Z")

</div>

Can someone see if this problem with the Join node is just me please? Be careful not to do anything out of order as the problem has a habit of going away and I am not sure what makes it go. Import the flow below and de…

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

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