# Latest

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

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

**Page:** 746

---

## [Randomly increase a value](https://discourse.nodered.org/t/randomly-increase-a-value/50268)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 1\
**Last updated:** [27 August 2021 11:28 UTC](https://discourse.nodered.org/t/randomly-increase-a-value/50268 "2021-08-27T11:28:02Z")

</div>

Hello! Is it possible to randomly increase a value from an array and pass it on? I have an array with 150-200 values (number and name) and that he then chooses one at random.

---

## [Deploy vs. restart Node-RED](https://discourse.nodered.org/t/deploy-vs-restart-node-red/50227)

<div class="topic-metadata">

**Author:** [@rko](https://discourse.nodered.org/u/rko)\
**Replies:** 10\
**Last updated:** [27 August 2021 09:19 UTC](https://discourse.nodered.org/t/deploy-vs-restart-node-red/50227 "2021-08-27T09:19:31Z")

</div>

Not sure if this came up before. We have a small problem because a restart of Node-RED does not behave the same way as a deploy when it comes to ui elements. Restart: msg will pass through node-red-dashboard : ui\_slider …

---

## [Help needed with some basic programming](https://discourse.nodered.org/t/help-needed-with-some-basic-programming/50062)

<div class="topic-metadata">

**Author:** [@pa3fbx](https://discourse.nodered.org/u/pa3fbx)\
**Replies:** 5\
**Last updated:** [27 August 2021 07:51 UTC](https://discourse.nodered.org/t/help-needed-with-some-basic-programming/50062 "2021-08-27T07:51:20Z")

</div>

Hi, I am involved in a project witch is growing by the day. Its a control system for a repeater build here locally. I started off on Arduino but very quickly merged to RPI and node-red. I know my way around electronics…

---

## [How to run INSERT SQL query depending upon the result of SELECT query?](https://discourse.nodered.org/t/how-to-run-insert-sql-query-depending-upon-the-result-of-select-query/50200)

<div class="topic-metadata">

**Author:** [@Nirajan](https://discourse.nodered.org/u/Nirajan)\
**Replies:** 4\
**Last updated:** [27 August 2021 07:33 UTC](https://discourse.nodered.org/t/how-to-run-insert-sql-query-depending-upon-the-result-of-select-query/50200 "2021-08-27T07:33:25Z")

</div>

Hello Everyone, Is there a possibility to write more than one query in a function node and execute it on single instance of mysql node?. First, i would like to run a select query and then run an insert query only if the…

---

## [Output and delay until condition](https://discourse.nodered.org/t/output-and-delay-until-condition/50181)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 9\
**Last updated:** [27 August 2021 05:43 UTC](https://discourse.nodered.org/t/output-and-delay-until-condition/50181 "2021-08-27T05:43:42Z")

</div>

Hi guys - looking for help - something I can't get my head around - can anyone help... I've an OPPLE switch which sends "HOLD" as payload then when you let go of the button, sends "RELEASE". I want an NR function that …

---

## [Iconify icon as button icon](https://discourse.nodered.org/t/iconify-icon-as-button-icon/50225)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 7\
**Last updated:** [27 August 2021 04:21 UTC](https://discourse.nodered.org/t/iconify-icon-as-button-icon/50225 "2021-08-27T04:21:07Z")

</div>

I have put \<script src="https://code.iconify.design/1/1.0.7/iconify.min.js"\>\</script\> into head section, but I cannot figure out what to put in the button setup for the icon field to use this - \<span class="iconify" d…

---

## [Send text input and select box values to one payload](https://discourse.nodered.org/t/send-text-input-and-select-box-values-to-one-payload/50196)

<div class="topic-metadata">

**Author:** [@ksy](https://discourse.nodered.org/u/ksy)\
**Replies:** 6\
**Last updated:** [27 August 2021 00:57 UTC](https://discourse.nodered.org/t/send-text-input-and-select-box-values-to-one-payload/50196 "2021-08-27T00:57:26Z")

</div>

Hi, everyone I want to send payload with text input(id : qty) when button is clicked. at first i tried with string input type="button" value="Order Now" ng-click=send({payload:"10"}) it worked so replace string to …

---

## [Unable to save and retrieve value from DropDownList](https://discourse.nodered.org/t/unable-to-save-and-retrieve-value-from-dropdownlist/50238)

<div class="topic-metadata">

**Author:** [@el\_pablo](https://discourse.nodered.org/u/el_pablo)\
**Replies:** 2\
**Last updated:** [26 August 2021 23:12 UTC](https://discourse.nodered.org/t/unable-to-save-and-retrieve-value-from-dropdownlist/50238 "2021-08-26T23:12:23Z")

</div>

Hey guys, I'm new to Node-Red. I can't figure out what I'm doing wrong. I'm trying to save a value in the flow from a drop down node and read the value from the function node. I always get "NOT SELECTED" in the function…

---

## [How to access mulitple payloads from function node?](https://discourse.nodered.org/t/how-to-access-mulitple-payloads-from-function-node/50214)

<div class="topic-metadata">

**Author:** [@markush1](https://discourse.nodered.org/u/markush1)\
**Replies:** 5\
**Last updated:** [26 August 2021 18:30 UTC](https://discourse.nodered.org/t/how-to-access-mulitple-payloads-from-function-node/50214 "2021-08-26T18:30:18Z")

</div>

Hi folks, i read a very interesting thing about storing multiple values in one payload with using a function node. It is described here. But how can i access this multiple values e.g. show it values on a dashboard with…

---

## [Write on modbus node](https://discourse.nodered.org/t/write-on-modbus-node/50223)

<div class="topic-metadata">

**Author:** [@jlqautomacao](https://discourse.nodered.org/u/jlqautomacao)\
**Replies:** 2\
**Last updated:** [26 August 2021 17:55 UTC](https://discourse.nodered.org/t/write-on-modbus-node/50223 "2021-08-26T17:55:44Z")

</div>

Hi, how do i write in modbus node with function 16, 4 bytes? Can someone help me? I'm only able to read the modules, but I can't write.

---

## [Catch editors 'access\_token' from httpAdminMiddleware](https://discourse.nodered.org/t/catch-editors-access-token-from-httpadminmiddleware/50193)

<div class="topic-metadata">

**Author:** [@Daft11](https://discourse.nodered.org/u/Daft11)\
**Replies:** 1\
**Last updated:** [26 August 2021 17:10 UTC](https://discourse.nodered.org/t/catch-editors-access-token-from-httpadminmiddleware/50193 "2021-08-26T17:10:30Z")

</div>

Good day, ladies and gentlemen. Need your expertise. With help of other topics from this forum I managed to configure my adminAuth module. It's working great! I chose as an option to pass access\_token through editor url…

---

## [Iot2040 - opcua error](https://discourse.nodered.org/t/iot2040-opcua-error/50216)

<div class="topic-metadata">

**Author:** [@CaioTech](https://discourse.nodered.org/u/CaioTech)\
**Replies:** 0\
**Last updated:** [26 August 2021 15:08 UTC](https://discourse.nodered.org/t/iot2040-opcua-error/50216 "2021-08-26T15:08:19Z")

</div>

Good afternoon. I have a SIEMENS device ( IOT2040 - 6ES7 647-0AA0-1YA2) I performed its settings according to its manual from page 10 After installing the image on the SD we tried to install the module "node-red-cont…

---

## [Design pattern for restarting a message loop (which should contain only one message at the time) with multiple dynamic delays](https://discourse.nodered.org/t/design-pattern-for-restarting-a-message-loop-which-should-contain-only-one-message-at-the-time-with-multiple-dynamic-delays/49128)

<div class="topic-metadata">

**Author:** [@rko](https://discourse.nodered.org/u/rko)\
**Replies:** 18\
**Last updated:** [26 August 2021 13:25 UTC](https://discourse.nodered.org/t/design-pattern-for-restarting-a-message-loop-which-should-contain-only-one-message-at-the-time-with-multiple-dynamic-delays/49128 "2021-08-26T13:25:51Z")

</div>

We are struggling with this for quite a while now. I found a cool way here by @dceejay (see first example flow below). However, because we are using link in and link out nodes, the messages arrive in wrong order at the d…

---

## [Visual indicator - function node, on Start {tab} not empty](https://discourse.nodered.org/t/visual-indicator-function-node-on-start-tab-not-empty/50201)

<div class="topic-metadata">

**Author:** [@homeplayer](https://discourse.nodered.org/u/homeplayer)\
**Replies:** 0\
**Last updated:** [26 August 2021 10:15 UTC](https://discourse.nodered.org/t/visual-indicator-function-node-on-start-tab-not-empty/50201 "2021-08-26T10:15:38Z")

</div>

I think (hope) that; if "On Start" in function node not empty maybe set it tab color to green/red yellow, Why I sometimes forget I have set instructions in that tab.

---

## [Failing installing node-mcp23017](https://discourse.nodered.org/t/failing-installing-node-mcp23017/20144)

<div class="topic-metadata">

**Author:** [@Vittorio](https://discourse.nodered.org/u/Vittorio)\
**Replies:** 29\
**Last updated:** [26 August 2021 09:51 UTC](https://discourse.nodered.org/t/failing-installing-node-mcp23017/20144 "2021-08-26T09:51:13Z")

</div>

Hello everyone !, I've been trying to install node-red-contrib-mcp23017 on a freshly installed instance of node red, via the suggested script for raspberry pi (3b+) running the latest raspbian. Node.js version is v12.1…

---

## [Upgrading RPi-3B to latest version of Node-RED](https://discourse.nodered.org/t/upgrading-rpi-3b-to-latest-version-of-node-red/50150)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 9\
**Last updated:** [26 August 2021 09:25 UTC](https://discourse.nodered.org/t/upgrading-rpi-3b-to-latest-version-of-node-red/50150 "2021-08-26T09:25:13Z")

</div>

I'm trying to grade a RPi-3B, running Buster, to Node-RED 2.0.5 After the upgrade Node-RED gives loads of error message, I suspect because nodejs is still v8.17.0 I used this bash script. This is a screen-shot of the u…

---

## [Is it possible to run the Node MCP3008 & run spidev Script at the same time?](https://discourse.nodered.org/t/is-it-possible-to-run-the-node-mcp3008-run-spidev-script-at-the-same-time/50184)

<div class="topic-metadata">

**Author:** [@Jeff1](https://discourse.nodered.org/u/Jeff1)\
**Replies:** 1\
**Last updated:** [26 August 2021 09:14 UTC](https://discourse.nodered.org/t/is-it-possible-to-run-the-node-mcp3008-run-spidev-script-at-the-same-time/50184 "2021-08-26T09:14:26Z")

</div>

Hey everyone, I'm running a project on raspy using Node-Red & the externer ADC MCP3008. I used to get the digital values of the Sensors via ADC using the Node "node-red-node-pi-mcp3008". I tried to increase the samplin…

---

## [Connection Timeout Error in node-red-contrib-opcda-client](https://discourse.nodered.org/t/connection-timeout-error-in-node-red-contrib-opcda-client/49918)

<div class="topic-metadata">

**Author:** [@PaFu99](https://discourse.nodered.org/u/PaFu99)\
**Replies:** 8\
**Last updated:** [26 August 2021 05:59 UTC](https://discourse.nodered.org/t/connection-timeout-error-in-node-red-contrib-opcda-client/49918 "2021-08-26T05:59:16Z")

</div>

Hi, everyone The node works locally but does not work over the network and I always get the "Connection Timeout" error. When I used an Ethernet adapter on the server device, it even ejected the device after a few attemp…

---

## [Nexmo SMS Text Structure](https://discourse.nodered.org/t/nexmo-sms-text-structure/50191)

<div class="topic-metadata">

**Author:** [@DrdP](https://discourse.nodered.org/u/DrdP)\
**Replies:** 0\
**Last updated:** [26 August 2021 02:33 UTC](https://discourse.nodered.org/t/nexmo-sms-text-structure/50191 "2021-08-26T02:33:36Z")

</div>

Good Day, I am sending sms to various number with certain messages. Is it possible to have the text display in seperate lines so that i could send a topic with the message below? TIA

---

## [How to use node-red for local development](https://discourse.nodered.org/t/how-to-use-node-red-for-local-development/50107)

<div class="topic-metadata">

**Author:** [@Nathanli](https://discourse.nodered.org/u/Nathanli)\
**Replies:** 2\
**Last updated:** [26 August 2021 01:43 UTC](https://discourse.nodered.org/t/how-to-use-node-red-for-local-development/50107 "2021-08-26T01:43:09Z")

</div>

I want to develop programs with node-red and run them with iss. Leaving aside ibm's bluemix. The node-red environment is configured and can be run, but it can only be saved as a json file. I think the node.js project s…

---

## [Filter JSON Object to show only some messages](https://discourse.nodered.org/t/filter-json-object-to-show-only-some-messages/50182)

<div class="topic-metadata">

**Author:** [@sergiobaiao](https://discourse.nodered.org/u/sergiobaiao)\
**Replies:** 4\
**Last updated:** [26 August 2021 01:37 UTC](https://discourse.nodered.org/t/filter-json-object-to-show-only-some-messages/50182 "2021-08-26T01:37:47Z")

</div>

Hi there, I\`m trying to implement a notification system via Telegram to show notifications from my Ubiquiti Unifi Platform. I've already set the API query to Unifi Controller to query what i want, but it gives me all al…

---

## [Interval node per flow vs. single "driver" interval node](https://discourse.nodered.org/t/interval-node-per-flow-vs-single-driver-interval-node/50190)

<div class="topic-metadata">

**Author:** [@dennishvo](https://discourse.nodered.org/u/dennishvo)\
**Replies:** 1\
**Last updated:** [26 August 2021 00:37 UTC](https://discourse.nodered.org/t/interval-node-per-flow-vs-single-driver-interval-node/50190 "2021-08-26T00:37:49Z")

</div>

I have an application with multiple flows, each driven by it's own interval node that is set to fire every second. Is there a difference between that approach vs linking out from a single interval node to each of the oth…

---

## [UI Builder: How to extend an already included package?](https://discourse.nodered.org/t/ui-builder-how-to-extend-an-already-included-package/50188)

<div class="topic-metadata">

**Author:** [@CreativeWarlock](https://discourse.nodered.org/u/CreativeWarlock)\
**Replies:** 4\
**Last updated:** [25 August 2021 22:50 UTC](https://discourse.nodered.org/t/ui-builder-how-to-extend-an-already-included-package/50188 "2021-08-25T22:50:41Z")

</div>

Good evening, has anyone had the need to extend an already included package with an additional plugin? As an example, I'd like to use a plugin (utc.js) from the dayjs library. In plain JavaScript would be easy to exte…

---

## [Home assistant custom integration](https://discourse.nodered.org/t/home-assistant-custom-integration/50189)

<div class="topic-metadata">

**Author:** [@mrschwarz](https://discourse.nodered.org/u/mrschwarz)\
**Replies:** 0\
**Last updated:** [25 August 2021 22:10 UTC](https://discourse.nodered.org/t/home-assistant-custom-integration/50189 "2021-08-25T22:10:52Z")

</div>

I am new to all of this and I have a very limited understanding. I have a number of devices that I turn on and off with a command line to another linux instance, which I have set up in NR. Status of the same items is det…

---

## [Buienradar - windrichting](https://discourse.nodered.org/t/buienradar-windrichting/49841)

<div class="topic-metadata">

**Author:** [@dick](https://discourse.nodered.org/u/dick)\
**Replies:** 23\
**Last updated:** [25 August 2021 21:09 UTC](https://discourse.nodered.org/t/buienradar-windrichting/49841 "2021-08-25T21:09:26Z")

</div>

buienradar van node-red-contrib-buienradar (node) - Node-RED werkt OK Je kunt de windrichting goed aangeven in graden (0-360) met windrichtingGR. Vraag De windrichting met {{payload.buienradar.windrichting}} heeft …

---

## [Switch not working](https://discourse.nodered.org/t/switch-not-working/50034)

<div class="topic-metadata">

**Author:** [@ndz](https://discourse.nodered.org/u/ndz)\
**Replies:** 14\
**Last updated:** [25 August 2021 19:46 UTC](https://discourse.nodered.org/t/switch-not-working/50034 "2021-08-25T19:46:51Z")

</div>

Hello guys, can someone tell me whats wrong with this switch I am using to create a telegram chatbot? I would send you the nodes but i cant expose my telegram bot token so i will send some prints instead this is my …

---

## [Disable/enable button and checkbox on the Dashboard](https://discourse.nodered.org/t/disable-enable-button-and-checkbox-on-the-dashboard/50162)

<div class="topic-metadata">

**Author:** [@LucasPelu](https://discourse.nodered.org/u/LucasPelu)\
**Replies:** 5\
**Last updated:** [25 August 2021 19:14 UTC](https://discourse.nodered.org/t/disable-enable-button-and-checkbox-on-the-dashboard/50162 "2021-08-25T19:14:42Z")

</div>

Hello, I want to enable the checkbox clicking the Boton 1 and then enable the boton 2 when the checkbox is checked. I was able to achieve that when the checkbox is checked the Boton 2 was enable, but when i did the same…

---

## [Drop down list does not work with latest Firefox browser, version 91.0.2, dated 2021-08-24](https://discourse.nodered.org/t/drop-down-list-does-not-work-with-latest-firefox-browser-version-91-0-2-dated-2021-08-24/50173)

<div class="topic-metadata">

**Author:** [@FireWizard52](https://discourse.nodered.org/u/FireWizard52)\
**Replies:** 2\
**Last updated:** [25 August 2021 19:11 UTC](https://discourse.nodered.org/t/drop-down-list-does-not-work-with-latest-firefox-browser-version-91-0-2-dated-2021-08-24/50173 "2021-08-25T19:11:10Z")

</div>

Hi, Normally I use Firefox in Linux OS to access Node Red. Since the last update to version 91.0.2, yesterday the drop down list, does not function anymore. In Google Chrome it functions okay. Running Node Red, versi…

---

## [Opc da server and opc da client](https://discourse.nodered.org/t/opc-da-server-and-opc-da-client/50174)

<div class="topic-metadata">

**Author:** [@venkateshbokka232](https://discourse.nodered.org/u/venkateshbokka232)\
**Replies:** 0\
**Last updated:** [25 August 2021 17:59 UTC](https://discourse.nodered.org/t/opc-da-server-and-opc-da-client/50174 "2021-08-25T17:59:08Z")

</div>

Hi all, I am trying to make the communication between the MX OPC da server(Mitsubishi) to OPC da client. I read the many articles and I implemented but every time I didn't get any result. Anyone can help with this. if …

---

## [Http GET with JSON payload?](https://discourse.nodered.org/t/http-get-with-json-payload/50166)

<div class="topic-metadata">

**Author:** [@bbartling](https://discourse.nodered.org/u/bbartling)\
**Replies:** 5\
**Last updated:** [25 August 2021 17:21 UTC](https://discourse.nodered.org/t/http-get-with-json-payload/50166 "2021-08-25T17:21:37Z")

</div>

Can I make a GET request with a JSON payload in the body? For example if I use an inject node with this: { "address": "12345:2", "object\_type": "analogInput", "object\_instance": "2" } And feed this i…

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

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