# Latest

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

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

**Page:** 344

---

## [Convert Array into JSON](https://discourse.nodered.org/t/convert-array-into-json/78599)

<div class="topic-metadata">

**Author:** [@allienka](https://discourse.nodered.org/u/allienka)\
**Replies:** 4\
**Last updated:** [22 May 2023 09:22 UTC](https://discourse.nodered.org/t/convert-array-into-json/78599 "2023-05-22T09:22:39Z")

</div>

Hi, Im getting data from html page and need to convert the array into Json to get it into cloud. I am using the JSON node, but the result doesnt look like Json to me, also the data is not in the cloud. Could anybody h…

---

## [How to read the stack trace of an uncaught exception in a function node](https://discourse.nodered.org/t/how-to-read-the-stack-trace-of-an-uncaught-exception-in-a-function-node/78594)

<div class="topic-metadata">

**Author:** [@haph-vi](https://discourse.nodered.org/u/haph-vi)\
**Replies:** 3\
**Last updated:** [22 May 2023 08:53 UTC](https://discourse.nodered.org/t/how-to-read-the-stack-trace-of-an-uncaught-exception-in-a-function-node/78594 "2023-05-22T08:53:55Z")

</div>

Hello, I have a function node which throws an error from time to time. But I can't pin it down where it comes from. This is the stack trace: 22 May 07:53:25 - \[error\] TypeError: Cannot read property '0' of undefined a…

---

## [Dropdown + password popup](https://discourse.nodered.org/t/dropdown-password-popup/78595)

<div class="topic-metadata">

**Author:** [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)\
**Replies:** 0\
**Last updated:** [22 May 2023 07:36 UTC](https://discourse.nodered.org/t/dropdown-password-popup/78595 "2023-05-22T07:36:57Z")

</div>

I am trying to accomplish the following task: I have a dropdown menu, and when I make changes to it, I want a popup to appear asking for a hardcoded password. Only if I enter the correct password, the msg.payload should …

---

## [IIS proxy: username in Node-RED](https://discourse.nodered.org/t/iis-proxy-username-in-node-red/77514)

<div class="topic-metadata">

**Author:** [@DenW](https://discourse.nodered.org/u/DenW)\
**Replies:** 8\
**Last updated:** [22 May 2023 08:23 UTC](https://discourse.nodered.org/t/iis-proxy-username-in-node-red/77514 "2023-05-22T08:23:21Z")

</div>

Hi, I am using an IIS proxy server with Windows Authentication to enable access to my Node-RED Dashboard UI for a defined AD user group. While this in itself works perfectly, I would like to know which AD user is logged…

---

## [Show Messages in Delay Node](https://discourse.nodered.org/t/show-messages-in-delay-node/78597)

<div class="topic-metadata">

**Author:** [@JHelm](https://discourse.nodered.org/u/JHelm)\
**Replies:** 1\
**Last updated:** [22 May 2023 07:58 UTC](https://discourse.nodered.org/t/show-messages-in-delay-node/78597 "2023-05-22T07:58:37Z")

</div>

Hey i want to know, if it's possible to show the messages currently waiting in a delay node (maybe there is a method without flushing them). Thank you for your help.

---

## [Conditionals and the correct format for JSON String](https://discourse.nodered.org/t/conditionals-and-the-correct-format-for-json-string/78589)

<div class="topic-metadata">

**Author:** [@SomersetSmartHome](https://discourse.nodered.org/u/SomersetSmartHome)\
**Replies:** 10\
**Last updated:** [21 May 2023 22:05 UTC](https://discourse.nodered.org/t/conditionals-and-the-correct-format-for-json-string/78589 "2023-05-21T22:05:23Z")

</div>

Hi. Node Red newbie here, just installed and running under Home Assistant currently. I have an input which gives me a value of 0-100. I want to send this to a Tuya lamp as the brightness. If the output is '0', I need …

---

## [Documentation for each node?](https://discourse.nodered.org/t/documentation-for-each-node/78559)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 6\
**Last updated:** [21 May 2023 21:35 UTC](https://discourse.nodered.org/t/documentation-for-each-node/78559 "2023-05-21T21:35:36Z")

</div>

Where can you find the "Detailed" documentation of the different Nodes that are available? Here is an example: I'm using this "msg.result.push" property (because someone suggested it to me) but I can't find any document…

---

## [Compressing for installation via upload](https://discourse.nodered.org/t/compressing-for-installation-via-upload/78585)

<div class="topic-metadata">

**Author:** [@ethereotek](https://discourse.nodered.org/u/ethereotek)\
**Replies:** 2\
**Last updated:** [21 May 2023 19:12 UTC](https://discourse.nodered.org/t/compressing-for-installation-via-upload/78585 "2023-05-21T19:12:45Z")

</div>

Hello all, I've got a couple utility nodes that I want to make available to upload as a tar instead of going the npm route. I've installed a couple packages this way, but when I try to compress the directories for my ow…

---

## [Using an HTML form in a Dashboard Template node](https://discourse.nodered.org/t/using-an-html-form-in-a-dashboard-template-node/114)

<div class="topic-metadata">

**Author:** [@Grendel61](https://discourse.nodered.org/u/Grendel61)\
**Replies:** 6\
**Last updated:** [1 June 2018 05:20 UTC](https://discourse.nodered.org/t/using-an-html-form-in-a-dashboard-template-node/114 "2018-06-01T05:20:23Z")

</div>

Hi, I’ve got an application where I need to pre-load a form so I can use it to edit existing data, or create new data. The Form node currently doesn’t provide an input. As a result, my approach was to build an HTML for…

---

## [How to sum the quantity of binary inputs](https://discourse.nodered.org/t/how-to-sum-the-quantity-of-binary-inputs/78573)

<div class="topic-metadata">

**Author:** [@Momo1](https://discourse.nodered.org/u/Momo1)\
**Replies:** 10\
**Last updated:** [21 May 2023 13:10 UTC](https://discourse.nodered.org/t/how-to-sum-the-quantity-of-binary-inputs/78573 "2023-05-21T13:10:26Z")

</div>

Hi there, I would like to analyze, how many of the inputs are true and generate the quantity of the true ones. Example: Binary A Binary B Binary C If A and B have the Status "True", the Status should be "2. If only…

---

## [Problem updating UI-Table](https://discourse.nodered.org/t/problem-updating-ui-table/78565)

<div class="topic-metadata">

**Author:** [@88bit](https://discourse.nodered.org/u/88bit)\
**Replies:** 1\
**Last updated:** [21 May 2023 09:12 UTC](https://discourse.nodered.org/t/problem-updating-ui-table/78565 "2023-05-21T09:12:04Z")

</div>

Hi, I have unexpected results with the following code in a function node. I have a table node behind this function node, but the table only updates when I refresh the browser, so the data is getting there in the correct …

---

## [Function node Reference Error: msg is not defined](https://discourse.nodered.org/t/function-node-reference-error-msg-is-not-defined/78524)

<div class="topic-metadata">

**Author:** [@anoueiry](https://discourse.nodered.org/u/anoueiry)\
**Replies:** 7\
**Last updated:** [20 May 2023 23:32 UTC](https://discourse.nodered.org/t/function-node-reference-error-msg-is-not-defined/78524 "2023-05-20T23:32:53Z")

</div>

i am setting up an automation in node red for home assistant. i have a 20 amp circuit with three energy-monitoring smart plugs having three devices plugged into them. the 20 amps are not enough to run all three devices…

---

## [Store and extract payload and ON value](https://discourse.nodered.org/t/store-and-extract-payload-and-on-value/78560)

<div class="topic-metadata">

**Author:** [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Replies:** 3\
**Last updated:** [20 May 2023 20:48 UTC](https://discourse.nodered.org/t/store-and-extract-payload-and-on-value/78560 "2023-05-20T20:48:24Z")

</div>

\[ { "id": "70e51d08eb1bde9c", "type": "change", "z": "7b83b20cb732bf2a", "name": "set memory", "rules": \[ { "t": "set", "p": "#:(fil…

---

## [Can someone help me with a json function](https://discourse.nodered.org/t/can-someone-help-me-with-a-json-function/78480)

<div class="topic-metadata">

**Author:** [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Replies:** 3\
**Last updated:** [20 May 2023 20:15 UTC](https://discourse.nodered.org/t/can-someone-help-me-with-a-json-function/78480 "2023-05-20T20:15:06Z")

</div>

can someone help me with a json function to delete the button and potentiometer positioning marker in the wordmap node?

---

## [How to get SNMP packets to my node-red docker image?](https://discourse.nodered.org/t/how-to-get-snmp-packets-to-my-node-red-docker-image/78561)

<div class="topic-metadata">

**Author:** [@AndKe](https://discourse.nodered.org/u/AndKe)\
**Replies:** 5\
**Last updated:** [20 May 2023 19:33 UTC](https://discourse.nodered.org/t/how-to-get-snmp-packets-to-my-node-red-docker-image/78561 "2023-05-20T19:33:09Z")

</div>

A UPS is sending traps to the host of the node-red (in a docker). I have installed node-red-node-snmp (node) - Node-RED -how can I get the SNMP packets to the docker image? my iptables config: $ sudo iptables -L # Wa…

---

## [SqlLite and BarGraph](https://discourse.nodered.org/t/sqllite-and-bargraph/78491)

<div class="topic-metadata">

**Author:** [@Spectre68](https://discourse.nodered.org/u/Spectre68)\
**Replies:** 8\
**Last updated:** [20 May 2023 15:03 UTC](https://discourse.nodered.org/t/sqllite-and-bargraph/78491 "2023-05-20T15:03:45Z")

</div>

Hi, I'm new to this forum. I have also been using node red for some time now, I'm trying to display the consumption and production values ​​(by month) in a bar graph. Selected data from a SqlLite DB. I can extract and co…

---

## [DHT Sensor Values not populating Gauge](https://discourse.nodered.org/t/dht-sensor-values-not-populating-gauge/78551)

<div class="topic-metadata">

**Author:** [@TangoWhiskey](https://discourse.nodered.org/u/TangoWhiskey)\
**Replies:** 3\
**Last updated:** [20 May 2023 11:17 UTC](https://discourse.nodered.org/t/dht-sensor-values-not-populating-gauge/78551 "2023-05-20T11:17:26Z")

</div>

Working on my first project with Node-Red. I am trying to show Temperature and Humidity values from my DHT sensor onto the Node-Red Dashboard. Data populates the serial monitor of my ESP32. The MQTT node shows the connec…

---

## [Formatting issues with Javascript](https://discourse.nodered.org/t/formatting-issues-with-javascript/78540)

<div class="topic-metadata">

**Author:** [@Kushman](https://discourse.nodered.org/u/Kushman)\
**Replies:** 5\
**Last updated:** [20 May 2023 01:50 UTC](https://discourse.nodered.org/t/formatting-issues-with-javascript/78540 "2023-05-20T01:50:43Z")

</div>

Hello friends, I'm using WeatherAPI to reach out and retrieve some data from a specific location. Amongst this data being retrieved, is wind.degree. The value for wind.degree is returned as a integer from 1-360. I'm t…

---

## [SDA SCL 5V GND different power supply; errors](https://discourse.nodered.org/t/sda-scl-5v-gnd-different-power-supply-errors/78541)

<div class="topic-metadata">

**Author:** [@WBr](https://discourse.nodered.org/u/WBr)\
**Replies:** 21\
**Last updated:** [20 May 2023 01:21 UTC](https://discourse.nodered.org/t/sda-scl-5v-gnd-different-power-supply-errors/78541 "2023-05-20T01:21:28Z")

</div>

I am having an issue regarding getting sensor data in node red i am using an MPRLS sensor. arduino nano and pi pi is getting 5V from a strong power supply (not the normal netconnector) i can get the MPRLS to work if i…

---

## [Need help with random output on random timer within dynamically set ranges](https://discourse.nodered.org/t/need-help-with-random-output-on-random-timer-within-dynamically-set-ranges/78550)

<div class="topic-metadata">

**Author:** [@omono35](https://discourse.nodered.org/u/omono35)\
**Replies:** 8\
**Last updated:** [19 May 2023 20:28 UTC](https://discourse.nodered.org/t/need-help-with-random-output-on-random-timer-within-dynamically-set-ranges/78550 "2023-05-19T20:28:15Z")

</div>

I have tried various nodes and flows with no luck and I am hitting a wall on ideas on how to do this. My goal is to have an end output that is randomly between 0 and 100. However, I would like that to be able to be dyn…

---

## [Telegram Question - Changing editMessageText to a photo?](https://discourse.nodered.org/t/telegram-question-changing-editmessagetext-to-a-photo/78549)

<div class="topic-metadata">

**Author:** [@fulldad](https://discourse.nodered.org/u/fulldad)\
**Replies:** 0\
**Last updated:** [19 May 2023 17:14 UTC](https://discourse.nodered.org/t/telegram-question-changing-editmessagetext-to-a-photo/78549 "2023-05-19T17:14:58Z")

</div>

Seems like something easy but i just can't figure it out. I have a message for inline keyboard. All i want to do is add a photo into the message. Anyone able to help? Appreciate it // This is the message id of the …

---

## [Is something update when load page show Vue is not defined?](https://discourse.nodered.org/t/is-something-update-when-load-page-show-vue-is-not-defined/78525)

<div class="topic-metadata">

**Author:** [@Loknong](https://discourse.nodered.org/u/Loknong)\
**Replies:** 2\
**Last updated:** [19 May 2023 16:46 UTC](https://discourse.nodered.org/t/is-something-update-when-load-page-show-vue-is-not-defined/78525 "2023-05-19T16:46:23Z")

</div>

Hello, My project is work properly until yesterday (Start from December 2022). The Customer said cant login and if F12 in console show Vue is not defined. Is something update or not I dont know what I need to check, I do…

---

## [How to test flows and subflows](https://discourse.nodered.org/t/how-to-test-flows-and-subflows/78545)

<div class="topic-metadata">

**Author:** [@mradvanyi](https://discourse.nodered.org/u/mradvanyi)\
**Replies:** 0\
**Last updated:** [19 May 2023 14:44 UTC](https://discourse.nodered.org/t/how-to-test-flows-and-subflows/78545 "2023-05-19T14:44:35Z")

</div>

I would like to unit test my Node-RED implementation, specifically Flows and the Subflows in the flows. I'm looking for a non-UI-based Junit test stile testing system, which I can automate. I already tested node-red-no…

---

## [Load Balancing Node-Red](https://discourse.nodered.org/t/load-balancing-node-red/78543)

<div class="topic-metadata">

**Author:** [@HarryPottar](https://discourse.nodered.org/u/HarryPottar)\
**Replies:** 0\
**Last updated:** [19 May 2023 13:53 UTC](https://discourse.nodered.org/t/load-balancing-node-red/78543 "2023-05-19T13:53:11Z")

</div>

Hi, I know this topic has been discussed, I have searched and read a lot on the subject. I wanted to get a best practice from collective before we go down any particular route Currently we have node-red running in a pr…

---

## [Calculate how long a relay is activated](https://discourse.nodered.org/t/calculate-how-long-a-relay-is-activated/78532)

<div class="topic-metadata">

**Author:** [@Alabou](https://discourse.nodered.org/u/Alabou)\
**Replies:** 4\
**Last updated:** [19 May 2023 13:23 UTC](https://discourse.nodered.org/t/calculate-how-long-a-relay-is-activated/78532 "2023-05-19T13:23:19Z")

</div>

You could help me with this I try to know how long a contact was activated and in case it reaches two hours a day reset time and not activated until the next day some help like doing thank you

---

## [Critical ! Message is discarded when MQTT out node is in Connection state](https://discourse.nodered.org/t/critical-message-is-discarded-when-mqtt-out-node-is-in-connection-state/78539)

<div class="topic-metadata">

**Author:** [@Josh](https://discourse.nodered.org/u/Josh)\
**Replies:** 5\
**Last updated:** [19 May 2023 13:21 UTC](https://discourse.nodered.org/t/critical-message-is-discarded-when-mqtt-out-node-is-in-connection-state/78539 "2023-05-19T13:21:14Z")

</div>

I have a flow like this. Lets take a case. When I press the inject button and MQTT out node is in connecting state where does my timestamp message go? I have a similar case where I should not loose any data. In t…

---

## [Import your own functions into a function node](https://discourse.nodered.org/t/import-your-own-functions-into-a-function-node/78500)

<div class="topic-metadata">

**Author:** [@gylim78](https://discourse.nodered.org/u/gylim78)\
**Replies:** 3\
**Last updated:** [19 May 2023 12:51 UTC](https://discourse.nodered.org/t/import-your-own-functions-into-a-function-node/78500 "2023-05-19T12:51:11Z")

</div>

Hi All, Is there any easy way that I can import my own functions and use them inside a function node? So for example I have a function A that will take in a value do some logic and return a value B. I would like to be …

---

## [Get all nodes in the same flow](https://discourse.nodered.org/t/get-all-nodes-in-the-same-flow/78285)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 2\
**Last updated:** [19 May 2023 11:28 UTC](https://discourse.nodered.org/t/get-all-nodes-in-the-same-flow/78285 "2023-05-19T11:28:49Z")

</div>

How do I find all nodes in the same flow at run time? I found Nick's answer in this post, but with NR 3.0.2, I don't have access to the API RED.nodes.getAllFlowNodes() and the like. 9 May 11:29:19 - \[error\] \[my\_node:bc…

---

## [Any possibility to choose the serial COM port in the dashboard?](https://discourse.nodered.org/t/any-possibility-to-choose-the-serial-com-port-in-the-dashboard/78517)

<div class="topic-metadata">

**Author:** [@JorgeTorres01](https://discourse.nodered.org/u/JorgeTorres01)\
**Replies:** 6\
**Last updated:** [19 May 2023 10:39 UTC](https://discourse.nodered.org/t/any-possibility-to-choose-the-serial-com-port-in-the-dashboard/78517 "2023-05-19T10:39:51Z")

</div>

Hi, Can I choose the serial COM port on the dashboard? I have a dashboard (node-dashboard) that checks an electronic system by serial com (using an FTDI). But if a change the FTDI the COM number change and I need to c…

---

## [Combine multiple Payloads](https://discourse.nodered.org/t/combine-multiple-payloads/78489)

<div class="topic-metadata">

**Author:** [@luuki](https://discourse.nodered.org/u/luuki)\
**Replies:** 10\
**Last updated:** [19 May 2023 10:39 UTC](https://discourse.nodered.org/t/combine-multiple-payloads/78489 "2023-05-19T10:39:29Z")

</div>

Hey Guys, I have about 30 Shelly 3EM sending simultaneus MQTT Messages to my MQTT Broker. I want to combine their measurements into a single payload to hand into InfluxDB but so far I am failing :frowning: The Devices …

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

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