# Latest

**URL:** https://discourse.nodered.org/latest.md?no_subcategories=false&page=536

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

**Page:** 537

---

## [Sending Node-Red Injection Value to Variable in a Python File on my Computer](https://discourse.nodered.org/t/sending-node-red-injection-value-to-variable-in-a-python-file-on-my-computer/65050)

<div class="topic-metadata">

**Author:** [@ukhan](https://discourse.nodered.org/u/ukhan)\
**Replies:** 1\
**Last updated:** [13 July 2022 13:37 UTC](https://discourse.nodered.org/t/sending-node-red-injection-value-to-variable-in-a-python-file-on-my-computer/65050 "2022-07-13T13:37:42Z")

</div>

Hi! I'm trying to send the value of an injection to a variable that I defined in a python file stored locally on my computer so I can use the value in my program, but I'm unsure on how to go about doing this. Any help is…

---

## [Kafka compression not implemented](https://discourse.nodered.org/t/kafka-compression-not-implemented/65051)

<div class="topic-metadata">

**Author:** [@pfe](https://discourse.nodered.org/u/pfe)\
**Replies:** 0\
**Last updated:** [13 July 2022 13:21 UTC](https://discourse.nodered.org/t/kafka-compression-not-implemented/65051 "2022-07-13T13:21:15Z")

</div>

Hello i'm trying to use Kafka flows to consume some datas from a kafka broker. If I publish data and consume the same data , every thing is ok. If I consume a data produced by a another client as node red it makes an err…

---

## [TCP Out node closes all connections when a client disconnects](https://discourse.nodered.org/t/tcp-out-node-closes-all-connections-when-a-client-disconnects/65042)

<div class="topic-metadata">

**Author:** [@polrodoreda](https://discourse.nodered.org/u/polrodoreda)\
**Replies:** 1\
**Last updated:** [13 July 2022 12:56 UTC](https://discourse.nodered.org/t/tcp-out-node-closes-all-connections-when-a-client-disconnects/65042 "2022-07-13T12:56:35Z")

</div>

A TCP out node closses all the connections at once when a client disconnects. Is this a bug from the node? Is there any way to solve this issue?

---

## [How not to change the msg when switching tabs?](https://discourse.nodered.org/t/how-not-to-change-the-msg-when-switching-tabs/64552)

<div class="topic-metadata">

**Author:** [@HuOliveiraWork](https://discourse.nodered.org/u/HuOliveiraWork)\
**Replies:** 10\
**Last updated:** [13 July 2022 11:21 UTC](https://discourse.nodered.org/t/how-not-to-change-the-msg-when-switching-tabs/64552 "2022-07-13T11:21:07Z")

</div>

Good afternoon, Does anyone know how I can change tabs without changing my msg variable, I needed to access some data that I had in the msg inside a new tab. But allways reset the variable properties. I'm changing the …

---

## [How to find certain text inside an object or a string?](https://discourse.nodered.org/t/how-to-find-certain-text-inside-an-object-or-a-string/64354)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 7\
**Last updated:** [13 July 2022 11:14 UTC](https://discourse.nodered.org/t/how-to-find-certain-text-inside-an-object-or-a-string/64354 "2022-07-13T11:14:56Z")

</div>

I am pulling data from a package tracking API. Specifically, the data I'm interested in is the "Last mile" tracking number. The output looks like this: Each object in the array is an event in the package's tracking…

---

## [Running node-red in a docker container with sqlite3](https://discourse.nodered.org/t/running-node-red-in-a-docker-container-with-sqlite3/64974)

<div class="topic-metadata">

**Author:** [@Wd6fie](https://discourse.nodered.org/u/Wd6fie)\
**Replies:** 5\
**Last updated:** [13 July 2022 10:37 UTC](https://discourse.nodered.org/t/running-node-red-in-a-docker-container-with-sqlite3/64974 "2022-07-13T10:37:07Z")

</div>

Hello Gurus of Node-Red! I downloaded the 13 colonies flow by Kyle into my node-red container and realized that I must create a 13 colonies database and qsos table somewhere. Where should the database be created using …

---

## [Node creation request - RasPi Argon hat](https://discourse.nodered.org/t/node-creation-request-raspi-argon-hat/65028)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 14\
**Last updated:** [13 July 2022 10:31 UTC](https://discourse.nodered.org/t/node-creation-request-raspi-argon-hat/65028 "2022-07-13T10:31:20Z")

</div>

I'm not sure how many people who have one, but there is a nice "hat" for the RasPi which has a fan on it. Seems support isn't too good (not a problem) but I was wondering if it would be possible to make a node (for no…

---

## [UDP communication error](https://discourse.nodered.org/t/udp-communication-error/65020)

<div class="topic-metadata">

**Author:** [@surmi](https://discourse.nodered.org/u/surmi)\
**Replies:** 6\
**Last updated:** [13 July 2022 10:18 UTC](https://discourse.nodered.org/t/udp-communication-error/65020 "2022-07-13T10:18:28Z")

</div>

I am new here. I am running Node-Red on a Rapsberry Pi 4B and want to control a PLC with it. The PLC communicates with short binary messages over UDP, but does not respond to messages sent by Node-Red. I checked the data…

---

## [node-RED won't start, Failed with result 'exit-code'](https://discourse.nodered.org/t/node-red-wont-start-failed-with-result-exit-code/64964)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 28\
**Last updated:** [13 July 2022 10:11 UTC](https://discourse.nodered.org/t/node-red-wont-start-failed-with-result-exit-code/64964 "2022-07-13T10:11:59Z")

</div>

Hi, I don't know if deploying a new flow is the cause but from then on node-RED won't start anymore but stays in a start-restart loop. I see an error in the log file but have no idea how to solve it from the command lin…

---

## [Image comparison flow (or node)](https://discourse.nodered.org/t/image-comparison-flow-or-node/65041)

<div class="topic-metadata">

**Author:** [@syoma755](https://discourse.nodered.org/u/syoma755)\
**Replies:** 0\
**Last updated:** [13 July 2022 09:56 UTC](https://discourse.nodered.org/t/image-comparison-flow-or-node/65041 "2022-07-13T09:56:01Z")

</div>

Hi there This might be similar to Image analysis and comparison I have following Idea. I want to use a Node-RED on Raspberry Pi for some functional visual inspection of a PCB where different LEDs are lit in some order.…

---

## [How to declare and use the variable in Node-Red](https://discourse.nodered.org/t/how-to-declare-and-use-the-variable-in-node-red/65030)

<div class="topic-metadata">

**Author:** [@JackJackTan414](https://discourse.nodered.org/u/JackJackTan414)\
**Replies:** 2\
**Last updated:** [13 July 2022 06:53 UTC](https://discourse.nodered.org/t/how-to-declare-and-use-the-variable-in-node-red/65030 "2022-07-13T06:53:52Z")

</div>

Hi all , I am doing a simple test which consist of a button node to send the "msg.topic" to the function node when it is pressed via the dashboard UI. Code is shown in the first picture and the second picture shows the e…

---

## [NR\_NODE\_NAME in 2.2.0 does not appear to be set](https://discourse.nodered.org/t/nr-node-name-in-2-2-0-does-not-appear-to-be-set/64975)

<div class="topic-metadata">

**Author:** [@chrisn-au](https://discourse.nodered.org/u/chrisn-au)\
**Replies:** 2\
**Last updated:** [12 July 2022 20:48 UTC](https://discourse.nodered.org/t/nr-node-name-in-2-2-0-does-not-appear-to-be-set/64975 "2022-07-12T20:48:09Z")

</div>

Guys, thanks I am loving the new capability in 2.2.0 (we are currently pinned to 2.1.3 for our prod instances and need to upgrade) to get the node and flow details from the env object have a function msg.nrNodeId = en…

---

## [Falling edge detection with JSON payload](https://discourse.nodered.org/t/falling-edge-detection-with-json-payload/64920)

<div class="topic-metadata">

**Author:** [@bkenobi](https://discourse.nodered.org/u/bkenobi)\
**Replies:** 2\
**Last updated:** [12 July 2022 20:37 UTC](https://discourse.nodered.org/t/falling-edge-detection-with-json-payload/64920 "2022-07-12T20:37:13Z")

</div>

I have some sensors that are set up to send their data via MQTT to NR in JSON format. When they detect, they appear similar to: I want to send an email notification when the battery drops below the warn threshold. B…

---

## [How to send messages by telegram when a condition is met](https://discourse.nodered.org/t/how-to-send-messages-by-telegram-when-a-condition-is-met/64981)

<div class="topic-metadata">

**Author:** [@Surfb](https://discourse.nodered.org/u/Surfb)\
**Replies:** 2\
**Last updated:** [12 July 2022 19:30 UTC](https://discourse.nodered.org/t/how-to-send-messages-by-telegram-when-a-condition-is-met/64981 "2022-07-12T19:30:09Z")

</div>

hello guys I have this project, but I want to add a function that sends me a message by telegram when the capacity is full I'm a newbie in this I hope you can help me

---

## [Trying to create a dashboard with a quantity, a dropdown and a button and get the data when button pushed](https://discourse.nodered.org/t/trying-to-create-a-dashboard-with-a-quantity-a-dropdown-and-a-button-and-get-the-data-when-button-pushed/65011)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 2\
**Last updated:** [12 July 2022 17:24 UTC](https://discourse.nodered.org/t/trying-to-create-a-dashboard-with-a-quantity-a-dropdown-and-a-button-and-get-the-data-when-button-pushed/65011 "2022-07-12T17:24:35Z")

</div>

NR v2.2.2 Dashboard v3.1.7 I've been beating my head about this and it should be easy but my 'Foo' is failing today (and it's hot outside and in) This is a simple example of what I want (I'm actualy building a parts i…

---

## [Node-red-contrib-bcrypt - Password hashing](https://discourse.nodered.org/t/node-red-contrib-bcrypt-password-hashing/64851)

<div class="topic-metadata">

**Author:** [@awneil](https://discourse.nodered.org/u/awneil)\
**Replies:** 6\
**Last updated:** [12 July 2022 18:02 UTC](https://discourse.nodered.org/t/node-red-contrib-bcrypt-password-hashing/64851 "2022-07-12T18:02:00Z")

</div>

It's well-established that running the command-line password hash utility will give a different hash each time; eg, https://discourse.nodered.org/t/hashing-password But the node-red-contrib-bcrypt node seems to give th…

---

## [TCP IP Scanner Losing Connection](https://discourse.nodered.org/t/tcp-ip-scanner-losing-connection/65010)

<div class="topic-metadata">

**Author:** [@jts450](https://discourse.nodered.org/u/jts450)\
**Replies:** 2\
**Last updated:** [12 July 2022 16:20 UTC](https://discourse.nodered.org/t/tcp-ip-scanner-losing-connection/65010 "2022-07-12T16:20:24Z")

</div>

I am having issues with losing my connection to a TCP IP barcode scanner on port 51240, It works for a while but then the node shows disconnected. Once i restart the scanner it so far always starts working again for x am…

---

## [Multiple Messages with setTimeout](https://discourse.nodered.org/t/multiple-messages-with-settimeout/65007)

<div class="topic-metadata">

**Author:** [@ninja\_007](https://discourse.nodered.org/u/ninja_007)\
**Replies:** 5\
**Last updated:** [12 July 2022 15:44 UTC](https://discourse.nodered.org/t/multiple-messages-with-settimeout/65007 "2022-07-12T15:44:49Z")

</div>

How can i push settimeout function value as output in function node ? I want to send O1 as output-1 and O2/rest messages as output-2 Things I've tried var O1=({payload: "hello1"}); var O2=({payload: "hello2"}); setTim…

---

## [How to use a message variable to navigate an array that is also a message variable, in a change node?](https://discourse.nodered.org/t/how-to-use-a-message-variable-to-navigate-an-array-that-is-also-a-message-variable-in-a-change-node/65005)

<div class="topic-metadata">

**Author:** [@janedoe123](https://discourse.nodered.org/u/janedoe123)\
**Replies:** 2\
**Last updated:** [12 July 2022 15:27 UTC](https://discourse.nodered.org/t/how-to-use-a-message-variable-to-navigate-an-array-that-is-also-a-message-variable-in-a-change-node/65005 "2022-07-12T15:27:20Z")

</div>

Hey there, I'm struggling trying to use a message variable to navigate an array that is also a message variable, in a change node, as follows: I tried the following, but nothing works: msg.months\[msg.index\] msg.mon…

---

## [node-RED Backup Flow](https://discourse.nodered.org/t/node-red-backup-flow/25033)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 33\
**Last updated:** [12 July 2022 15:26 UTC](https://discourse.nodered.org/t/node-red-backup-flow/25033 "2022-07-12T15:26:12Z")

</div>

I read a post a few days ago by @Trying\_to\_learn about losing his node-RED flow, which had taken him no doubt many hours to construct, and as his backup was on the same machine - he lost that too. So... I've spent a few…

---

## [Detect immediately when a global variable becomes true](https://discourse.nodered.org/t/detect-immediately-when-a-global-variable-becomes-true/64876)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 9\
**Last updated:** [12 July 2022 14:29 UTC](https://discourse.nodered.org/t/detect-immediately-when-a-global-variable-becomes-true/64876 "2022-07-12T14:29:58Z")

</div>

I would like detect immediately when a global variable beomes true...a sort of Listening of a variable. this is possible?

---

## [Timestamps in Influx differ by minutes (vs those loaded in NR)](https://discourse.nodered.org/t/timestamps-in-influx-differ-by-minutes-vs-those-loaded-in-nr/65004)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 1\
**Last updated:** [12 July 2022 13:21 UTC](https://discourse.nodered.org/t/timestamps-in-influx-differ-by-minutes-vs-those-loaded-in-nr/65004 "2022-07-12T13:21:54Z")

</div>

I am using the InfluxDB out node to populate some values with an associated timestamp. The timestamp is exactly on the hour, every hour. In the debug pane, it appears fine: but in InfluxDB, the timestamp (\_time) va…

---

## [About making @node-red/editor-client module based (with typings one day)](https://discourse.nodered.org/t/about-making-node-red-editor-client-module-based-with-typings-one-day/64952)

<div class="topic-metadata">

**Author:** [@Albaobab](https://discourse.nodered.org/u/Albaobab)\
**Replies:** 10\
**Last updated:** [12 July 2022 13:18 UTC](https://discourse.nodered.org/t/about-making-node-red-editor-client-module-based-with-typings-one-day/64952 "2022-07-12T13:18:54Z")

</div>

Hi everyone, For several months, i am working around a project using Node-Red as a dependency. In my case, the Node-Red editor is in fact used in a one-paged SvelteJS app (it could have been an Angular or React app, th…

---

## [Refresh a static page](https://discourse.nodered.org/t/refresh-a-static-page/64971)

<div class="topic-metadata">

**Author:** [@maliheh.amirfakhry](https://discourse.nodered.org/u/maliheh.amirfakhry)\
**Replies:** 18\
**Last updated:** [12 July 2022 11:12 UTC](https://discourse.nodered.org/t/refresh-a-static-page/64971 "2022-07-12T11:12:21Z")

</div>

Hi guys. I need to show a web page content on a screen. I use a raspberry pi connected to a screen. I want to use node-red for this purpose because the page is not dynamic need to refresh it every 10 min . Can you please…

---

## [How to call API on event based](https://discourse.nodered.org/t/how-to-call-api-on-event-based/64998)

<div class="topic-metadata">

**Author:** [@Rahul\_98](https://discourse.nodered.org/u/Rahul_98)\
**Replies:** 1\
**Last updated:** [12 July 2022 11:09 UTC](https://discourse.nodered.org/t/how-to-call-api-on-event-based/64998 "2022-07-12T11:09:53Z")

</div>

Hello! I want to send tag data to API based on condition ..when the tag value changes from (true) to (false) in device the API should send data .we should write a script for this configuration or there are any other wa…

---

## [AND condition in node-red block](https://discourse.nodered.org/t/and-condition-in-node-red-block/64994)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 1\
**Last updated:** [12 July 2022 08:53 UTC](https://discourse.nodered.org/t/and-condition-in-node-red-block/64994 "2022-07-12T08:53:29Z")

</div>

Hi all, I would like create AND condition with many node input. If all are true then pass to node after. I'm trying using SWITCH function but i think it is not usefull for this application. Do you have some suggestions…

---

## [Payload values to CSS variable](https://discourse.nodered.org/t/payload-values-to-css-variable/64980)

<div class="topic-metadata">

**Author:** [@Kundepuu](https://discourse.nodered.org/u/Kundepuu)\
**Replies:** 4\
**Last updated:** [12 July 2022 08:19 UTC](https://discourse.nodered.org/t/payload-values-to-css-variable/64980 "2022-07-12T08:19:01Z")

</div>

I need to put msg.kylmäpiste and msg. lämpöpiste into root variables to move corresponding balls in the flow template node \<div id="bgr"\> \<div class="txt" id="txt1"\>{{msg.s1}}\</div\> \<div class="txt" id="…

---

## [Donate or paid version](https://discourse.nodered.org/t/donate-or-paid-version/64973)

<div class="topic-metadata">

**Author:** [@Waz](https://discourse.nodered.org/u/Waz)\
**Replies:** 2\
**Last updated:** [12 July 2022 06:40 UTC](https://discourse.nodered.org/t/donate-or-paid-version/64973 "2022-07-12T06:40:56Z")

</div>

I love Node-RED so much I'd like to support the development team by donating or would be happy to pay a subscription. Is this possible? Would it actually help ensure the future of Node-RED?

---

## [Bar chart refused to show value](https://discourse.nodered.org/t/bar-chart-refused-to-show-value/64783)

<div class="topic-metadata">

**Author:** [@littlestupid](https://discourse.nodered.org/u/littlestupid)\
**Replies:** 18\
**Last updated:** [12 July 2022 04:09 UTC](https://discourse.nodered.org/t/bar-chart-refused-to-show-value/64783 "2022-07-12T04:09:02Z")

</div>

Good day innovation people, I would like to show this value on the bar chart, unfortunately my chart appear no data. above is the msg from the debug node. Below I attach my chart value. please help me show this value…

---

## [Usb printer zebra gk420t](https://discourse.nodered.org/t/usb-printer-zebra-gk420t/64970)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 0\
**Last updated:** [11 July 2022 19:45 UTC](https://discourse.nodered.org/t/usb-printer-zebra-gk420t/64970 "2022-07-11T19:45:40Z")

</div>

I all I have a ZEBRA GK420t connected to iot2050 with usb cable and I would like print with node-red I try set up printer with cups driver and I obtain : usb://Zebra%20Technologies/ZTC%20GK420t?serial=29J185204348 lp…

[Previous page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=535)

[Next page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=537)
