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
Wind speed and Wind gust units
Moderator: saratogaWX
-
- Posts: 246
- Joined: Thu 03 Jan 2013 1:59 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Vihtavuori, Laukaa, Finland
Wind speed and Wind gust units
Hi
Could someone give me a littlebit advice, how I could correct my wind and Gust speed units shown in my ajax-dashboard? Link to the page: index.php.Units are km/h and m/s and they are just wrong... that month high should be km/h and others m/s. And I don't know why there are two different units? I have checked settings and all stuff I know where it could be updated. My wind speed units are m/s from Davis console --->Cumulus---->CUtags--->Ajax-dashboard, except somwhere some units are changed km/h, and in wrong place... What have I messed in this time, and is it possible to correct that error made by kapo ?? My weatherstation had one year birthday yesterday, so that first year went as practising these things, but in the future I try to get this hobby to work correctly, so this unit problem is first thing to try correct.. I need a little help to know where those Wspeed and WGust and their units are red so I could correct those, until for Y2014, when that kind of mistakes should get minimised, and this thing is only for myself...
-kapo-
Could someone give me a littlebit advice, how I could correct my wind and Gust speed units shown in my ajax-dashboard? Link to the page: index.php.Units are km/h and m/s and they are just wrong... that month high should be km/h and others m/s. And I don't know why there are two different units? I have checked settings and all stuff I know where it could be updated. My wind speed units are m/s from Davis console --->Cumulus---->CUtags--->Ajax-dashboard, except somwhere some units are changed km/h, and in wrong place... What have I messed in this time, and is it possible to correct that error made by kapo ?? My weatherstation had one year birthday yesterday, so that first year went as practising these things, but in the future I try to get this hobby to work correctly, so this unit problem is first thing to try correct.. I need a little help to know where those Wspeed and WGust and their units are red so I could correct those, until for Y2014, when that kind of mistakes should get minimised, and this thing is only for myself...
-kapo-
- N0BGS
- Posts: 205
- Joined: Sat 10 Nov 2012 2:26 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Win10vm,VMWare ESXi 7.0
- Location: Hermon, Maine USA
- Contact:
Re: Wind speed and Wind gust units
Kapo:
Open Settings.php with an editor and check around line 146
Make sure your 'uomWind' value is set to ' m/s'
--Kurt
Open Settings.php with an editor and check around line 146
Code: Select all
$SITE['uomWind'] = ' mph'; // =' km/h', =' kts', =' m/s', =' mph'
--Kurt
Blitzortung Station 1809
-
- Posts: 246
- Joined: Thu 03 Jan 2013 1:59 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Vihtavuori, Laukaa, Finland
Re: Wind speed and Wind gust units
Thank YouN0BGS wrote:Kapo:
Open Settings.php with an editor and check around line 146Make sure your 'uomWind' value is set to ' m/s'Code: Select all
$SITE['uomWind'] = ' mph'; // =' km/h', =' kts', =' m/s', =' mph'
--Kurt
Checked and 'uomwind' value was/is 'm/s'
-kapo-
- saratogaWX
- Posts: 1196
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Wind speed and Wind gust units
There are actually two settings for units.. one in Settings.php for the PHP parts of the pages (and should reflect the actual units used for reporting in CUtags.php), and a second set of settings in ajaxCUwx.js for the AJAX updates from the realtime.txt.
The default ajaxCUwx.js for the World template uses C, km/h, hPa, mm for Temp, wind, baro, rain respectively. You can force m/s to be displayed by setting in ajaxCUwx.js
Best regards,
Ken
The default ajaxCUwx.js for the World template uses C, km/h, hPa, mm for Temp, wind, baro, rain respectively. You can force m/s to be displayed by setting in ajaxCUwx.js
Code: Select all
var useMPS = true; // set to true for meters/second for metric wind speeds, false= km/h
Ken
- N0BGS
- Posts: 205
- Joined: Sat 10 Nov 2012 2:26 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Win10vm,VMWare ESXi 7.0
- Location: Hermon, Maine USA
- Contact:
Re: Wind speed and Wind gust units
Ok, then next
Run:
http://www.kapo511.net/check-fetch-time ... w=versions
and update your scripts to the current versions.
I notice that when I refresh your page it shows UoM as m/s but then when the updates stop it goes back to kph. Strange.
Run:
http://www.kapo511.net/check-fetch-time ... w=versions
and update your scripts to the current versions.
I notice that when I refresh your page it shows UoM as m/s but then when the updates stop it goes back to kph. Strange.
Blitzortung Station 1809
-
- Posts: 246
- Joined: Thu 03 Jan 2013 1:59 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Vihtavuori, Laukaa, Finland
Re: Wind speed and Wind gust units
Yes, there is that default selected, ofcourse I did not find that... But what happens if I change that to 'm/s' ? Will it correct that, or not? I really don't know...saratogaWX wrote:There are actually two settings for units.. one in Settings.php for the PHP parts of the pages (and should reflect the actual units used for reporting in CUtags.php), and a second set of settings in ajaxCUwx.js for the AJAX updates from the realtime.txt.
The default ajaxCUwx.js for the World template uses C, km/h, hPa, mm for Temp, wind, baro, rain respectively. You can force m/s to be displayed by setting in ajaxCUwx.jsBest regards,Code: Select all
var useMPS = true; // set to true for meters/second for metric wind speeds, false= km/h
Ken
And there is that "strange" : "I notice that when I refresh your page it shows UoM as m/s but then when the updates stop it goes back to kph. Strange." Quote from Kurt...
I have noticed that before too.. What scripts I should update that this little mess should correct?
-kapo-
- N0BGS
- Posts: 205
- Joined: Sat 10 Nov 2012 2:26 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Win10vm,VMWare ESXi 7.0
- Location: Hermon, Maine USA
- Contact:
Re: Wind speed and Wind gust units
I have to defer to Ken in all things PHP related, but I do note that your ajaxCUwx.js script in line 65 reads:
BTW, Ken good to hear from you. Hadn't seen any posts from you here for some time.
--Kurt
Code: Select all
var useMPS = false; // set to true for meters/second for metric wind speeds, false= km/h
--Kurt
Blitzortung Station 1809
- saratogaWX
- Posts: 1196
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Wind speed and Wind gust units
You do need to change ajaxCUwx.js to have in order to fix the issue you are seeing. The PHP is correct; the problem is in the ajaxCUwx.js
Code: Select all
var useMPS = true; // set to true for meters/second for metric wind speeds, false= km/h
-
- Posts: 246
- Joined: Thu 03 Jan 2013 1:59 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Vihtavuori, Laukaa, Finland
Re: Wind speed and Wind gust units
O.K !!
Now are units o.k. Only prob. is now month high: 64 m/s !! quite a hard wind.... But that's no matter, next Year must be correct.... Thank You once again!!!
-kapo-
Now are units o.k. Only prob. is now month high: 64 m/s !! quite a hard wind.... But that's no matter, next Year must be correct.... Thank You once again!!!
-kapo-
- N0BGS
- Posts: 205
- Joined: Sat 10 Nov 2012 2:26 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Win10vm,VMWare ESXi 7.0
- Location: Hermon, Maine USA
- Contact:
Re: Wind speed and Wind gust units
Next, you need to correct your realtime chart since it is km/h!
Easy to fix that, too.
Blitzortung Station 1809
-
- Posts: 246
- Joined: Thu 03 Jan 2013 1:59 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Vihtavuori, Laukaa, Finland
Re: Wind speed and Wind gust units
Hi again
I updated those scripts (= ajaxCUwx.js, ajax-gizmo.php, include-wxstatus.php, Settings.php ) and after that..... my index-page stopped to update automatic.... until this, before updating, page updated automaticly, now I am again lost as a little boy and don't know what to do.... So could somebody give little help again???? I have inspected all I know where that auto update is, but no results.... link: http://www.kapo511.net/index.php , it updates once, when open it, but after that even that counter: "updated ___ seconds ago dosen't show anything....and no update
-kapo-
I updated those scripts (= ajaxCUwx.js, ajax-gizmo.php, include-wxstatus.php, Settings.php ) and after that..... my index-page stopped to update automatic.... until this, before updating, page updated automaticly, now I am again lost as a little boy and don't know what to do.... So could somebody give little help again???? I have inspected all I know where that auto update is, but no results.... link: http://www.kapo511.net/index.php , it updates once, when open it, but after that even that counter: "updated ___ seconds ago dosen't show anything....and no update
-kapo-
- N0BGS
- Posts: 205
- Joined: Sat 10 Nov 2012 2:26 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Win10vm,VMWare ESXi 7.0
- Location: Hermon, Maine USA
- Contact:
Re: Wind speed and Wind gust units
Kapo:
If you set line 54 of ajaxCUwx.js:
back to 5000, what happens?
Merry Christmas!
--K
If you set line 54 of ajaxCUwx.js:
Code: Select all
var reloadTime = 60000; // reload AJAX conditions every 5 seconds (= 5000 ms)
Merry Christmas!
--K
Blitzortung Station 1809
-
- Posts: 246
- Joined: Thu 03 Jan 2013 1:59 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Vihtavuori, Laukaa, Finland
Re: Wind speed and Wind gust units
Hi
It is 5000 ms, and no work....
-kapo-
It is 5000 ms, and no work....
-kapo-
- N0BGS
- Posts: 205
- Joined: Sat 10 Nov 2012 2:26 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Win10vm,VMWare ESXi 7.0
- Location: Hermon, Maine USA
- Contact:
Re: Wind speed and Wind gust units
OK, we may have to wait for Ken on this since he is the expert.
But...if you change line 56 of ajaxCUwx.js:
to 48, any change?
I notice that on my home page if I set maxupdates to 0, it doesn't blink the temperature value anymore.
But...if you change line 56 of ajaxCUwx.js:
Code: Select all
var maxupdates = 0; // Maxium Number of updates allowed (set to zero for unlimited)
I notice that on my home page if I set maxupdates to 0, it doesn't blink the temperature value anymore.
Blitzortung Station 1809