Meteotemplate - new free website template

Maybe it is because we were discussing the template in a different thread here, but I hope it is definitely not “quiet” :smiley: Yesterday I released a new plugin, one more is coming today, I am working on a page with gauges and also dealing with support (just yesterday got 32 emails :D). And considering I have to try doing most of it at night I can say Im pretty busy these days :slight_smile: The important thing however is that I enjoy it.

Hi Jachym,

I see that bug I reported in the V1.1 release on the Trends page has been fixed on the Demo site.

Does the current download of V1.1 contain the fix or will that be included in another version.

regards,

You mean the trend graphs not showing? If so then yes, that is a known bug and will be fixed in the next update.

Hi Jachym.

Greate templates you are making, keep up the good work =D>
Have a question i hope you can help with, i use WD last version for upload.

1.Is it possible to to have/set more frequent updates to the weather station site, like every 5 sec?
Same same i have with saratoga template, then it will be almost live.
I upload 2x clientraw.txt files, one every min and one every 3 sec. Diff location on server.

  1. Where do i find my ID for Climate setting in config.php to put in, i stay in ulsteinvik, norway :
    /* ########### Climate ####################### */
    $climateID = 2539; // default location ID

  2. i didnt find any info how to implement my davis solar sensor to the template, thrue the WDimport.html script.

Thanks again for making templates like this. :smiley:

You see the site here:
http://www.ulsteinvikweather.com/meteopage/index.php

Hi Bjorn and greetings to Norway :slight_smile:

  1. Currently no - but this will be a new feature in the (hopefully next) release - also see http://discourse.weather-watch.com/t/60409

  2. Im not sure I understand your question, the code you have copied is from the config.php. This is the ID that is shown if you link to just the index.php of the climate file without any parameter. You can create links to other locations in the menu by simply specifying it like this:

…/climate/index.php?q=XXXX - this will show whatever location you want. And the climate ID in config.php is what is loaded when linking to just …/climate/index.php

  1. you must create your custom log I guess, which will contain all the parameters including the S, I am not 100% sure how to do it, but I remember someone here said it is possible. Other option is importing your current logs to Excel, pasting the solar data, save as CSV and do the CSV import.

Hi

regard question nr 2.
Possible to have the templat for weather station have auto live update every, say 5 sec instead of 1 min?
This site.
http://www.ulsteinvikweather.com/meteopage/pages/station/index.php

Hi,

the updates was your question 1 :smiley: And I answered it:

“this will be a new feature in the (hopefully next) release - also see http://discourse.weather-watch.com/t/60409

Also, with regards to the climate, it is possible to create your own location if you want. It is more a matter of finding data for it.

AAA got it Jachym, thanks and keep up the good work :slight_smile:
looking forward to “live” update.

The climate data obviously does not contain every place on Earth :smiley: It would be impossible for me to put together in some reasonable time and also it would be extremely big in terms of size. However, it is possible to add your own particular location.

I looked on the web and found some usable data for Ulsteinvik, so I will format it in such a way so that it can be used by the script and then I will post here instructions for you how to add that data, so your climate section will then show Ulsteinvik with a Norwegian flag and data from your particular city.

Super Jachym.

Thanks alot :lol:

Hi Bjorn,

so I prepared the data set for you (I cant guarantee it will work the first time, but if not let me know and we will fix it)

Open some text editor and open the file pages/climate/complete.csv

Go right to the bottom and insert a new line with the following content:

"5000;Ulsteinvik;Norway;no;Ulstein;Europe;No;62.21;5.51;10;6912;Cfc;Cfc;DCIo;Cool temperate moist forest;3.8;3.3;4.6;6.8;10.4;12.8;14.5;15;12.7;9.7;6.5;4.7;8.7;2;1.6;2.6;4.5;7.9;10.4;12.3;12.9;10.7;7.8;4.7;2.8;6.7;11.3;4.2;0.3;0;0.7;2.2;5.4;8.1;10.1;10.8;8.7;6;3;1;4.7;178;136;148;109;89;104;135;167;272;259;249;229;2075;183;64.3;19;17;18;15;14;14;15;16;16;17;17;18-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;362;534;703;889;1066;1189;1130;961;777;599;418;302;887"

