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 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Impressive template from Jachym for Cumulus

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Impressive template from Jachym for Cumulus

Post by nitrx »

Some people might know that Jachym from Tsjechie has built a complete new template its compatible with Cumulus and CumulusMX, nice stats graphs andso-on you need php and msql.

Wiki , downloads plugins blog etc on http://www.meteotemplate.com/web/index.php , I'm busy with the Dutch translation note its beta but most works fine I've had no issues till now. My sample / tryoutpage is http://apeldoorn.tk/meteo in the left corner on top there is a 'wheel' for selecting units and language(s) and custum layout for questions you should look on the pages en blog from Jachym.

Ron
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Impressive template from Jachym for Cumulus

Post by PaulMy »

Agreed, well done by Jachym. A different approach by using a MySQL DB which I found a little tricky to set up and with lots of testing etc. I have it at www.komokaweather.com/j-template/index.php

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
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: Impressive template from Jachym for Cumulus

Post by N0BGS »

Hi Guys:

I spent about three hours last night installing these templates. Jachym really did a nice job on them. http://www.kpw3.com/meteo/

I have three-years worth of Cumulus log files that I imported, but try as I might I can not map the barometric pressure readings into MySql using the Meteo Templates. Using the Cumulus Importer I've tried it many different way with many different field mappings. No go.

I am also unable to make the barometric pressure gauge scale properly using inhg as my UoM.

I was able to use curl to build a cron in Linux to do the live updates from realtime.txt but even those don't have the pressure readings!

So... :|

--Kurt
Blitzortung Station 1809
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Impressive template from Jachym for Cumulus

Post by PaulMy »

From your page's Info tab there appears to be only 1 item in your MySQL DB. Had you downloaded (from your website to MySQL DB) any historical data? Once you get that working then it will be easier to determine the cause of the realtime not updating.

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
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: Impressive template from Jachym for Cumulus

Post by N0BGS »

Hi Paul:

Yes, I had uploaded all of it last night. I deleted it all today while I was editing the /update/cumulus.php file to see if I could get the pressure field to populate from realtime.txt.

In realtime.txt the pressure field is 10th in the array, it is the same in update/cumulus.php but I still don't get pressure readings written to MySql. Not from realtime.txt and not when I use the CumulusImport tool. Weird.

There is a little more data in there now, btw-- but still no pressure records.

--Kurt
Blitzortung Station 1809
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Impressive template from Jachym for Cumulus

Post by PaulMy »

I am using metric in Cumulus with these settings in config.php and you would likely have imperial
// Units in MySQL database - specify the units in which your data is saved in MySQL database
$dataTempUnits = "C"; // C or F
$dataRainUnits = "mm"; // mm or in
$dataWindUnits = "kmh"; // ms, kmh, kt or mph
$dataPressUnits = "hpa"; // hpa, mmhg, inhg presumably you would use "inhg"

// Display units - specify the default units in which you want your data to be shown on the web
$displayTempUnits = "C"; // C or F
$displayRainUnits = "mm"; // mm, cm or in
$displayWindUnits = "kmh"; // ms, kmh, kt or mph
$displayPressUnits = "hpa"; // hpa, mmhg, inhg presumably you would use "inhg"
$displayCloudbaseUnits = "m"; // m or ft
$displayVisibilityUnits = "km"; // visibility units, km/mi/m

//limits - these are limits for specific parameters. These limits will be used when uploading new or historical data to the database. If the value to be added is outside these limits, it will be ignored - this is for example to avoid inserting crazy values, which would subsequently bias averages etc. These limits are in the units to be saved in the db - i.e. the units you specified that are units of data in MySQL database.
$limitTempMin = -100;
$limitTempMax = 100;
$limitHumidityMin = 0;
$limitHumidityMax = 100;
$limitPressureMin = 950; presumably you would use something like 28.0
$limitPressureMax = 1100; presumably you would use something like 31.0
$limitRainMin = 0;
$limitRainMax = 200;
$limitRainRateMin = 0;
$limitRainRateMax = 500;
$limitBearingMin = 0;
$limitBearingMax = 360;
$limitWindMin = 0;
$limitWindMax = 200;
$limitSolarMin = 0;
$limitSolarMax = 2000;
Do you have the correct $limitPressureMin and Max set for inhg

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
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: Impressive template from Jachym for Cumulus

Post by N0BGS »

Yes, that's the way I have config.php set. Just going over it again now.

The real problem is that the database contains nothing but NULL in the "P" column.
database.png
Presumably I am doing something wrong during the import data process because that value just does not appear anywhere--not even in the wrong column.

Did you go with the field defaults in CumulusImport.html?

My existing pressure field has three significant digits to the right of the decimal, e.g. 29.780 I mean the field in Jul15log.txt, for example.
I wonder if that could be a problem?

Thanks for trying.

--K
You do not have the required permissions to view the files attached to this post.
Blitzortung Station 1809
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Impressive template from Jachym for Cumulus

Post by PaulMy »

Just typing a response and now see that Pressure is being shown, is that correct?

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
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: Impressive template from Jachym for Cumulus

Post by N0BGS »

Yes, it is. :) I finally worked it out.

I take readings from Cumulus every 60 seconds, so my log files reflect that frequency. On average they are over 40,000 lines long.

