Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Help with gauges 2.5.8 and Wview 5.20.2

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
fildevil
Posts: 8
Joined: Sun 05 Apr 2015 7:20 pm
Weather Station: WS2367
Operating System: Linux
Location: Italy

Help with gauges 2.5.8 and Wview 5.20.2

Post by fildevil »

Hi Mark, first, a very big thanks for your scripts, incredible work!

So, I have a problem with Wview. I followed steps in wiki page for installing, but gauges pages don't upgrades my values.

Please can you help me?
Thanks in advance.

This is path of weather wview data:
http://www.meteoisernia.net/collevecchio/stazione

This is my gauges.js file
http://www.meteoisernia.net/collevecchi ... /gauges.js

This is my realtime raw file
http://www.meteoisernia.net/collevecchi ... gauges.txt

This is my htm pages:
http://www.meteoisernia.net/collevecchi ... es-ssT.htm
http://www.meteoisernia.net/collevecchi ... -basic.htm

Thanks again, Philip.
fildevil
Posts: 8
Joined: Sun 05 Apr 2015 7:20 pm
Weather Station: WS2367
Operating System: Linux
Location: Italy

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by fildevil »

I'm sorry,

this is correct realtime path, thanks !

http://www.meteoisernia.net/collevecchi ... entraw.txt
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by mcrossley »

I'm on my phone at the moment, so I can't look at it properly, but is this line normal for wview?

Code: Select all

"WindRoseData":"<!--dayWindRoseList-->"
fildevil
Posts: 8
Joined: Sun 05 Apr 2015 7:20 pm
Weather Station: WS2367
Operating System: Linux
Location: Italy

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by fildevil »

Mmmmm, I think you are right...
this tag found in customclientraw.txtx and it run in end of tag list, I don't know why it is here :shock:
But, maybe it corrupts all gauges?
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by mcrossley »

Try replacing it with...
"WindRoseData":[0],
fildevil
Posts: 8
Joined: Sun 05 Apr 2015 7:20 pm
Weather Station: WS2367
Operating System: Linux
Location: Italy

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by fildevil »

Thanks Mark, but no change :(
The strange is that in my page http://www.meteoisernia.net/collevecchi ... es-ssT.htm
gauges will start only after change of unit in footer of page. And countdown not upgrade entire page.
Green led say "remote sensor OK" ...
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by mcrossley »

Change line 2794 of gauges.js to...

Code: Select all

                    data.cloudbaseunit = '';
An error in the code, I'll get it fixed if that works for you.
fildevil
Posts: 8
Joined: Sun 05 Apr 2015 7:20 pm
Weather Station: WS2367
Operating System: Linux
Location: Italy

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by fildevil »

Amazing Mark, thanks, gauges works fine now ! :mrgreen: :mrgreen:
you can check it http://www.meteoisernia.net/collevecchi ... es-ssT.htm

Well, last question, can I show graphics after mouse over ?

Thanks in advance. :D
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by mcrossley »

Sorry I have no idea how the graphics work in WView.
fildevil
Posts: 8
Joined: Sun 05 Apr 2015 7:20 pm
Weather Station: WS2367
Operating System: Linux
Location: Italy

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by fildevil »

Ok, thanks for all !
Post Reply