# Dashboard

**URL:** https://discourse.nodered.org/c/dashboard/5.md?no_subcategories=false&page=190

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

**Page:** 191

---

## [Not all UI Switches are updating Status](https://discourse.nodered.org/t/not-all-ui-switches-are-updating-status/19621)

<div class="topic-metadata">

**Author:** [@teoboyle](https://discourse.nodered.org/u/teoboyle)\
**Replies:** 10\
**Last updated:** [30 December 2019 11:59 UTC](https://discourse.nodered.org/t/not-all-ui-switches-are-updating-status/19621 "2019-12-30T11:59:42Z")

</div>

Newbie here. I am working on a simple project that turns relays on/off via the dashboard. I also want to set the relays ON via an automated script to turn on at a specific time in the morning. Using the Inject node, I…

---

## [Accessing payload from ui switch or button](https://discourse.nodered.org/t/accessing-payload-from-ui-switch-or-button/19693)

<div class="topic-metadata">

**Author:** [@chrisko](https://discourse.nodered.org/u/chrisko)\
**Replies:** 11\
**Last updated:** [29 December 2019 13:28 UTC](https://discourse.nodered.org/t/accessing-payload-from-ui-switch-or-button/19693 "2019-12-29T13:28:03Z")

</div>

Dear all, i'm very frustrated due to missing ideas how to read the payload from a switch or button. I tried like this in the function node: newmsg = {}; if (global.get("Available")===true && msg.payload.Night===true) {…

---

## [Loop control in Template using Angular](https://discourse.nodered.org/t/loop-control-in-template-using-angular/19653)

<div class="topic-metadata">

**Author:** [@baqwas](https://discourse.nodered.org/u/baqwas)\
**Replies:** 2\
**Last updated:** [28 December 2019 01:12 UTC](https://discourse.nodered.org/t/loop-control-in-template-using-angular/19653 "2019-12-28T01:12:57Z")

</div>

Hello! I would like to loop over an array of fields (viz. sets of weather forecast data) in the Dashboard Template which is receiving the correct msg topic and payload (for my use). Unfortunately, my JavaScript knowledg…

---

## [Dashboard and sessionid / socketid - perhaps I misunderstood something](https://discourse.nodered.org/t/dashboard-and-sessionid-socketid-perhaps-i-misunderstood-something/19659)

<div class="topic-metadata">

**Author:** [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Replies:** 4\
**Last updated:** [27 December 2019 23:56 UTC](https://discourse.nodered.org/t/dashboard-and-sessionid-socketid-perhaps-i-misunderstood-something/19659 "2019-12-27T23:56:58Z")

</div>

Hello, I know it pays to RTFM. But just to be sure: Is it correct that the dashboard sends the socketid of a switch (for example) but if a message including a valid socketid is sent to this button all other connected bu…

---

## [Simple class property for all ui elements?](https://discourse.nodered.org/t/simple-class-property-for-all-ui-elements/19650)

<div class="topic-metadata">

**Author:** [@ryanrdetzel](https://discourse.nodered.org/u/ryanrdetzel)\
**Replies:** 1\
**Last updated:** [27 December 2019 21:11 UTC](https://discourse.nodered.org/t/simple-class-property-for-all-ui-elements/19650 "2019-12-27T21:11:31Z")

</div>

Could we get a class property for all elements that would easily allow us to target a particular element with a class name? So, for one button I could set the class to 'importantButton' and then just target that class in…

---

## [Send selected value from datalist](https://discourse.nodered.org/t/send-selected-value-from-datalist/19641)

<div class="topic-metadata">

**Author:** [@Andres](https://discourse.nodered.org/u/Andres)\
**Replies:** 0\
**Last updated:** [27 December 2019 12:43 UTC](https://discourse.nodered.org/t/send-selected-value-from-datalist/19641 "2019-12-27T12:43:02Z")

</div>

Hi! as the title indicates i want to send the selected value from a datalist when the user selects one of the options, all this using the template node and not the dropdown node, because with the datalist (and an input) …

---

## [Print out problem](https://discourse.nodered.org/t/print-out-problem/16245)

<div class="topic-metadata">

**Author:** [@PaulL](https://discourse.nodered.org/u/PaulL)\
**Replies:** 4\
**Last updated:** [3 October 2019 09:46 UTC](https://discourse.nodered.org/t/print-out-problem/16245 "2019-10-03T09:46:44Z")

</div>

Hi, I don't understand how to print a table in pdf or on a printer. The table collects information collected from a mysql database. Thanks

---

## [Execute flows only if UI needs the data / highlight outdated data on UI](https://discourse.nodered.org/t/execute-flows-only-if-ui-needs-the-data-highlight-outdated-data-on-ui/19616)

<div class="topic-metadata">

**Author:** [@joergensen](https://discourse.nodered.org/u/joergensen)\
**Replies:** 2\
**Last updated:** [27 December 2019 08:00 UTC](https://discourse.nodered.org/t/execute-flows-only-if-ui-needs-the-data-highlight-outdated-data-on-ui/19616 "2019-12-27T08:00:51Z")

</div>

Hi, I'm quite new dealing with Node-Red and have a couple of requirements where I don't find anything in the Web. This question is about just executing certain nodes if the data is requested by the UI. Situation: Flow…

---

## [Feature request: ui-control to deliver array of actual connected clients](https://discourse.nodered.org/t/feature-request-ui-control-to-deliver-array-of-actual-connected-clients/19544)

<div class="topic-metadata">

**Author:** [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Replies:** 7\
**Last updated:** [24 December 2019 12:44 UTC](https://discourse.nodered.org/t/feature-request-ui-control-to-deliver-array-of-actual-connected-clients/19544 "2019-12-24T12:44:04Z")

</div>

Hello, I currently develop a flow that should show different data to different clients. I keep track on the connect and lost messages from the ui-control node but it always happen that I miss lost messages (i.e. when th…

---

## [Ui\_template momentary buttons multi touch](https://discourse.nodered.org/t/ui-template-momentary-buttons-multi-touch/19538)

<div class="topic-metadata">

**Author:** [@vv3Ak](https://discourse.nodered.org/u/vv3Ak)\
**Replies:** 0\
**Last updated:** [24 December 2019 07:47 UTC](https://discourse.nodered.org/t/ui-template-momentary-buttons-multi-touch/19538 "2019-12-24T07:47:16Z")

</div>

Hello, I have an issue with multi touch in template. I want to make 4 buttons for controlling car and I need to make it work with multi touch. Here is my code in template. flows.json (2.1 KB)

---

## [Formatting html text](https://discourse.nodered.org/t/formatting-html-text/19530)

<div class="topic-metadata">

**Author:** [@roland\_manor](https://discourse.nodered.org/u/roland_manor)\
**Replies:** 1\
**Last updated:** [24 December 2019 05:34 UTC](https://discourse.nodered.org/t/formatting-html-text/19530 "2019-12-24T05:34:33Z")

</div>

Hi, I am new to node-red. I am building a home automation system. I receive weather from mqtt and my weather station, and want to use a forecast from weatherzone here in Australia. Here is a demo of what I am getting…

---

## [UI\_template & changing button background colour on click](https://discourse.nodered.org/t/ui-template-changing-button-background-colour-on-click/19498)

<div class="topic-metadata">

**Author:** [@dr\_cave\_dweller](https://discourse.nodered.org/u/dr_cave_dweller)\
**Replies:** 5\
**Last updated:** [23 December 2019 22:17 UTC](https://discourse.nodered.org/t/ui-template-changing-button-background-colour-on-click/19498 "2019-12-23T22:17:00Z")

</div>

Hi all, I am trying to make a button change color and output a corresponding variable when clicked. It is required to stay this colour until it is clicked again, then it is to change back. I am using the UI\_template no…

---

## [Failed to install: node-red-dashboard Cannot find module 'node-red-dashboard'](https://discourse.nodered.org/t/failed-to-install-node-red-dashboard-cannot-find-module-node-red-dashboard/19420)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 6\
**Last updated:** [23 December 2019 15:00 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-dashboard-cannot-find-module-node-red-dashboard/19420 "2019-12-23T15:00:29Z")

</div>

how can i fix this ? here's the log \> 2019-12-21T11:34:17.150Z Install : node-red-dashboard 2.19.2 \> \> 2019-12-21T11:34:17.156Z npm.cmd install --no-audit --no-update-notifier --save --save-prefix="~" --production node-…

---

## [Http Get method in a Template node?](https://discourse.nodered.org/t/http-get-method-in-a-template-node/19265)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 1\
**Last updated:** [22 December 2019 17:40 UTC](https://discourse.nodered.org/t/http-get-method-in-a-template-node/19265 "2019-12-22T17:40:10Z")

</div>

Hi guys, I would like to create a button in a Template Node which sends a GET method (to turn the camera to a predefined position). For the curious it looks like that :wink: Here is the html code for the N°2 button …

---

## [Single Gantt chart](https://discourse.nodered.org/t/single-gantt-chart/18735)

<div class="topic-metadata">

**Author:** [@TOSHI1](https://discourse.nodered.org/u/TOSHI1)\
**Replies:** 8\
**Last updated:** [22 December 2019 12:02 UTC](https://discourse.nodered.org/t/single-gantt-chart/18735 "2019-12-22T12:02:31Z")

</div>

For example, can you make a Gantt chart with a single graph, such as running (green) and stopping (red)?

---

## [Beginners understanding WebPage vs. UI Template](https://discourse.nodered.org/t/beginners-understanding-webpage-vs-ui-template/19392)

<div class="topic-metadata">

**Author:** [@DannyBoyKN](https://discourse.nodered.org/u/DannyBoyKN)\
**Replies:** 3\
**Last updated:** [21 December 2019 21:54 UTC](https://discourse.nodered.org/t/beginners-understanding-webpage-vs-ui-template/19392 "2019-12-21T21:54:06Z")

</div>

As a newbie I'm trying to understand the differences when showing a simple web page (via a local index.html) and showing it in the dashboard. Eg. I wanted to create dashboard page which shows me a QR code (with the help…

---

## [A little bit of a flow that others may like](https://discourse.nodered.org/t/a-little-bit-of-a-flow-that-others-may-like/372)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 44\
**Last updated:** [21 December 2019 19:02 UTC](https://discourse.nodered.org/t/a-little-bit-of-a-flow-that-others-may-like/372 "2019-12-21T19:02:36Z")

</div>

I have recently been playing with dashboards and while playing with buttons, I needed a “fail safe” to prevent me pressing a button by mistake. So I put an “Activate” button to allow the other button to be pressed. I h…

---

## [Access dashboard tabs through name](https://discourse.nodered.org/t/access-dashboard-tabs-through-name/17216)

<div class="topic-metadata">

**Author:** [@Nxito](https://discourse.nodered.org/u/Nxito)\
**Replies:** 5\
**Last updated:** [20 December 2019 15:59 UTC](https://discourse.nodered.org/t/access-dashboard-tabs-through-name/17216 "2019-12-20T15:59:13Z")

</div>

I am trying to access my dashboard tabs through your name instead of the default id given to you. This way you would not have to search or reposition the dashboard every time you make changes EXAMPLE: With a link via …

---

## [Feature request: Predicted or Intermediate state of uIElements](https://discourse.nodered.org/t/feature-request-predicted-or-intermediate-state-of-uielements/16047)

<div class="topic-metadata">

**Author:** [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Replies:** 15\
**Last updated:** [20 December 2019 09:50 UTC](https://discourse.nodered.org/t/feature-request-predicted-or-intermediate-state-of-uielements/16047 "2019-12-20T09:50:22Z")

</div>

Hello, I currently work on a custom note implementing the homie convention. The main procedure setting parameters to a remote devices over mqtt is to send a value to the .../parameter/set topic. The device then confirms…

---

## [Adding new nodes to the node-red-contrib-mdashboard](https://discourse.nodered.org/t/adding-new-nodes-to-the-node-red-contrib-mdashboard/19366)

<div class="topic-metadata">

**Author:** [@krzydec](https://discourse.nodered.org/u/krzydec)\
**Replies:** 7\
**Last updated:** [19 December 2019 23:03 UTC](https://discourse.nodered.org/t/adding-new-nodes-to-the-node-red-contrib-mdashboard/19366 "2019-12-19T23:03:38Z")

</div>

Hello Is it possible to add a new nodes to the node-red-contrib-mdashboard? I'm especially interested with adding the node-red-contrib-ui-level.

---

## [Chart.js Datalabel Plugin Implementation Problem in ui\_template](https://discourse.nodered.org/t/chart-js-datalabel-plugin-implementation-problem-in-ui-template/19332)

<div class="topic-metadata">

**Author:** [@sesenlik](https://discourse.nodered.org/u/sesenlik)\
**Replies:** 0\
**Last updated:** [19 December 2019 08:57 UTC](https://discourse.nodered.org/t/chart-js-datalabel-plugin-implementation-problem-in-ui-template/19332 "2019-12-19T08:57:32Z")

</div>

Hello everyone, What I am trying to achieve is to display the values of graph data on my bar chart. In order to do that I am using chart.js implemented on an ui\_template node. There is a chartjs plugin for displaying d…

---

## [Error while installing dashboard on raspberry pi](https://discourse.nodered.org/t/error-while-installing-dashboard-on-raspberry-pi/19291)

<div class="topic-metadata">

**Author:** [@Abhi-shah](https://discourse.nodered.org/u/Abhi-shah)\
**Replies:** 1\
**Last updated:** [18 December 2019 06:19 UTC](https://discourse.nodered.org/t/error-while-installing-dashboard-on-raspberry-pi/19291 "2019-12-18T06:19:40Z")

</div>

2019-12-18T05:30:56.235Z Install : node-red-dashboard 2.19.2 2019-12-18T05:30:57.860Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-dashboard@2.19.2 2019-12-18T05:31:22.891Z…

---

## [Error when installing dashboard](https://discourse.nodered.org/t/error-when-installing-dashboard/19279)

<div class="topic-metadata">

**Author:** [@henke\_321](https://discourse.nodered.org/u/henke_321)\
**Replies:** 1\
**Last updated:** [17 December 2019 23:14 UTC](https://discourse.nodered.org/t/error-when-installing-dashboard/19279 "2019-12-17T23:14:21Z")

</div>

Hi! HW Raspberry Pi 3 Model B V1,2 Image Rasbian Buster Lite I tried to install node-red-dashboard using manage palette but i it fails. Error log 0 info it worked if it ends with ok 1 verbose cli \[ 1 verbose cli …

---

## [Uncaught SyntaxError: Identifier 'txt' has already been declared](https://discourse.nodered.org/t/uncaught-syntaxerror-identifier-txt-has-already-been-declared/19119)

<div class="topic-metadata">

**Author:** [@EL\_tech](https://discourse.nodered.org/u/EL_tech)\
**Replies:** 4\
**Last updated:** [16 December 2019 19:43 UTC](https://discourse.nodered.org/t/uncaught-syntaxerror-identifier-txt-has-already-been-declared/19119 "2019-12-16T19:43:04Z")

</div>

Hello guys, In the cell of a table I want to display instead of a letter a character but in my testprogram I have problems to display correct my output. When I start the program it works. But when I change the x and y …

---

## [Changing system date, time and timezone from dashboard?](https://discourse.nodered.org/t/changing-system-date-time-and-timezone-from-dashboard/19214)

<div class="topic-metadata">

**Author:** [@dr\_cave\_dweller](https://discourse.nodered.org/u/dr_cave_dweller)\
**Replies:** 1\
**Last updated:** [16 December 2019 08:55 UTC](https://discourse.nodered.org/t/changing-system-date-time-and-timezone-from-dashboard/19214 "2019-12-16T08:55:34Z")

</div>

I have searched here and can't find an answer. Is it possible to control and overwrite/set system parameters such as date, time and time zone from the dashboard? Running Node-Red on a Raspberry Pi. The implementation w…

---

## [I want to show another page on the dashboard page by default](https://discourse.nodered.org/t/i-want-to-show-another-page-on-the-dashboard-page-by-default/19187)

<div class="topic-metadata">

**Author:** [@Cybertron](https://discourse.nodered.org/u/Cybertron)\
**Replies:** 0\
**Last updated:** [15 December 2019 16:27 UTC](https://discourse.nodered.org/t/i-want-to-show-another-page-on-the-dashboard-page-by-default/19187 "2019-12-15T16:27:09Z")

</div>

Hello, as shown I want to display another page on the dashboard page by default. When MQTT receives a message, a window pops up in the page to display other page information. When reviewing other information, click anyw…

---

## [Format time after JSON query](https://discourse.nodered.org/t/format-time-after-json-query/19042)

<div class="topic-metadata">

**Author:** [@g7kse](https://discourse.nodered.org/u/g7kse)\
**Replies:** 6\
**Last updated:** [12 December 2019 19:55 UTC](https://discourse.nodered.org/t/format-time-after-json-query/19042 "2019-12-12T19:55:14Z")

</div>

Here's the problem. I don't think it is too hard to overcome but I'm getting myself into a mess trying to figure it out. The flow looks at an api and returns some of the data. One element is time and it is formatted in …

---

## [\[Solved\]How to change dashboard switch icon from flow?](https://discourse.nodered.org/t/solved-how-to-change-dashboard-switch-icon-from-flow/19085)

<div class="topic-metadata">

**Author:** [@waquete](https://discourse.nodered.org/u/waquete)\
**Replies:** 2\
**Last updated:** [12 December 2019 19:08 UTC](https://discourse.nodered.org/t/solved-how-to-change-dashboard-switch-icon-from-flow/19085 "2019-12-12T19:08:18Z")

</div>

Hi! I want to change switch icon from flow, I tried the following: I have set icon to "custom" in switch properties and I have filled "on icon" field with {{icon}} and matching color with {{color}}. In a function just…

---

## [Solid to dashed-line on chart](https://discourse.nodered.org/t/solid-to-dashed-line-on-chart/19023)

<div class="topic-metadata">

**Author:** [@davebanthorpe](https://discourse.nodered.org/u/davebanthorpe)\
**Replies:** 3\
**Last updated:** [11 December 2019 16:29 UTC](https://discourse.nodered.org/t/solid-to-dashed-line-on-chart/19023 "2019-12-11T16:29:27Z")

</div>

Is it possible to change a line chart format from solid line to dashed line and back to solid dynamically? I have a data feed that has a validity state - rather then just sending null value to the chart if it is false, I…

---

## [Background Image Based on Different Tabs](https://discourse.nodered.org/t/background-image-based-on-different-tabs/18963)

<div class="topic-metadata">

**Author:** [@jstou](https://discourse.nodered.org/u/jstou)\
**Replies:** 2\
**Last updated:** [10 December 2019 21:06 UTC](https://discourse.nodered.org/t/background-image-based-on-different-tabs/18963 "2019-12-10T21:06:36Z")

</div>

Hi, So I know how to change the settings file to include the path to images, which can be loaded into my browser. But now I would like to display a different background image based on which tab is selected. So, below …

[Previous page](https://discourse.nodered.org/c/dashboard/5.md?no_subcategories=false&page=189)

[Next page](https://discourse.nodered.org/c/dashboard/5.md?no_subcategories=false&page=191)
