# \[HELP wanted\] A Linear Level Indicator

**URL:** https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276
**Category:** Share Your Nodes
**Created:** [21 March 2019 13:38 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276 "2019-03-21T13:38:15Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [3 April 2019 10:54 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/22 "2019-04-03T10:54:41Z")

</div>

> [@Paul-Reed](#):
>
> your node - your rules

It's for community for sure and the standard I try to follow here is to give same or similar experiences as the root system offers.

😉

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [3 April 2019 14:10 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/23 "2019-04-03T14:10:16Z")

</div>

Those other nodes are "inputs" in that the user can provide an input from the ui - so the node needs an output wire. If the level gauge was like a slider then I'd agree with you... but as it is only a visual output then it's an output.

Luckily due to the wiring capability of Node-RED you can easily pass data from the node before one node to another beyond it just by adding a second wire from first node... to whatever onward path you like 🙂

---

<div class="post-metadata">

### Author: ![iotman](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@iotman](https://discourse.nodered.org/u/iotman)
#### Post date: [26 October 2020 02:23 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/24 "2020-10-26T02:23:08Z")

</div>

Hi hotNipi, we really like your ui-level horizontal gauge, but we are finding that it only seems to work with the Chrome browser - not Firefox or IE. Have you ever run into this problem?

Thanks for some excellent work, AB

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [26 October 2020 06:00 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/25 "2020-10-26T06:00:51Z")

</div>

Just tested with Firefox 82.0 Desktop on Windows 10. Works as expected.  
Known that IE 11 is not supported. Latest Edge works as expected.

Please add information about the platform and versions.

---

<div class="post-metadata">

### Author: ![iotman](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@iotman](https://discourse.nodered.org/u/iotman)
#### Post date: [26 October 2020 16:11 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/26 "2020-10-26T16:11:14Z")

</div>

Hi, thank you for looking into this. It is mostly Firefox that we are concerned about. I have attached a screen capture from our Android tablet, showing how we display our BLE soil moisture sensors at [GrowerNode.com](http://GrowerNode.com):

 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/8/989cf7bdb2efe9f3170ed22bc00a51cc5c605c45.jpeg)

Any time the screen is refreshed the bar graph shows the full range, even though the actual digital value is correct. I'm thinking this is due to the way Firefox interprets the Javascript code, although I am not sure, so I'm wondering if you might have some ideas?

Best regards, AB

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [26 October 2020 16:14 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/27 "2020-10-26T16:14:22Z")

</div>

So Firefox on android?  
I need to know version numbers for:  
firefox  
nodejs  
node-red  
node-red-dashboard  
ui\_level

---

<div class="post-metadata">

### Author: ![iotman](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@iotman](https://discourse.nodered.org/u/iotman)
#### Post date: [27 October 2020 03:56 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/28 "2020-10-27T03:56:37Z")

</div>

Hi, versions are:

firefox =\> 68.0.2

running on Ubuntu 18.04 server:  
node.js =\> v12.18.3  
node-RED =\> v1.1.2  
node-RED dashboard =\> v2.23.4  
ui-level =\> v0.1.33

Please note that we have observed this behavior (re Firefox) on some desktop machines too.

Thanks for your help! AB

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [27 October 2020 10:04 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/29 "2020-10-27T10:04:58Z")

</div>

I made some changes to ensure the first rendering success.  
If you please update `ui_level` to **v0.1.35** and give me slight feedback is there any improvements.

Thank you.

---

<div class="post-metadata">

### Author: ![iotman](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@iotman](https://discourse.nodered.org/u/iotman)
#### Post date: [28 October 2020 01:37 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/30 "2020-10-28T01:37:22Z")

</div>

It looks like that did the trick! Thank you for such a significant contribution to Node-RED!

Cheers, AB

---

<div class="post-metadata">

### Author: ![Kazzy](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@Kazzy](https://discourse.nodered.org/u/Kazzy)
#### Post date: [28 October 2020 12:10 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/31 "2020-10-28T12:10:29Z")

</div>

> [@hotNipi](#):
>
> need to know version numbers for:

Hi.. I am using this as well and since the last update my bars now show the full 100% view rather than  
matching the lower number being passed to it.

tried it in Edge (chromium) which shows 100% then if you hit refresh the animation runs and you see the bar go down to 12%

Vivaldi (3.4.2066.86) it just stuck at 100% might take several refreshing to make it update.

This was all fine i think in 1.3.33.... i think 1.3.34 when i saw the issue and figure that was why 1.3.35 was released.

![Screenshot 2020-10-28 121107](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/c/1cc023328c1b839752c6666478ef0d4d19704e5e.png)

thanks..

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 October 2020 12:45 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/32 "2020-10-28T12:45:58Z")

</div>

Have you restarted the node-red after update?  
Have you cleared browser cache (where dashboard runs) after update?

---

<div class="post-metadata">

### Author: ![Kazzy](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@Kazzy](https://discourse.nodered.org/u/Kazzy)
#### Post date: [28 October 2020 14:47 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/33 "2020-10-28T14:47:42Z")

</div>

Just to make sure i redid both.. and still doesn't refresh... only in Edge Chromium it will update after you hit refresh for 2nd time

note there 1.3.36 so updated to that version and restarted NR and no change to the problem.

![Screenshot 2020-10-28 144632](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/c/6c196309876789177e471dfe5fdd1d9863f8fef2.png)

I see the above in the Browser dev console if that helps.. app.min.js tracks back to this Module.

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 October 2020 14:55 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/34 "2020-10-28T14:55:07Z")

</div>

The `loading.html` is not related.  
Please add full list of version numbers of your setup.

browser(s)  
nodejs  
node-red  
node-red-dashboard  
ui\_level

And add info about the platform also.

---

<div class="post-metadata">

### Author: ![Kazzy](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@Kazzy](https://discourse.nodered.org/u/Kazzy)
#### Post date: [28 October 2020 15:10 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/35 "2020-10-28T15:10:08Z")

</div>

Browsers... all.. Vivaldi, Edge Chromium, Firefox (all will be on latest versions)  
even now on Samsung S10 Browser

It can take several refresh before it works.. if refresh again afterwards it then back to 100%

nodejs : 14.0.0  
nodered. 1.2.2  
dashboard: 2.23.4  
ui\_level : 1.3.36

NR is running on a Raspberry Pi3..  
Linux DietPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

any other debugs i can get up?

thanks.

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 October 2020 15:23 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/36 "2020-10-28T15:23:05Z")