I truncated one log to 50 lines or so, then imported that into Meteo. It worked perfectly. I then reasoned that I might not have enough memory assigned to PHP on my Linux server
so I increased the memory setting in php.ini from 128 MB to 256 MB. I tried the full size log file import again and it worked! Woo-Hoo.

Thanks for your help, Paul.

--Kurt

...now to figure out why the barometer gauge won't draw!
Blitzortung Station 1809
jachym
Posts: 53
Joined: Mon 07 Jan 2013 3:47 pm
Weather Station: WH 1080
Operating System: Win XP
Location: Czech republic

Re: Impressive template from Jachym for Cumulus

Post by jachym »

Hi guys,

first of all thanks for downloading it and trying it out. Paul has just pointed me here I didnt know you were discussing some problems here.

I see it is now solved, but in case there are any problems, feel free to send me an email or use the accompanying web contact form in the blog :-)
jachym
Posts: 53
Joined: Mon 07 Jan 2013 3:47 pm
Weather Station: WH 1080
Operating System: Win XP
Location: Czech republic

Re: Impressive template from Jachym for Cumulus

Post by jachym »

N0BGS wrote:Yes, it is. :) I finally worked it out.

I take readings from Cumulus every 60 seconds, so my log files reflect that frequency. On average they are over 40,000 lines long.

I truncated one log to 50 lines or so, then imported that into Meteo. It worked perfectly. I then reasoned that I might not have enough memory assigned to PHP on my Linux server
so I increased the memory setting in php.ini from 128 MB to 256 MB. I tried the full size log file import again and it worked! Woo-Hoo.

Thanks for your help, Paul.

--Kurt

...now to figure out why the barometer gauge won't draw!
I think I found the problem with the press gauge, it will be fixed in the next release, for now you can try changing the following parameters in the live.php:

Find where it specifies the pressureGauge ( $('#gaugePress').jqxGauge({)

then change this:

Code: Select all

ticksMinor: { 
					interval: 2.5, 
					size: '5%',
					style: { 
						stroke: '#C5CAE9', 
						'stroke-width': '1px', 
						fill: '#C5CAE9' 
					}
				},
                ticksMajor: { 
					interval: 5, 
					size: '10%',
					style: { 
						stroke: '#C5CAE9', 
						'stroke-width': '3px', 
						fill: '#C5CAE9' 
					} 
				}
to this

Code: Select all

ticksMinor: { 
					interval: 0.5, 
					size: '5%',
					style: { 
						stroke: '#C5CAE9', 
						'stroke-width': '1px', 
						fill: '#C5CAE9' 
					}
				},
                ticksMajor: { 
					interval: 1, 
					size: '10%',
					style: { 
						stroke: '#C5CAE9', 
						'stroke-width': '3px', 
						fill: '#C5CAE9' 
					} 
				}
User avatar
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: Impressive template from Jachym for Cumulus

Post by N0BGS »

Jachym,
First, thanks for letting me know what file the gauge settings are in, and second thanks very much for all your extraordinary work on the meteo templates. You who insists he is not a programmer! ;)

I've change the scaling on all the gauges on live.php to what I believe will be more appropriate for US standards.

On the pressure gauge I would like to be able to display more than just the "28" at the left of the dial but thus far I haven't been able to work that out.

Thanks again,

--Kurt
Blitzortung Station 1809
jachym
Posts: 53
Joined: Mon 07 Jan 2013 3:47 pm
Weather Station: WH 1080
Operating System: Win XP
Location: Czech republic

Re: Impressive template from Jachym for Cumulus

Post by jachym »

I found the bug and it will be fixed in the update which will be available probably even this weekend. Subscribe to the blog if you want to get notifications about new stuff
User avatar
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: Impressive template from Jachym for Cumulus

Post by N0BGS »

Jachym:

I've installed your new 1.1 update at http://www.kpw3.com/meteo I like the new banner a lot.

With my configuration I still was not happy with the way the gauges on live.php were scaling:
OriginalScaling.PNG
Here are the settings in config.php: ( I never have a constant wind speed over 20 MPH at my location so a max of 20 is fine for me.)
configPHP.PNG
After editing the code which scales the gauges the pointers seems to line up a bit more accurately

Here is the edited pressure gauge code:
pressguage.PNG
This is the edited wind gauge code:
Windgauge.PNG
This is the edited wind gust gauge code:
WindGustGauge.PNG
Below is the result of the edits:
gauges.PNG
I would like more major numbers displayed on the gauges, such as 5,10,15 on the wind gauge but haven't yet figured out where that code is hiding. :)

Thanks again for your continued hard work on the templates. They are really nice.

--Kurt
You do not have the required permissions to view the files attached to this post.
Blitzortung Station 1809
jachym
Posts: 53
Joined: Mon 07 Jan 2013 3:47 pm
Weather Station: WH 1080
Operating System: Win XP
Location: Czech republic

Re: Impressive template from Jachym for Cumulus

Post by jachym »

I will look at it, but I can already tell you now that it is very likely this "gauges" page will be compltely redesigned in some upcoming update. It is actually the one I am least satisfied with, not only in terms of the design, but also how often and how the data is fetched.
Post Reply