# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=263

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

**Page:** 264

---

## [Time difference between each receipt of MQTT packets](https://discourse.nodered.org/t/time-difference-between-each-receipt-of-mqtt-packets/73618)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 8\
**Last updated:** [14 January 2023 02:50 UTC](https://discourse.nodered.org/t/time-difference-between-each-receipt-of-mqtt-packets/73618 "2023-01-14T02:50:39Z")

</div>

Please, I have a specific need that I'm having a lot of difficulty implementing. I receive telemetry packets from the MQTT server. These packages are about the depth of a diver. I get it as an integer. That's not the…

---

## [Pass Variable if condition is true](https://discourse.nodered.org/t/pass-variable-if-condition-is-true/73330)

<div class="topic-metadata">

**Author:** [@Strandl](https://discourse.nodered.org/u/Strandl)\
**Replies:** 14\
**Last updated:** [13 January 2023 22:43 UTC](https://discourse.nodered.org/t/pass-variable-if-condition-is-true/73330 "2023-01-13T22:43:53Z")

</div>

Hi, new to red-node, my question is regarding the function node. I receive a variable (Integer) from a Siemens S7 PLC - Flow Name "Config" I have a button in my Home Assistant - Flow name "Button" What I am trying to …

---

## [Handling many JSON msg payload](https://discourse.nodered.org/t/handling-many-json-msg-payload/73645)

<div class="topic-metadata">

**Author:** [@rchandrashekar53](https://discourse.nodered.org/u/rchandrashekar53)\
**Replies:** 9\
**Last updated:** [13 January 2023 20:14 UTC](https://discourse.nodered.org/t/handling-many-json-msg-payload/73645 "2023-01-13T20:14:38Z")

</div>

Hi, i have multiple MQTT topics and i need to send individual payload at same time to different MQTT topic. The issue is if i use msg.payload - the JSON frames will be overwritten. I did explore a path where i tried to …

---

## [How to set / read curtain cover positions!? (using an Aquara lumi.curtain.agl001)](https://discourse.nodered.org/t/how-to-set-read-curtain-cover-positions-using-an-aquara-lumi-curtain-agl001/73638)

<div class="topic-metadata">

**Author:** [@louis](https://discourse.nodered.org/u/louis)\
**Replies:** 5\
**Last updated:** [13 January 2023 20:04 UTC](https://discourse.nodered.org/t/how-to-set-read-curtain-cover-positions-using-an-aquara-lumi-curtain-agl001/73638 "2023-01-13T20:04:16Z")

</div>

I am using Node-RED for automatons inside Home Assistant (both on latest version). I try to control a curtain-pair using two ‘Aqara lumi.curtain.agl001’ (zigbee) motors. My problem is that I do not manage to set or get…

---

## [Quit during DELAY or WAIT UNTIL command](https://discourse.nodered.org/t/quit-during-delay-or-wait-until-command/73475)

<div class="topic-metadata">

**Author:** [@ananth250](https://discourse.nodered.org/u/ananth250)\
**Replies:** 7\
**Last updated:** [13 January 2023 19:17 UTC](https://discourse.nodered.org/t/quit-during-delay-or-wait-until-command/73475 "2023-01-13T19:17:18Z")

</div>

Hi Guys, I am completely new to NODERED and just starting out in Home Automation. I have created a simple flow... RGB bulb turns of at {255,255,255} WHITE and delay or wait until for 5 seconds and then at {255,0,0} RED …

---

## [Node-red-contrib-speakerpi fails to install](https://discourse.nodered.org/t/node-red-contrib-speakerpi-fails-to-install/73641)

<div class="topic-metadata">

**Author:** [@P\_S](https://discourse.nodered.org/u/P_S)\
**Replies:** 3\
**Last updated:** [13 January 2023 16:24 UTC](https://discourse.nodered.org/t/node-red-contrib-speakerpi-fails-to-install/73641 "2023-01-13T16:24:52Z")

</div>

I tried to install this, but it constantly fails. I have two Raspbery PI boards: RPi 1.1 and RPi 3b For the RPi1.1 I used the following OS'es Raspberry Pi OS Lite 32 bit Bullseye 2022-09-22 Raspberry Pi OS Full 32 Bu…

---

## [Signing-in to new Volvo API and collecting data from Node RED](https://discourse.nodered.org/t/signing-in-to-new-volvo-api-and-collecting-data-from-node-red/72881)

<div class="topic-metadata">

**Author:** [@monsivar](https://discourse.nodered.org/u/monsivar)\
**Replies:** 6\
**Last updated:** [13 January 2023 14:58 UTC](https://discourse.nodered.org/t/signing-in-to-new-volvo-api-and-collecting-data-from-node-red/72881 "2023-01-13T14:58:43Z")

</div>

Hi I am an ameature of this, but eager to collect data from my EV og the Volvo API inn to Home assistant (the oldVolvo integration do not support the EV cars) I see ( Authorisation – APIs | Volvo Cars Developer Portal …

---

## ['-' in Payload is not accepted](https://discourse.nodered.org/t/in-payload-is-not-accepted/73596)

<div class="topic-metadata">

**Author:** [@Justtrying](https://discourse.nodered.org/u/Justtrying)\
**Replies:** 7\
**Last updated:** [13 January 2023 14:16 UTC](https://discourse.nodered.org/t/in-payload-is-not-accepted/73596 "2023-01-13T14:16:36Z")

</div>

Hello everyone, I've been dealing with the following problem for a while now, but somehow I can't solve it. I have an influx DB that I fill with data. Previously this was done from a different system, but now I want to…

---

## [Unable to read multiple Modbus Register using Modbus Serial Port](https://discourse.nodered.org/t/unable-to-read-multiple-modbus-register-using-modbus-serial-port/73613)

<div class="topic-metadata">

**Author:** [@1onkar](https://discourse.nodered.org/u/1onkar)\
**Replies:** 2\
**Last updated:** [13 January 2023 13:18 UTC](https://discourse.nodered.org/t/unable-to-read-multiple-modbus-register-using-modbus-serial-port/73613 "2023-01-13T13:18:05Z")

</div>

I am trying to read Modbus data over Serial RS485 Port. The device has 242 registers in float format. I am able to read only first 99 registers using Modbus Read. Please help me how to read all registers in one go. I ca…

---

## [Using flow timer between 2 communication flows in node red](https://discourse.nodered.org/t/using-flow-timer-between-2-communication-flows-in-node-red/73539)

<div class="topic-metadata">

**Author:** [@Johnson](https://discourse.nodered.org/u/Johnson)\
**Replies:** 19\
**Last updated:** [13 January 2023 12:40 UTC](https://discourse.nodered.org/t/using-flow-timer-between-2-communication-flows-in-node-red/73539 "2023-01-13T12:40:02Z")

</div>

I have a question regarding the flow timer node in node red. As it is used to measure the time in a flow .Can it be used to measure the time difference between a subscribing and publishing mqtt node in 2 different flows…

---

## [How do I extract this Lux value from a Fibaro Motion Sensor](https://discourse.nodered.org/t/how-do-i-extract-this-lux-value-from-a-fibaro-motion-sensor/73631)

<div class="topic-metadata">

**Author:** [@bobbles](https://discourse.nodered.org/u/bobbles)\
**Replies:** 3\
**Last updated:** [13 January 2023 12:10 UTC](https://discourse.nodered.org/t/how-do-i-extract-this-lux-value-from-a-fibaro-motion-sensor/73631 "2023-01-13T12:10:34Z")

</div>

I'm a novice at NR but I'm slowly progressing using debug nodes to see what is going on. This has me stumped though. I have an MQTT in node that I have looking at a single topic from the sensor. MQTT In This is what I…

---

## [Reducing a complexity of the flow](https://discourse.nodered.org/t/reducing-a-complexity-of-the-flow/73508)

<div class="topic-metadata">

**Author:** [@Jhankhana](https://discourse.nodered.org/u/Jhankhana)\
**Replies:** 29\
**Last updated:** [12 January 2023 05:36 UTC](https://discourse.nodered.org/t/reducing-a-complexity-of-the-flow/73508 "2023-01-12T05:36:34Z")

</div>

Hello there, I wanted to do some mathematical calculations hence I created below flow which is working ok but it is bit complex. Please help me to make it simpler. what I have done is, 6 readings -- changes node to s…

---

## [SNMP node - entering data in 'timeout' works backwards](https://discourse.nodered.org/t/snmp-node-entering-data-in-timeout-works-backwards/73630)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 4\
**Last updated:** [13 January 2023 11:44 UTC](https://discourse.nodered.org/t/snmp-node-entering-data-in-timeout-works-backwards/73630 "2023-01-13T11:44:02Z")

</div>

Can someone verify this and it is verified I'll open an issue. It seems that entering values in the 'timeout' option are backwards. When I click before the number 5 and then type 2, the result is 52 not 25. If I then…

---

## [Set up cloud node](https://discourse.nodered.org/t/set-up-cloud-node/73569)

<div class="topic-metadata">

**Author:** [@cyrilbl](https://discourse.nodered.org/u/cyrilbl)\
**Replies:** 9\
**Last updated:** [13 January 2023 11:00 UTC](https://discourse.nodered.org/t/set-up-cloud-node/73569 "2023-01-13T11:00:25Z")

</div>

Hi ,Can anyone point me to how to set up the cloud node to access the shelly cloud.Thank you

---

## [OAuth - why is it so complex?](https://discourse.nodered.org/t/oauth-why-is-it-so-complex/73383)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 12\
**Last updated:** [13 January 2023 10:43 UTC](https://discourse.nodered.org/t/oauth-why-is-it-so-complex/73383 "2023-01-13T10:43:52Z")

</div>

I just wanted to express my appreciation for the horrible invention of OAuth2. Their main "selling" point: OAuth 2.0 focuses on client developer simplicity lol

---

## [Pick random line from text file](https://discourse.nodered.org/t/pick-random-line-from-text-file/73560)

<div class="topic-metadata">

**Author:** [@GTM](https://discourse.nodered.org/u/GTM)\
**Replies:** 5\
**Last updated:** [13 January 2023 10:12 UTC](https://discourse.nodered.org/t/pick-random-line-from-text-file/73560 "2023-01-13T10:12:03Z")

</div>

Hi all, I have a text file of jokes, each joke is on a new line in the text file. How can I get node red to pick a random line from the file. I will be sending the result to a TTS service, I have done this before using …

---

## [Can Node-RED also set a default template when creating a new flow?](https://discourse.nodered.org/t/can-node-red-also-set-a-default-template-when-creating-a-new-flow/73617)

<div class="topic-metadata">

**Author:** [@fostm](https://discourse.nodered.org/u/fostm)\
**Replies:** 7\
**Last updated:** [13 January 2023 09:02 UTC](https://discourse.nodered.org/t/can-node-red-also-set-a-default-template-when-creating-a-new-flow/73617 "2023-01-13T09:02:08Z")

</div>

Hi, i'm Yeon Can I create flows with pre-planned flows by clicking the Create Flow tab button in the Manager UI? The chat app tells me to register with the Templates tab, but I can't see the Templates tab. Help me, pl…

---

## [Node-red-contrib-fritz and FritzBox 7490: Error on using service / action / Phonebook / Calllist](https://discourse.nodered.org/t/node-red-contrib-fritz-and-fritzbox-7490-error-on-using-service-action-phonebook-calllist/73580)

<div class="topic-metadata">

**Author:** [@Speeedy0815](https://discourse.nodered.org/u/Speeedy0815)\
**Replies:** 6\
**Last updated:** [13 January 2023 06:54 UTC](https://discourse.nodered.org/t/node-red-contrib-fritz-and-fritzbox-7490-error-on-using-service-action-phonebook-calllist/73580 "2023-01-13T06:54:48Z")

</div>

Hello, the same happended for me like here. The solution did not work, and btw. the solution does not make sense for the question, because it's during the request, and not the answer. I got also the Warning: Assertion…

---

## [Compare 2 different inputs](https://discourse.nodered.org/t/compare-2-different-inputs/73368)

<div class="topic-metadata">

**Author:** [@TimC1986](https://discourse.nodered.org/u/TimC1986)\
**Replies:** 4\
**Last updated:** [13 January 2023 05:16 UTC](https://discourse.nodered.org/t/compare-2-different-inputs/73368 "2023-01-13T05:16:56Z")

</div>

Hi all I need some help, I like to setup a flow with 2 input nodes. node1 is a node with a value range between 0-100 and the other input node2 has a range between 0-5000. I like to configure the flow like: If the input …

---

## [Input row from Excel spreadsheet](https://discourse.nodered.org/t/input-row-from-excel-spreadsheet/73113)

<div class="topic-metadata">

**Author:** [@dpenz](https://discourse.nodered.org/u/dpenz)\
**Replies:** 2\
**Last updated:** [13 January 2023 00:00 UTC](https://discourse.nodered.org/t/input-row-from-excel-spreadsheet/73113 "2023-01-13T00:00:12Z")

</div>

I'm a rank newbie, having trouble with my first Node-RED project. I'm using Node-RED v.3.0.2, with node blocks from "node-red-contrib-spreadsheet-in", v.0.6.0. The task is to input a particular row from a workbook shee…

---

## [JSonata to index and access message data](https://discourse.nodered.org/t/jsonata-to-index-and-access-message-data/73608)

<div class="topic-metadata">

**Author:** [@gwgorman](https://discourse.nodered.org/u/gwgorman)\
**Replies:** 3\
**Last updated:** [12 January 2023 21:58 UTC](https://discourse.nodered.org/t/jsonata-to-index-and-access-message-data/73608 "2023-01-12T21:58:04Z")

</div>

hi all - more JSonata fun... it should be "easy" but I can't figure it out! In a change node I want to pull a value out of a payload based on the value of the Topic. Assume this on Message { "topic": "ItemInventory…

---

## [Multiple node-red instances](https://discourse.nodered.org/t/multiple-node-red-instances/73609)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 0\
**Last updated:** [12 January 2023 20:20 UTC](https://discourse.nodered.org/t/multiple-node-red-instances/73609 "2023-01-12T20:20:06Z")

</div>

What's the best approach to run two independent node-red flows on same server? Is it possible to run multiple node-red instances that I could map to different subdomains?

---

## [Built-in websocket nodes not compatible with Node.js 18?](https://discourse.nodered.org/t/built-in-websocket-nodes-not-compatible-with-node-js-18/73592)

<div class="topic-metadata">

**Author:** [@parasaurolophus](https://discourse.nodered.org/u/parasaurolophus)\
**Replies:** 5\
**Last updated:** [12 January 2023 17:26 UTC](https://discourse.nodered.org/t/built-in-websocket-nodes-not-compatible-with-node-js-18/73592 "2023-01-12T17:26:18Z")

</div>

Is this a known issue? (Maybe the reason the NR 3.0.2 installation script still installs Node.js 16?) In any event (pun intended), websocket server ("listen to") nodes appear to be broken in NR 3.0.2 under Node.js 18.12…

---

## [Node-red-contrib-mcprotocol quality "bad" on some write requests](https://discourse.nodered.org/t/node-red-contrib-mcprotocol-quality-bad-on-some-write-requests/73446)

<div class="topic-metadata">

**Author:** [@Mdahl96](https://discourse.nodered.org/u/Mdahl96)\
**Replies:** 11\
**Last updated:** [12 January 2023 17:20 UTC](https://discourse.nodered.org/t/node-red-contrib-mcprotocol-quality-bad-on-some-write-requests/73446 "2023-01-12T17:20:49Z")

</div>

Hello, i have succeeded with pulling data from "Nordpool" and send it to an Array of 48 reals in my Mitsubishi PLC, but it's a 50/50 if the request returns a "good" or "bad" quality, it does write the data every time, bu…

---

## [Manual join of two separate paths (not split) to retain needed data](https://discourse.nodered.org/t/manual-join-of-two-separate-paths-not-split-to-retain-needed-data/73502)

<div class="topic-metadata">

**Author:** [@hobbes1069](https://discourse.nodered.org/u/hobbes1069)\
**Replies:** 9\
**Last updated:** [12 January 2023 17:09 UTC](https://discourse.nodered.org/t/manual-join-of-two-separate-paths-not-split-to-retain-needed-data/73502 "2023-01-12T17:09:08Z")

</div>

I really struggled with the topic but here's where I'm having an issue... I am pulling data from one Tulip Table node to lookup data in another Tulip Table and then take that data in update the original table. The prob…

---

## [Wildcard topic in function (If topic == /xxx/#)](https://discourse.nodered.org/t/wildcard-topic-in-function-if-topic-xxx/73218)

<div class="topic-metadata">

**Author:** [@myozone](https://discourse.nodered.org/u/myozone)\
**Replies:** 11\
**Last updated:** [12 January 2023 16:16 UTC](https://discourse.nodered.org/t/wildcard-topic-in-function-if-topic-xxx/73218 "2023-01-12T16:16:51Z")

</div>

I'm trying to figure out how can I wildcard a topic, what I'm trying to do is filter off specific topics from rtl\_433 in a wildcard fashion. RTL\_433 is a described here GitHub - merbanan/rtl\_433: Program to decode radio…

---

## [Logging DI/DO events](https://discourse.nodered.org/t/logging-di-do-events/73602)

<div class="topic-metadata">

**Author:** [@Corey](https://discourse.nodered.org/u/Corey)\
**Replies:** 1\
**Last updated:** [12 January 2023 16:09 UTC](https://discourse.nodered.org/t/logging-di-do-events/73602 "2023-01-12T16:09:09Z")

</div>

Hello, Is there a default log that captures the RevPi pin status? If there isn't, is there a way to setup a log in NodeRed to log the DIO Pin status' when a change occurs? Thanks!

---

## [What encryption method is used to encrypt Flow Credentials in order to trigger flows via HTTP API?](https://discourse.nodered.org/t/what-encryption-method-is-used-to-encrypt-flow-credentials-in-order-to-trigger-flows-via-http-api/73579)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 2\
**Last updated:** [12 January 2023 15:28 UTC](https://discourse.nodered.org/t/what-encryption-method-is-used-to-encrypt-flow-credentials-in-order-to-trigger-flows-via-http-api/73579 "2023-01-12T15:28:27Z")

</div>

Based on the documentation for POST /flows : Node-RED it mentions the usage of encrypted password within the flow JSON request body. What is the encryption mechanism that is actually used? It doesn't look like bcrypt. A…

---

## [Uninstall default node and install it when required](https://discourse.nodered.org/t/uninstall-default-node-and-install-it-when-required/73575)

<div class="topic-metadata">

**Author:** [@suraj\_k](https://discourse.nodered.org/u/suraj_k)\
**Replies:** 2\
**Last updated:** [12 January 2023 14:57 UTC](https://discourse.nodered.org/t/uninstall-default-node-and-install-it-when-required/73575 "2023-01-12T14:57:52Z")

</div>

Hello there, I've freshly opened new node-red while opening, I can see some while going to manage pallette, default node is present as shown in below attachment. I just want to know is there any way I can uninstall/…

---

## [Understand multiple instances on same pc](https://discourse.nodered.org/t/understand-multiple-instances-on-same-pc/73590)

<div class="topic-metadata">

**Author:** [@agmacedo](https://discourse.nodered.org/u/agmacedo)\
**Replies:** 4\
**Last updated:** [12 January 2023 14:55 UTC](https://discourse.nodered.org/t/understand-multiple-instances-on-same-pc/73590 "2023-01-12T14:55:08Z")

</div>

I have 4 instances (app) running node-red on different folders on the same pc. When I update to node-red 3.0, I was surprised because some apps doesn´t work well. The dark mode disapear (doesn´t responde) and multiple n…

[Previous page](https://discourse.nodered.org/c/general/7.md?page=262)

[Next page](https://discourse.nodered.org/c/general/7.md?page=264)