</div>

You don't run browsers with dashboard on PI?

---

<div class="post-metadata">

### Author: ![Kazzy](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@Kazzy](https://discourse.nodered.org/u/Kazzy)
#### Post date: [28 October 2020 15:24 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/37 "2020-10-28T15:24:07Z")

</div>

no.. no gui /desktop on the pi... all do via PC browser connecting to the PI.

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 October 2020 15:46 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/38 "2020-10-28T15:46:03Z")

</div>

OK. Seems I managed to reproduce on mobile so needs more work.  
Luckily nothing is really broken, for any next input the widget shows graphics correctly. It is just bad for setups where the data update rate is really low.

---

<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: [28 October 2020 15:50 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/39 "2020-10-28T15:50:48Z")

</div>

> [@Kazzy](#):
>
> nodejs : 14.0.0

Not related to the problem, I expect, but that is a very early 14.x version of nodjs, the latest is 14.15.0 I believe. It would be worth upgrading as initial versions of releases often have issues.

---

<div class="post-metadata">

### Author: ![Kazzy](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@Kazzy](https://discourse.nodered.org/u/Kazzy)
#### Post date: [28 October 2020 16:07 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/40 "2020-10-28T16:07:36Z")

</div>

not too sure how to do that.. and i see latest is Node15 and im sure i read someone had problems using v15 recently

---

<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: [28 October 2020 16:14 UTC](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276/41 "2020-10-28T16:14:19Z")

</div>

No, don't use 15, 14.x is the latest recommended. The 15 series are effectively development versions on the way to producing 16 which will be the next Long Term Support version. I don't know anything about DietPi, I use Raspbian Lite where I want a minimal OS installation, which is on all my Pis in fact.

[Previous page](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276.md?page=1)

[Next page](https://discourse.nodered.org/t/help-wanted-a-linear-level-indicator/9276.md?page=3)
