# Latest

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

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

**Page:** 421

---

## [Locate an element in an array array](https://discourse.nodered.org/t/locate-an-element-in-an-array-array/73547)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 8\
**Last updated:** [12 January 2023 13:56 UTC](https://discourse.nodered.org/t/locate-an-element-in-an-array-array/73547 "2023-01-12T13:56:56Z")

</div>

Hello everyone, I have an array of elements. Each element is an array of elements. \[{"id":"4fc7389b1ee3ce61","type":"function","z":"22872ad18901ecfc","name":"find element","func":"\\n// recupere le msg.payload : array…

---

## [Writing 1 to Mitsubishi PLC results in 256 being written](https://discourse.nodered.org/t/writing-1-to-mitsubishi-plc-results-in-256-being-written/73010)

<div class="topic-metadata">

**Author:** [@Bao](https://discourse.nodered.org/u/Bao)\
**Replies:** 13\
**Last updated:** [12 January 2023 13:45 UTC](https://discourse.nodered.org/t/writing-1-to-mitsubishi-plc-results-in-256-being-written/73010 "2023-01-12T13:45:39Z")

</div>

Hi team. I connected PLC Mitsubishi Fx 3GC with node red via MC protocol and I write the number to register D200. But when the number is 1 and the D200 is 256. I don't know why. I expect the number D200 similar input. Pl…

---

## [Store different values of the same payload, and then release them in order of arrival in the graph?](https://discourse.nodered.org/t/store-different-values-of-the-same-payload-and-then-release-them-in-order-of-arrival-in-the-graph/73566)

<div class="topic-metadata">

**Author:** [@Erissin\_Industria4.0](https://discourse.nodered.org/u/Erissin_Industria4.0)\
**Replies:** 13\
**Last updated:** [12 January 2023 13:44 UTC](https://discourse.nodered.org/t/store-different-values-of-the-same-payload-and-then-release-them-in-order-of-arrival-in-the-graph/73566 "2023-01-12T13:44:42Z")

</div>

How can I store different values ​​of the same payload, and then release them in order of arrival in the graph?

---

## [Add a value to payload](https://discourse.nodered.org/t/add-a-value-to-payload/73552)

<div class="topic-metadata">

**Author:** [@Rhysgh](https://discourse.nodered.org/u/Rhysgh)\
**Replies:** 7\
**Last updated:** [12 January 2023 13:15 UTC](https://discourse.nodered.org/t/add-a-value-to-payload/73552 "2023-01-12T13:15:33Z")

</div>

Hi, I'm looking to use arithmetic in payloads. For example, take a payload of 5 and put out 10. I have been messing with a change node but cannot seem to find the correct expression.

---

## [Add Credential Files to Configuration Node](https://discourse.nodered.org/t/add-credential-files-to-configuration-node/73310)

<div class="topic-metadata">

**Author:** [@Flachmann](https://discourse.nodered.org/u/Flachmann)\
**Replies:** 10\
**Last updated:** [12 January 2023 12:24 UTC](https://discourse.nodered.org/t/add-credential-files-to-configuration-node/73310 "2023-01-12T12:24:26Z")

</div>

Hi, I developed my first configuration node, following Configuration nodes. Similar to the MQTT node, I need to store TLS certificates. So, in the mask it is e.g. \<input type="file" id="node-config-input-rootCrt"\> An…

---

## [Node red connection to remote mysql](https://discourse.nodered.org/t/node-red-connection-to-remote-mysql/73582)

<div class="topic-metadata">

**Author:** [@sahar](https://discourse.nodered.org/u/sahar)\
**Replies:** 6\
**Last updated:** [12 January 2023 12:22 UTC](https://discourse.nodered.org/t/node-red-connection-to-remote-mysql/73582 "2023-01-12T12:22:53Z")

</div>

Hi , I am using node red at my windows 10 , and my database is located at different server with www.lifeandb.com domain ,now I try to connect to that DB with MySQL node with my db. information to send sensors data , bu…

---

## [Can you ignore flow-manager-nodes-order.json in .gitignore?](https://discourse.nodered.org/t/can-you-ignore-flow-manager-nodes-order-json-in-gitignore/73572)

<div class="topic-metadata">

**Author:** [@watadarkstar](https://discourse.nodered.org/u/watadarkstar)\
**Replies:** 1\
**Last updated:** [12 January 2023 09:46 UTC](https://discourse.nodered.org/t/can-you-ignore-flow-manager-nodes-order-json-in-gitignore/73572 "2023-01-12T09:46:58Z")

</div>

Hi, We are using node-red-contrib-flow-manager to split up our flow to make version handling of the flows more manageable. However the file "flow-manager-nodes-order.json" generated by the library just contain an array…

---

## [How to rebuild array](https://discourse.nodered.org/t/how-to-rebuild-array/73556)

<div class="topic-metadata">

**Author:** [@ritech](https://discourse.nodered.org/u/ritech)\
**Replies:** 7\
**Last updated:** [12 January 2023 09:26 UTC](https://discourse.nodered.org/t/how-to-rebuild-array/73556 "2023-01-12T09:26:04Z")

</div>

original \[ { "deviceuid": "704F08017964", "zoneNum": 0, "historyMusic": { "isLocal": false, "localPath": "", "singerId": "", "musicId": "699345…

---

## [MQTT in randomly disconnect](https://discourse.nodered.org/t/mqtt-in-randomly-disconnect/72574)

<div class="topic-metadata">

**Author:** [@Sets](https://discourse.nodered.org/u/Sets)\
**Replies:** 30\
**Last updated:** [12 January 2023 07:25 UTC](https://discourse.nodered.org/t/mqtt-in-randomly-disconnect/72574 "2023-01-12T07:25:46Z")

</div>

Hi, I have recently came across an issue with the MQTT nodes on node Red. The node red server is set up on an AWS server, since 2 months I have a problem that MQTT node every now and then (once every 4 days, every 5 d…

---

## [UI\_numeric node](https://discourse.nodered.org/t/ui-numeric-node/73554)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 8\
**Last updated:** [12 January 2023 03:26 UTC](https://discourse.nodered.org/t/ui-numeric-node/73554 "2023-01-12T03:26:33Z")

</div>

Hi! I need a dashboard number cycler, exactly like the UI\_numeric node; running into the following issue. The node needs to send a default value (1) whenever its input is triggered in the flow - so I have switch node …

---

## [Populate MQTT devices with buttons on NR/ui pages](https://discourse.nodered.org/t/populate-mqtt-devices-with-buttons-on-nr-ui-pages/73356)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 3\
**Last updated:** [12 January 2023 00:11 UTC](https://discourse.nodered.org/t/populate-mqtt-devices-with-buttons-on-nr-ui-pages/73356 "2023-01-12T00:11:07Z")

</div>

I am just starting with node-Red/MQTT to implement an installation with Tasmota devices (currently only switches) as "home automation". I want a node-Red project that detects the active Tasmota/MQTT devices and presents…

---

## [Run node-red with multiple instances](https://discourse.nodered.org/t/run-node-red-with-multiple-instances/73533)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 0\
**Last updated:** [11 January 2023 12:26 UTC](https://discourse.nodered.org/t/run-node-red-with-multiple-instances/73533 "2023-01-11T12:26:33Z")

</div>

To run the NR Runtime for a specific "Project" and to further work on another project with the NR Editor, I found Steves instruction at Installing and Starting Node-Red - Steves Node-Red Guide with node-red -p 1881 -u u…

---

## [My (new) approach to managing state (encapsulation using groups)](https://discourse.nodered.org/t/my-new-approach-to-managing-state-encapsulation-using-groups/73532)

<div class="topic-metadata">

**Author:** [@prof7bit](https://discourse.nodered.org/u/prof7bit)\
**Replies:** 8\
**Last updated:** [11 January 2023 20:44 UTC](https://discourse.nodered.org/t/my-new-approach-to-managing-state-encapsulation-using-groups/73532 "2023-01-11T20:44:34Z")

</div>

I am using Node-RED exclusively for home automation, specifically as an add-on to Home Assistant. In this use case I am not so much dealing with complex contents of messages and their transformation, but rather with the…

---

## [Generating an HTML webpage at the click of a button](https://discourse.nodered.org/t/generating-an-html-webpage-at-the-click-of-a-button/72884)

<div class="topic-metadata">

**Author:** [@jin454](https://discourse.nodered.org/u/jin454)\
**Replies:** 3\
**Last updated:** [11 January 2023 22:04 UTC](https://discourse.nodered.org/t/generating-an-html-webpage-at-the-click-of-a-button/72884 "2023-01-11T22:04:12Z")

</div>

Hi. Is there a way to generate a new webpage from the HTML sent in a message when a button is clicked on the dashboard and displayed in the browser? Button click -\> new page/tab in browser with custom HTML code. I kno…

---

## [Convert mqtt temp to post](https://discourse.nodered.org/t/convert-mqtt-temp-to-post/73562)

<div class="topic-metadata">

**Author:** [@montyfert](https://discourse.nodered.org/u/montyfert)\
**Replies:** 2\
**Last updated:** [11 January 2023 21:08 UTC](https://discourse.nodered.org/t/convert-mqtt-temp-to-post/73562 "2023-01-11T21:08:10Z")

</div>

i have an mqtt temperature sensor coming into node red and i want it to send the temperature out every 10 minutes with Eg- http://192.168.0.93/cm?cmnd=DisplayText 15°C but for the life of me cannot figure it out any …

---

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

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 4\
**Last updated:** [11 January 2023 18:56 UTC](https://discourse.nodered.org/t/help-with-switch-node-expression/73145 "2023-01-11T18:56:20Z")

</div>

I have a property that is a string. I only want to let the message thorugh the switch node if the number after the second dash - is 1. A string that would pass looks like this: PP-12345-1 A string that would not pass …

---

## [Reaching a Linked Docker Container from NR](https://discourse.nodered.org/t/reaching-a-linked-docker-container-from-nr/73548)

<div class="topic-metadata">

**Author:** [@guillad](https://discourse.nodered.org/u/guillad)\
**Replies:** 0\
**Last updated:** [11 January 2023 16:36 UTC](https://discourse.nodered.org/t/reaching-a-linked-docker-container-from-nr/73548 "2023-01-11T16:36:44Z")

</div>

Hi all, I'm following the Linking Containers tutorial to link NR with another container, within the docker runtime. It partially works, a new bridge is created, called simply bridge docker network create bridge docker …

---

## [Directory structure for flows](https://discourse.nodered.org/t/directory-structure-for-flows/73504)

<div class="topic-metadata">

**Author:** [@ryanlynnhorlacher](https://discourse.nodered.org/u/ryanlynnhorlacher)\
**Replies:** 4\
**Last updated:** [11 January 2023 16:35 UTC](https://discourse.nodered.org/t/directory-structure-for-flows/73504 "2023-01-11T16:35:59Z")

</div>

I'm beginning a project in which I expect to have many flows. I have not been able to find an option to organize flows in a directory-like structure for easier organization. Is there a reason this hasn't been attempted…

---

## [SQL procedure outputs columns in totally different order](https://discourse.nodered.org/t/sql-procedure-outputs-columns-in-totally-different-order/73540)

<div class="topic-metadata">

**Author:** [@milner236](https://discourse.nodered.org/u/milner236)\
**Replies:** 1\
**Last updated:** [11 January 2023 15:18 UTC](https://discourse.nodered.org/t/sql-procedure-outputs-columns-in-totally-different-order/73540 "2023-01-11T15:18:10Z")

</div>

Hello everyone, I have a procedure in SQL that outputs a table that includes columns of different types. When I run it, I receive a perfectly normal output. However, when I run the same exact procedure with node-red u…

---

## [Siemens 1200 plc to node red (TCP)](https://discourse.nodered.org/t/siemens-1200-plc-to-node-red-tcp/71949)

<div class="topic-metadata">

**Author:** [@htsimp](https://discourse.nodered.org/u/htsimp)\
**Replies:** 8\
**Last updated:** [11 January 2023 14:24 UTC](https://discourse.nodered.org/t/siemens-1200-plc-to-node-red-tcp/71949 "2023-01-11T14:24:13Z")

</div>

I am trying to communicate with a Siemens 1212 PLC using the open TCP blocks. On the node red side I have a TCP in (Port 2000) tied to a debug node. Additionally I have an inject tied to the TCP out node on port 2001. O…

---

## [Send payload with notify](https://discourse.nodered.org/t/send-payload-with-notify/73523)

<div class="topic-metadata">

**Author:** [@kroonp](https://discourse.nodered.org/u/kroonp)\
**Replies:** 9\
**Last updated:** [11 January 2023 14:03 UTC](https://discourse.nodered.org/t/send-payload-with-notify/73523 "2023-01-11T14:03:26Z")

</div>

I have a inject node with the numeric value 40. In notify I want to send the payload from the inject node. ''' { "message":"test"+ {{msg.payload}},"title":"10.Test" } ''' Can you help me with the correct syntax. …

---

## [PID regulator problem](https://discourse.nodered.org/t/pid-regulator-problem/70228)

<div class="topic-metadata">

**Author:** [@Leopoll](https://discourse.nodered.org/u/Leopoll)\
**Replies:** 13\
**Last updated:** [11 January 2023 13:24 UTC](https://discourse.nodered.org/t/pid-regulator-problem/70228 "2023-01-11T13:24:44Z")

</div>

I am trying to use a PID node. Node-red-node-pidcontol works weird. If you change the setpoint using msg.setpoint, then although the value on the dashboard changes, but in fact the PID works with the previous setpoint. …

---

## [I can't access the Node Red dashboard](https://discourse.nodered.org/t/i-cant-access-the-node-red-dashboard/73518)

<div class="topic-metadata">

**Author:** [@Mervy32](https://discourse.nodered.org/u/Mervy32)\
**Replies:** 8\
**Last updated:** [11 January 2023 12:00 UTC](https://discourse.nodered.org/t/i-cant-access-the-node-red-dashboard/73518 "2023-01-11T12:00:17Z")

</div>

Hi, I am new to Node Red. I am currently using IIS URL rewrite to rewrite "localhost:1880" to "domain. com". I am able to access the flow editor with "domain. com". However, I am unable to access the dashboard using "d…

---

## [Data Logging In PC](https://discourse.nodered.org/t/data-logging-in-pc/73441)

<div class="topic-metadata">

**Author:** [@ganeshiac](https://discourse.nodered.org/u/ganeshiac)\
**Replies:** 6\
**Last updated:** [11 January 2023 11:35 UTC](https://discourse.nodered.org/t/data-logging-in-pc/73441 "2023-01-11T11:35:56Z")

</div>

Hi Everyone, I need clarification about how to logs Data in .csv file format in Local Computer or Laptop. Is there any work flow (Function Flow) available, can you explained briefly or share any video. Like file path …

---

## [Lines over a picture (edit picture) cont](https://discourse.nodered.org/t/lines-over-a-picture-edit-picture-cont/73500)

<div class="topic-metadata">

**Author:** [@magnusso](https://discourse.nodered.org/u/magnusso)\
**Replies:** 3\
**Last updated:** [11 January 2023 11:23 UTC](https://discourse.nodered.org/t/lines-over-a-picture-edit-picture-cont/73500 "2023-01-11T11:23:52Z")

</div>

As a continuation to https://discourse.nodered.org/t/lines-over-a-picture-edit-picture/32567, in node-red-contrib-image-tools is there some straightforward way to draw a diagonal line from a point x1,y1 to x2, y2?

---

## [Shelly TRV & Boiler Control](https://discourse.nodered.org/t/shelly-trv-boiler-control/73290)

<div class="topic-metadata">

**Author:** [@BouldBadger](https://discourse.nodered.org/u/BouldBadger)\
**Replies:** 17\
**Last updated:** [11 January 2023 11:12 UTC](https://discourse.nodered.org/t/shelly-trv-boiler-control/73290 "2023-01-11T11:12:12Z")

</div>

Hi all, Is there anyone using node red to control their heating using shelly TRVs? I have a sheely relay controlling the boiler. I have it working kind of but I need to refine my flow as it's not working well and would …

---

## [Retaining the options of select list after reopening of editor](https://discourse.nodered.org/t/retaining-the-options-of-select-list-after-reopening-of-editor/73524)

<div class="topic-metadata">

**Author:** [@syedhannan](https://discourse.nodered.org/u/syedhannan)\
**Replies:** 4\
**Last updated:** [11 January 2023 10:59 UTC](https://discourse.nodered.org/t/retaining-the-options-of-select-list-after-reopening-of-editor/73524 "2023-01-11T10:59:46Z")

</div>

In my custom node editor I am fetching a list of files from FTP server and using typedInput select tag for displaying the same. Once I select a value and then close the editor and then reopen it then I don't get the …

---

## [Connecting Gigabit Ethernet Camera to node Red!](https://discourse.nodered.org/t/connecting-gigabit-ethernet-camera-to-node-red/73516)

<div class="topic-metadata">

**Author:** [@ingroth](https://discourse.nodered.org/u/ingroth)\
**Replies:** 2\
**Last updated:** [11 January 2023 10:43 UTC](https://discourse.nodered.org/t/connecting-gigabit-ethernet-camera-to-node-red/73516 "2023-01-11T10:43:41Z")

</div>

Hello everyone, i am trying to connect a Gigabit Ethernet Camera from Basler to Node Red. The Camera model is a: Basler a2A1920-51gcBAS GigE Vision Kamera ace2 Does anyone have an idea how to connect it to node red? T…

---

## [JSONata: Using the result of an Object Function to reference a Message Property in a Change Node](https://discourse.nodered.org/t/jsonata-using-the-result-of-an-object-function-to-reference-a-message-property-in-a-change-node/73505)

<div class="topic-metadata">

**Author:** [@simon.ingham](https://discourse.nodered.org/u/simon.ingham)\
**Replies:** 5\
**Last updated:** [11 January 2023 10:16 UTC](https://discourse.nodered.org/t/jsonata-using-the-result-of-an-object-function-to-reference-a-message-property-in-a-change-node/73505 "2023-01-11T10:16:49Z")

</div>

Hello all, I'm new to Node-RED and have been struggling with using JSONata to set nested object properties with the Change Node. I have the following scenario where I need to access a particular property's value in a n…

---

## [Problem with the use of the "switch" node](https://discourse.nodered.org/t/problem-with-the-use-of-the-switch-node/73490)

<div class="topic-metadata">

**Author:** [@Acii](https://discourse.nodered.org/u/Acii)\
**Replies:** 16\
**Last updated:** [11 January 2023 09:50 UTC](https://discourse.nodered.org/t/problem-with-the-use-of-the-switch-node/73490 "2023-01-11T09:50:25Z")

</div>

I have a little problem with the "swicth" node, I think I don't quite understand how to use it, my payload\["1"\] is an array of strings so for me the "swicth" node I pasted above should check if the array contains th…

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

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