# Latest

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

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

**Page:** 407

---

## [Ui button event](https://discourse.nodered.org/t/ui-button-event/74548)

<div class="topic-metadata">

**Author:** [@superlogan72](https://discourse.nodered.org/u/superlogan72)\
**Replies:** 1\
**Last updated:** [1 February 2023 20:20 UTC](https://discourse.nodered.org/t/ui-button-event/74548 "2023-02-01T20:20:13Z")

</div>

Hello there is a way to get the release event of ui button or is possible to get only the click Thanks Luca

---

## [How to discard first message(s) and pass only the last message in a set period of time?](https://discourse.nodered.org/t/how-to-discard-first-message-s-and-pass-only-the-last-message-in-a-set-period-of-time/74570)

<div class="topic-metadata">

**Author:** [@t0mZ4](https://discourse.nodered.org/u/t0mZ4)\
**Replies:** 2\
**Last updated:** [1 February 2023 20:06 UTC](https://discourse.nodered.org/t/how-to-discard-first-message-s-and-pass-only-the-last-message-in-a-set-period-of-time/74570 "2023-02-01T20:06:15Z")

</div>

Hi :slight\_smile: Any idea on how to achieve the following case? for topic A: in a window of 5 seconds Message A - delete Message B - delete Message C (last message) - pass thanks champions!

---

## [Generating visual code for ws2812b using Node Red](https://discourse.nodered.org/t/generating-visual-code-for-ws2812b-using-node-red/74568)

<div class="topic-metadata">

**Author:** [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Replies:** 0\
**Last updated:** [1 February 2023 19:15 UTC](https://discourse.nodered.org/t/generating-visual-code-for-ws2812b-using-node-red/74568 "2023-02-01T19:15:03Z")

</div>

Hello, I have an area of 17x17 pixels by creating a matrix with ws2812b. As you know, we use the following format to add images to the code. My purpose: I want to upload the image via NodeRed and send the relevant HEX c…

---

## [Junction nodes think they are bigger than they are](https://discourse.nodered.org/t/junction-nodes-think-they-are-bigger-than-they-are/74474)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 7\
**Last updated:** [1 February 2023 17:11 UTC](https://discourse.nodered.org/t/junction-nodes-think-they-are-bigger-than-they-are/74474 "2023-02-01T17:11:52Z")

</div>

I find that some of my junction nodes think they are bigger than they should be, so if they are not widely separated from adjacent nodes then they show the ! warning of overlapping nodes. If I move the function node (…

---

## [Work with deployed flows on /ui and run the editor for different flows](https://discourse.nodered.org/t/work-with-deployed-flows-on-ui-and-run-the-editor-for-different-flows/74366)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 15\
**Last updated:** [1 February 2023 15:19 UTC](https://discourse.nodered.org/t/work-with-deployed-flows-on-ui-and-run-the-editor-for-different-flows/74366 "2023-02-01T15:19:01Z")

</div>

My first flows are build and deployed at port 1880 and stored with .node-red/flows.json. While the first version is in use, I would like to continue "working on it". I thought that this should go with a copy at another …

---

## [Save more variables in file with function node](https://discourse.nodered.org/t/save-more-variables-in-file-with-function-node/74560)

<div class="topic-metadata">

**Author:** [@\_mirjka](https://discourse.nodered.org/u/_mirjka)\
**Replies:** 2\
**Last updated:** [1 February 2023 14:18 UTC](https://discourse.nodered.org/t/save-more-variables-in-file-with-function-node/74560 "2023-02-01T14:18:49Z")

</div>

Hi, I try to save more or one variable in the nodered file system with the same function node. I have two different MQTT sources, one is a zyklic response with all variables at once and the other source only sends one …

---

## [Node-red returns empty when sending query to Microsoft SQL Server](https://discourse.nodered.org/t/node-red-returns-empty-when-sending-query-to-microsoft-sql-server/74555)

<div class="topic-metadata">

**Author:** [@Davih\_andrade](https://discourse.nodered.org/u/Davih_andrade)\
**Replies:** 4\
**Last updated:** [1 February 2023 13:21 UTC](https://discourse.nodered.org/t/node-red-returns-empty-when-sending-query-to-microsoft-sql-server/74555 "2023-02-01T13:21:43Z")

</div>

Hi, i’m having a problem using Microsoft SQL server with node-red and i hope someone can help me, also sorry if i'm not using the correct format for the post. I’m using the mssql-plus pallete and it Works in general, i s…

---

## [Display Wifi infomation on a PLC touch screen](https://discourse.nodered.org/t/display-wifi-infomation-on-a-plc-touch-screen/15665)

<div class="topic-metadata">

**Author:** [@Jeroen](https://discourse.nodered.org/u/Jeroen)\
**Replies:** 14\
**Last updated:** [1 February 2023 13:20 UTC](https://discourse.nodered.org/t/display-wifi-infomation-on-a-plc-touch-screen/15665 "2023-02-01T13:20:28Z")

</div>

I have a plc wired to my raspberry pi and it is comunicating over TCP IP. Now I want to show on the display of the plc that the pi is connected to WiFi and the strength of the signal. I used Wifi scanner but now I don't …

---

## [Unset property overwrites text node](https://discourse.nodered.org/t/unset-property-overwrites-text-node/74473)

<div class="topic-metadata">

**Author:** [@dondario](https://discourse.nodered.org/u/dondario)\
**Replies:** 5\
**Last updated:** [1 February 2023 13:14 UTC](https://discourse.nodered.org/t/unset-property-overwrites-text-node/74473 "2023-02-01T13:14:24Z")

</div>

Hi, I'm using node red since more than 4 years and i have a question regarding the text node. When I am using the mustache syntax to set the value format to e.g.: "{{msg.payload.second}}" everything works fine, if the…

---

## [Deploy a nodeRED project](https://discourse.nodered.org/t/deploy-a-nodered-project/74549)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 1\
**Last updated:** [1 February 2023 12:04 UTC](https://discourse.nodered.org/t/deploy-a-nodered-project/74549 "2023-02-01T12:04:10Z")

</div>

Node-RED is a great modeling tool, but how would a fully modeled solution with all the required settings and parts/nodes/flows/etc to be distributed to other users? This should then also include a simple installation pro…

---

## [Export and import a flow with all nodes inside](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249)

<div class="topic-metadata">

**Author:** [@Geppy57](https://discourse.nodered.org/u/Geppy57)\
**Replies:** 4\
**Last updated:** [1 February 2023 11:16 UTC](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249 "2023-02-01T11:16:37Z")

</div>

Hi all. I have a lot of IOT devices that needs an upgrade by installs new flows inside NR. When I try to import these new flows, some nodes appears not complete because the relative node is not installed on the palette…

---

## [🍣 FlexDash: some like it raw!](https://discourse.nodered.org/t/flexdash-some-like-it-raw/74318)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 6\
**Last updated:** [1 February 2023 10:52 UTC](https://discourse.nodered.org/t/flexdash-some-like-it-raw/74318 "2023-02-01T10:52:08Z")

</div>

While working with Bart porting node-red-ui-svg to FlexDash (see also \[ANNOUNCE\] node-red-contrib-svg-edit: beta 1.0.0 some interesting ideas came up in order to support SVGs in FlexDash. What started as an SVG widget tu…

---

## [How to print labels by node-red, with Zebra ZD220 EPL printer](https://discourse.nodered.org/t/how-to-print-labels-by-node-red-with-zebra-zd220-epl-printer/74543)

<div class="topic-metadata">

**Author:** [@MichaelHilario](https://discourse.nodered.org/u/MichaelHilario)\
**Replies:** 0\
**Last updated:** [1 February 2023 10:29 UTC](https://discourse.nodered.org/t/how-to-print-labels-by-node-red-with-zebra-zd220-epl-printer/74543 "2023-02-01T10:29:05Z")

</div>

I want to make an application to print some fields of some modbus variables, send them to the printer in a standard label, the communication will be via USB. Does anyone have a similar application or some help regarding…

---

## [Reading values of variables - Error undefined](https://discourse.nodered.org/t/reading-values-of-variables-error-undefined/74542)

<div class="topic-metadata">

**Author:** [@kravalli](https://discourse.nodered.org/u/kravalli)\
**Replies:** 3\
**Last updated:** [1 February 2023 10:26 UTC](https://discourse.nodered.org/t/reading-values-of-variables-error-undefined/74542 "2023-02-01T10:26:01Z")

</div>

Hi, I am trying to read the value of an input\_text from homeassistant. The value my function node is returning is "undefined". var temp1 = global.get("homeassistant.homeAssistant.states\['input\_text.temp\_1'\].state"); v…

---

## [While loop not working, even though false condition is met](https://discourse.nodered.org/t/while-loop-not-working-even-though-false-condition-is-met/74520)

<div class="topic-metadata">

**Author:** [@kravalli](https://discourse.nodered.org/u/kravalli)\
**Replies:** 3\
**Last updated:** [1 February 2023 09:54 UTC](https://discourse.nodered.org/t/while-loop-not-working-even-though-false-condition-is-met/74520 "2023-02-01T09:54:58Z")

</div>

Hi, I am trying to increment the brightness of my led while I hold down my Ikea tradfri button. If I hold the down button, the msg.payload.event.command output is "move". As soon as I let go it outputs "stop\_with\_on\_off…

---

## [Alternate-node-red-installer and pkg](https://discourse.nodered.org/t/alternate-node-red-installer-and-pkg/74402)

<div class="topic-metadata">

**Author:** [@norchenne](https://discourse.nodered.org/u/norchenne)\
**Replies:** 12\
**Last updated:** [1 February 2023 09:50 UTC](https://discourse.nodered.org/t/alternate-node-red-installer-and-pkg/74402 "2023-02-01T09:50:57Z")

</div>

Hello, I have installed node-red using alternate-node-red-installer and created my flows that i want to package using pkg, I have seen a topic that was closed talking about it but couldn't figure out what to do Node-R…

---

## [Radar graph not scaling to space correctly](https://discourse.nodered.org/t/radar-graph-not-scaling-to-space-correctly/74457)

<div class="topic-metadata">

**Author:** [@zackr](https://discourse.nodered.org/u/zackr)\
**Replies:** 3\
**Last updated:** [1 February 2023 09:47 UTC](https://discourse.nodered.org/t/radar-graph-not-scaling-to-space-correctly/74457 "2023-02-01T09:47:54Z")

</div>

I am creating a dashboard to display some data I have collected and while using the Radar graph it seems the chart will not change size like the other graphs I have used. Another issue with the radar graphs is they keep …

---

## [Simple CRUD with MariaDB](https://discourse.nodered.org/t/simple-crud-with-mariadb/74532)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 1\
**Last updated:** [1 February 2023 08:38 UTC](https://discourse.nodered.org/t/simple-crud-with-mariadb/74532 "2023-02-01T08:38:44Z")

</div>

I would like to share here a simple CRUD that I made using the DASHBOARD\_UI of NODE-RED. This code serves as a reference for future colleagues (including myself) who need it. Insert, show and delete data in a simple ta…

---

## [Azure-table-storage-aleph query](https://discourse.nodered.org/t/azure-table-storage-aleph-query/74467)

<div class="topic-metadata">

**Author:** [@dineshaj](https://discourse.nodered.org/u/dineshaj)\
**Replies:** 1\
**Last updated:** [1 February 2023 08:27 UTC](https://discourse.nodered.org/t/azure-table-storage-aleph-query/74467 "2023-02-01T08:27:20Z")

</div>

Hi, I would like to query my table to return values of the column named "groupId". I am not able to understand the documentation for the query string which is { "tableName": "MyTable", "action": "Q", "selectdat…

---

## [How can I do? If i want a debug node to show status when fins protocol get timeout](https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526)

<div class="topic-metadata">

**Author:** [@khunakon](https://discourse.nodered.org/u/khunakon)\
**Replies:** 3\
**Last updated:** [1 February 2023 08:15 UTC](https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526 "2023-02-01T08:15:47Z")

</div>

If i want a debug node to show status when fins protocol get timeout , How can i do?

---

## [Getting multiple omxplayer to play same time](https://discourse.nodered.org/t/getting-multiple-omxplayer-to-play-same-time/74536)

<div class="topic-metadata">

**Author:** [@thepianocian](https://discourse.nodered.org/u/thepianocian)\
**Replies:** 0\
**Last updated:** [1 February 2023 06:07 UTC](https://discourse.nodered.org/t/getting-multiple-omxplayer-to-play-same-time/74536 "2023-02-01T06:07:51Z")

</div>

So I currently have a video playing in the background using omxplayer. My goal is to eventually have a button on the dashboard that will play a second video in a window on top of the existing video, so the existing video…

---

## [Function/subflow of Repurpose Database connection](https://discourse.nodered.org/t/function-subflow-of-repurpose-database-connection/74533)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 0\
**Last updated:** [1 February 2023 03:28 UTC](https://discourse.nodered.org/t/function-subflow-of-repurpose-database-connection/74533 "2023-02-01T03:28:21Z")

</div>

Sub-Flow to use only 1 database node keeping all database information in only one place. \[{"id":"4639c7fae2510b5a","type":"subflow","name":"PrepBD","info":"","category":"","in":\[{"x":80,"y":100,"wires":\[{"id":"8cc0b5…

---

## [How to get detailed stack information](https://discourse.nodered.org/t/how-to-get-detailed-stack-information/74530)

<div class="topic-metadata">

**Author:** [@LeungChunChiu](https://discourse.nodered.org/u/LeungChunChiu)\
**Replies:** 0\
**Last updated:** [1 February 2023 03:06 UTC](https://discourse.nodered.org/t/how-to-get-detailed-stack-information/74530 "2023-02-01T03:06:29Z")

</div>

\[ { "id": "c5bb02e15e36ccd2", "type": "inject", "z": "e24cd2d1b0061f29", "name": "", "props": \[ { "p": "payload" }, { …

---

## [Home Assistant - Errors Node Red new install seems to start but errors and shuts down](https://discourse.nodered.org/t/home-assistant-errors-node-red-new-install-seems-to-start-but-errors-and-shuts-down/74524)

<div class="topic-metadata">

**Author:** [@glwalt](https://discourse.nodered.org/u/glwalt)\
**Replies:** 1\
**Last updated:** [1 February 2023 01:29 UTC](https://discourse.nodered.org/t/home-assistant-errors-node-red-new-install-seems-to-start-but-errors-and-shuts-down/74524 "2023-02-01T01:29:29Z")

</div>

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service base-addon-banner: starting Add-on: Node-RED Flow-based programming for the Interne…

---

## [I have problem with installing node-red pls can someone help me](https://discourse.nodered.org/t/i-have-problem-with-installing-node-red-pls-can-someone-help-me/74497)

<div class="topic-metadata">

**Author:** [@kwa45](https://discourse.nodered.org/u/kwa45)\
**Replies:** 11\
**Last updated:** [1 February 2023 01:03 UTC](https://discourse.nodered.org/t/i-have-problem-with-installing-node-red-pls-can-someone-help-me/74497 "2023-02-01T01:03:17Z")

</div>

---

## [Can't install from the palette in node-red server running on Windows 10](https://discourse.nodered.org/t/cant-install-from-the-palette-in-node-red-server-running-on-windows-10/74385)

<div class="topic-metadata">

**Author:** [@jbrown123](https://discourse.nodered.org/u/jbrown123)\
**Replies:** 11\
**Last updated:** [31 January 2023 22:21 UTC](https://discourse.nodered.org/t/cant-install-from-the-palette-in-node-red-server-running-on-windows-10/74385 "2023-01-31T22:21:04Z")

</div>

I've used node-red on an RPi for several years. I'm doing a presentation on node-red next week so I installed a local copy on my laptop (Windows 10 x64, MS surface) using the instructions at Running on Windows : Node-RED.…

---

## [Decrypting node-red credentials file](https://discourse.nodered.org/t/decrypting-node-red-credentials-file/74519)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 1\
**Last updated:** [31 January 2023 22:07 UTC](https://discourse.nodered.org/t/decrypting-node-red-credentials-file/74519 "2023-01-31T22:07:58Z")

</div>

I have an encrypted credentials file (flows\_cred.json) which I would like to convert into an unencrypted credential files. I know the credential password. So is there a way I can do that ? Rationale: Instead of worki…

---

## [In the same button come on a lock/unlock](https://discourse.nodered.org/t/in-the-same-button-come-on-a-lock-unlock/74490)

<div class="topic-metadata">

**Author:** [@amine1](https://discourse.nodered.org/u/amine1)\
**Replies:** 3\
**Last updated:** [31 January 2023 21:51 UTC](https://discourse.nodered.org/t/in-the-same-button-come-on-a-lock-unlock/74490 "2023-01-31T21:51:43Z")

</div>

hi every one , my question is how i can creat a push button that combine two differents states (when i push it ,the icon UNLOCK come on ,and the LOCK come on when i push the second time ) in the normal case the button is…

---

## [Compare Current timestamp with future timestamp](https://discourse.nodered.org/t/compare-current-timestamp-with-future-timestamp/74443)

<div class="topic-metadata">

**Author:** [@stevoboy](https://discourse.nodered.org/u/stevoboy)\
**Replies:** 3\
**Last updated:** [31 January 2023 21:13 UTC](https://discourse.nodered.org/t/compare-current-timestamp-with-future-timestamp/74443 "2023-01-31T21:13:40Z")

</div>

Dear all I would like to use the German DWD wind warning to initiate retracting our blinds. DWD sends different warning codes, wind warning is integer value "1". Currently, this value triggers the flow to retract the …

---

## [Python while cycle don't run in node-red](https://discourse.nodered.org/t/python-while-cycle-dont-run-in-node-red/74271)

<div class="topic-metadata">

**Author:** [@superlogan72](https://discourse.nodered.org/u/superlogan72)\
**Replies:** 7\
**Last updated:** [31 January 2023 20:39 UTC](https://discourse.nodered.org/t/python-while-cycle-dont-run-in-node-red/74271 "2023-01-31T20:39:22Z")

</div>

Hello why in python3 function this program run only one time, outside node-red he run as per expected. rom rpiplc\_lib import rpiplc rpiplc.init("RPIPLC\_58") rpiplc.pin\_mode("I0.0",rpiplc.INPUT) while(True): valore= …

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

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