# Dashboard 2.0 gauge scales. I'm missing something here too

**URL:** <https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419>\
**Category:** Dashboard\
**Created:** [25 August 2024 11:27 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419 "2024-08-25T11:27:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [25 August 2024 11:27 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419/1 "2024-08-25T11:27:16Z")

</div>

Node code:

```auto
[{"id":"aa774e2285d75616","type":"ui-gauge-classic","z":"d6026c14350dea74","name":"Classic","group":"9d0aa235d37c5289","order":4,"width":"3","height":"3","min":0,"max":"0.1","sectors":[],"major_division":"0.01","minor_division":"0.001","value_decimal_places":"3","scale_decimal_places":0,"label":"","measurement":"milliWatts","units":"milliWatts","needles":[{"topic":"A1","color":"green","lengthPercent":"100"},{"topic":"A2","color":"yellow","lengthPercent":"100"},{"topic":"A3","color":"orange","lengthPercent":"100"},{"topic":"A4","color":"black","lengthPercent":"100"},{"topic":"A5","color":"brown","lengthPercent":"100"}],"sweep_angle":"180","myclass":"","x":1190,"y":190,"wires":[]},{"id":"9d0aa235d37c5289","type":"ui-group","name":"My Group","page":"0aef6b45c70fc7e6","width":6,"height":1,"order":1,"showTitle":true,"className":"","visible":true,"disabled":false},{"id":"0aef6b45c70fc7e6","type":"ui-page","name":"Power Gauges","ui":"81d0a76c830e3379","path":"/page1","icon":"home","layout":"grid","theme":"b608c93778d60f83","order":2,"className":"","visible":"true","disabled":"false"},{"id":"81d0a76c830e3379","type":"ui-base","name":"My Dashboard","path":"/dashboard","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"showPageTitle":true,"navigationStyle":"default","titleBarStyle":"default"},{"id":"b608c93778d60f83","type":"ui-theme","name":"Default Theme","colors":{"surface":"#ffffff","primary":"#0094CE","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"density":"default","pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]

```

![Screenshot from 2024-08-25 21-24-24](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/1/b132ae06ff8837355c485e67799697d85e3409e9.png)

I know it is SMALL numbers with which I am working.  
But I don't understand why I am not seeing _better_ numbers on the gauge's scale.

This is an example of the messages going into it.

 ![Screenshot from 2024-08-25 21-22-13](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/c/ec3c04103f4adad29b67091e626bde206e6be869.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 August 2024 12:28 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419/2 "2024-08-25T12:28:55Z")

</div>

Because you have told it to show 0 decimal places on the scale. You probably want that to be 2. It will get a bit crowded though, you might be bettter to show micro watts, with a range of 0 to 100.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/2/3288734be002703fbf041a2fab4261b284c8272c.png)

That is an incredibly small power, what are you measuring?

In order to avoid confusion, it might be better to mention in the thread title that you are using the classic gauge, and in the text that it is @colinl/node-red-dashboard-2-ui-gauge-classic.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [25 August 2024 12:32 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419/3 "2024-08-25T12:32:46Z")

</div>

Phone recharger.

(Yeah, an exercise)

I have got around the problem - kind of - by multiplying it by `1000` and taking it from _watts_ to _milliwatts_

But the number of times it was showing my only a `0.x` to `1.x` value was painful.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 August 2024 12:40 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419/4 "2024-08-25T12:40:56Z")

</div>

> [@Trying\_to\_learn](#):
>
> I have got around the problem - kind of - by multiplying it by `1000` and taking it from _watts_ to _milliwatts_

Your image said it was already milliwatts. Do you mean that it was actually a range of 0 to .01 Watts and that the units shown on the gauge were wrong.

> [@Trying\_to\_learn](#):
>
> Phone recharger.

I would expect that to consume up to about 10W on a normal charger or 80W on a superfast one.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [25 August 2024 12:46 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419/5 "2024-08-25T12:46:50Z")

</div>

Yeah, well, it is early days for me in this part.

the image: that was just what I wrote. Got ahead of myself with the label.

# Ok, the story:

A device gets _hungry_ and I have to _feed it_. (or as I also say: _plug it into life support_)  
As you may have guessed: it is a smart device controlling the charging.

So I press the button on the smart device (`Tasmota`) and it starts charging the unit.  
As time passes the needle keeps going up and the total power used this time is shown.

Then when the device is _full_,I hope there will be a noticeable drop in power used.  
That will be detedcted and the `tasmota` device turned off, AND a signal to me that it is full.

Then, when I have a _nominal time_ for it to charge from a given lower level, I can set the `tasmota` device to ...... Oh. Yeah, Ooops. I already said that.

But this is early in the journey.  
😉

## Oh, sorry

That _Problem_ with the needles on the `gauge`......  
That is where the needles get _parked_ if they aren't _active_.

Is there a way to wipe them if they aren't wanted?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 August 2024 13:22 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419/6 "2024-08-25T13:22:00Z")

</div>

> [@Trying\_to\_learn](#):
>
> Is there a way to wipe them if they aren't wanted?

Not that I can think of, no.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [25 August 2024 13:23 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419/7 "2024-08-25T13:23:41Z")

</div>

Drats.

Not a deal breaker.

Just something I have to work on to keep things nice at this part of the project.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 September 2024 13:24 UTC](https://discourse.nodered.org/t/dashboard-2-0-gauge-scales-im-missing-something-here-too/90419/8 "2024-09-08T13:24:28Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
