# Latest

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

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

**Page:** 398

---

## [Boolean logic flow](https://discourse.nodered.org/t/boolean-logic-flow/75163)

<div class="topic-metadata">

**Author:** [@kelvin](https://discourse.nodered.org/u/kelvin)\
**Replies:** 2\
**Last updated:** [14 February 2023 09:06 UTC](https://discourse.nodered.org/t/boolean-logic-flow/75163 "2023-02-14T09:06:06Z")

</div>

Hi everyone, i need to create a simple boolean logic flow, but my flow like no responsive can give me some idea thanks. \[{"id":"9759bf8f80f65b09","type":"tab","label":"Flow 1","disabled":false,"info":"","env":\[\]},{"id"…

---

## [I have problem with my opca client. while i deploy i get session active for some second then later on it always reconnects try but does not get connected. i have the same IP-adress as my computer on my opca client](https://discourse.nodered.org/t/i-have-problem-with-my-opca-client-while-i-deploy-i-get-session-active-for-some-second-then-later-on-it-always-reconnects-try-but-does-not-get-connected-i-have-the-same-ip-adress-as-my-computer-on-my-opca-client/75116)

<div class="topic-metadata">

**Author:** [@kwa45](https://discourse.nodered.org/u/kwa45)\
**Replies:** 1\
**Last updated:** [14 February 2023 08:41 UTC](https://discourse.nodered.org/t/i-have-problem-with-my-opca-client-while-i-deploy-i-get-session-active-for-some-second-then-later-on-it-always-reconnects-try-but-does-not-get-connected-i-have-the-same-ip-adress-as-my-computer-on-my-opca-client/75116 "2023-02-14T08:41:32Z")

</div>

---

## [Loop through Json - multiple messages, multiple outputs](https://discourse.nodered.org/t/loop-through-json-multiple-messages-multiple-outputs/75139)

<div class="topic-metadata">

**Author:** [@Vilnis\_R](https://discourse.nodered.org/u/Vilnis_R)\
**Replies:** 5\
**Last updated:** [14 February 2023 07:58 UTC](https://discourse.nodered.org/t/loop-through-json-multiple-messages-multiple-outputs/75139 "2023-02-14T07:58:16Z")

</div>

Hi! I wonder if there is a loop style way to distribute values from json to multiple function node outputs, instead of fixed solution. I have a json that can carry maximum 10 objects (0-9) however it can be shorter (lik…

---

## [How to increase connection pool in node-red-node-sqlite node?](https://discourse.nodered.org/t/how-to-increase-connection-pool-in-node-red-node-sqlite-node/75112)

<div class="topic-metadata">

**Author:** [@Josh](https://discourse.nodered.org/u/Josh)\
**Replies:** 8\
**Last updated:** [14 February 2023 07:09 UTC](https://discourse.nodered.org/t/how-to-increase-connection-pool-in-node-red-node-sqlite-node/75112 "2023-02-14T07:09:06Z")

</div>

Hi Forum and fellow devs and contributors, Just wanted to know if I can increase the connection pool? I dont have any option to do it in the node configuration. Please Help !!!

---

## [Buffer-parser help](https://discourse.nodered.org/t/buffer-parser-help/75138)

<div class="topic-metadata">

**Author:** [@Sagatho10](https://discourse.nodered.org/u/Sagatho10)\
**Replies:** 2\
**Last updated:** [14 February 2023 06:43 UTC](https://discourse.nodered.org/t/buffer-parser-help/75138 "2023-02-14T06:43:01Z")

</div>

Hello im trying to use the node Buffer-parser and work great, but i need to reduce the number of decimal in the output, for example i got a 2.123456789 from a modbus float, but i only whant show 2.12 or 2.1234 in the nod…

---

## [Hear me out.....Digital Texas Hold Em Poker Table](https://discourse.nodered.org/t/hear-me-out-digital-texas-hold-em-poker-table/75056)

<div class="topic-metadata">

**Author:** [@fulldad](https://discourse.nodered.org/u/fulldad)\
**Replies:** 8\
**Last updated:** [14 February 2023 04:53 UTC](https://discourse.nodered.org/t/hear-me-out-digital-texas-hold-em-poker-table/75056 "2023-02-14T04:53:58Z")

</div>

I am in the early stages of thinking of how to build one of these. I am sick of my friends messing up the deals. I did some research on 7inch touch screen monitors. Is it feasible using Node-red to send say a GUI that…

---

## [Get a detailed Notification about the Energy Consumption when a household appliance is done](https://discourse.nodered.org/t/get-a-detailed-notification-about-the-energy-consumption-when-a-household-appliance-is-done/73871)

<div class="topic-metadata">

**Author:** [@Kugelblitz78](https://discourse.nodered.org/u/Kugelblitz78)\
**Replies:** 11\
**Last updated:** [14 February 2023 03:52 UTC](https://discourse.nodered.org/t/get-a-detailed-notification-about-the-energy-consumption-when-a-household-appliance-is-done/73871 "2023-02-14T03:52:54Z")

</div>

Okay guys, I have an idea but I don't know exactly how to implement it. Like to use Node Red and Home Assistant. I want to increase the awareness of energy consumption and costs in our household. And get an indicatio…

---

## [Read Omron PLC using node-red-omronplc (serial ; NOT FINS)](https://discourse.nodered.org/t/read-omron-plc-using-node-red-omronplc-serial-not-fins/74868)

<div class="topic-metadata">

**Author:** [@jagades](https://discourse.nodered.org/u/jagades)\
**Replies:** 17\
**Last updated:** [14 February 2023 00:12 UTC](https://discourse.nodered.org/t/read-omron-plc-using-node-red-omronplc-serial-not-fins/74868 "2023-02-14T00:12:40Z")

</div>

Hi. I am using RS485 to USB converter to connect my Omron CP2E-N20DR-A PLC and my computer. I have successfully read the data from data memory of PLC and can see it on my debug window at node-red. Here's the visual rep…

---

## [Video flickering when showing two mp4frag streams](https://discourse.nodered.org/t/video-flickering-when-showing-two-mp4frag-streams/75101)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [13 February 2023 23:08 UTC](https://discourse.nodered.org/t/video-flickering-when-showing-two-mp4frag-streams/75101 "2023-02-13T23:08:37Z")

</div>

Hi folks, Started experimenting with the mp4frag nodes from our video guru @kevinGodell. Did some succesfull tests: Starting a single rtsp stream from camera 1 works fine, and low cpu usage on my Raspberry. Life view…

---

## [Notification - Show dialog : Dynamic label for OK and Cancel buttons](https://discourse.nodered.org/t/notification-show-dialog-dynamic-label-for-ok-and-cancel-buttons/74713)

<div class="topic-metadata">

**Author:** [@olius](https://discourse.nodered.org/u/olius)\
**Replies:** 5\
**Last updated:** [13 February 2023 22:43 UTC](https://discourse.nodered.org/t/notification-show-dialog-dynamic-label-for-ok-and-cancel-buttons/74713 "2023-02-13T22:43:38Z")

</div>

Hi, I'd like to set dynamically the labels of the OK and the Cancel buttons of a dashboard "show dialog" node (i.e. a notification node with OK/Cancel layout). I need that as I'm doing a multilingual dashboard, and I ne…

---

## [Twincat ads Write Struct data type](https://discourse.nodered.org/t/twincat-ads-write-struct-data-type/75135)

<div class="topic-metadata">

**Author:** [@agmacedo](https://discourse.nodered.org/u/agmacedo)\
**Replies:** 0\
**Last updated:** [13 February 2023 22:08 UTC](https://discourse.nodered.org/t/twincat-ads-write-struct-data-type/75135 "2023-02-13T22:08:48Z")

</div>

How can I transfer a struct data type into beckoff plc with ADS - Write Symbol?

---

## [Inverter control ahoyDTU](https://discourse.nodered.org/t/inverter-control-ahoydtu/75122)

<div class="topic-metadata">

**Author:** [@dima2241](https://discourse.nodered.org/u/dima2241)\
**Replies:** 1\
**Last updated:** [13 February 2023 19:58 UTC](https://discourse.nodered.org/t/inverter-control-ahoydtu/75122 "2023-02-13T19:58:43Z")

</div>

Hello everyone, I have been trying to create a control system with node red for a few days, which is also my first experience with it. I would like to use ahoyDTU (communicates with an inverter via mqtt) to create a con…

---

## [Function Node coding?](https://discourse.nodered.org/t/function-node-coding/75126)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 6\
**Last updated:** [13 February 2023 19:13 UTC](https://discourse.nodered.org/t/function-node-coding/75126 "2023-02-13T19:13:58Z")

</div>

I'm sorry but I can't figure out how to code my function node. This is what I need to run. slope = 184.0 - 0.0 / 3730.0 - 746.0 offset = 0.0 - (slope \* 746.0) (msg.payload \* slope) + offset

---

## [Slow response time](https://discourse.nodered.org/t/slow-response-time/75100)

<div class="topic-metadata">

**Author:** [@dennyhle](https://discourse.nodered.org/u/dennyhle)\
**Replies:** 2\
**Last updated:** [13 February 2023 19:08 UTC](https://discourse.nodered.org/t/slow-response-time/75100 "2023-02-13T19:08:24Z")

</div>

Hi. I'm just curious to know what is going on here. Basically I've noticed that response times for several of my flows slow down the more times I 'deploy' my Node-Red. It happens when I am having a long session of tes…

---

## [Unexpected token P in JSON at position 2](https://discourse.nodered.org/t/unexpected-token-p-in-json-at-position-2/75098)

<div class="topic-metadata">

**Author:** [@joel14](https://discourse.nodered.org/u/joel14)\
**Replies:** 6\
**Last updated:** [13 February 2023 18:32 UTC](https://discourse.nodered.org/t/unexpected-token-p-in-json-at-position-2/75098 "2023-02-13T18:32:42Z")

</div>

Hi all, I have a mistake error in a json node. data's input is from a lora transmission using a serial communication at 9600bauds input node the schematic is node "serial" using tty/USB1 --------\> node "Json "…

---

## [MySQL via SSH tunnel](https://discourse.nodered.org/t/mysql-via-ssh-tunnel/75110)

<div class="topic-metadata">

**Author:** [@grant.cpt](https://discourse.nodered.org/u/grant.cpt)\
**Replies:** 9\
**Last updated:** [13 February 2023 18:05 UTC](https://discourse.nodered.org/t/mysql-via-ssh-tunnel/75110 "2023-02-13T18:05:30Z")

</div>

Hi all, Currently trying to establish a connection to MySQL but via SSH tunnel. Anyone been able to get this right?

---

## [Introduction to Node-RED Webinar](https://discourse.nodered.org/t/introduction-to-node-red-webinar/75125)

<div class="topic-metadata">

**Author:** [@iskerrett](https://discourse.nodered.org/u/iskerrett)\
**Replies:** 0\
**Last updated:** [13 February 2023 17:35 UTC](https://discourse.nodered.org/t/introduction-to-node-red-webinar/75125 "2023-02-13T17:35:44Z")

</div>

FlowForge is hosting an Introduction to Node-RED webinar on Feb. 23. If you are new to Node-RED, this will be a great way to understand the key concepts and how to quickly get started using Node-RED. Details and registr…

---

## [ChatGPT does Node-RED](https://discourse.nodered.org/t/chatgpt-does-node-red/71810)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 31\
**Last updated:** [13 February 2023 08:55 UTC](https://discourse.nodered.org/t/chatgpt-does-node-red/71810 "2023-02-13T08:55:47Z")

</div>

---

## [How to calculate the length of msg.payload?](https://discourse.nodered.org/t/how-to-calculate-the-length-of-msg-payload/72219)

<div class="topic-metadata">

**Author:** [@json\_lame](https://discourse.nodered.org/u/json_lame)\
**Replies:** 5\
**Last updated:** [13 February 2023 16:48 UTC](https://discourse.nodered.org/t/how-to-calculate-the-length-of-msg-payload/72219 "2023-02-13T16:48:15Z")

</div>

Hi all I'm struggling with calculate length msg.payload. Is there any way to do it? In addition I want to put 0 in front of msg.payload in case of length of msg.payload is lower than 5 characters. Msg.payload is string. …

---

## [Comparing payloads with different topics](https://discourse.nodered.org/t/comparing-payloads-with-different-topics/75115)

<div class="topic-metadata">

**Author:** [@kyledoab](https://discourse.nodered.org/u/kyledoab)\
**Replies:** 9\
**Last updated:** [13 February 2023 16:44 UTC](https://discourse.nodered.org/t/comparing-payloads-with-different-topics/75115 "2023-02-13T16:44:59Z")

</div>

Hi there, I am using a buffer parser to parse data received over modbus. I have assigned topics to each bit of data inside the buffer parser but I am struggling to figure out how to compare payloads between topics. For e…

---

## [Exporting and Importing "All flows"](https://discourse.nodered.org/t/exporting-and-importing-all-flows/75111)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 6\
**Last updated:** [13 February 2023 14:39 UTC](https://discourse.nodered.org/t/exporting-and-importing-all-flows/75111 "2023-02-13T14:39:51Z")

</div>

The editor Export lets me export "all flows" and the clipboard does contain the exported JSON, I can copy it into a text editor. But when I try and import the flows into a different Node-red instance, the ctrl v or righ…

---

## [Highlight dashboard groups by colour](https://discourse.nodered.org/t/highlight-dashboard-groups-by-colour/75107)

<div class="topic-metadata">

**Author:** [@kiki](https://discourse.nodered.org/u/kiki)\
**Replies:** 1\
**Last updated:** [13 February 2023 11:34 UTC](https://discourse.nodered.org/t/highlight-dashboard-groups-by-colour/75107 "2023-02-13T11:34:33Z")

</div>

Hey, I would like to customise the background colour of dashboard groups individually. With template I was able to change the complete background colour, but I did not manage to change the colour of one group …

---

## [Getting error while converting html to pdf](https://discourse.nodered.org/t/getting-error-while-converting-html-to-pdf/74642)

<div class="topic-metadata">

**Author:** [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Replies:** 19\
**Last updated:** [13 February 2023 12:30 UTC](https://discourse.nodered.org/t/getting-error-while-converting-html-to-pdf/74642 "2023-02-13T12:30:29Z")

</div>

Hello, I am converting JSON data into HTML table and HTML table into PDF. I am saving PDF file on my local machine using write file node. To convert to HTML into PDF, I am using html to pdf node.(Library name: node-re…

---

## [Log data to Google sheet offline](https://discourse.nodered.org/t/log-data-to-google-sheet-offline/75048)

<div class="topic-metadata">

**Author:** [@1onkar](https://discourse.nodered.org/u/1onkar)\
**Replies:** 5\
**Last updated:** [13 February 2023 12:13 UTC](https://discourse.nodered.org/t/log-data-to-google-sheet-offline/75048 "2023-02-13T12:13:00Z")

</div>

Is it possible to write data to Google gsheet in offline mode. Thanks

---

## [Migration from twitter to Mastodon](https://discourse.nodered.org/t/migration-from-twitter-to-mastodon/74959)

<div class="topic-metadata">

**Author:** [@Folgore](https://discourse.nodered.org/u/Folgore)\
**Replies:** 8\
**Last updated:** [13 February 2023 09:45 UTC](https://discourse.nodered.org/t/migration-from-twitter-to-mastodon/74959 "2023-02-13T09:45:34Z")

</div>

Hi, sorry for opening a new topic but the other discussions are closed. I installed (after other discussion mastodon nodes Node-red-contrib-mastodon) Node-red-contrib-mastodon to receive and send a toot . I'm having trou…

---

## [Philips Button State](https://discourse.nodered.org/t/philips-button-state/20395)

<div class="topic-metadata">

**Author:** [@angelpeluk](https://discourse.nodered.org/u/angelpeluk)\
**Replies:** 25\
**Last updated:** [13 February 2023 09:19 UTC](https://discourse.nodered.org/t/philips-button-state/20395 "2023-02-13T09:19:21Z")

</div>

Hi everyone!!! I have a Philips Hue with a couple of bulbs installed and Huemagic in NodeRed. I want to control the bulbs with a button that knows what "state" the bulb is in and then activate (true / false) depending …

---

## [Getting an array from flow context](https://discourse.nodered.org/t/getting-an-array-from-flow-context/74942)

<div class="topic-metadata">

**Author:** [@steven\_191](https://discourse.nodered.org/u/steven_191)\
**Replies:** 3\
**Last updated:** [13 February 2023 09:01 UTC](https://discourse.nodered.org/t/getting-an-array-from-flow-context/74942 "2023-02-13T09:01:23Z")

</div>

Im sure Im missing something simple here. Im pushing some items onto an array then saving to the flow context. I do this in a few different function blocks. Another function block will get all of these arrays from the…

---

## [UIBuilder - Authentication & login page example](https://discourse.nodered.org/t/uibuilder-authentication-login-page-example/74995)

<div class="topic-metadata">

**Author:** [@cdacruz](https://discourse.nodered.org/u/cdacruz)\
**Replies:** 2\
**Last updated:** [13 February 2023 08:10 UTC](https://discourse.nodered.org/t/uibuilder-authentication-login-page-example/74995 "2023-02-13T08:10:33Z")

</div>

Hi UIBuilder users, I'm looking for a basic example of a basic authentication solution. I don't need a big level of security. Just for blocking the basic users. Does anyone can share somthing or help me giving me the g…

---

## [Covert HTML to plain text](https://discourse.nodered.org/t/covert-html-to-plain-text/75079)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 8\
**Last updated:** [13 February 2023 08:09 UTC](https://discourse.nodered.org/t/covert-html-to-plain-text/75079 "2023-02-13T08:09:23Z")

</div>

Is there a easy contrib node that convert small bits of HTML into a plainer format e.g \<p\>My beautiful lil pup Mayhem is one year old today. \</p\>\<p\>For every boost or favorite I’ll pet her and tell her she’s a good gi…

---

## [UIBuilder - How to know if somebody is connected & how many people?](https://discourse.nodered.org/t/uibuilder-how-to-know-if-somebody-is-connected-how-many-people/74994)

<div class="topic-metadata">

**Author:** [@cdacruz](https://discourse.nodered.org/u/cdacruz)\
**Replies:** 6\
**Last updated:** [13 February 2023 08:02 UTC](https://discourse.nodered.org/t/uibuilder-how-to-know-if-somebody-is-connected-how-many-people/74994 "2023-02-13T08:02:26Z")

</div>

Hi all, I'm looking to know how to retrieve if somebody is connected, and how many people ? The idea is to do jobs only when somebody is connected. Does anyone have an idea ? Thanks for your help. .Christian

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

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