# Latest

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

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

**Page:** 355

---

## [Trying to handle single press and press-and-hold on a button that only gives press and release](https://discourse.nodered.org/t/trying-to-handle-single-press-and-press-and-hold-on-a-button-that-only-gives-press-and-release/77879)

<div class="topic-metadata">

**Author:** [@fribse](https://discourse.nodered.org/u/fribse)\
**Replies:** 3\
**Last updated:** [24 April 2023 20:23 UTC](https://discourse.nodered.org/t/trying-to-handle-single-press-and-press-and-hold-on-a-button-that-only-gives-press-and-release/77879 "2023-04-24T20:23:14Z")

</div>

I've made this flow to handle the single-press and press-and-hold for a button on my Home Assistant. The zigbee button only gives press and release. I was wondering if there were a better way, than using a flow vari…

---

## [Dshboard LED flashing start/stop](https://discourse.nodered.org/t/dshboard-led-flashing-start-stop/77895)

<div class="topic-metadata">

**Author:** [@miriki](https://discourse.nodered.org/u/miriki)\
**Replies:** 1\
**Last updated:** [24 April 2023 18:59 UTC](https://discourse.nodered.org/t/dshboard-led-flashing-start-stop/77895 "2023-04-24T18:59:40Z")

</div>

Hi, all! I'm trying to use the LED from node-red-contrib-ui-led. I want to change modes of the displayed LED to "on", "off" and "blink". Additionally I want to change the color like "red", "green", "blue", ... etc. for …

---

## [Multipart decoder](https://discourse.nodered.org/t/multipart-decoder/77890)

<div class="topic-metadata">

**Author:** [@maxmueller50](https://discourse.nodered.org/u/maxmueller50)\
**Replies:** 0\
**Last updated:** [24 April 2023 17:03 UTC](https://discourse.nodered.org/t/multipart-decoder/77890 "2023-04-24T17:03:21Z")

</div>

Hi I have a problem with the "multipart decoder" in the first raspberry I used the multipart decoder Node Vers 0.0.4 together with Base64 Node for Streaming a ESP32-Cam \>\>\> it works as well now I have to change the pr…

---

## [Questions about Modbus - UI controls and forwarding signals?](https://discourse.nodered.org/t/questions-about-modbus-ui-controls-and-forwarding-signals/77738)

<div class="topic-metadata">

**Author:** [@Darren](https://discourse.nodered.org/u/Darren)\
**Replies:** 17\
**Last updated:** [24 April 2023 15:27 UTC](https://discourse.nodered.org/t/questions-about-modbus-ui-controls-and-forwarding-signals/77738 "2023-04-24T15:27:38Z")

</div>

I am using node-red-contrib-modbus and node-red-dashboard. I need to implement: dashboard controls for modbus devices (e.g. ON/OFF signals through Modbus via UI switch) a modbus server that redirects received modbus s…

---

## [Http request flow](https://discourse.nodered.org/t/http-request-flow/77811)

<div class="topic-metadata">

**Author:** [@om3rx](https://discourse.nodered.org/u/om3rx)\
**Replies:** 22\
**Last updated:** [24 April 2023 13:31 UTC](https://discourse.nodered.org/t/http-request-flow/77811 "2023-04-24T13:31:19Z")

</div>

Hi, Looking for help, i have basic flow that triggers 5hours from a website everyday at 00:00 and write them in a times.txt file. The flow works but on the times.txt file something changed and the hours is not extracted…

---

## [Node-Red -\> Infuxdb - Timestamp out of date](https://discourse.nodered.org/t/node-red-infuxdb-timestamp-out-of-date/77865)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 6\
**Last updated:** [24 April 2023 11:37 UTC](https://discourse.nodered.org/t/node-red-infuxdb-timestamp-out-of-date/77865 "2023-04-24T11:37:29Z")

</div>

I am using Raspberry 4 to run Node-Red, Influxdb and Grafana. The Pi is set up on Johannasburg South Africa time zone. The problem if I query the data are a few hours off, I suspect somehow the data are stored with the…

---

## [Rock 4C+ - Raspberry Pi Specific Nodes?](https://discourse.nodered.org/t/rock-4c-raspberry-pi-specific-nodes/77876)

<div class="topic-metadata">

**Author:** [@awneil](https://discourse.nodered.org/u/awneil)\
**Replies:** 3\
**Last updated:** [24 April 2023 11:08 UTC](https://discourse.nodered.org/t/rock-4c-raspberry-pi-specific-nodes/77876 "2023-04-24T11:08:53Z")

</div>

The standard Raspberry Pi install/update script says it will work on, "any Debian-based operating system": https://nodered.org/docs/getting-started/raspberrypi Indeed, it does seem to have got Node-RED starting on my R…

---

## [SOLVED! Error loading settings.js after changing the ENV setting TZ in docker](https://discourse.nodered.org/t/solved-error-loading-settings-js-after-changing-the-env-setting-tz-in-docker/77875)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 3\
**Last updated:** [24 April 2023 10:12 UTC](https://discourse.nodered.org/t/solved-error-loading-settings-js-after-changing-the-env-setting-tz-in-docker/77875 "2023-04-24T10:12:55Z")

</div>

Pretty much as the title says. Spun up a new instance of NodeRed in Docker last year and only just noticed that the times are wrong, spotted an error in the docker TZ property, changed and now NR refuses to run claiming…

---

## [Interacting with ChatGPT to Generate NR code](https://discourse.nodered.org/t/interacting-with-chatgpt-to-generate-nr-code/77759)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 5\
**Last updated:** [24 April 2023 10:10 UTC](https://discourse.nodered.org/t/interacting-with-chatgpt-to-generate-nr-code/77759 "2023-04-24T10:10:27Z")

</div>

Guys, more for the beginners/middle range guys here - but here is a series of interactions i did with ChatGPT that ended up with a great result and what looks like pretty good code to me This took almost no time - other…

---

## [Failed to install any palette](https://discourse.nodered.org/t/failed-to-install-any-palette/77873)

<div class="topic-metadata">

**Author:** [@kMessaoud](https://discourse.nodered.org/u/kMessaoud)\
**Replies:** 9\
**Last updated:** [24 April 2023 10:08 UTC](https://discourse.nodered.org/t/failed-to-install-any-palette/77873 "2023-04-24T10:08:22Z")

</div>

Hello everyone, i'm using Node red in Weidmuller u-create V1.1.2. I tried to install Node-Red\_Dashboard but recieved a fail to install message. Same thing with other palettes.

---

## [Dropdown + submit: change font color and ask for password before submit](https://discourse.nodered.org/t/dropdown-submit-change-font-color-and-ask-for-password-before-submit/77709)

<div class="topic-metadata">

**Author:** [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)\
**Replies:** 4\
**Last updated:** [24 April 2023 09:27 UTC](https://discourse.nodered.org/t/dropdown-submit-change-font-color-and-ask-for-password-before-submit/77709 "2023-04-24T09:27:19Z")

</div>

Hello friends. Today i try to create the following: A dropdown widget where the information of the payload will be written only after pushing "submit" Change the colour of the widget (backgorund) to red, when chan…

---

## [Dasboard does not display correctly when node-red is started as a windows service](https://discourse.nodered.org/t/dasboard-does-not-display-correctly-when-node-red-is-started-as-a-windows-service/77599)

<div class="topic-metadata">

**Author:** [@SacCha](https://discourse.nodered.org/u/SacCha)\
**Replies:** 11\
**Last updated:** [24 April 2023 08:31 UTC](https://discourse.nodered.org/t/dasboard-does-not-display-correctly-when-node-red-is-started-as-a-windows-service/77599 "2023-04-24T08:31:15Z")

</div>

I have a dashboard composed 10 identical ui\_goups composed of 4 nodes (2-ui\_text, ui\_dropdown, ui\_iframe). When I manually start node-red from a command window the dashboard displays correctly, but when I start node-red …

---

## [Path problem with Node-red as service](https://discourse.nodered.org/t/path-problem-with-node-red-as-service/77849)

<div class="topic-metadata">

**Author:** [@jhoepffner](https://discourse.nodered.org/u/jhoepffner)\
**Replies:** 4\
**Last updated:** [24 April 2023 08:23 UTC](https://discourse.nodered.org/t/path-problem-with-node-red-as-service/77849 "2023-04-24T08:23:58Z")

</div>

Hello, I work on a project using node-red to command vlc media server on a raspberry pi. When I start node-red from the command line ('node-red') and start vlc also from the command line, there is no problem, all is wor…

---

## [Getting funky with http request node?](https://discourse.nodered.org/t/getting-funky-with-http-request-node/77778)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [24 April 2023 04:24 UTC](https://discourse.nodered.org/t/getting-funky-with-http-request-node/77778 "2023-04-24T04:24:32Z")

</div>

I am trying to translate the following curl command to a NR http request node. Of course, I could just use an exec node and the curl CLI, but that would be too easy. curl -H "BOND-Token: AAA" -i http://192.168.1.12/v2/…

---

## [FlexDash status update](https://discourse.nodered.org/t/flexdash-status-update/77859)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 1\
**Last updated:** [24 April 2023 03:25 UTC](https://discourse.nodered.org/t/flexdash-status-update/77859 "2023-04-24T03:25:01Z")

</div>

Someone asked me in a PM: Things seem to have gone very quiet in the forum about flexdash development, and wondered if you could kindly share your longer term vision about it's future. I'm asking because I'm currently…

---

## [Help with node-red](https://discourse.nodered.org/t/help-with-node-red/77820)

<div class="topic-metadata">

**Author:** [@Kdenis](https://discourse.nodered.org/u/Kdenis)\
**Replies:** 5\
**Last updated:** [23 April 2023 23:29 UTC](https://discourse.nodered.org/t/help-with-node-red/77820 "2023-04-23T23:29:13Z")

</div>

Hello everyone, I'm having problems creating a part of my flow For messages received from subscriptions: • Filter only messages having payload with temperature in Celsius • Produce a chart plotting the temperature val…

---

## [Make redis config node more "dynamic"](https://discourse.nodered.org/t/make-redis-config-node-more-dynamic/77814)

<div class="topic-metadata">

**Author:** [@greengolfer](https://discourse.nodered.org/u/greengolfer)\
**Replies:** 12\
**Last updated:** [23 April 2023 19:06 UTC](https://discourse.nodered.org/t/make-redis-config-node-more-dynamic/77814 "2023-04-23T19:06:20Z")

</div>

In this project GitHub - golfvert/WIS2-GlobalBroker-NodeRed: Basic reference of a Global Broker for WIS2 available as a ready to use container, I am making use of https://flows.nodered.org/node/node-red-contrib-redis . …

---

## [Change NR port to 80 (changes on red.js and settings.js doesn't have effect)](https://discourse.nodered.org/t/change-nr-port-to-80-changes-on-red-js-and-settings-js-doesnt-have-effect/77566)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 4\
**Last updated:** [23 April 2023 18:49 UTC](https://discourse.nodered.org/t/change-nr-port-to-80-changes-on-red-js-and-settings-js-doesnt-have-effect/77566 "2023-04-23T18:49:48Z")

</div>

Hi, I'm under windows, under "C:\\Users\\Admin\\AppData\\Roaming\\npm\\node\_modules\\node-red" I've changed on both files: on red.js settings.uiPort = 80; and on settings.js uiPort: process.env.PORT || 80 I've restarted NR …

---

## [Timestamps not being recorded correctly](https://discourse.nodered.org/t/timestamps-not-being-recorded-correctly/77817)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 18\
**Last updated:** [23 April 2023 18:00 UTC](https://discourse.nodered.org/t/timestamps-not-being-recorded-correctly/77817 "2023-04-23T18:00:20Z")

</div>

I have a small flow that gets weather data from the met office, which I then change into the required format for feeding into the node-red-contrib-influxdb node. This then updates the data in Influxdb (which is on the sa…

---

## [Change Dashboard Tooltip Style](https://discourse.nodered.org/t/change-dashboard-tooltip-style/77852)

<div class="topic-metadata">

**Author:** [@Stopple](https://discourse.nodered.org/u/Stopple)\
**Replies:** 0\
**Last updated:** [23 April 2023 17:31 UTC](https://discourse.nodered.org/t/change-dashboard-tooltip-style/77852 "2023-04-23T17:31:18Z")

</div>

I'm trying to change the tooltip style on a button to modify the font-size because it is appearing too small. I know how to add a class to the button and a template to style the button but that is where I'm stuck. Any su…

---

## [Save email as file](https://discourse.nodered.org/t/save-email-as-file/77848)

<div class="topic-metadata">

**Author:** [@vi-rgaigl](https://discourse.nodered.org/u/vi-rgaigl)\
**Replies:** 3\
**Last updated:** [23 April 2023 16:30 UTC](https://discourse.nodered.org/t/save-email-as-file/77848 "2023-04-23T16:30:23Z")

</div>

I am looking for a way to save an Outlook email (.msg format) as a complete original file in a folder. Has anyone already found a solution? I would be very grateful for any information or help.

---

## [Comparing timestamp with payload to work out if older than 5 minutes](https://discourse.nodered.org/t/comparing-timestamp-with-payload-to-work-out-if-older-than-5-minutes/77847)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 4\
**Last updated:** [23 April 2023 15:56 UTC](https://discourse.nodered.org/t/comparing-timestamp-with-payload-to-work-out-if-older-than-5-minutes/77847 "2023-04-23T15:56:29Z")

</div>

I have a time in a payload, and I want to set a flow variable depending on if the timestamp is older than 5 minutes or current. I could use 2 different timestamps to compare with the current time obsTimeUtc: "2023-04-23…

---

## [Jsonata globalContext() inconsistent handling of string vs variable](https://discourse.nodered.org/t/jsonata-globalcontext-inconsistent-handling-of-string-vs-variable/77845)

<div class="topic-metadata">

**Author:** [@moebius](https://discourse.nodered.org/u/moebius)\
**Replies:** 6\
**Last updated:** [23 April 2023 13:54 UTC](https://discourse.nodered.org/t/jsonata-globalcontext-inconsistent-handling-of-string-vs-variable/77845 "2023-04-23T13:54:12Z")

</div>

When accessing a map object via jsonata globalContext, it does not work when the get method uses a variable - but using a string works. v 3.0.2 example: \[{"id":"8885e1d87c774eb3","type":"change","z":"f1e84ae7.4dcf98",…

---

## [Cannot select/copy/paste with monaco editor on iPad/Safari](https://discourse.nodered.org/t/cannot-select-copy-paste-with-monaco-editor-on-ipad-safari/77844)

<div class="topic-metadata">

**Author:** [@thohoj](https://discourse.nodered.org/u/thohoj)\
**Replies:** 3\
**Last updated:** [23 April 2023 13:45 UTC](https://discourse.nodered.org/t/cannot-select-copy-paste-with-monaco-editor-on-ipad-safari/77844 "2023-04-23T13:45:33Z")

</div>

I cannot select text in a function node using safari on my iPad. So I cannot use copy/paste anymore (with ace it worked). I found a similar thread but it seems that the issue there was not iPad related. I can type in f…

---

## [NodeRed "breaks" my Wifi - every 25 seconds](https://discourse.nodered.org/t/nodered-breaks-my-wifi-every-25-seconds/77810)

<div class="topic-metadata">

**Author:** [@EDsteve](https://discourse.nodered.org/u/EDsteve)\
**Replies:** 5\
**Last updated:** [23 April 2023 11:41 UTC](https://discourse.nodered.org/t/nodered-breaks-my-wifi-every-25-seconds/77810 "2023-04-23T11:41:55Z")

</div>

Hi, As you can see in the attachments my network is getting interrupted every 15 to 30 second or so. It's not a consistent interval. This affects ALL devices connected wirelessly to the same Access point. Devices connec…

---

## [Upload node inhibits same name file to be re-sent](https://discourse.nodered.org/t/upload-node-inhibits-same-name-file-to-be-re-sent/77833)

<div class="topic-metadata">

**Author:** [@LuisPereira](https://discourse.nodered.org/u/LuisPereira)\
**Replies:** 3\
**Last updated:** [23 April 2023 11:36 UTC](https://discourse.nodered.org/t/upload-node-inhibits-same-name-file-to-be-re-sent/77833 "2023-04-23T11:36:00Z")

</div>

Hi I'm using the package node-red-contrib-ui-upload (v 0.7.0) for a while now, it works well for what I want, but...It gets stuck everytime I try to send a file with the same name as the previous one but different conte…

---

## [Node-red-contrib-eufy-security 0.0.2](https://discourse.nodered.org/t/node-red-contrib-eufy-security-0-0-2/77839)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 2\
**Last updated:** [23 April 2023 11:16 UTC](https://discourse.nodered.org/t/node-red-contrib-eufy-security-0-0-2/77839 "2023-04-23T11:16:24Z")

</div>

Does anyone have experience with the node-red-contrib-eufy-security 0.0.2 node? I installed this via Managed palette, then created and configured a test flow. During Deploy I see the messages missing nodes eufy-config a…

---

## [What's just happened with the notifications?](https://discourse.nodered.org/t/whats-just-happened-with-the-notifications/77838)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [23 April 2023 11:00 UTC](https://discourse.nodered.org/t/whats-just-happened-with-the-notifications/77838 "2023-04-23T11:00:55Z")

</div>

They seem to have changed from what I remember them being a few hours ago. How I am seeing a whole list of things in a different structure than what it used to be. EG: Ok, so I then click on the LIKES and get this: …

---

## [Why am I getting the wrong \*type\* of data in this message?](https://discourse.nodered.org/t/why-am-i-getting-the-wrong-type-of-data-in-this-message/77830)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 26\
**Last updated:** [23 April 2023 10:47 UTC](https://discourse.nodered.org/t/why-am-i-getting-the-wrong-type-of-data-in-this-message/77830 "2023-04-23T10:47:43Z")

</div>

I am TRYING to test some code for weather (rain) detection. Originally it wasn't this smart, but now I am wanting to improve it. I've cut down a lot of stuff and tried to cut it to what is THE problem. If it is rainin…

---

## [Help with command structure - \`toFixed()\`](https://discourse.nodered.org/t/help-with-command-structure-tofixed/77829)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 15\
**Last updated:** [23 April 2023 10:44 UTC](https://discourse.nodered.org/t/help-with-command-structure-tofixed/77829 "2023-04-23T10:44:16Z")

</div>

I know: I'm stupid. I did some homework and found this to resolve a problem. toFixed() It puts a given number of decimal points in a number returned. So.... For instance I have: let j = 20; let k = 3; let answe…

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

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