# Latest

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

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

**Page:** 882

---

## [Docker : mount SSH Keys](https://discourse.nodered.org/t/docker-mount-ssh-keys/41259)

<div class="topic-metadata">

**Author:** [@Ashtez](https://discourse.nodered.org/u/Ashtez)\
**Replies:** 0\
**Last updated:** [18 February 2021 19:38 UTC](https://discourse.nodered.org/t/docker-mount-ssh-keys/41259 "2021-02-18T19:38:06Z")

</div>

Hello, So here is the thing, from an exec node I run the command : ssh user@192.x.x.x "sudo reboot" Why ? Because my client sometimes has issues and NodeRed manages them and restarts the remote server to mitigate this.…

---

## [Data-template and data-help script type: text/x-red or text/html?](https://discourse.nodered.org/t/data-template-and-data-help-script-type-text-x-red-or-text-html/41256)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 1\
**Last updated:** [18 February 2021 18:43 UTC](https://discourse.nodered.org/t/data-template-and-data-help-script-type-text-x-red-or-text-html/41256 "2021-02-18T18:43:50Z")

</div>

Some time ago (I can't remember exactly), the recommended type for these scripts was changed from text/x-red to text/html. Should I bother to go back and change my older nodes? Will this matter in the future?

---

## [Image Fit in a given space](https://discourse.nodered.org/t/image-fit-in-a-given-space/41249)

<div class="topic-metadata">

**Author:** [@HZB](https://discourse.nodered.org/u/HZB)\
**Replies:** 1\
**Last updated:** [18 February 2021 18:24 UTC](https://discourse.nodered.org/t/image-fit-in-a-given-space/41249 "2021-02-18T18:24:41Z")

</div>

I am displaying a imagine using svg graphics node \[ { "id": "5767b7b0.555ca8", "type": "ui\_svg\_graphics", "z": "935db92.1ef9548", "group": "219d8573.b713ea", "order": 4, …

---

## [Md-slider in a template: display problem (CSS?)](https://discourse.nodered.org/t/md-slider-in-a-template-display-problem-css/41253)

<div class="topic-metadata">

**Author:** [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Replies:** 1\
**Last updated:** [18 February 2021 18:02 UTC](https://discourse.nodered.org/t/md-slider-in-a-template-display-problem-css/41253 "2021-02-18T18:02:51Z")

</div>

I want to display the current and the target temperature of my heating including modifying only the target temp in a compact slider. I adapted this code from @ozpos ... and the result is almost perfect for me (I still…

---

## [Gps using lora,arduino and raspberry pi](https://discourse.nodered.org/t/gps-using-lora-arduino-and-raspberry-pi/41250)

<div class="topic-metadata">

**Author:** [@ravi071213](https://discourse.nodered.org/u/ravi071213)\
**Replies:** 1\
**Last updated:** [18 February 2021 17:41 UTC](https://discourse.nodered.org/t/gps-using-lora-arduino-and-raspberry-pi/41250 "2021-02-18T17:41:16Z")

</div>

hello everyone , i am a new user on node red and know very few things about it recently i have been working on a project in which i want to store a data recieved from a gps module connected to arduino uno and sending d…

---

## [Switch node - what is point of Show State of Output option?](https://discourse.nodered.org/t/switch-node-what-is-point-of-show-state-of-output-option/41225)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 9\
**Last updated:** [18 February 2021 16:43 UTC](https://discourse.nodered.org/t/switch-node-what-is-point-of-show-state-of-output-option/41225 "2021-02-18T16:43:57Z")

</div>

With the ui\_switch node, when Pass through messages is not selected, one of the options for Indicator is "Icon shows state of the output". In this mode, when the switch is clicked the visual state changes and the messag…

---

## [How do send CO values from my Lopy4 to my gateway(Lora Hat + Raspberry pi 3)](https://discourse.nodered.org/t/how-do-send-co-values-from-my-lopy4-to-my-gateway-lora-hat-raspberry-pi-3/41240)

<div class="topic-metadata">

**Author:** [@bmavina](https://discourse.nodered.org/u/bmavina)\
**Replies:** 2\
**Last updated:** [18 February 2021 16:13 UTC](https://discourse.nodered.org/t/how-do-send-co-values-from-my-lopy4-to-my-gateway-lora-hat-raspberry-pi-3/41240 "2021-02-18T16:13:38Z")

</div>

Hi, So im currently working on a project that that sends CO values from a sensor to TTN and from there to Node-red and from Node-Red to Grafana. I will also have to build a gateway to connect it to TTN and I will build …

---

## [Consultar datos de influxdb para calcular tiempos](https://discourse.nodered.org/t/consultar-datos-de-influxdb-para-calcular-tiempos/41190)

<div class="topic-metadata">

**Author:** [@novato1221](https://discourse.nodered.org/u/novato1221)\
**Replies:** 3\
**Last updated:** [18 February 2021 15:57 UTC](https://discourse.nodered.org/t/consultar-datos-de-influxdb-para-calcular-tiempos/41190 "2021-02-18T15:57:31Z")

</div>

Hola a todos, estoy aprendiendo ahora mismo Node-red y influxdb. Tengo un proyecto en influxdb donde consulto o leo datos de influxdb db. La consulta que estoy haciendo es la siguiente: msg.query = "select time,estado f…

---

## [Clear configuration node property/flow json properties](https://discourse.nodered.org/t/clear-configuration-node-property-flow-json-properties/40455)

<div class="topic-metadata">

**Author:** [@justin](https://discourse.nodered.org/u/justin)\
**Replies:** 2\
**Last updated:** [18 February 2021 15:19 UTC](https://discourse.nodered.org/t/clear-configuration-node-property-flow-json-properties/40455 "2021-02-18T15:19:14Z")

</div>

I have created some custom nodes that are used to connect to other servers, proxies, etc. All that works fine but what bothers me is that if a user inputs an api key/secret values into the configuration server form, thos…

---

## [Admin Api: install node from local file, dependencies?](https://discourse.nodered.org/t/admin-api-install-node-from-local-file-dependencies/40820)

<div class="topic-metadata">

**Author:** [@JMe](https://discourse.nodered.org/u/JMe)\
**Replies:** 4\
**Last updated:** [18 February 2021 13:14 UTC](https://discourse.nodered.org/t/admin-api-install-node-from-local-file-dependencies/40820 "2021-02-18T13:14:32Z")

</div>

I want to install the contrib-node-red-grpc node to a device that has no internet access. Let's call this device the target device. The target device is connected to another device via local network. Let's call that devi…

---

## [QR decode shows error](https://discourse.nodered.org/t/qr-decode-shows-error/41094)

<div class="topic-metadata">

**Author:** [@usmanEmder](https://discourse.nodered.org/u/usmanEmder)\
**Replies:** 8\
**Last updated:** [18 February 2021 13:13 UTC](https://discourse.nodered.org/t/qr-decode-shows-error/41094 "2021-02-18T13:13:12Z")

</div>

I have attached the usb camera with my computer and I am using "usbcamera" and "qrdecoder. but I got error in payload massage as shown in the below picture.

---

## [Convert Array of byte to utf8 string](https://discourse.nodered.org/t/convert-array-of-byte-to-utf8-string/41223)

<div class="topic-metadata">

**Author:** [@YT2310](https://discourse.nodered.org/u/YT2310)\
**Replies:** 7\
**Last updated:** [18 February 2021 12:50 UTC](https://discourse.nodered.org/t/convert-array-of-byte-to-utf8-string/41223 "2021-02-18T12:50:31Z")

</div>

Hey there, I'm trying to get a string out of an array of bytes \[127\]. This is stored in a plc. I can translate the array to a readable string, but the string is now 128 in length (normally it should be something around …

---

## [Windy widget that is updated with GPS location](https://discourse.nodered.org/t/windy-widget-that-is-updated-with-gps-location/41227)

<div class="topic-metadata">

**Author:** [@matsytt](https://discourse.nodered.org/u/matsytt)\
**Replies:** 2\
**Last updated:** [18 February 2021 11:41 UTC](https://discourse.nodered.org/t/windy-widget-that-is-updated-with-gps-location/41227 "2021-02-18T11:41:08Z")

</div>

Hi, In my boat project, I want an updated weather forecast from Windy. Inserting an embed widget on the dashboard with fixed GPS coordinates works fine, but since I am in a boat, I want the weather forecast to be update…

---

## [How to use node-red-contrib-advanced-ftp node](https://discourse.nodered.org/t/how-to-use-node-red-contrib-advanced-ftp-node/41016)

<div class="topic-metadata">

**Author:** [@kajal](https://discourse.nodered.org/u/kajal)\
**Replies:** 6\
**Last updated:** [18 February 2021 11:38 UTC](https://discourse.nodered.org/t/how-to-use-node-red-contrib-advanced-ftp-node/41016 "2021-02-18T11:38:30Z")

</div>

How to use node-red-contrib-advanced-ftp node for LASTMOD option. Here is my Flow.

---

## [$moment() function in jsonata](https://discourse.nodered.org/t/moment-function-in-jsonata/41220)

<div class="topic-metadata">

**Author:** [@nileio](https://discourse.nodered.org/u/nileio)\
**Replies:** 2\
**Last updated:** [18 February 2021 11:17 UTC](https://discourse.nodered.org/t/moment-function-in-jsonata/41220 "2021-02-18T11:17:47Z")

</div>

Hi all, I recently discovered that $moment() function is available in Jsonata expression.This is great to have it there.I stumbled upon an issue though and hope you may lend me a hand. I am trying to subtract a variabl…

---

## [Change border of single ui\_text](https://discourse.nodered.org/t/change-border-of-single-ui-text/41222)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 2\
**Last updated:** [18 February 2021 11:11 UTC](https://discourse.nodered.org/t/change-border-of-single-ui-text/41222 "2021-02-18T11:11:32Z")

</div>

Hello, Am I able to change the border color of one single widget, in my case ui\_text? I can't find out how to target this class with css. You can also see on the picture, that the font style is not the same. I would …

---

## [What does . in .node-red mean?](https://discourse.nodered.org/t/what-does-in-node-red-mean/41198)

<div class="topic-metadata">

**Author:** [@a1ex](https://discourse.nodered.org/u/a1ex)\
**Replies:** 3\
**Last updated:** [18 February 2021 10:58 UTC](https://discourse.nodered.org/t/what-does-in-node-red-mean/41198 "2021-02-18T10:58:59Z")

</div>

Excuse the ignorance, but what does the dot (.) in .node-red mean/do? I haven't seen it in folder paths before and am scratching my head over its use in node-red. I just want to know what it is, because it seems importan…

---

## [Function IF and set msg](https://discourse.nodered.org/t/function-if-and-set-msg/41101)

<div class="topic-metadata">

**Author:** [@Benja](https://discourse.nodered.org/u/Benja)\
**Replies:** 9\
**Last updated:** [18 February 2021 10:35 UTC](https://discourse.nodered.org/t/function-if-and-set-msg/41101 "2021-02-18T10:35:57Z")

</div>

Hi, I need help: I want to make a conditional that if the first msg is 0 the payload will go out through a specific exit, if it is 1 through another and so on, but I can't do the code. sorry I'm a beginner

---

## [Best practice to create infinite loop](https://discourse.nodered.org/t/best-practice-to-create-infinite-loop/41167)

<div class="topic-metadata">

**Author:** [@Summer](https://discourse.nodered.org/u/Summer)\
**Replies:** 15\
**Last updated:** [18 February 2021 08:38 UTC](https://discourse.nodered.org/t/best-practice-to-create-infinite-loop/41167 "2021-02-18T08:38:48Z")

</div>

Hi, I want to run a js function forever, but it seems that nodered crashes after some loop if I add a "while" in the node. var increment = 0; function Looper() { increment = increment +1; console.log("i'm…

---

## [Customising the editor](https://discourse.nodered.org/t/customising-the-editor/40751)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 3\
**Last updated:** [10 February 2021 16:02 UTC](https://discourse.nodered.org/t/customising-the-editor/40751 "2021-02-10T16:02:19Z")

</div>

Hi. Have installed Node-red on a windows macine. Trying for example to change the favicon. No problen on linux but can´t get it to work in windows. Have edited this in settings.js favicon: "C:\\Users\\Admin\\.node-red\\f…

---

## [Round all values of an object](https://discourse.nodered.org/t/round-all-values-of-an-object/41025)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 20\
**Last updated:** [18 February 2021 07:08 UTC](https://discourse.nodered.org/t/round-all-values-of-an-object/41025 "2021-02-18T07:08:30Z")

</div>

Hi, is it possible to round all values of an object with one function ? \[{"id":"6f07f889.bda788","type":"calculate","z":"9f6752b0.b55988","name":"Durchschnitt pro Minute","pauseType":"timed","calculation":"average","ti…

---

## [Node-red-contrib-oauth2 (node) giving ERR ECONNRESET](https://discourse.nodered.org/t/node-red-contrib-oauth2-node-giving-err-econnreset/41212)

<div class="topic-metadata">

**Author:** [@codecracker2020](https://discourse.nodered.org/u/codecracker2020)\
**Replies:** 0\
**Last updated:** [18 February 2021 06:12 UTC](https://discourse.nodered.org/t/node-red-contrib-oauth2-node-giving-err-econnreset/41212 "2021-02-18T06:12:22Z")

</div>

I am using node-red-contrib-oauth2 library to fetch the token, but it is throwing ERR ECONNRESET error. Any help here.

---

## [Node-red-contrib-sox-utils - sox WARN alsa: under-run and other problems](https://discourse.nodered.org/t/node-red-contrib-sox-utils-sox-warn-alsa-under-run-and-other-problems/41184)

<div class="topic-metadata">

**Author:** [@Bloodspell](https://discourse.nodered.org/u/Bloodspell)\
**Replies:** 10\
**Last updated:** [18 February 2021 05:41 UTC](https://discourse.nodered.org/t/node-red-contrib-sox-utils-sox-warn-alsa-under-run-and-other-problems/41184 "2021-02-18T05:41:40Z")

</div>

Hi, i'm using a raspberry pi with Raspberry Pi OS Lite installed. I have installed the node-red environment and am using node-red-contrib-sox-utils. I tried to start streaming audio from an external USB sound card using…

---

## [refresh the Dashboard](https://discourse.nodered.org/t/refresh-the-dashboard/41193)

<div class="topic-metadata">

**Author:** [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Replies:** 3\
**Last updated:** [17 February 2021 22:07 UTC](https://discourse.nodered.org/t/refresh-the-dashboard/41193 "2021-02-17T22:07:39Z")

</div>

I want to refresh the Dashboard with the button (with the help of the Node Red button).

---

## [Node Red on The Pinephone](https://discourse.nodered.org/t/node-red-on-the-pinephone/41134)

<div class="topic-metadata">

**Author:** [@WillWelker](https://discourse.nodered.org/u/WillWelker)\
**Replies:** 2\
**Last updated:** [17 February 2021 21:55 UTC](https://discourse.nodered.org/t/node-red-on-the-pinephone/41134 "2021-02-17T21:55:51Z")

</div>

I just successfully installed Node Red on the Pinephone. I am using the Mobian (Debian for mobile) operating system. I had to install curl then ran the same bash scrip you use on the Pi. The Pinephone is a phone built…

---

## [Creating a Chart based on an array](https://discourse.nodered.org/t/creating-a-chart-based-on-an-array/41201)

<div class="topic-metadata">

**Author:** [@Frank79](https://discourse.nodered.org/u/Frank79)\
**Replies:** 2\
**Last updated:** [17 February 2021 21:51 UTC](https://discourse.nodered.org/t/creating-a-chart-based-on-an-array/41201 "2021-02-17T21:51:57Z")

</div>

I want to create a chart based on an array. The x-axis is the Timestamp and the y-axis the value. The line-chart wouldn´t show any data-points. Is the structure of the array correct to use it for an input of the line …

---

## [NR & Home Assistant : TZ problem](https://discourse.nodered.org/t/nr-home-assistant-tz-problem/41183)

<div class="topic-metadata">

**Author:** [@bennijamm](https://discourse.nodered.org/u/bennijamm)\
**Replies:** 10\
**Last updated:** [17 February 2021 21:44 UTC](https://discourse.nodered.org/t/nr-home-assistant-tz-problem/41183 "2021-02-17T21:44:56Z")

</div>

Hello, I am new to Node-Red in Home Assistant. I am in France and I would like to have the dates in the format of the country, just like the hours (without AM / PM ...). I added this line in the settings.js file: pr…

---

## [Why the big deal connecting to smartphone?](https://discourse.nodered.org/t/why-the-big-deal-connecting-to-smartphone/41052)

<div class="topic-metadata">

**Author:** [@a1ex](https://discourse.nodered.org/u/a1ex)\
**Replies:** 11\
**Last updated:** [17 February 2021 21:35 UTC](https://discourse.nodered.org/t/why-the-big-deal-connecting-to-smartphone/41052 "2021-02-17T21:35:01Z")

</div>

Noob. I searched for info on connecting to my dashboard with my smartphone. What I found was lots of admonitions against doing so and warnings to tread carefully—because security. Ok, sure. Security. But isn’t IoT li…

---

## [Inject time change (hour)](https://discourse.nodered.org/t/inject-time-change-hour/41171)

<div class="topic-metadata">

**Author:** [@Benja](https://discourse.nodered.org/u/Benja)\
**Replies:** 8\
**Last updated:** [17 February 2021 20:01 UTC](https://discourse.nodered.org/t/inject-time-change-hour/41171 "2021-02-17T20:01:10Z")

</div>

Hi, I need to create an inject when the hour changes. Some help please! Is there a way to do that?

---

## [Debian 8 (Jessie) not supported in update-script](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174)

<div class="topic-metadata">

**Author:** [@Harm](https://discourse.nodered.org/u/Harm)\
**Replies:** 4\
**Last updated:** [17 February 2021 19:40 UTC](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174 "2021-02-17T19:40:06Z")

</div>

In the https://nodered.org/docs/getting-started/raspberrypi#prerequisites page it says the minimum version of Raspbian is jessie. This is incorrect. I tried to upgrade yesterday and ran into this big problem (a non-funct…

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

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