Not sure what is happening here but the popup windrogse graph is quite different to the actual gauge.
The gauge is reading correctly as I have confirmed the direction it is facing when I took this screen capture and there has been little to no wind over night.
Any ideas as to what I have set up incorrectly?
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
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
Windrose popup different to gauge.
Moderator: mcrossley
-
- Posts: 43
- Joined: Sat 29 Dec 2012 10:27 pm
- Weather Station: Davis VP2+
- Operating System: MAC Mini - OSX El Capitan
- Location: Victoria, Australia
Windrose popup different to gauge.
You do not have the required permissions to view the files attached to this post.
Colin
Point Cook Weather
Point Cook Weather
- 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: Windrose popup different to gauge.
Are you using the SQL or the tag version of the graphs?
-
- Posts: 43
- Joined: Sat 29 Dec 2012 10:27 pm
- Weather Station: Davis VP2+
- Operating System: MAC Mini - OSX El Capitan
- Location: Victoria, Australia
Re: Windrose popup different to gauge.
I am using the SQL version.
I changed the code so it uses the 'wlatest' data rather than the 'wspeed' and the result is much closer now to the gauge.
I changed the code so it uses the 'wlatest' data rather than the 'wspeed' and the result is much closer now to the gauge.
Colin
Point Cook Weather
Point Cook Weather
- 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: Windrose popup different to gauge.
The other thing to bear in mind - the Cumulus data will generally be over a more recent period of time.
The SQL graph will by default show a wind rose for the last 24 hours.
The JSON version will (assumption it is then same as C1) be the last 3,600 readings from the station - how long that is depends on the station. But for a VP2 by my reckoning that will be somewhere over 1 hour?
The SQL graph will by default show a wind rose for the last 24 hours.
The JSON version will (assumption it is then same as C1) be the last 3,600 readings from the station - how long that is depends on the station. But for a VP2 by my reckoning that will be somewhere over 1 hour?
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Windrose popup different to gauge.
Hi,
Mine isn't sized correctly ! And i'm not able to find where to change that.
When called directly http://meteo.laurentmey.fr/graph/windrose.png it's ok.
Please help
Mine isn't sized correctly ! And i'm not able to find where to change that.
When called directly http://meteo.laurentmey.fr/graph/windrose.png it's ok.
Please help
You do not have the required permissions to view the files attached to this post.
- 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: Windrose popup different to gauge.
This has been covered before, it involves adding a bit of custom code, but I forget the details. Try a search of the forum, or maybe somebody who has made the change can chip in?...laulau wrote:Hi,
Mine isn't sized correctly !
Windrose.jpg
And i'm not able to find where to change that.
When called directly http://meteo.laurentmey.fr/graph/windrose.png it's ok.
Please help
- ConligWX
- Posts: 1622
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Windrose popup different to gauge.
you need to edit the gauges.js
Add the following:
to the gauges.js at the bottom like so.....
I set mine however to 300 x 300
Add the following:
Code: Select all
$('#imgtip10_img').css({width: 400, height: 400}); //Re-size WindRose tip
to the gauges.js at the bottom like so.....
Code: Select all
if ($tooltip) { // add mouseenter to this tooltip (only if event hasn't already been added)
$tooltip.mouseenter(function () {
ddimgtooltip.hidebox($, $(this));
});
}
});
$('#imgtip10_img').css({width: 400, height: 400}); //Re-size WindRose tip
}
};
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Windrose popup different to gauge.
ThanksToxic17 wrote:you need to edit the gauges.js
Add the following:
Code: Select all
$('#imgtip10_img').css({width: 400, height: 400}); //Re-size WindRose tip
to the gauges.js at the bottom like so.....
I set mine however to 300 x 300Code: Select all
if ($tooltip) { // add mouseenter to this tooltip (only if event hasn't already been added) $tooltip.mouseenter(function () { ddimgtooltip.hidebox($, $(this)); }); } }); $('#imgtip10_img').css({width: 400, height: 400}); //Re-size WindRose tip } };