# Latest

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

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

**Page:** 884

---

## [MQTT TLS not working](https://discourse.nodered.org/t/mqtt-tls-not-working/41069)

<div class="topic-metadata">

**Author:** [@torrent](https://discourse.nodered.org/u/torrent)\
**Replies:** 1\
**Last updated:** [17 February 2021 00:12 UTC](https://discourse.nodered.org/t/mqtt-tls-not-working/41069 "2021-02-17T00:12:36Z")

</div>

I am trying to connect my MQTT TLS Server on Docker locally. But someway, it doesn't work at all. I have configured the server site with this following tutorial: http://www.steves-internet-guide.com/mosquitto-tls/ http:…

---

## [More ways to provide help for your custom node](https://discourse.nodered.org/t/more-ways-to-provide-help-for-your-custom-node/41127)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [17 February 2021 00:03 UTC](https://discourse.nodered.org/t/more-ways-to-provide-help-for-your-custom-node/41127 "2021-02-17T00:03:27Z")

</div>

Just wanted to share a quick tip for people writing custom nodes, especially if the are getting a bit more complex and needing more help space than is convenient in the Node-RED info panel. uibuilder is now getting quit…

---

## [Making a warning light controlled by msg.payload?](https://discourse.nodered.org/t/making-a-warning-light-controlled-by-msg-payload/41054)

<div class="topic-metadata">

**Author:** [@a1ex](https://discourse.nodered.org/u/a1ex)\
**Replies:** 4\
**Last updated:** [16 February 2021 22:29 UTC](https://discourse.nodered.org/t/making-a-warning-light-controlled-by-msg-payload/41054 "2021-02-16T22:29:16Z")

</div>

I’d like to add warning lights to my dashboard to track when certain events take place. But I need the lights to have a custom appearance so I prefer not to use existing nodes for this. My first thought was to use the …

---

## [Text to speech textbox](https://discourse.nodered.org/t/text-to-speech-textbox/41113)

<div class="topic-metadata">

**Author:** [@johnyboyneedsurhelp](https://discourse.nodered.org/u/johnyboyneedsurhelp)\
**Replies:** 6\
**Last updated:** [16 February 2021 21:55 UTC](https://discourse.nodered.org/t/text-to-speech-textbox/41113 "2021-02-16T21:55:08Z")

</div>

Hello Everyone, I'm trying to build a simple textbox to speech application. I am new to node-red and need some help on fundamentals. I have created a website to type the message I want to be sent and am just trying to g…

---

## [Problem installing TTN node](https://discourse.nodered.org/t/problem-installing-ttn-node/41100)

<div class="topic-metadata">

**Author:** [@bmavina](https://discourse.nodered.org/u/bmavina)\
**Replies:** 6\
**Last updated:** [16 February 2021 21:34 UTC](https://discourse.nodered.org/t/problem-installing-ttn-node/41100 "2021-02-16T21:34:01Z")

</div>

Hi, I am using Node.js v14.15.5 Npm v6.14.11 I am trying to install the TTN node \[ node-red-contrib-ttn \] on my Node Red application but it keeps resulting in " Failed to install: node-red-contrib-ttn ". I have just …

---

## [Calling a function regularly](https://discourse.nodered.org/t/calling-a-function-regularly/41075)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 8\
**Last updated:** [16 February 2021 21:32 UTC](https://discourse.nodered.org/t/calling-a-function-regularly/41075 "2021-02-16T21:32:02Z")

</div>

Hi, Is there is a better way of calling the function every 1 second, and send the appropriate message to a mqtt node? Maybe something like an interrupt in the coding world? That only operates when the global variables …

---

## [Count and short objects in function node after uint16 modification](https://discourse.nodered.org/t/count-and-short-objects-in-function-node-after-uint16-modification/41120)

<div class="topic-metadata">

**Author:** [@panban-ux](https://discourse.nodered.org/u/panban-ux)\
**Replies:** 5\
**Last updated:** [16 February 2021 21:10 UTC](https://discourse.nodered.org/t/count-and-short-objects-in-function-node-after-uint16-modification/41120 "2021-02-16T21:10:26Z")

</div>

I have the following node: \[{"id":"f7844f50.7553c","type":"function","z":"11942aca.455835","name":"","func":"var lookup = {\\n 73 : \\"lemon\\",\\n 75 : \\"pear\\",\\n 0 : \\"apple\\",\\n 2 : \\"orange\\",\\n 57 : \\"k…

---

## [How to make a "back" button using ui\_button](https://discourse.nodered.org/t/how-to-make-a-back-button-using-ui-button/41119)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 1\
**Last updated:** [16 February 2021 20:28 UTC](https://discourse.nodered.org/t/how-to-make-a-back-button-using-ui-button/41119 "2021-02-16T20:28:33Z")

</div>

Hello, I'm trying to make "back" button like browser using dashboard button. I need only the function, not the style. Maybe someone has an example?

---

## [Addressing an object within an array](https://discourse.nodered.org/t/addressing-an-object-within-an-array/41117)

<div class="topic-metadata">

**Author:** [@quentinP](https://discourse.nodered.org/u/quentinP)\
**Replies:** 2\
**Last updated:** [16 February 2021 19:53 UTC](https://discourse.nodered.org/t/addressing-an-object-within-an-array/41117 "2021-02-16T19:53:31Z")

</div>

Sorry for the basic question but I having some problems extrating my "count" as an integer from my payload when it comes back looking like this (result of an SQL query). I tried with a function node and this code: //…

---

## [Can you use an arduino with a relay board as an outpost?](https://discourse.nodered.org/t/can-you-use-an-arduino-with-a-relay-board-as-an-outpost/41074)

<div class="topic-metadata">

**Author:** [@spawnreaper](https://discourse.nodered.org/u/spawnreaper)\
**Replies:** 9\
**Last updated:** [16 February 2021 19:11 UTC](https://discourse.nodered.org/t/can-you-use-an-arduino-with-a-relay-board-as-an-outpost/41074 "2021-02-16T19:11:53Z")

</div>

I am very new to node-red but I am learning. I have a raspberry pi and 4 relay board with node-red functioning properly now. But I have another spot in the house where I would like to switch some relays. I was wondering…

---

## [Sumar variables de dos contadores modbus](https://discourse.nodered.org/t/sumar-variables-de-dos-contadores-modbus/41087)

<div class="topic-metadata">

**Author:** [@jjverdu1969](https://discourse.nodered.org/u/jjverdu1969)\
**Replies:** 17\
**Last updated:** [16 February 2021 18:25 UTC](https://discourse.nodered.org/t/sumar-variables-de-dos-contadores-modbus/41087 "2021-02-16T18:25:33Z")

</div>

Buenos dias, necesito sumar dos variables de dos contadores modbus diferentes pero no se como hacerlo. adjunto instruccion. Un saludo \[{"id":"27195760.addd28","type":"modbus-read","z":"db2fd8f9.a97c98","name":"Contador …

---

## [Help with NodeRED and GCloud](https://discourse.nodered.org/t/help-with-nodered-and-gcloud/40904)

<div class="topic-metadata">

**Author:** [@WilliamSixta](https://discourse.nodered.org/u/WilliamSixta)\
**Replies:** 4\
**Last updated:** [16 February 2021 18:06 UTC](https://discourse.nodered.org/t/help-with-nodered-and-gcloud/40904 "2021-02-16T18:06:06Z")

</div>

Hello NodeRED Forum: I am new with nodeRED and I am trying to use it with GCloud but I am getting this message. Is there anyone who can help me with Docker containers? Thank you in advance for your help.

---

## [Template vs Change Node: The for loop in JSONata](https://discourse.nodered.org/t/template-vs-change-node-the-for-loop-in-jsonata/41093)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 3\
**Last updated:** [16 February 2021 16:07 UTC](https://discourse.nodered.org/t/template-vs-change-node-the-for-loop-in-jsonata/41093 "2021-02-16T16:07:28Z")

</div>

Hi! I'm making a request to an online but API. I'm trying to cicle trought the answer. While I succeed using a template node, I am kinda lost on using a more elegant JSONata command. Any help? \[{"id":"2a2b15e6.2a6…

---

## [NODE-RED MYSQL NODE connection refused](https://discourse.nodered.org/t/node-red-mysql-node-connection-refused/4147)

<div class="topic-metadata">

**Author:** [@cliffpza](https://discourse.nodered.org/u/cliffpza)\
**Replies:** 26\
**Last updated:** [16 February 2021 15:36 UTC](https://discourse.nodered.org/t/node-red-mysql-node-connection-refused/4147 "2021-02-16T15:36:51Z")

</div>

Hi there please help I have node-red running on a locally networked PI3. I want to connect MYSQL on an external ubuntu server running MYSQL. When i configure a MYSQL node with the MYSQL login details of the ubuntu ser…

---

## [Modbus TCP server, IP setup](https://discourse.nodered.org/t/modbus-tcp-server-ip-setup/41082)

<div class="topic-metadata">

**Author:** [@RogerMadrid](https://discourse.nodered.org/u/RogerMadrid)\
**Replies:** 2\
**Last updated:** [16 February 2021 14:30 UTC](https://discourse.nodered.org/t/modbus-tcp-server-ip-setup/41082 "2021-02-16T14:30:16Z")

</div>

Hi everyone, I'm trying to design a system that requires to communicate with some modbus clients, so I used the modbus server node, but, if I define an IP distinct from 0.0.0.0, I get the next error: Error: listen EADDR…

---

## [Ds18b20 wrong value if temperature is below 0 degrees](https://discourse.nodered.org/t/ds18b20-wrong-value-if-temperature-is-below-0-degrees/40812)

<div class="topic-metadata">

**Author:** [@Speedy](https://discourse.nodered.org/u/Speedy)\
**Replies:** 53\
**Last updated:** [16 February 2021 14:18 UTC](https://discourse.nodered.org/t/ds18b20-wrong-value-if-temperature-is-below-0-degrees/40812 "2021-02-16T14:18:42Z")

</div>

Hi, i use the ds18b20 sensor with raspberry. Since update to node-red 1.2.9. the values of temperatures below 0 degrees are showing wrong. There is p.e.4093.9. What can i do? Thanks

---

## [How to create dashboard node for toast popups?](https://discourse.nodered.org/t/how-to-create-dashboard-node-for-toast-popups/41090)

<div class="topic-metadata">

**Author:** [@clickworkorange](https://discourse.nodered.org/u/clickworkorange)\
**Replies:** 4\
**Last updated:** [16 February 2021 14:01 UTC](https://discourse.nodered.org/t/how-to-create-dashboard-node-for-toast-popups/41090 "2021-02-16T14:01:54Z")

</div>

Trying to build a simple node to show "mdToast" popups on incoming messages. Looking at the existing "Notification" node I see it uses ui.add to insert itself, and not ui.addWidget (like "normal" widgets which belong to …

---

## [Help with jQuery toggleClass](https://discourse.nodered.org/t/help-with-jquery-toggleclass/41083)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 5\
**Last updated:** [16 February 2021 13:29 UTC](https://discourse.nodered.org/t/help-with-jquery-toggleclass/41083 "2021-02-16T13:29:43Z")

</div>

Hello, I move my control page to nodered. Before I programmed everything in html and js. Now I need help with the function of jQuery toggleClass. It looks like this in html: \<script type="javascript/text" src="jquery…

---

## [Make spacer invisible](https://discourse.nodered.org/t/make-spacer-invisible/41037)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 3\
**Last updated:** [16 February 2021 12:14 UTC](https://discourse.nodered.org/t/make-spacer-invisible/41037 "2021-02-16T12:14:00Z")

</div>

Hello, How to make this spacer invisible or have the same color as background or is there any other way to devide this group?

---

## [CAN-Bus communication with a MCP 2515 on Node-RED](https://discourse.nodered.org/t/can-bus-communication-with-a-mcp-2515-on-node-red/41080)

<div class="topic-metadata">

**Author:** [@Ion3](https://discourse.nodered.org/u/Ion3)\
**Replies:** 1\
**Last updated:** [16 February 2021 12:07 UTC](https://discourse.nodered.org/t/can-bus-communication-with-a-mcp-2515-on-node-red/41080 "2021-02-16T12:07:50Z")

</div>

Hi, has somebody tried CAN-Bus with a MCP 2515 on Node-RED? Does the Socketcan-Nodes support this device in combination with a Raspberry Pi? Greetings, Timo

---

## [ETIMEOUT error - MSSQL PLUS](https://discourse.nodered.org/t/etimeout-error-mssql-plus/40036)

<div class="topic-metadata">

**Author:** [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Replies:** 33\
**Last updated:** [16 February 2021 10:08 UTC](https://discourse.nodered.org/t/etimeout-error-mssql-plus/40036 "2021-02-16T10:08:21Z")

</div>

Hi, We are using MSSQL PLUS node to connect MSSQL database server. Calling few stored procedures from Node RED. We are getting an error like Timeout: Request failed to complete in 15000ms in some random scenarios for a…

---

## [If ( var1 = true and var2 = true ) then / else](https://discourse.nodered.org/t/if-var1-true-and-var2-true-then-else/3359)

<div class="topic-metadata">

**Author:** [@maxmueller50](https://discourse.nodered.org/u/maxmueller50)\
**Replies:** 38\
**Last updated:** [16 February 2021 09:10 UTC](https://discourse.nodered.org/t/if-var1-true-and-var2-true-then-else/3359 "2021-02-16T09:10:55Z")

</div>

hi in my project, node-red is for me complete new, but I like it very very much but in this case, I'm not able to finde a way out to solve the following function a) it is a scheduler where is set the time to start a s…

---

## [How can we run multiple node-red applications in the same machine/system](https://discourse.nodered.org/t/how-can-we-run-multiple-node-red-applications-in-the-same-machine-system/40805)

<div class="topic-metadata">

**Author:** [@Syedabd](https://discourse.nodered.org/u/Syedabd)\
**Replies:** 17\
**Last updated:** [16 February 2021 08:40 UTC](https://discourse.nodered.org/t/how-can-we-run-multiple-node-red-applications-in-the-same-machine-system/40805 "2021-02-16T08:40:49Z")

</div>

For example In other words, Can we able to run on different ports The application running in http://127.0.0.1:1880/ and the other in http://127.0.0.1:1881/

---

## [adminAuth config for OpenID based Authentication on Keycloak](https://discourse.nodered.org/t/adminauth-config-for-openid-based-authentication-on-keycloak/39442)

<div class="topic-metadata">

**Author:** [@strmar](https://discourse.nodered.org/u/strmar)\
**Replies:** 2\
**Last updated:** [16 February 2021 08:02 UTC](https://discourse.nodered.org/t/adminauth-config-for-openid-based-authentication-on-keycloak/39442 "2021-02-16T08:02:51Z")

</div>

Hello to all, Would like to secure Node-Red using Keycloak. I followed the post "Help with adminAuth config for OpenID based authentication" in this forum. However, get the following error message after logging into m…

---

## [One instance,multiple user logins](https://discourse.nodered.org/t/one-instance-multiple-user-logins/41063)

<div class="topic-metadata">

**Author:** [@Syedabd](https://discourse.nodered.org/u/Syedabd)\
**Replies:** 4\
**Last updated:** [16 February 2021 07:55 UTC](https://discourse.nodered.org/t/one-instance-multiple-user-logins/41063 "2021-02-16T07:55:20Z")

</div>

How to implement In one single instance, i.e say (http://127.0.0.1:1880/), I must be able to log in with different users Secondly, When User X logins to http://127.0.0.1:1880/, X must be able to see only User X flows …

---

## [Uibuilder not working / only white page visible](https://discourse.nodered.org/t/uibuilder-not-working-only-white-page-visible/40902)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 6\
**Last updated:** [16 February 2021 07:47 UTC](https://discourse.nodered.org/t/uibuilder-not-working-only-white-page-visible/40902 "2021-02-16T07:47:01Z")

</div>

Hello, I just downloaded uibuilder and I am trying to get it working with sample node. So I put timestamp, uibuilder and debug node together. After deploy and visiting the site localhost:1880/uibuilder/index.html nothin…

---

## [How to manage multiple users after login having their own flows(in individual flow.json file)](https://discourse.nodered.org/t/how-to-manage-multiple-users-after-login-having-their-own-flows-in-individual-flow-json-file/41062)

<div class="topic-metadata">

**Author:** [@Syedabd](https://discourse.nodered.org/u/Syedabd)\
**Replies:** 1\
**Last updated:** [16 February 2021 07:38 UTC](https://discourse.nodered.org/t/how-to-manage-multiple-users-after-login-having-their-own-flows-in-individual-flow-json-file/41062 "2021-02-16T07:38:44Z")

</div>

How to manage multiple users after login having their own flows in individual flow.json file

---

## [Use own background color for dashboard](https://discourse.nodered.org/t/use-own-background-color-for-dashboard/41030)

<div class="topic-metadata">

**Author:** [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Replies:** 10\
**Last updated:** [16 February 2021 07:35 UTC](https://discourse.nodered.org/t/use-own-background-color-for-dashboard/41030 "2021-02-16T07:35:09Z")

</div>

Hey, I'm trying to set my own background for h1 element for ui\_template, but the dashboard css allways overwrite it. why is everything that I want to customize is crossed out? how to enable my own style on ui\_templa…

---

## [Change SVG color in ui-template node with msg.payload?](https://discourse.nodered.org/t/change-svg-color-in-ui-template-node-with-msg-payload/41051)

<div class="topic-metadata">

**Author:** [@a1ex](https://discourse.nodered.org/u/a1ex)\
**Replies:** 2\
**Last updated:** [16 February 2021 06:49 UTC](https://discourse.nodered.org/t/change-svg-color-in-ui-template-node-with-msg-payload/41051 "2021-02-16T06:49:56Z")

</div>

Noob here. I used a ui-template node to create an SVG circle. I used a JS script to set the circle's fill color. I used an if statement to change the fill color with msg.payload, which comes in as a number specified u…

---

## [Caddy Reverse Proxy JWT Authorization for node red dashboard](https://discourse.nodered.org/t/caddy-reverse-proxy-jwt-authorization-for-node-red-dashboard/40514)

<div class="topic-metadata">

**Author:** [@tgelite](https://discourse.nodered.org/u/tgelite)\
**Replies:** 4\
**Last updated:** [16 February 2021 04:51 UTC](https://discourse.nodered.org/t/caddy-reverse-proxy-jwt-authorization-for-node-red-dashboard/40514 "2021-02-16T04:51:27Z")

</div>

Hello! This configuration described below is working, but I'm wondering if there is a way to pull from the authenticated users JWT token, what their user name (subject) is and have it display in a node red dashboard. …

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

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