# Latest

**URL:** https://discourse.nodered.org/latest.md?no_subcategories=false&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

---

## [Uibuilder import data from local js file and export to it](https://discourse.nodered.org/t/uibuilder-import-data-from-local-js-file-and-export-to-it/77851)

<div class="topic-metadata">

**Author:** [@nerevar](https://discourse.nodered.org/u/nerevar)\
**Replies:** 11\
**Last updated:** [25 April 2023 09:16 UTC](https://discourse.nodered.org/t/uibuilder-import-data-from-local-js-file-and-export-to-it/77851 "2023-04-25T09:16:12Z")

</div>

Hello, I want to make several (js) files in uibuilder to be imported when needed, and also to serve as a storage. As I have no idea how to import and use a js file, I've tried this: in src/views/overview.vue in data:…

---

## [Global.set data without creating an array](https://discourse.nodered.org/t/global-set-data-without-creating-an-array/77899)

<div class="topic-metadata">

**Author:** [@FloRu](https://discourse.nodered.org/u/FloRu)\
**Replies:** 5\
**Last updated:** [25 April 2023 09:07 UTC](https://discourse.nodered.org/t/global-set-data-without-creating-an-array/77899 "2023-04-25T09:07:58Z")

</div>

Hi! I want to store some data in the global context data. With the help of an import job (.json file \> global context storage) I have set up a structure of e.g.: config.functionNr.200.context And, yes, the "200" is a…

---

## [Simple automation for Button Press Control with Wake-On-LAN and Media Player Integration](https://discourse.nodered.org/t/simple-automation-for-button-press-control-with-wake-on-lan-and-media-player-integration/77907)

<div class="topic-metadata">

**Author:** [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Replies:** 0\
**Last updated:** [25 April 2023 08:08 UTC](https://discourse.nodered.org/t/simple-automation-for-button-press-control-with-wake-on-lan-and-media-player-integration/77907 "2023-04-25T08:08:38Z")

</div>

Hello, I have created the following flow : dpaste/9PJ1p (JSON) When a button press event is detected, the flow performs different actions based on the type of press detected (single, double, or long press). For a sing…

---

## [Nodes Disabled, But Configuration Nodes Still Running (and Causing Problems)](https://discourse.nodered.org/t/nodes-disabled-but-configuration-nodes-still-running-and-causing-problems/77857)

<div class="topic-metadata">

**Author:** [@ChZeman](https://discourse.nodered.org/u/ChZeman)\
**Replies:** 5\
**Last updated:** [25 April 2023 01:31 UTC](https://discourse.nodered.org/t/nodes-disabled-but-configuration-nodes-still-running-and-causing-problems/77857 "2023-04-25T01:31:13Z")

</div>

I have a single flow I deploy to a Pis in a large number of machines. Each machine is different (different PLC, tags, etc.). I have everything set up so I can make updates (code fixes, additional features, etc.) from my …

---

## [How to dynamic change logging level in nodered app at runtime](https://discourse.nodered.org/t/how-to-dynamic-change-logging-level-in-nodered-app-at-runtime/77883)

<div class="topic-metadata">

**Author:** [@xdadan](https://discourse.nodered.org/u/xdadan)\
**Replies:** 1\
**Last updated:** [24 April 2023 22:00 UTC](https://discourse.nodered.org/t/how-to-dynamic-change-logging-level-in-nodered-app-at-runtime/77883 "2023-04-24T22:00:22Z")

</div>

I would like to change logging level of nodes (especially function node using node.debug(), node.trace(), node.log() commands to log info at the runtime. Current logging level is set via settings. but I'm looking for so…

---

## [MQTT and Mosquitto disconnecting intermittantly](https://discourse.nodered.org/t/mqtt-and-mosquitto-disconnecting-intermittantly/77822)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 4\
**Last updated:** [24 April 2023 21:28 UTC](https://discourse.nodered.org/t/mqtt-and-mosquitto-disconnecting-intermittantly/77822 "2023-04-24T21:28:39Z")

</div>

I have looked through the forum and although this has been touched on I haven't seen either a resolution or a proposed fix. Both of my "production" node red's run Mosquitto and Mqtt and they both disconnect once a day at…

---

## [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…

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

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