Save it, upload it to your server and then try putting your default climate (or link in the menu) to ID 5000

Let me know if it works, it is possible I made an error somewhere along the way, lot of numbers and semicolons :smiley:

Great :slight_smile:
Done and uploaded.

Some humidity issue :wink:
See her:
http://www.ulsteinvikweather.com/meteopage/pages/climate/index.php?q=5000

Ahhh… yes I see the error, try this:

"5000;Ulsteinvik;Norway;no;Ulstein;Europe;No;62.21;5.51;10;6912;Cfc;Cfc;DCIo;Cool temperate moist forest;3.8;3.3;4.6;6.8;10.4;12.8;14.5;15;12.7;9.7;6.5;4.7;8.7;2;1.6;2.6;4.5;7.9;10.4;12.3;12.9;10.7;7.8;4.7;2.8;6.7;11.3;4.2;0.3;0;0.7;2.2;5.4;8.1;10.1;10.8;8.7;6;3;1;4.7;178;136;148;109;89;104;135;167;272;259;249;229;2075;183;64.3;19;17;18;15;14;14;15;16;16;17;17;18;196;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;362;534;703;889;1066;1189;1130;961;777;599;418;302;887"

Hi Bjorn, so I just tested it, open complete.csv in a text editor and insert this right at the bottom as a new line and it works:

“5000;Ulsteinvik;Norway;no;Ulstein;Europe;No;62.21;5.51;10;6912;Cfc;Cfc;DCIo;Cool temperate moist forest;3.8;3.3;4.6;6.8;10.4;12.8;14.5;15;12.7;9.7;6.5;4.7;8.7;2;1.6;2.6;4.5;7.9;10.4;12.3;12.9;10.7;7.8;4.7;2.8;6.7;11.3;4.2;0.3;0;0.7;2.2;5.4;8.1;10.1;10.8;8.7;6;3;1;4.7;178;136;148;109;89;104;135;167;272;259;249;229;2075;183;64.3;19;17;18;15;14;14;15;16;16;17;17;18;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;-9999;362;534;703;889;1066;1189;1130;961;777;599;418;302;887”

I just got a white page Jachym. #-o Bergen is showing also white page. i have just copy-paste-upload.

http://www.ulsteinvikweather.com/meteopage/pages/climate/index.php?q=5000

UPDATE:
Seems to be when only using norwegian language Jachym. english is showing ok.

UPDATE:
Missing file in: pages/climate/climate_types_no.php files for language other then cz, gb.
Working now.

Hi,

just a quick note - there was a bug in the eclipses plugin, which caused that the upcoming eclipse date was not showing correctly. I fixed it and the file in the download section is now updated with the fix.

Fantastic template, Jachym! I have been able(i think) to set up everything so far, but the webpage is not showing live data.
http://patricksweeneydds.com/template/pages/station/index.php.

I’ve narrowed it down to the admin password in config.php.
$adminPassword = “xxxxxxx”;

Is that password the one that goes to Mysql or is it the ftp password. None of them seem to work.

Pat

Hi

$adminPassword will give you access to the admin section. At the bottom right of the start page there is a lock and if you press the lock, you will have access to the Mysql database and the 2 caches.

This password is not used for Mysql or FTP.

Rgds
Gert

Hi.

No, this has absolutely nothing to do with neither your MySQL nor FTP password. The MySQL password is set in the config.php separately.

Admin password is basically a password used by the template exclusively. You set it to whatever you like and define it in the config.php. The default is 12345. And this then gives you access to the admin section to perform various tasks which normal user will not have access to.

Hi

I have now created the database, uploaded the files, opened tableCreate.php and got the “Table Created!” response. The config.php file was edited according to the instructions, with the admin password as 12345.
Then, upgraded WD to the newest version, and enabled the HTTP GET To Web Page Script with: http://www.patricksweeneydds.com/template/update/wd.php?pass=12345
entered into the box.
Still it is not updating the database. If you enter the above URL, it gives an error “Incorrect upload password!”
What have I missed?
In Filezilla, looking into the update folder, I see clientraw.txt files being update about every 10 seconds. Also a clientraw.txttmp file briefly shown, but the ClientrawCache.txt shows a filesize of 0

Pat