# Latest

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

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

**Page:** 597

---

## [Why Coap Server resend message twice?](https://discourse.nodered.org/t/why-coap-server-resend-message-twice/60724)

<div class="topic-metadata">

**Author:** [@Salarj](https://discourse.nodered.org/u/Salarj)\
**Replies:** 0\
**Last updated:** [3 April 2022 14:45 UTC](https://discourse.nodered.org/t/why-coap-server-resend-message-twice/60724 "2022-04-03T14:45:48Z")

</div>

Hi Dear I am working on CoAP in a Node-Red application. In my scenario, the client sends a single request to the CoAP Server every one second . Why do I always receive two responses from the CoAP Server (for each reques…

---

## [How can I share my custom event emitter between the node and the runtime side](https://discourse.nodered.org/t/how-can-i-share-my-custom-event-emitter-between-the-node-and-the-runtime-side/60709)

<div class="topic-metadata">

**Author:** [@steinmetz](https://discourse.nodered.org/u/steinmetz)\
**Replies:** 6\
**Last updated:** [3 April 2022 14:44 UTC](https://discourse.nodered.org/t/how-can-i-share-my-custom-event-emitter-between-the-node-and-the-runtime-side/60709 "2022-04-03T14:44:37Z")

</div>

Continuing the discussion from Event emitter for function object in separate module: I need to watch all nodes (HTML elements) of a flow and then send them to a database. My idea is to create a custom event emitter and …

---

## [Convert array to a specified string for a telnet connection](https://discourse.nodered.org/t/convert-array-to-a-specified-string-for-a-telnet-connection/60701)

<div class="topic-metadata">

**Author:** [@tim26](https://discourse.nodered.org/u/tim26)\
**Replies:** 3\
**Last updated:** [3 April 2022 10:21 UTC](https://discourse.nodered.org/t/convert-array-to-a-specified-string-for-a-telnet-connection/60701 "2022-04-03T10:21:59Z")

</div>

Hey, i please need help with a function node. From a sql query i get an array with a variable number of objects. Example: Now i need to send this data via a telnet connection to my device as follows: 101000002132…

---

## [Raspberry Pi Zero W Dashboard Error](https://discourse.nodered.org/t/raspberry-pi-zero-w-dashboard-error/60696)

<div class="topic-metadata">

**Author:** [@keeganstewart11](https://discourse.nodered.org/u/keeganstewart11)\
**Replies:** 1\
**Last updated:** [2 April 2022 20:29 UTC](https://discourse.nodered.org/t/raspberry-pi-zero-w-dashboard-error/60696 "2022-04-02T20:29:19Z")

</div>

To start off I am pretty new to using Node-Red and do not have too much experience with it. I had someone install the application for me and had the dashboard up and running. Today when I turned on my Pi and went to star…

---

## [Problem with cookie extraction](https://discourse.nodered.org/t/problem-with-cookie-extraction/60685)

<div class="topic-metadata">

**Author:** [@df5zx](https://discourse.nodered.org/u/df5zx)\
**Replies:** 12\
**Last updated:** [2 April 2022 19:14 UTC](https://discourse.nodered.org/t/problem-with-cookie-extraction/60685 "2022-04-02T19:14:03Z")

</div>

Hello, I am not a permanent user of NODE-RED, I am more using CURL and JQ ... NOW, I have a small project where the LOGIN of a webserver is returning 3 cookies named JSESSION ID CatchMe SID-TOKEN . In the flows, u…

---

## [Create HL7 Message with segments](https://discourse.nodered.org/t/create-hl7-message-with-segments/59869)

<div class="topic-metadata">

**Author:** [@sinmeera](https://discourse.nodered.org/u/sinmeera)\
**Replies:** 5\
**Last updated:** [2 April 2022 19:01 UTC](https://discourse.nodered.org/t/create-hl7-message-with-segments/59869 "2022-04-02T19:01:03Z")

</div>

Hi All, I am trying to create a HL7 messages from the JSON input.I need to create HL7 message sgements with the nodes MSH,EVN,PID,PV1 with the fields values. i need to write the javascript using node red. Could you pl…

---

## [Node-red mongodb update record](https://discourse.nodered.org/t/node-red-mongodb-update-record/6783)

<div class="topic-metadata">

**Author:** [@turkdoktoru](https://discourse.nodered.org/u/turkdoktoru)\
**Replies:** 14\
**Last updated:** [2 April 2022 17:20 UTC](https://discourse.nodered.org/t/node-red-mongodb-update-record/6783 "2022-04-02T17:20:24Z")

</div>

Hi friends, I connect to the node-red server with mqtt and send a json object as follows. {"nodebolge": "tttttt", "nodename": "device5", "nodeabone": "144", "index": "655477"} If you have the same record with the "nod…

---

## [Can node-Red program Oculus VR](https://discourse.nodered.org/t/can-node-red-program-oculus-vr/60688)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 1\
**Last updated:** [2 April 2022 16:48 UTC](https://discourse.nodered.org/t/can-node-red-program-oculus-vr/60688 "2022-04-02T16:48:11Z")

</div>

I have no idea about VR or how it works, but want to know if I can start something in VR with Node-Red.

---

## [Make Timecode for forward and backward 10 seconds](https://discourse.nodered.org/t/make-timecode-for-forward-and-backward-10-seconds/60693)

<div class="topic-metadata">

**Author:** [@BWTH](https://discourse.nodered.org/u/BWTH)\
**Replies:** 0\
**Last updated:** [2 April 2022 16:36 UTC](https://discourse.nodered.org/t/make-timecode-for-forward-and-backward-10-seconds/60693 "2022-04-02T16:36:24Z")

</div>

after 2 Weeks hard work :wink: for an beginner i have some questions i have an player wich can´t get out timecode, so i get an toggle on beginning of the clip. this toggle should start the timer. this works. now i have …

---

## ["Error: Client Not Ready To Read At State reconnecting" when try Huawei Sun2000](https://discourse.nodered.org/t/error-client-not-ready-to-read-at-state-reconnecting-when-try-huawei-sun2000/60691)

<div class="topic-metadata">

**Author:** [@CAuboy](https://discourse.nodered.org/u/CAuboy)\
**Replies:** 1\
**Last updated:** [2 April 2022 16:33 UTC](https://discourse.nodered.org/t/error-client-not-ready-to-read-at-state-reconnecting-when-try-huawei-sun2000/60691 "2022-04-02T16:33:42Z")

</div>

Hi. I'm trying to conect to my Huawei Sun 2000 by modbus TCP and when I deploy a Modbus Read module and configurated a client with ID 0 appears that error: "Error: Client Not Ready To Read At State reconnecting" I inst…

---

## [Missing notification output](https://discourse.nodered.org/t/missing-notification-output/60649)

<div class="topic-metadata">

**Author:** [@QGIO](https://discourse.nodered.org/u/QGIO)\
**Replies:** 9\
**Last updated:** [2 April 2022 12:06 UTC](https://discourse.nodered.org/t/missing-notification-output/60649 "2022-04-02T12:06:36Z")

</div>

Continuing the discussion from Pass data throught a button to SQL Table: I Steve, could you help me on this flow? I'm using this flow, but I have a problem. When I enter in the tab (by http://127.0.0.1:1880/ui) for the…

---

## [Node-red-contrib-grpc TLS](https://discourse.nodered.org/t/node-red-contrib-grpc-tls/60680)

<div class="topic-metadata">

**Author:** [@Edi](https://discourse.nodered.org/u/Edi)\
**Replies:** 1\
**Last updated:** [2 April 2022 10:15 UTC](https://discourse.nodered.org/t/node-red-contrib-grpc-tls/60680 "2022-04-02T10:15:04Z")

</div>

Hello, i will communicate over GRPC with an application that is installed on a Windows 2016 Sevrer. The problem is, my Node-Red use TLS 1.3 and the App on the Windows Machine can only communicate over TLS 1.2. How can…

---

## [Wrong Timezone data in sql query result?!?](https://discourse.nodered.org/t/wrong-timezone-data-in-sql-query-result/60658)

<div class="topic-metadata">

**Author:** [@markush](https://discourse.nodered.org/u/markush)\
**Replies:** 13\
**Last updated:** [2 April 2022 09:39 UTC](https://discourse.nodered.org/t/wrong-timezone-data-in-sql-query-result/60658 "2022-04-02T09:39:35Z")

</div>

Hello, i try to show some data of my postgresql database in node-red via the table node. The query in pg-admin show the following result sets: The same query results the following data in node-red: The "tag" (day …

---

## [Bar Chart display Cycle Time with Standard Line](https://discourse.nodered.org/t/bar-chart-display-cycle-time-with-standard-line/60676)

<div class="topic-metadata">

**Author:** [@PanK](https://discourse.nodered.org/u/PanK)\
**Replies:** 0\
**Last updated:** [2 April 2022 08:13 UTC](https://discourse.nodered.org/t/bar-chart-display-cycle-time-with-standard-line/60676 "2022-04-02T08:13:31Z")

</div>

Hi, I am tast to integrate bar chart that display workpiece number on x axis and cycle time in sec on y axis. Then there need to be a standard line that changeable from the slider and reset the graph when hit reset. Bel…

---

## [Toggle GPIO Input](https://discourse.nodered.org/t/toggle-gpio-input/60643)

<div class="topic-metadata">

**Author:** [@BWTH](https://discourse.nodered.org/u/BWTH)\
**Replies:** 6\
**Last updated:** [2 April 2022 06:32 UTC](https://discourse.nodered.org/t/toggle-gpio-input/60643 "2022-04-02T06:32:58Z")

</div>

Hi i am looking for an funktion that does the following: on my Raspberry when i push an button (GPIO in 7), than i want to send out udp1, if i push the same button a second time i want to send out udp2, and than if i p…

---

## [How/When do you tidy up your code/Fix up edge use workarounds?](https://discourse.nodered.org/t/how-when-do-you-tidy-up-your-code-fix-up-edge-use-workarounds/60625)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 5\
**Last updated:** [2 April 2022 03:43 UTC](https://discourse.nodered.org/t/how-when-do-you-tidy-up-your-code-fix-up-edge-use-workarounds/60625 "2022-04-02T03:43:19Z")

</div>

Guys, Just wondering what the general approach here is (as there are a great range of levels of programming ability on here) to going back and redoing code once it gets too messy/difficult to maintain ? In my instance …

---

## [Request object deleted](https://discourse.nodered.org/t/request-object-deleted/60515)

<div class="topic-metadata">

**Author:** [@nodeautomata](https://discourse.nodered.org/u/nodeautomata)\
**Replies:** 5\
**Last updated:** [2 April 2022 02:19 UTC](https://discourse.nodered.org/t/request-object-deleted/60515 "2022-04-02T02:19:46Z")

</div>

I'm using File Lister node. It wipes out msg.payload. I can see that, ok, whatever. But it also whacks msg.req and msg.res. I'm using a http in node and having msg.res/req get wiped causes much trouble. I tried…

---

## [HTML CSS Website get input in Node RED](https://discourse.nodered.org/t/html-css-website-get-input-in-node-red/60604)

<div class="topic-metadata">

**Author:** [@Zyan](https://discourse.nodered.org/u/Zyan)\
**Replies:** 2\
**Last updated:** [2 April 2022 01:33 UTC](https://discourse.nodered.org/t/html-css-website-get-input-in-node-red/60604 "2022-04-02T01:33:24Z")

</div>

Hello, i found that example for a Node Red Website: https://flows.nodered.org/flow/1bffe6808d37bd96cce283939983e758 I changed it to an Dashboard Navigation Bar, that worked great. Now i am looking for a Way that when…

---

## [Back and forward in an array](https://discourse.nodered.org/t/back-and-forward-in-an-array/60659)

<div class="topic-metadata">

**Author:** [@SmartHomeNewbie](https://discourse.nodered.org/u/SmartHomeNewbie)\
**Replies:** 4\
**Last updated:** [1 April 2022 21:35 UTC](https://discourse.nodered.org/t/back-and-forward-in-an-array/60659 "2022-04-01T21:35:53Z")

</div>

Hello, I am trying to make a flow to go back and forward in an array of colors, and for the most part it works But when I go from pressing "forward" to "backward", the first time I press backward it goes forward in the…

---

## [Changing Link Out Destination at Run Time](https://discourse.nodered.org/t/changing-link-out-destination-at-run-time/60656)

<div class="topic-metadata">

**Author:** [@cabh](https://discourse.nodered.org/u/cabh)\
**Replies:** 2\
**Last updated:** [1 April 2022 21:01 UTC](https://discourse.nodered.org/t/changing-link-out-destination-at-run-time/60656 "2022-04-01T21:01:17Z")

</div>

I am wondering if there is a way to change the out link (or property Links) at runtime. I attempted to set the 'Link' property to a specific Node ID in the Flow I want to trigger (as a test). Does this have to be a Jason…

---

## [Automatic charge current creation](https://discourse.nodered.org/t/automatic-charge-current-creation/60662)

<div class="topic-metadata">

**Author:** [@slapperia](https://discourse.nodered.org/u/slapperia)\
**Replies:** 0\
**Last updated:** [1 April 2022 20:26 UTC](https://discourse.nodered.org/t/automatic-charge-current-creation/60662 "2022-04-01T20:26:47Z")

</div>

Hello guys, I am new to Node RED and have made some simle function and dashboard to use on my boat. I am now trying to make the code in the picture. It is not working and I made it just for illustration only. What …

---

## [Benchmarking node-red execution](https://discourse.nodered.org/t/benchmarking-node-red-execution/60660)

<div class="topic-metadata">

**Author:** [@cloud-rocket](https://discourse.nodered.org/u/cloud-rocket)\
**Replies:** 3\
**Last updated:** [1 April 2022 20:22 UTC](https://discourse.nodered.org/t/benchmarking-node-red-execution/60660 "2022-04-01T20:22:13Z")

</div>

Is there any way to benchmark node-red execution to try to find out functions where the main thread spends most of the time? As a single-threaded application dealing with I/O - I'd like to find out potential bottlenecks…

---

## [Function for yesterday?](https://discourse.nodered.org/t/function-for-yesterday/60654)

<div class="topic-metadata">

**Author:** [@jasazick](https://discourse.nodered.org/u/jasazick)\
**Replies:** 1\
**Last updated:** [1 April 2022 19:58 UTC](https://discourse.nodered.org/t/function-for-yesterday/60654 "2022-04-01T19:58:28Z")

</div>

I have an global variable that stores as the following date/timestamp example: April 1, 2022 12:57 PM I'm pretty sure this maps to LLL in the Date/Time Formatter Node What I'd like to do is be able to have a function …

---

## [Node-red-contrib-postgresql 0.9.0 with global variables](https://discourse.nodered.org/t/node-red-contrib-postgresql-0-9-0-with-global-variables/60648)

<div class="topic-metadata">

**Author:** [@luis.brito](https://discourse.nodered.org/u/luis.brito)\
**Replies:** 9\
**Last updated:** [1 April 2022 19:19 UTC](https://discourse.nodered.org/t/node-red-contrib-postgresql-0-9-0-with-global-variables/60648 "2022-04-01T19:19:53Z")

</div>

Hi, I'm using "node-red-contrib-postgresql 0.9.0" to change data with a PostgresSQL database. To use variables in my query it's necessary to use {{{msg.payload.VARIABLE}}}, and it's working fine. But when i tried to us…

---

## [Hash, Salt and beyond](https://discourse.nodered.org/t/hash-salt-and-beyond/60591)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 5\
**Last updated:** [1 April 2022 18:23 UTC](https://discourse.nodered.org/t/hash-salt-and-beyond/60591 "2022-04-01T18:23:16Z")

</div>

Hi all! I need to generate a Hash with these procedure: The algorithm will be AES (that's not a problem). Method AES/CBC/PKCS5PADDING HASH in SHA-512 The first three points will be covered with a node. But here come…

---

## [FlexDash 1st steps](https://discourse.nodered.org/t/flexdash-1st-steps/60566)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 7\
**Last updated:** [1 April 2022 17:47 UTC](https://discourse.nodered.org/t/flexdash-1st-steps/60566 "2022-04-01T17:47:04Z")

</div>

I am just starting to get my feet wet with FlexDash. I have a flow that I want to display on the FlexDash. I took the output from one of my functions and used as an input into the flexdash out node To link the st…

---

## [Should I automate homebridge nodes or homekit nodes](https://discourse.nodered.org/t/should-i-automate-homebridge-nodes-or-homekit-nodes/60270)

<div class="topic-metadata">

**Author:** [@Maddie](https://discourse.nodered.org/u/Maddie)\
**Replies:** 4\
**Last updated:** [1 April 2022 16:39 UTC](https://discourse.nodered.org/t/should-i-automate-homebridge-nodes-or-homekit-nodes/60270 "2022-04-01T16:39:18Z")

</div>

Hi! New to Node Red, but ive used HomeAssistant, Smarthings and Hubitat in the past. Node red looks pretty awesome, and im ready to dive in and create flows, but before i go in too deep, should i automate homebride no…

---

## [Trigger Node - Original versus Latest then Send option](https://discourse.nodered.org/t/trigger-node-original-versus-latest-then-send-option/60606)

<div class="topic-metadata">

**Author:** [@gil27255](https://discourse.nodered.org/u/gil27255)\
**Replies:** 10\
**Last updated:** [1 April 2022 15:55 UTC](https://discourse.nodered.org/t/trigger-node-original-versus-latest-then-send-option/60606 "2022-04-01T15:55:35Z")

</div>

Node-RED version 2.2, Node version 16.14.0: I was working on a semi-complex flow containing a Trigger Node. The flow was not producing the desired result. I narrowed it down to the Trigger node by creating a simple te…

---

## [Is it possible to pass query SQL result to a notification node?](https://discourse.nodered.org/t/is-it-possible-to-pass-query-sql-result-to-a-notification-node/59990)

<div class="topic-metadata">

**Author:** [@QGIO](https://discourse.nodered.org/u/QGIO)\
**Replies:** 8\
**Last updated:** [1 April 2022 12:55 UTC](https://discourse.nodered.org/t/is-it-possible-to-pass-query-sql-result-to-a-notification-node/59990 "2022-04-01T12:55:39Z")

</div>

Hello, I would like to send the result of a query to a database sql table to a notification node (like a pop-up in which is reported the list output of the query, which an array). By a botton I want to send the query t…

---

## [How to divide JSONATA payload term?](https://discourse.nodered.org/t/how-to-divide-jsonata-payload-term/60644)

<div class="topic-metadata">

**Author:** [@kuhnino](https://discourse.nodered.org/u/kuhnino)\
**Replies:** 3\
**Last updated:** [1 April 2022 11:45 UTC](https://discourse.nodered.org/t/how-to-divide-jsonata-payload-term/60644 "2022-04-01T11:45:24Z")

</div>

I have collected data thru "serial in" and forwarded that to an MQTT message. Tx to all here who hellped me already. Problem now is some of the values, e.g. for the temperature are 10 times higher. So instead of 20 degr…

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

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