Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - 28 November 2014
Latest Cumulus MX release v3.0.0 build 3046 - 02 January 2019. See the Wiki for download

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: 6
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 » Sun 05 Apr 2015 7:28 pm

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: 6
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 » Sun 05 Apr 2015 7:41 pm

I'm sorry,

this is correct realtime path, thanks !

http://www.meteoisernia.net/collevecchi ... entraw.txt

User avatar
mcrossley
Posts: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by mcrossley » Sun 05 Apr 2015 8:01 pm

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: 6
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 » Mon 06 Apr 2015 5:11 am

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: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by mcrossley » Mon 06 Apr 2015 7:36 am

Try replacing it with...
"WindRoseData":[0],

fildevil
Posts: 6
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 » Mon 06 Apr 2015 8:19 am

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: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by mcrossley » Mon 06 Apr 2015 8:43 am

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: 6
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 » Mon 06 Apr 2015 3:05 pm

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: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with gauges 2.5.8 and Wview 5.20.2

Post by mcrossley » Mon 06 Apr 2015 6:01 pm

Sorry I have no idea how the graphics work in WView.

fildevil
Posts: 6
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 » Mon 06 Apr 2015 8:26 pm

Ok, thanks for all !

Post Reply