Trixology

WeatherCat => WeatherCat Web Templates => Topic started by: jachym on September 22, 2016, 05:28:57 PM

Title: Meteotemplate
Post by: jachym on September 22, 2016, 05:28:57 PM
METEOTEMPLATE

Meteotemplate is my free website template for displaying data from your weather station and much more.

Main features

- detailed statistics - data from your weather station, including interactive graphs, sortable tables and interesting visualizations
- highly customizable - choose from over 15 design themes, many fonts and overall look setting, choose your preferred units
- modular structure - build your own homepage from almost hundred different block elements, new ones being added regularly
- additional features - add one of the almost hundred currently available plugins, new ones being added regularly. This includes forecasts, radar images, extended graphs, climate analyses, calculators, convertors, educational section, regional pages, station diary, CO2 levels, earthquakes, snow statistics, degree days, maps, astronomy pages, marine and air traffic and much more.
- extensive compatibility - compatible with many different software and weather stations, including Weather Display, Meteobridge, Cumulus, WView, Weather Underground, NetAtmo, WeatherCat
- international - currently available in over 15 languages
- extensive support
- FREE (donationware) - absolutely no hidden costs. This includes all the widgets (blocks), add-ons (plugins) and support.

Everything is explained at

www.meteotemplate.com

where you will find also a link to the daily updated Blog to which you can subscribe, a wiki that explains how to install and use it, the download files etc.

If you need help, have a suggestion, question, problem, you can either email me (I will reply within 24h and if necessary we can arrange a Skype call etc.), use the blog to send me a comment, ask here, or ask at the wxforum.net, I am very active there. I will try to watch this forum as well, but unfortunately I really dont have so much time to post everything on several forums. You can of course ask here, but I will probably post updates only at the wxforum.net forum, but you can always also check the Blog, where is everything.


Enjoy
Title: Re: Meteotemplate
Post by: iccb on September 23, 2016, 10:48:31 AM
Hello Jachym!

Thank you for bringing meteotemplate to weathercat!
I will start to look into this to update my website...
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 10:52:48 AM
iccb,

good luck! Let us know how you are going on - I spent some hours with it but I am not really satisfied with the installation procedure.

Cheers,
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 11:03:43 AM
Quote
I am not really satisfied with the installation procedure

well unless you say what you dont like about it you cannot expect anything to change....
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 11:04:43 AM
And I also replied to your emails asking you to send me some details so that I can check your settings, which you did not.
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 11:32:03 AM
Found your eMail in the Spam-Folder, sorry.  :-[
Title: Re: Meteotemplate
Post by: TechnoMonkey on September 23, 2016, 02:27:31 PM
Quote
I am not really satisfied with the installation procedure

well unless you say what you dont like about it you cannot expect anything to change....

It was somewhat daunting, but it is not rocket science and it only needs one successful installation.  It is not as though one needs to run the installer on a daily basis.
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 02:29:11 PM
The problem is solved now. I think the problem is he was reading documentation for other software rather than the one for the plugin, we solved it already :)
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 02:54:18 PM
It was somewhat daunting, but it is not rocket science and it only needs one successful installation.  It is not as though one needs to run the installer on a daily basis.

Looking forward to see your Weather Template, Techno.
Mine is showing up an Offline Weather Station at all but surely I have made mistakes in my setup.

Yoda would say: Too stupid you are.
My answer: Correct you are.

 :D
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 03:02:52 PM
Several steps:
- make sure your weatherCat plugin is in the plugins directory
- make sure you set your path to realtime.wc.txt in the weatherCat.php
- set a cron job to ..../plugins/weatherCat/weatherCat.php?password=UPDATE PASSWORD FROM MAIN SETUP

If it does not work, send me an email with your template password and I will look at it
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 03:11:51 PM
- make sure you set your path to realtime.wc.txt in the weatherCat.php

Why do you call this file realtime.wc.txt?

The name WeatherCat sends it is realtimegaugesWC.txt. Or am I missing something?
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 03:15:10 PM
Hi,
interesting... I have no idea :D When Tom sent it to me it was called realtime.wc.txt and I thought that is how it is generated by weatherCat. Sorry, I never saw this SW and so I probably incorrectly assumed that is what it is called... but it doesnt really matter, as long as the path is correct, it is irrelevant what that file name is. Though if that is the case I should correct it in the wiki.
Sorry about that.
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 03:27:43 PM
MAYBE

it has something to do that I am a Beta tester of WeatherCat and this Beta version puts out this one:
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 03:30:58 PM
OK, this shows that it cannot find the source file. Either incorrect path or permissions.

The script as such works, I have that confirmed by several people already, so lets go step by step:

1. make sure that the weatherCat.php is in plugins/weahterCat/weatherCat.php
2. make sure that the file from which you want to read the data is readable
3. post here the path you specified for the file

I will check the file to see if it looks like the one that is necessary.

Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 04:09:55 PM
IMPORTANT!!!

Hi guys,

recently I noticed that my replies to some people ended in the Spam folder of their mailbox. I dont know, it could be that it recognizes my Czech IP, but either way, if you email me, just to make sure, put my email address on your list of exceptions to make sure this does not happen. I ALWAYS reply to all emails.
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 04:22:41 PM
3. post here the path you specified for the file

http://wetter.unterwurzacher.at/realtimegaugesWC.txt
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 04:29:36 PM
OK well I see the problem and it is what I feared... it is the same problem as with Cumulus.

The logs are not consistent, it uses various decimal separators etc. That is a problem, PHP does not recognize "," as a decimal comma. The ideal is when the logs are static, like in weather display, it is always easy for a developer to do whatever formatting they need to show it to the user and know exactly what input you are getting. Here the problem is in the commas, it cannot recognize that as a decimal, so it shows an error. Is there any way of generating this with decimal periods? (.)?

Ideal situation would be if WeatherCat could generate one log file that would disregard all user system settings and have one fixed structure. That is how most APIs work. I had lot of problems with this with Cumulus.
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 04:37:19 PM
Thank you for confirming that I am not a perfect idiot.

 [rock]
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 04:38:15 PM
OK hang on, is that the same file? Even all the field delimiters are different.

Just to make sure, this is what I was working with:

{"date":"09/23/16 13:03 "|"dateFormat":"d/m/y"|"temp":"86.6"|"tempTL":"69.3"|"tempTH":"88.2"|"intemp":"86.1"|"dew":"67.4"|"dewpointTL":"65.8"|"dewpointTH":"71.5"|"apptemp":"91.1"|"apptempTL":"73.5"|"apptempTH":"93.5"|"wchill":"86.6"|"wchillTL":"69.3"|"heatindex":"89.7"|"heatindexTH":"103.3"|"humidex":"86.6"|"wlatest":"1"|"wspeed":"2"|"wgust":"7"|"wgustTM":"10"|"bearing":"114"|"avgbearing":"99"|"press":"30.04"|"pressTL":"30.01"|"pressTH":"30.08"|"pressL":"29.29"|"pressH":"30.64"|"rfall":"0.00"|"rrate":"0"|"rrateTM":"0"|"hum":"53"|"humTL":"50"|"humTH":"91"|"inhum":"58"|"SensorContactLost":"0"|"forecast":"Increasing clouds with little temperature change. Precipitation possible within 24 to 48 hours."|"tempunit":"°F"|"windunit":"MPH"|"pressunit":"inHg"|"rainunit":"in"|"temptrend":"-1.5"|"TtempTL":"6:11 AM"|"TtempTH":"12:00 PM"|"TdewpointTL":"5:24 AM"|"TdewpointTH":"10:21 AM"|"TapptempTL":"6:00 AM"|"TapptempTH":"12:00 PM"|"TwchillTL":"6:11 AM"|"TheatindexTH":"11:44 AM"|"TrrateTM":"-"|"ThourlyrainTH":"-"|"LastRainTipISO":"-"|"hourlyrainTH":"-"|"ThumTL":"12:22 PM"|"ThumTH":"7:00 AM"|"TpressTL":"12:04 AM"|"TpressTH":"9:49 AM"|"presstrendval":"-0.01"|"Tbeaufort":"-"|"TwgustTM":"11:55 AM"|"windTM":"11:55 AM"|"bearingTM":"-"|"timeUTC":"2016,9,13,18,3,55"|"BearingRangeFrom10":"0"|"BearingRangeTo10":"359"|"UV":"0.0"|"SolarRad":"171"|"CurrentSolarMax":"-"|"SolarTM":"0.0"|"version":"WeatherCat"|"build":"V2.40, Build 198"|"ver":"8"}
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 04:39:01 PM
OK I think it is a completely different file, it has different separator, delimiter, even the variables are different.
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 04:46:17 PM
I think the developer of WeatherCat (Stu) has made it possible to export this very file with commas (for those of us who are looking for metric values) and with points (for those who are looking for english writings - is that correct???) as the settings are set in WeatherCat Preferences.

Maybe therefore the output is in *commas* here on my side, because in German it spells 10,7?C rather than 10.7?C.
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 04:48:05 PM
Hi,
well not really though. Because if you look at it, the files are differnt. I could try to handle the comma/period issue, but it is everyything - separators, fields... it is a different file.
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 04:49:20 PM
Example:
beginnig of your file:

{"date":"23/09/16",
"timeUTC":"2016,9,23,15,48,23",

Beginning of the file that I was using:
{"date":"09/23/16 13:03 "|"dateFormat":"d/m/y"
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 04:54:07 PM
So maybe we will wait on a response of the person who sent you the file you are using.

 [tup]
Title: Re: Meteotemplate
Post by: wurzelmac on September 23, 2016, 04:57:29 PM
I finally done it to display my webcam.
http://wetter.unterwurzacher.at/template/plugins/webcam/index.php
 [woohoo]

 :)
Title: Re: Meteotemplate
Post by: WCDev on September 23, 2016, 06:33:25 PM
Hi Jachym,
It looks like you are dependent on another template's file to get at the data. It would be better to provide your own so that people don't have to download two templates and you don't break when the author of the template you are dependent on changes their file.

If you don't want localised numbers in the file, you can used the DOTSEPARATORS$ tag which will turn off localised numerical output for the STAT$ tag (so you'll always get a decimal point).

Hope that helps!

Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 06:57:36 PM
Hi,
sorry I am totally confused now :D
About a week ago, Tom contacted me asking if it would be possible to add support for WeatherCat to the template. I said I will try and I said I need to see the log files produced by weatherCat to create the necessary scripts, just like I did for the Weather Display clientraw, Cumulus realtime.txt etc etc.
He then sent me the file I posted above and I used it, thinking this is something that weatherCat produces and so will be possible to use by all WC users. So now Im really confused, what file is it then? It is not anything like any of the other programs, I made the WC scripts particularly for this file that I have never seen before Tom sent it to me.

So where does this file come from then?
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 07:05:39 PM
This was supposed to be a plugin for users particularly of WC and I thought (was told) this is a file that WC generates and based on that I created the script.... so I really dont know now
Title: Re: Meteotemplate
Post by: WCDev on September 23, 2016, 07:31:23 PM
No problem, there's obviously some confusion about which file to process.
Title: Re: Meteotemplate
Post by: xairbusdriver on September 23, 2016, 08:57:28 PM
I the file "Tom" sent you is called "realtimeTags.txt". Since I'm not using a template, that's probably why that file is not sent to my web space. I think I only have it because I once used a template and that is how it accessed the WC data. I suspect it is simply a file, created by the template author, that the user must add to the "Additional Files" area in WC's Prefs. It is then used as any other file as described in the next paragraph.

As I understand WC, merely as a (very) simple user, the app "simply" runs the user's html/php (realtimeTags.txt?) pages through a parser and looks for any of the hundred or so "tags". It then replaces those tags with the appropriate values and sends them on to the user's web space.

I hope I have presented a general explanation of how WC works and how you might make use of the data. I have never used another hardware brand nor more than that one template, so I have no idea how or what other templates work. It might help if you had the WC Manual (pdf) to peruse. I think that might be available for free? ???
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 09:00:42 PM
Hi,
thanks, Im sorry about that. I thought he sent me a file that is BY DEFAULT created by WC, that was what I asked for and what I was told I was sent. Obviously the goal was to create a plugin particularly for WC that can be used with WC out-of-the box...

I guess I will have to re-do the whole plugin...

But before I do that, can someone post the exact format of the file that IS created by default by WC, including all the unit formats, separators, delimitors etc.

Once I have that I can change the plugin. As I said, if I knew this is dependent on some other scripts I would never use it...
Title: Re: Meteotemplate
Post by: Felix on September 23, 2016, 11:38:29 PM
It might help if you had the WC Manual (pdf) to peruse. I think that might be available for free? ???


It's available for free and the first thing Jachym should be reading before trying to write a plug-in.

http://data.trixology.com/downloads/WeatherCatUserManual.pdf
Title: Re: Meteotemplate
Post by: jachym on September 23, 2016, 11:41:51 PM
Hi,
well that is what I would normally do, but in this case it was the case that I was asked specifically if I could make this compatible with WC and I said why not and Tom immediately attached the files that I used to develop it. I had no reason to assume those files did not come from WC, Ive never seen such files before so I knew they are not from any of the other programs. I am still unsure about what exactly that file was, where it comes from. I emailed Tom asking him to clarify it here because right now I really am totally confused about this...

Im sorry about this guys, Im really pissed off that I released something that is useless and also spent hours with it. I thought it was for WC and Tom said it was working so I had no reason to think otherwise. After I discuss this with Tom or he explains it here, hopefully it will make more sense to me.

Either way, the important thing is - DONT WORRY - in the worst case I will have to start from scratch, but I would do that if necessary, just that it might again take couple of days before I redo it.
Title: Re: Meteotemplate
Post by: xairbusdriver on September 24, 2016, 01:25:05 AM
I think the file Tom sent you was "created" by WC. But not from scratch. It simply used a file full of WC "Tags", swapped in the data specified and uploaded it. I have a similar file for a template I once used that looks very similar. I think it is used by the Leuven template. It's been a long time since I used that template, but I think the file was included in the package and the user simply loads it on their drive and tells WC where to find it. WC handles it from there until it gets uploaded.
The template can use the data and the related definitions pair for whatever purpose the template developer wants. I think the Leuven template uses it to display all the data, as needed. I don't see why another 'template' couldn't use it to populate an SQL database. WC already uploads new data on a schedule determined by the user as well as building Daily, Weekly, Monthly, and Yearly stats. Of course, a database could use the data in as many ways as the developer can imagine (and code!). ;)

Just remember, all I've written is pure supposition on my part! I simply use the data WC provides and usually manipulate the "MPH/mph/etc." myself, just because I'm different (strange?)! Same reason I don't use a template, anymore. At my age, I want things done my way! [rolleyes2] [lol] [banghead] Frankly, I'm more interested in the display than the historical values!
!!HERESY!!
Title: Re: Meteotemplate
Post by: jachym on September 24, 2016, 01:40:29 AM
Hi,
thanks a lot!
I actually asked Tom about it and it turned out he thought the file is created directly by WC. WHen I said it isnt he checked it and said he forgot that in fact it is created using a different additional script he uses, but because he set it up long time ago, he forgot.

This is in fact good news because what I will do is simply look at that other script and use it to create a one script that will do it all, just that as I said, this will require me rewriting the whole thing so please be patient, I will try during this weekend.
Title: Re: Meteotemplate
Post by: idunn on September 24, 2016, 03:20:21 PM
Hi folks,
Great that young bright guys are developing things we oldies can use. I look forward to trying to use the Meteotemplate after it is in its final form and some of you have successfully installed it. Up to now I have been quite happy with the Simple Web. Especially happy I am with my webcam that Reinhard helped me set up.
Regards, Irving
Title: Re: Meteotemplate
Post by: jachym on September 24, 2016, 03:23:15 PM
Hi Irving,

first of all very nice picture! Amazing view!

Second, sorry about all those issues, I am really disappointed that I released this version that is useless to most, but as I explained above, all the time I was developing it I thought it is a file generated by WC.

But either way, I already know which script was generating that file so it is only a matter of time before I merge them into one and it will be working just as expected. I am at work now, I will try to look at it tonight, or tomorrow.
Title: Re: Meteotemplate
Post by: idunn on September 24, 2016, 04:38:07 PM
Hi Jachym,
Are you a bit flexible with the webcam image format? As you see my image is square rather than rectangular? Certainly no hurry regarding the final version.
Regards, Irving
Title: Re: Meteotemplate
Post by: jachym on September 24, 2016, 04:40:20 PM
If you mean the webcam plugin and block for my template then yes, dimensions are irrelevant, it will always scale it so that it fits the width of the parent element (the width of the block or the width of the screen in case of the plugin) and adjusts the height accordingly.
Title: Would AWEKAS template help? (Re: Meteotemplate)
Post by: elagache on September 24, 2016, 10:27:20 PM
Dear Jachym and WeatherCat web spinners,

Sorry, I'm drowning in things to do so I haven't been reading up too carefully on your attempt to create a version of your web template that would work with WeatherCat.  I saw though that you were trying to get WeatherCat to generate a list of data using a web template running on the Mac where WeatherCat is running.  It occurred to me that we have a template that is used to upload data to AWEKAS.  It is described on the Weathercat Wiki:

http://wiki.trixology.com/index.php/Automatic_Weather_Map_System_(AWEKAS) (http://wiki.trixology.com/index.php/Automatic_Weather_Map_System_(AWEKAS))

Would this be by chance a better point of departure for your plugin?

Cheers, Edouard
Title: Re: Meteotemplate
Post by: jachym on September 24, 2016, 10:29:27 PM
Hi Edouard,
thanks a lot, but I think it is not necessary, I am already working with James who knows the SW very well and uses it and I am sure it will not take long before the script is updated and working.
Title: Re: Meteotemplate
Post by: jachym on September 25, 2016, 02:04:21 PM
Hi guys,
just a quick update, I am working with James and hopefully the updated functional version will be available soon.

Just one quick question, maybe it is somewhere in the manual and I missed it, but for the rain rate (current) i am using:

STAT$RAIN:CURRENT$

My question is, what exactly does that number show. I am asking because various SW report various things. Weather Display for example shows this as mm/min. Cumulus as mm/h etc. In Meteotemplate, I use the value per hour, so I need to know whether some multiplication will be necessary.
Title: Re: Meteotemplate
Post by: idunn on September 25, 2016, 02:59:53 PM
Greetings Jachym,

It seems to me that in WC rain rate is always mm or inches per hour. Daily rain or accum rain is in mm or inches over 24h.

Regards, Irving
Title: Re: Meteotemplate
Post by: jachym on September 25, 2016, 03:09:37 PM
Thanks, thats what I needed to know, so it is "per hour". In WD for example it is "per minute".

One last thing, if I select "daily rain" - am I correct in thinking that this is the cumulative rain since midnight? Just making sure this is not cumulative rain over the last 24 hours.
Title: Re: Meteotemplate
Post by: Felix on September 25, 2016, 03:14:39 PM
Since Live Data viewer shows the raw data converted to selected units (set in the Units/Misc1 tab), I wouldn't think any correction would be needed.
Title: Re: Meteotemplate
Post by: idunn on September 25, 2016, 03:19:26 PM
I have only seen the daily rain set to zero at midnight. So yes accumulation since midnight.

Irving
Title: Re: Meteotemplate
Post by: jachym on September 25, 2016, 03:34:36 PM
Yes it would because remember that the template saves this to its own database only as a number and then on the page all rain rates are taken from the db as a number and the units appended (either in/h or mm/h, that depends on user selection), but it is always "per hour", so the number in the template db must be per hour.
Title: Re: Meteotemplate
Post by: jachym on September 25, 2016, 03:37:57 PM
Bascially, the most important thing to understand is:

Meteotemplate does not work like all the other templates. It does not replace tags with values. Instead it does all the calculations itself. There is no tag for for example avg daily temperature. What the template does is save current conditions periodically to the database and then instead of replacing in the above example, the avg temperature tag with the number by WC, it calculates and pulls the average value from the db.

So the process is like this (will be :D)
- template with tags inserted in WC -> this will generate a file with only current conditions and will be periodically uploaded to your server
- the WC plugin will periodically read the content of this file and save it with the corresponding timestamp to the database

Then, all the rest is done by the template and the MySQL, the only tags used will be the ones for current conditions. However the fact you have the database means you can then calculate absolutely anything. Thats the main difference between for example Saratoga or Leuven template, they use the tag replacement, but no database in the backend.
Title: Re: Meteotemplate
Post by: Alan Rowley on September 25, 2016, 03:51:59 PM
Jachym, a quick question.

I used Weather Display from September 2009 until July 2015 before moving to WeatherCat. Can I import both sets of data to use with your template, or would I be better to use data from my Weather Underground account which runs continuously from October 2009 until today?

ALAN.
Title: Re: Meteotemplate
Post by: jachym on September 25, 2016, 04:02:12 PM
Hi,
there is a script for importing WD logs, Cumulus logs, directly from WU and using CSV. So if you have continuous data at WU, that would be the easiest.

The other option would be importing WD logs directly and for WC you would use the CSV import. Instructions for how exactly that CSV file has to look like are in the wiki.
Title: Re: Meteotemplate
Post by: Alan Rowley on September 25, 2016, 04:28:53 PM
Thanks for the quick reply Jachym. I think I will go for the WU option.

ALAN.
Title: Thanks Jachym! (Re: Meteotemplate)
Post by: elagache on September 25, 2016, 11:19:57 PM
Thanks Jachym for taking the time to make your templates available to WeatherCat! (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/thanks_sign.gif)

They are very impressive! [tup]

Cheers, Edouard  [cheers1]
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 12:42:45 AM
Thanks guys, slowly getting there :)

I have a file that I need someone to test. Just upload it as a template to your WC and then let WC to process the tags and upload the corresponding text file to your server. Then please post here the produced text file so that I can check it looks the way I meant it.

Thanks!
Title: Re: Meteotemplate
Post by: xairbusdriver on September 26, 2016, 02:23:35 AM
I don't see an answer to your question about the meaning or use of "STAT$RAIN:CURRENT$". It is a confusing construction to me. I thought "STAT$" was used to get 'historical info from the WC database. In this case you seem to want the 'current' rain amount. I would suggest simply using the RS$ tag would give you the "Current rain storm value" and the user set units; "6.0 mm".

OTOH, "CR$" might be what you wanted, that is the value of the "hourly precip rate"; " 0.8 mm/h (0.1)" means .8 mm current rate, as compared to the previous rate of .1 mm/hr.

Instead of "STAT$TEMPERATURE:CURRENT$" I think all you need is CT$. I think all tags starting with "C" provide 'current data'. Likewise, "CW$" provides the average current speed in place of STAT$AVERAGEWINDSPEED:CURRENT$

At least WC doesn't issue any errors, but it looks counter-intuitive to see "STAT$" and "CURRENT$" in the same tag combination. ;)

I'm not sure you understand that "current" values will be generated every number of minutes the user defines in the WC Prefs. Mine are generated every 2 minutes, which is probably fairly common. I think you'd need to have the user enter this frequency in your setup GUI so you'll know how often to check his uploaded data file. You could use the CU$ tag and check for changes every 30 seconds for several minutes and see when that value changes, but that seems like a pretty brute force way to do it! ;)
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 10:16:55 AM
I did this because this is exactly what it states in the manual and they seem to be more "up-to-date"

Page 209 of the manual says:

Quote
CURRENT will display the real-time value of a given item ? these queries are replaced
with the data value at the time of the query. This is different to the higher level tags such as
CT$ or CD$ etc. as those values are pulled from the database which has a resolution of 1
minute.

To display the current outdoor temperature:
STAT$TEMPERATURE:CURRENT$
This is rendered as:
12.17


I originally used the "CT..." syntax, but this seems to be more up-to-date and also, as far as I can see, there are not tags for for example current solar radiation, other than this one.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 10:25:57 AM
I also think I found the problem in the original file, if someone could please try this one:

Title: Re: Meteotemplate
Post by: idunn on September 26, 2016, 02:15:38 PM
Greetings All
Do I need to upload Meteotemplate to my provider to test it or will WC do that offline, as with Simple Web?  Also I now have Simple Web on my provider. Can I just upload Meteotemplate without deleting Simple Web, or will there be confusion?
Thanks for help and regards,  Irving
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 02:37:07 PM
No, for now I just need to see what the file I posted above produces. It should produce a text file on your server where the tags are replaced with the particular values. Then please just post this resulting file here.
You can then install the template fully once the plugin is ready and yes you can install it into a separate directory and all your other stuff will stay untouched. Meteotemplate can be uploaded to any directory on the server.
Title: Re: Meteotemplate
Post by: idunn on September 26, 2016, 02:58:47 PM
You won't believe it, but I do not understand what you mean when you say "on my server". Is this the provider, such as GoDaddy or what?
Regards, Irving
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 03:01:13 PM
Hi,
you said you have a webpage already, that means you must have some "space" on some server, where you upload your files. And there you might have some directories/files already, just like you have on your PC. And you can simply create a new folder and upload all the template files into it and use that and have all the rest the way it is now.
Title: Re: Meteotemplate
Post by: xairbusdriver on September 26, 2016, 03:11:58 PM
Looks like you've eliminated the error reports. 49 requested items, 49 uploaded conversions. even when my hardware doesn't have any of the extra sensors. Good work! [tup]

BTW, the file is in the "mail". Sorry for the delay, I got distracted. [banghead]
Title: Re: Meteotemplate
Post by: xairbusdriver on September 26, 2016, 03:30:18 PM
Quote from: idunn
Do I need to upload Meteotemplate
No sir. But you will have to have FTP access to your web space. You'll have to contact your hosting provider, if you don't have that info. That info usually comes in the email they sent you when you signed up with them. Although unusual, you may not have an account that includes FTP access.

Report back if you have FTP access and I think we can get you set up to help Jachym, if he needs more testing.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 03:43:08 PM
I cannot imagine how you can have a website without FTP access and you will need FTP access to install not just the template, but any block, plugin etc. Without FTP access to the server it is not possible to use the template (or any other template).

Ad the file: good news :-) But can you please then post here or email me the resulting txt file where the tags have been replaced? I need to see what it looks like exactly to make sure I know what Im working with.

Sorry, I know this is PIA, but I really have no way of testing this other than asking you, the users, I had to do the same with Cumulus and WD. Cumulus MX only supports 64bit computers so I cannot run it even via Wine and Weather Display is too demanding for my old laptop. But hopefully I will make this work for WC just as I did for the others.

I myself use Meteobridge, I cannot have my pc on 24/7
Title: Re: Meteotemplate
Post by: xairbusdriver on September 26, 2016, 04:10:37 PM
No problem for me. I'm letting WC do all the work! [cheer]

It sounds to me that you are attempting to build a template that brings much of Weather Cat's power to some Windows apps! Good luck! The data is only part of its power, the user-friendliness and stability is the really hard part.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 04:14:19 PM
Hi,
Im still not sure people understand how this works. This is not a computer program! This template will run FULLY IN A BROWSER, it is a WEB APPLICATION, nothing that you will "install" on your PC. Think of it as just a set of scripts that you upload to your server and that show the data in a browser.

As I mentioned previously, I have a very old laptop, which can only run Lubuntu Linux, a lightweight linux version. I tried XP, but it was so slow I had to remove it, 1GB of RAM is not enough. But the point is - this template is a web application and it is absolutely irrelevant which OS you use, what software you use etc. It runs in all major browsers (tested in Chrome, FF, Opera and Safari, IE should work, but is sometimes problematic).

I do not use Windows myself and it is not a Windows app.
Title: Re: Meteotemplate
Post by: wurzelmac on September 26, 2016, 04:29:23 PM
Hello,

this is what WeatherCat processes with your template.txt and what WeatherCat ftp's to my webspace. Once on my webspace, your PlugIn weatherCat.php should be able to use if the path has been set correct.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 04:34:03 PM
Hi, thanks, yes, that is exactly what I needed.
Title: Re: Meteotemplate
Post by: xairbusdriver on September 26, 2016, 04:41:45 PM
Quote
it is a WEB APPLICATION
As far as I know (which is not saying much!), all the "templates", at least in this Forum, all "run on a computer". It's just not the user's computer. The users literally see the output of the dozens, even hundreds of php/javascript/html/etc. files/apps of the "template" in a browser.

However, the unfortunately (in my opinion) named "template.txt" file must be installed on a computer, preferably one running WeatherCat. WeatherCat is a program, of course, but it can take that text file (actually, almost any file) which contains the WC "tags" the "template" collection needs, and upload a file with the actual values that the host computer running the "template" applications can use.

I'm not sure that we "need to understand" how any of your scripts/plugins/containers/files/templates/etc. work of where they are actually running! Nor are there any here who care what hardware or OS you are using. I wish you had more up-to-date stuff, even a second or third machine with tins of memory and storage space, but with the talent you have demonstrated, I think that will come! [tup]

Hope you've received my output file by now. I didn't want to waste forum space for such temporary files.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 04:46:13 PM
Hi,
the name "template.txt" was just temporary, it is not how it will be named in the plugin, I just randomly named it like that while I was testing it.

Yes, technically you are right of course, the template is "installed" on a computer - on the computer which runs the server. However, most people will not have their own server and rather use some external webhosting provider such as GoDaddy or 1and1 and so the template files (scripts) are then saved on the computer in the hosting provider data center and yes you are technically correct, it is saved/installed on a computer, but the user does not see it that way, and it would be confusing to say it is "installed on a computer".

So lets just say that in order to use Meteotemplate, you upload the template files to your server - be it some server at GoDaddy, or any other provider, or your own PC if you are running your own server.
Title: Re: Meteotemplate
Post by: wurzelmac on September 26, 2016, 04:55:46 PM
The text template (however you will call it in the final version) has to be installed on the very same computer that is running WeatherCat - otherwise it wouldn't be processed and filled with actual data. And it wouldn't be uploaded to the WWW. By the way, mine is set to upload every 30 seconds, so every 30 seconds Meteotemplate maybe feeded with weather data that is *up to date*.

Just my 2 cents.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 05:00:29 PM
Yes, I think the only confusion was that I called the file "template". "The file" that will correspond to the text file with the tags will be saved on the user?s PC. The CRON job that will read that file is most commonly and recommended to be set to one minute. So every minute it will read the data and save it to temporary cache. The MySQL is then updated every 5 minutes using the data from the 5minute temporary cache, i.e. in the db you will have one dataset for every 5 minutes.
Title: Re: Meteotemplate
Post by: xairbusdriver on September 26, 2016, 05:04:08 PM
Perhaps I miss-spoke if I said or implied "it is 'installed on a computer'." The absolutely only 'thing' that must be "installed" on the user's computer is the text file you supply, the one we have been testing. Again, as far as I know, that's the same way all "templates" work.

BTW, thanks for seeing the confusion with naming the file "template" as it is nothing but a plain text file, certainly not a "template" as the term is used in this forum nor an application. Please also remember that there are users here with a very wide range of computer "experience" and "understanding". Some know not much more than where the power switch is, others build their own hardware from scratch, still others actually write code for a living. ;)

wurzelmac has re-enfoced my concern that you include the frequency that the user has set up for WC to process their data. Your scripts or your SQL database needs to know how often to check for new data. Or you could have a different, longer time-frame and save some space on the user's allowance for database sizes.EDIT: You were answering my concerns before I could even post them! A bit scary! :o That's another function of the type of hosting package each of us might have. Most of us have not been concerned about that as WC does all that storage on our own computers. Your method is basically duplicating much of that database work, but your user's will need to be aware that their package must include some SQL database space.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 05:08:18 PM
Hi,
please do not take this wrong, but I think it would be the best if you read the wiki to understand how this works. There is detailed info about how exactly the scripts work, how often is the database updated, how this is setup etc etc.
The database will not be updated at the interval at which you upload the text file with the conditions.
In summary there are two intervals for the template:
1. the CRON job - this periodically executes the script in the template, which is responsible for the db update. This script loads the text file with the conditions currently saved on the server. It checks the time. If the time since the last record in the db and the current time is less than 5 minutes it will save the content of the text file to cache. And that repeats until the interval of 5 minutes elapses, and when that happens, it updates the db and clears the cache.
So you just set the interval for the CRON job, but if that is 1 minute or 2 minutes or 3 minutes... is irrelevant, the db will always be updated every 5 minutes, just that you would have more data points in the cache, which are then averaged out.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 05:10:17 PM
Perhaps I miss-spoke if I said or implied "it is 'installed on a computer'." The absolutely only 'thing' that must be "installed" on the user's computer is the text file you supply, the one we have been testing. Again, as far as I know, that's the same way all "templates" work.

BTW, thanks for seeing the confusion with naming the file "template" as it is nothing but a plain text file, certainly not a "template" as the term is used in this forum nor an application. Please also remember that there are users here with a very wide range of computer "experience" and "understanding". Some know not much more than where the power switch is, others build their own hardware from scratch, still others actually write code for a living. ;)

wurzelmac has re-enfoced my concern that you include the frequency that the user has set up for WC to process their data. Your scripts or your SQL database needs to know how often to check for new data. Or you could have a different, longer time-frame and save some space on the user's allowance for database sizes.EDIT: You were answering my concerns before I could even post them! A bit scary! :o That's another function of the type of hosting package each of us might have. Most of us have not been concerned about that as WC does all that storage on our own computers. Your method is basically duplicating much of that database work, but your user's will need to be aware that their package must include some SQL database space.

Yes and they will be aware if they read the wiki... first page - prerequisits.... i think that all the questions you are asking are answered in the wiki, there really is no point in me explaning it all here :) The best thing to do, in fact something you must do if you want to use Meteotemplate, is go through the wiki step by step. I have spent quite some time preparing it and it is even for the less experienced one, guiding you step by step about what you have to do and what you need.
Title: Re: Meteotemplate
Post by: wurzelmac on September 26, 2016, 05:15:28 PM
We're always talking about a SQL database, aren't we? So, just to bring it in mind, WeatherCat has a built-in SQL driver that puts all thinkable data into my MySQL database. As said, just to bring this in mind - maybe in a future version of Meteotemplate someone is able to use this database instead of a new created alldata database.

Only a suggestion for future development, for I do not know if this would be possible at all.

 :)
Title: Re: Meteotemplate
Post by: xairbusdriver on September 26, 2016, 05:32:31 PM
Quote
The best thing to do, in fact something you must do if you want to use Meteotemplate, is go through the wiki step by step.
WHAT?!
[banghead] Are you saying we need to read a MANUAL?
You are obviously not a Mac user! [rolleyes2] We don't read manuals! (http://i1327.photobucket.com/albums/u666/xAirbusDriver/rant_zpsctcao228.gif)
We don't even need manuals!! (http://i1327.photobucket.com/albums/u666/xAirbusDriver/cheer2_zpsuajiabdd.gif)
As proof, I submit:
(http://i1327.photobucket.com/albums/u666/xAirbusDriver/Dryer_Side_zps9iolccw5.jpg)

If there are more than 2 steps to something we just don't do it! We have extremely short ... ... short ... ...
...
atten ...
...
...

Nevermind. [blush] [wink] [bounce]
Title: Re: Meteotemplate
Post by: idunn on September 26, 2016, 05:38:28 PM
This thread is getting interesting and a bit amusing. ha ha
Irving
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 06:11:57 PM
Of course you can theoretically use ANY mySQL database, but in this case you need the alldata table simply because that is how the template was built. If I wanted to use some other table with other format, I could, but you always have to choose some sort of a format, which you then use in all the scripts. In case of meteotemplate, at the begining I chose some table structure and that is what is used for all the scripts. So you can only use it with alldata table - not becasue it would technically not be possible to use other table, but because that is how all the code was written.
Title: Re: Meteotemplate
Post by: wurzelmac on September 26, 2016, 06:33:14 PM
Understood.

 [tup]
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 06:38:51 PM
It would of course make more sense to use the already existing database, but... you have to remember that Meteotemplate is not a "template for WeatherCat". It is a template that is compatible with Weather Display, Cumulus, WU, NetAtmo, WView, Meteobridge and now soon WeatherCat so I cannot stick to format used by one of those. I created a new one and scripts that reformat the various formats of other SW to match the one I chose, but you have to therefore have an extra db/table.
Title: Re: Meteotemplate
Post by: jachym on September 26, 2016, 06:56:33 PM
Just a quick update.
Over the weekend I was busy finishing one other plugin I was working on (if interested: http://meteotemplate.com/blog/?p=1166)

Today during lunch break I finished the WC scripts and saved them to Tom to test. The file loaded in WC will be called realtimeMT and will be uploaded to your server. It will contain the current conditions which will then be saved to the database by the weatherCat.php script in the weatherCat plugin.
Title: Re: Meteotemplate
Post by: jachym on September 27, 2016, 02:03:04 PM
OK, the plugin is working :-)

I just need to compile the download file and prepare the documentation, should be ready sometime later today.
Title: Meteotemplate - Weather Cat plugin 2.0
Post by: jachym on September 27, 2016, 03:02:19 PM
OK, well I think I finally got a working version.

In the Plugins section you will find the WeatherCat 2.0 plugin with detailed instructions how to set up WeatherCat and how to set it up on the server.

However:
Make sure that you first go very carefully through the main setup of the template. The database updates is wiki page 5, so you need to complete wiki pages 1-4 before you do this. Downloading just this one file (the plugin) will be totally useless unless the rest of the template is already uploaded to your server, you went through the Main settings and you created the MySQL table - instructions all in the wiki.

I know people often just skim through the wiki, but please make sure you read it and also check the FAQ if you run into problems. And if you have a problem and dont find the answer anywhere, then feel free to ask.

Tom has already confirmed to me it works and helped me with the documentation (thanks Tom), but please, once someone confirms it is working, just let me know here and I will also post about it in the blog etc. I need to make sure it works though.
Title: Re: Meteotemplate
Post by: wurzelmac on September 28, 2016, 07:06:07 AM
Hello,
is it possible to just replace the WeatherCat 1.0 plugin with V2.0? Y/N?
Thanks,
Title: Re: Meteotemplate
Post by: jachym on September 28, 2016, 07:29:43 AM
Yes delete the original and follow the instructions to set it up given in the plugin documentation
Title: Re: Meteotemplate
Post by: wurzelmac on September 28, 2016, 10:19:16 AM
Thank you.

I am failing to set up the cron.
Following this instruction (replaced cumulus.php with weatherCat.php):

(http://wetter.unterwurzacher.at/bilder/cron_1.png)

I end up in this page:

(http://wetter.unterwurzacher.at/bilder/cron_2.png)

Where is the place to specify the Interval?
Title: Re: Meteotemplate
Post by: wurzelmac on September 28, 2016, 10:40:13 AM
Just take a look at http://wetter.unterwurzacher.at/template/indexDesktop.php - Station offline?

And where to specify the Interval? Thanks.
Title: Re: Meteotemplate
Post by: jachym on September 28, 2016, 12:37:45 PM
It looks OK, it is trying to update the database.  So probably either it did not connect or you didn't create the table.  Did you run the table creating script?
Title: Re: Meteotemplate
Post by: wurzelmac on September 28, 2016, 06:04:45 PM
Seems my webspace provider does not allow CRON - so I tried cron-job.org and it *seems* to be working now. Some things I noticed:

? Station shows OFFLINE
? Time of the sample is two hours behind (shows UTC instead of CEST)

Now trying to feed the alltime database with historical data.

 :)
Title: Re: Meteotemplate
Post by: xairbusdriver on September 28, 2016, 06:26:39 PM
Does your host perhaps allow access to CRON via cPanel or some other interface?
Title: Re: Meteotemplate
Post by: wurzelmac on September 28, 2016, 06:31:22 PM
xair,
don't know it. But the solution with cronjob.org works, the alltime database is getting updated.
Title: Re: Meteotemplate
Post by: jachym on September 28, 2016, 07:18:58 PM
Aha, I think I see the problem. Wcat reports the time as UTC. I will need to make a slight modification in the weatherCat.php script to take into account the offset. The user who tested this just happened to be in the UTC timezone so didnt notice any problems :D
Title: Re: Meteotemplate
Post by: jachym on September 28, 2016, 07:24:15 PM
OK, I updated the weatherCat plugin. Just re-download it and only replace your original weatherCat.php with the new one. Then also make sure you delete the WeatherCat cache file in the update directory. See if it works now.

I have to go to my part-time job now, but I will be back in about 3 hours so if there are still problems with it I will look at it.
Title: Re: Meteotemplate
Post by: wurzelmac on September 28, 2016, 07:47:19 PM
Success. Online (http://wetter.unterwurzacher.at/template/index.php).  :)

Update: I now have to fill in blocks & plugins to the corresponding menu links, reading and studying your wiki the next days (or weeks?) ...  [biggrin]

Title: Re: Meteotemplate
Post by: jachym on September 28, 2016, 10:46:51 PM
Great! So WCat is now officially supported and working!

Once you understand how the blocks and plugins work it will be very easy, they all work in the same way. Also, since version 8 it is all much easier, because everything is done directly via GUI Meteotemplate control panel rather than having to go and make changes in the actual code.
Title: Re: Meteotemplate
Post by: wurzelmac on September 29, 2016, 04:34:47 PM
Two things:

warningsEU.php is ending up in a white, empty page.
Within the Admin section, Main Setup - there is no way out of this page. A link to the *home* page of the template would be cool.

Cheers,
Title: Re: Meteotemplate
Post by: jachym on September 29, 2016, 04:41:08 PM
Hi,
no the main setup does not have the menu and also does not have a link to your site, this is because the page is loaded the very first time before it acutally nows where to get the menu, where to find the index, etc. You specify the paths in that actual file, so it needs to be loaded without that information that is not available yet. And also I dont want people to go to homepage from the main setup unless they saved the config for the first time, which they might do if they saw the link...
Title: Re: Meteotemplate
Post by: wurzelmac on September 29, 2016, 07:22:50 PM
Dear WeatherCat *template busters* (as Edouard would like to say),

now I have succeeded to install this template (http://wetter.unterwurzacher.at/template/indexDesktop.php) and I must say I am very impressed about it. Imported all data since 2013 (when I updated to the Vantage Pro2), really impressive graphs/stats etc. are possible. I will let it run as a *sub* weather page beside my beloved *main* weather site.  [biggrin]

But: Be aware of traps during installation.  [goofy]

Jachym,
nice work.
Sorry.
Great work!
 [tup]

Cheers,
Title: Re: Meteotemplate
Post by: jachym on September 29, 2016, 11:48:28 PM
Thanks
Sorry.
Thanks a lot! ;)
Title: Beg to differ! (Re: Meteotemplate)
Post by: elagache on September 29, 2016, 11:49:08 PM
Dear Reinhard, Jachym, and WeatherCat observers of polite, formal written conversing, . . .

Dear WeatherCat *template busters* (as Edouard would like to say),

 ;) . . . . I would not!  My usual way to describe people working on web templates is "web spinners!" (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/dancing-spider-smiley-emoticon.gif)

Jachym,
nice work.
Sorry.
Great work!
 [tup]

 ;) . . . For shame Reinhard! . . . . . . . Let's put this in a reasonable context . . . . . it's really KEWL!!! (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/cool-emoticons-8.png)

Cheers, Edouard  [cheers1]
Title: Re: Meteotemplate
Post by: jachym on September 30, 2016, 12:26:02 AM
Thanks, I really did not expect such positive feedback...
Title: Re: Meteotemplate
Post by: jachym on September 30, 2016, 04:29:01 PM
Some new interesting stuff for WCat users:

http://meteotemplate.com/blog/
Title: Re: Meteotemplate
Post by: wurzelmac on September 30, 2016, 05:37:16 PM
Added.

 :)
Title: Re: Meteotemplate
Post by: jachym on September 30, 2016, 05:59:48 PM
And Gauges...

http://meteotemplate.com/blog/?p=1190
Title: Re: Meteotemplate
Post by: wurzelmac on September 30, 2016, 07:31:10 PM
Installed - working - but they didn't do it into my template.
Nothing compares to the steel series gauges (http://wetter.unterwurzacher.at/steelgauges/livewerte.html).
They  [rock]
Title: Re: Meteotemplate
Post by: jachym on September 30, 2016, 07:37:32 PM
Im not a big fan of SteelSeries gauges so I didnt use them in Meteotemplate.
Title: Re: Meteotemplate
Post by: wurzelmac on September 30, 2016, 08:03:28 PM
No problem at all!

Another thing:
I told the template to use the yrNO forecast as default, but it is only displayed when I choose it from the pulldown menu. Screenshots attached.
Title: Re: Meteotemplate
Post by: jachym on September 30, 2016, 08:07:20 PM
Hi,
it is most likely because of the unusual symbols in the url
Title: Re: Meteotemplate
Post by: wurzelmac on September 30, 2016, 08:17:45 PM
Really? I can choose yrno and then I get the forecast displayed:
Title: Re: Meteotemplate
Post by: jachym on September 30, 2016, 10:53:07 PM
OK so based on the screenshot I guess it is now working.
Title: Re: Meteotemplate
Post by: WCDev on September 30, 2016, 11:51:14 PM
Great! So WCat is now officially supported and working!

Once you understand how the blocks and plugins work it will be very easy, they all work in the same way. Also, since version 8 it is all much easier, because everything is done directly via GUI Meteotemplate control panel rather than having to go and make changes in the actual code.

Cool, I'll add it to the news ticker  [tup]
Title: Re: Meteotemplate
Post by: wurzelmac on October 02, 2016, 03:35:41 PM
Hello,

is there anybody else except me using Meteotemplate in connection with WeatherCat? If so, post your URL to the template.  :)
Curious minds want to know how others designed their templates...  [computer]

Cheers,
Title: Re: Meteotemplate
Post by: idunn on October 02, 2016, 03:53:28 PM

Hi All
And curious oldies want to know how to get started with Meteotemplate. A step by step recipe please, including how to handle the upload to GoDaddy.
Regards,  Irving

Title: Re: Meteotemplate
Post by: jachym on October 02, 2016, 04:11:45 PM
Here you have it - step by step guide, make sure you read it carefully, it explains you how to install and use it

http://www.meteotemplate.com/web/wiki/wiki1GB.php
Title: Re: Meteotemplate
Post by: wurzelmac on October 02, 2016, 04:12:56 PM
Hello Irving,

there is no step-by-step thing available but a Wiki that will fill a book. So settle down, relaxe and begin to read...  ThU5:-)

 [cheers1]

UPDATE: Jachym was faster...  :)
Title: Re: Meteotemplate
Post by: Felix on October 02, 2016, 10:31:33 PM

A step by step recipe please, including how to handle the upload to GoDaddy.



Irving, if you haven't gotten to Jachym's FAQ yet, you'll be amazed at the lengths he's willing to go to to assist "curious oldies" who may not even understand the terminology in his Wiki:

Q: "I read the entire wiki, but I feel completely lost and have no idea where and how to begin. Can you help?

A: Yes I can, I have in fact done this many times. Given that and also the fact I developed this whole thing, it is relatively easy for me to install it and also spot any potential problems. Just drop me an email and I will assist you or install the whole thing for you should you wish. This also applies if you do not speak English. I don't speak it, but I do understand French and German as well, so you can send me email in that language (though you will get a reply in English :-) and if you speak yet another language, then just simply try Google Translator and hopefully I will get the point :-)"

Now I'll wager you've never before had such an offer from a developer, even one who says his labor of love is merely a hobby.
Title: Re: Meteotemplate
Post by: jachym on October 02, 2016, 11:16:25 PM
LOL, just installing one template :D
Title: Re: Meteotemplate
Post by: jachym on October 02, 2016, 11:36:29 PM
Irving, based on my experience (installing the template at least 100 times), the ideal way of doing it is this (and dont worry I have worked with ppl who have never heard about FTP).

1. you need hosting and you need to set up the mySQL database in your webhosting control panel - you should be able to do this yourself, if not, I can help you with this, but I would need your login details to your webhosting
2. I upload the files and prepare the template to default setting - I can do this and you dont have to know how I did it , since you only do this once at the begininng
3. we set it up together (location, station type, design theme, language etc.) based on your preferences
4. I show you how to install a block and plugin - I could of course do it myself too, but... first of all it is really simple once you learn how to do it and second, I can help you with the template, but I often release new blocks and plugins and obviously I cannot then install each one to hundreds of users. So I show you how to do one or two and then you will be able to do it yourself, since version 8 almost everything is done exclusively via GUI, no need to go to the code

If you are interested in this, send me an email. Ideally we could discuss things on Skype.
Title: Re: Meteotemplate
Post by: Alan Rowley on October 03, 2016, 10:00:35 AM
Hi jachym,

I am slowing installing the template using Weather Underground data as an alternative to my main site which uses the Saratoga template.

I have encountered a problem with the template's all time temperature statistics page at the link below ...

http://www.selstonweather.info/meteo/pages/station/climateT.php (http://www.selstonweather.info/meteo/pages/station/climateT.php)

The statistics only pull data from 2016, whereas the other all time statistics display the correct information.

Also, the 'all time max' entry displays all of the occurrences of the high temperature, despite them being only minutes apart. This would be better if it only displayed the first occurrence of the high temperature if it occurred on the same day.

Apart from that, I'm enjoying installing the template and the different features it contains. Great work.

ALAN.
Title: Re: Meteotemplate
Post by: jachym on October 03, 2016, 11:26:52 AM
Hi Alan,
the scripts all use the same code, the reason for this is most likely because the data is cached. Once a year is complete it is saved and information prior to that no longer analyzed to make things faster.

Eg - if you run the script for the very first time, it analyzes everything and caches it. Next time it only looks at what was added since the cache was created and adds this info to the cache. My guess is that you ran this page before you imported the other years, so it created a cache from just 2016 and now when you run it, it only updates it with info since the cache was created.

Use the control panel to clear the station data cache.
Title: Re: Meteotemplate
Post by: idunn on October 03, 2016, 11:51:33 AM
Greetings all,
I am getting mentally prepared to tackle the MeteoTemplate. On my Godaddy account I have set a subdomain to read www.magpie-hill/meteotemplate. I hope to have all the MT stuff in a separate folder so that I can either look at my SimpleWeb under www.magpie-hill or MeteoTemplate under www.magpie-hill/meteotemplate.  Does that sound ok?
Thanks for all the help.
PS Nice clouds with a dusting of snow on the peaks at about 1800m
Irving
Title: Re: Meteotemplate
Post by: jachym on October 03, 2016, 11:53:22 AM
yes that sounds perfectly fine, it can run from a folder, you just have to then specify that in the settings for the path
Title: Re: Meteotemplate
Post by: Alan Rowley on October 03, 2016, 12:22:10 PM
Quote
Use the control panel to clear the station data cache.

That cured it. Thanks.

Quote
I hope to have all the MT stuff in a separate folder so that I can either look at my SimpleWeb under www.magpie-hill or MeteoTemplate under www.magpie-hill/meteotemplate.  Does that sound ok?

That's exactly what I have done. Main site is www.selstonweather.info (http://www.selstonweather.info), Meteotemplate site is www.selstonweather.info/meteo (http://www.selstonweather.info/meteo). Works fine.

ALAN
Title: Re: Meteotemplate
Post by: jhoke on October 03, 2016, 02:51:04 PM
Firstly - I do like the ideas and functionality you have in this template... I wanted to give this a whirl on my weather site but if I am understanding the instructions, I need to download the weathercat plugin (http://meteotemplate.com/web/downloadRequest.php?file=weatherCat_2.0) when I click on this link on the plugins page, it opens a new tab that says thanks for downloading the plugin but nothing downloads.

I was able to download the core template file (http://www.meteotemplate.com/web/downloadRequest.php?file=main) without issue.

I did try to download the Weathercat Plugin file with Curl just to see what would happen:
#curl http://meteotemplate.com/web/downloadRequest.php?file=weatherCat_2.0

<b>Warning</b>:  file_get_contents(): Filename cannot be empty in <b>/data/web/virtuals/104571/virtual/www/web/downloadRequest.php</b> on line <b>1867</b><br />

I hope this helps debugging the download ... looks like something got screwed up with the downloadRequest.php script ;(

-john
Title: Re: Meteotemplate
Post by: jachym on October 03, 2016, 02:58:58 PM
It works perfectly fine, I just tried. Make sure you have the pop-up blocker disabled

It works for me in Chrome, opera and FF
Title: Re: Meteotemplate
Post by: jhoke on October 03, 2016, 03:07:13 PM
Yep

Sorry - my fault - I thought I had whitelisted your domain for popups in my browser - which I did earlier ... then for some reason I tried to download in another browser  on another computer and /facepalm


Sorry and THANKS :)
Title: Re: Meteotemplate
Post by: jachym on October 03, 2016, 03:08:15 PM
np
Title: Re: Meteotemplate
Post by: Blicj11 on October 03, 2016, 06:50:36 PM
That's exactly what I have done. Main site is www.selstonweather.info (http://www.selstonweather.info), Meteotemplate site is www.selstonweather.info/meteo (http://www.selstonweather.info/meteo). Works fine.

Alan:

I spent some time on both of your sites. Nice job.
Title: Re: Meteotemplate
Post by: Alan Rowley on October 03, 2016, 07:27:08 PM
Thanks Blick.

When I get time, I will finish setting up the Meteotemplate and add a few pages. Very impressed with the amount of information it provides.

If anyone else is considering installing the template, please do as Jachym suggests and read the instructions carefully. There are a couple of places where you can make a mistake, but if I can do it, anyone can.

ALAN.
Title: Re: Meteotemplate
Post by: jachym on October 03, 2016, 09:04:09 PM
Thanks Alan.

Its not that I didnt want to help people - in fact it is the other way around, but it is better if they first try themselves, simply because I get on average about 50 emails/day and it is something I do in addition to my full-time, part-time job and a PhD degree so it then sometimes takes a while before I get to you. If someone needs help because they dont know what to do, thats not a problem or even if they need help with installing the whole thing, but I first ask them to read the wiki, if they are lost, no problem, but sometimes people just do what they "assume" or "think they should do" and ask questions which are emphasized or directly answered in the wiki, in which case I just save myself work by giving them a link rather then retyping what I already answered :-)

So feel absolutely free to contact me, but see if you can find an answer in the wiki or FAQ first ;)
Title: Re: Meteotemplate
Post by: xairbusdriver on October 04, 2016, 12:03:18 AM
Quote
in addition to my full-time, part-time job and a PhD degree
Jachym, my friend,
You simply need to find something to do with all your free time. Perhaps a second PhD? Astronaut training? I know you would make an excellent English writing teacher and/or translator! [rockon] Here are a couple of less challenging suggestions:
<"The Final Countdown" by computer hardware orchestra. (https://www.youtube.com/watch?v=G-X-p0C0Uas)>
<The Art of Making a Nixie Tube (https://www.youtube.com/watch?v=wxL4ElboiuA)> (This vid alone will kill over 30 minutes!)
Title: Re: Meteotemplate
Post by: jachym on October 04, 2016, 12:28:10 AM
I do translations occasionally :D

I will look at the videos tomorrow though, my laptop isnt able to handle Chrome + YT :D
Title: Re: Meteotemplate
Post by: jachym on October 04, 2016, 12:29:23 AM
And one more thing...
I sometimes kill two birds with one stone... eg. in June I was studying for my climatology exam. Some parts I just couldnt remember, so I created a plugin for it.. and by typing it and working with the data... guess what I got an A :D So MT is great in many way for me, not just a way to spend my free time :D
Title: Re: Meteotemplate
Post by: jhoke on October 04, 2016, 01:57:46 AM
Jachym

I have to say I am VERY impressed with the templates... spent a bit of time between conference calls tonight with folks in Australia/New Zealand putting this together... its still VERY rough ... just throwing blocks up with no real organization or layout in mind... just to see what a bunch look like...

http://weather.hoke.org/meteo/

*REALLY* dig this ... thanks a whole hell of a lot for making this available :)
Title: Re: Meteotemplate
Post by: Blicj11 on October 04, 2016, 04:24:06 AM
jhoke:

I checked out your meteo template. Great layout; I like what you did even though you did it quickly. Looks pretty cool in my opinion.
Title: Re: Meteotemplate
Post by: idunn on October 04, 2016, 02:49:40 PM
Hi Jachym,

I started reading your well-written wiki, and I tried to download by clicking on that arrow at the bottom of the Download page. Did not seem to work. Something wrong?  Is this a good place to contact you? Maybe your email is better.

Regards,  Irving
Title: Re: Meteotemplate
Post by: jachym on October 04, 2016, 02:53:30 PM
Hi, most likely same problem as we discussed yesterday in this thread, there is also a big red note on the right hand side of the page - make sure you have pop-up blocker disabled in the browsers. The download is triggered in a popup window. ;)
Title: Re: Meteotemplate
Post by: idunn on October 04, 2016, 03:51:03 PM
Hi,

After deblocking the popups with Chrome and Firefox the download arrow disappeared. I could not download. Could try it with Safari too.

Irving
Title: Re: Meteotemplate
Post by: idunn on October 04, 2016, 04:01:09 PM
Hi
Got it now with Safari. Maybe the other browsers would be ok. I was looking for it on the B. Downloads page. Should there not have been a download to click on that page of the wiki? I had success on the menu bar above with Download. Would be better to name it Meteotemplate and not just Template, otherwise hard to find.
Irving
Title: Re: Meteotemplate
Post by: jachym on October 04, 2016, 04:04:47 PM
OK good..

yes, I guess I should add a link there :)
Title: Re: Meteotemplate
Post by: jachym on October 04, 2016, 04:05:41 PM
and just to add to that.. the reason the download is triggered in a popup window is because I keep track of which plugins and blocks get downloaded the most, and are the most popular etc. If I put a direct link to the zip file I couldnt do that ;)
Title: Re: Meteotemplate
Post by: idunn on October 04, 2016, 05:40:58 PM
There was a link called downloads but it was not working.

Irving
Title: Re: Meteotemplate
Post by: jachym on October 04, 2016, 05:57:22 PM
Ahh... thanks for letting me know... stupid typo in the link :)

Fixed
Title: Re: Meteotemplate
Post by: jhoke on October 04, 2016, 07:10:13 PM
Thanks Blick :)

Been playing around with it a bit more... starting to grok the framework better and starting to organize it a bit more...

finding a couple blocks are causing some issues - but overall its damn impressive what Jachym's done!
Title: Re: Meteotemplate
Post by: jachym on October 04, 2016, 07:26:16 PM
Which ones?
I know some people have problems with certain blocks, its usually a server configuration issue or PHP extension missing
Title: Re: Meteotemplate
Post by: jhoke on October 04, 2016, 09:23:33 PM
I'll review them again when I get home ... and let you know I have to go through my notes I keep on the server ;)
Title: Ya' know I might just have to try this thing . . (Re: Meteotemplate)
Post by: elagache on October 05, 2016, 12:11:11 AM
Dear jachym, X-Air, jhoke, Blick, and WeatherCat fans of cool!  8)

It is something I do in addition to my full-time, part-time job and a PhD degree. . . .

Sufferin' succotash!! You are a gluten for punishment!   [banghead]  Having gotten a PhD myself, my first instinct should be to try to talk you out of it, but I suppose it is a little too late at this point!

I checked out your meteo template. Great layout; I like what you did even though you did it quickly. Looks pretty cool in my opinion.

At the moment I'm on a "grand adventure" to try to come up with a viable method to restore 1965 Buick hood ornaments, but I have to admit this template is so cool I might have to give up on my humble but nonetheless 100% home-made template.  There is an awful lot to like with Meteotemplate!  [bounce]

Cheers, Edouard  [cheers1]
Title: Re: Meteotemplate
Post by: jachym on October 05, 2016, 12:29:06 AM
Thanks doctor  [biggrin]
Title: Re: Meteotemplate
Post by: wurzelmac on October 05, 2016, 06:23:12 PM
Hi Jachym,

is there a chance to get a liveGauge plugin for WeatherCat - maybe you could add this one to the *feature requests*.  :)

Great work, I really like it more and more! [rockon]
Title: Re: Meteotemplate
Post by: jachym on October 05, 2016, 06:27:52 PM
I?ll try tonight when I get home from my part-time job, it shouldnt be a problem.
Title: Re: Meteotemplate
Post by: jachym on October 05, 2016, 08:58:31 PM
Its going to be slightly tricky because there are some things I will need to pull from the db, so it might take a bit longer. I will try to finish it tomorrow.
Title: Re: Meteotemplate
Post by: jachym on October 05, 2016, 09:24:39 PM
So for today at least this :-)

http://meteotemplate.com/blog/?p=1226

Make sure you watch the blog I released several other new things/updates today, I will not be posting about each here, I dont want to spam here, so ideally just use the blog RSS or check it there and then.
Title: Re: Meteotemplate
Post by: wurzelmac on October 06, 2016, 06:51:39 AM
Its going to be slightly tricky because there are some things I will need to pull from the db, so it might take a bit longer. I will try to finish it tomorrow.

Jachym,
just as info: All things that are displayed on this site (http://wetter.unterwurzacher.at/steelgauges/livewerte.html) come straight out of WeatherCat - so maybe its easier to add some tags to realtimeMT.txt than to extract data out of the database? As said, just to bring it in mind.
Title: Re: Meteotemplate
Post by: jachym on October 06, 2016, 04:26:11 PM
I know, but that would again require updating the plugin, I dont want to update stuff to often, it annoys people when things change too often ;)
Title: Re: Meteotemplate
Post by: jachym on October 07, 2016, 03:18:00 PM
Hi guys,

I updated the WeatherCat plugin, please see the blog for more info about the update - what is new and how to update the plugin.

And based on that I also created the Live Gauges plugin version for WeatherCat, please also see the blog for more info. Please let me know if it works, my testing possibilities for WeatherCat are very limited. This is more or less experimental and if there are any problems I will try to update it and solve them. You need to first update the weatherCat plugin for this to work.

DEMOs:
http://www.meteotemplate.com/template/plugins/liveGaugesWD/index.php

NOTE: in the demo, simply replace index.php with index2.php, index3.php,....index9.php to see the versions you can choose from. Again, just follow the instructions in the blog and plugin documentation.
Enjoy
Title: Re: Meteotemplate
Post by: wurzelmac on October 07, 2016, 05:20:20 PM
Installed, but not shown in any menu - where should the link be visible? Weatherstation, Weather, Home? And whats the name of the link?

Cheers,
Title: Re: Meteotemplate
Post by: jachym on October 07, 2016, 05:25:11 PM
Hi,
did you update your menu.php?
Title: Re: Meteotemplate
Post by: wurzelmac on October 07, 2016, 05:36:09 PM
Hi,

don't know how to *update* my menu.php except to reload it - is this correct?

The direct request (for example http://wetter.unterwurzacher.at/template/plugins/liveGaugesWC/index8.php ) does work.
Whhoomm, looks good!

 :)
Title: Re: Meteotemplate
Post by: jachym on October 07, 2016, 05:43:21 PM
Wiki :))) Its all there :)

When you install a new plugin, you need to update menu.php, i.e. you need to go to the Downloads section at meteotemplate.com, in the left menu select Menu and download the updated menu.php. Then replace the original menu.php of your template with the new file.
When I release a new version of the template, the menu.php includes links to all the available plugins. However, when I release a new plugin after template release, obviously this plugin is not included in the original menu, so you need to get the updated file.

Wiki wiki :)
Title: Re: Meteotemplate
Post by: wurzelmac on October 07, 2016, 05:51:06 PM
Understood.

All other PlugIns are working without a scratch, so I didn't thought about that.

OK,
http://wetter.unterwurzacher.at/template/plugins/liveGaugesWC/index.php would be my favorite.  :)

But nothing compares to this:
http://wetter.unterwurzacher.at/template/pages/station/live.php  [sun2]

But if adding a new Plugin I will have to rework the whole menu.php -  [computer] - Lets start on.  ;)
Title: Re: Meteotemplate
Post by: jachym on October 07, 2016, 05:57:53 PM
Hi,
well yes, all the other ones worked, since you probably installed plugins that were released before v9 was out so those were already included in the menu.

Please read the wiki, I explained in detail how it works and what you need to do. You have two options - either use the default menu or use your own, in which case you always need to add the links manually.

I dont like steel series :D - but feel free to include them, just that I wont include them in the template by default ;)
Title: Re: Meteotemplate
Post by: jachym on October 07, 2016, 05:58:45 PM
http://www.meteotemplate.com/web/wiki/wiki7GB.php

Section 1.3

About 4 long paragraphs about how it works with examples...
Title: Re: Meteotemplate
Post by: wurzelmac on October 07, 2016, 06:15:00 PM
I dont like steel series :D - but feel free to include them, just that I wont include them in the template by default ;)

This is something I really couldn't follow your strategy: They are so smooth and fully customizable in look & feel. But apart of that - your template is amazing!
 [rock]
Title: Re: Meteotemplate
Post by: wurzelmac on October 07, 2016, 06:20:47 PM
Working prefect, Jachym. Maybe an option within the settings to choose wich template (index 0 to 9)?
 ThU32:-)
Title: Re: Meteotemplate
Post by: jachym on October 07, 2016, 06:22:00 PM
You simply rename the one you want to use to index, so if you want to use index6, you rename index6 to index, the index is the one loaded from the menu ;)
Title: Re: Meteotemplate
Post by: wurzelmac on October 07, 2016, 06:35:57 PM
 [tup]
Title: Re: Meteotemplate
Post by: jhoke on October 07, 2016, 07:36:30 PM
A couple things...

1 - Jachym - wow ... the gauges are amazing looking .... THANK YOU! (now only if it was a block option  [cheers1] )
2 - Ive been playing around with a couple things missing from my previous template - MESONET maps (http://saratoga-weather.org/scripts-mesonet-map.php) ... i've gotten a down and dirty custom page version running at (http://weather.hoke.org/meteo/custom/mesonet/index.php) - but still have a bunch of cleanup to do in the tabs - but the map tab works 99.9999%

As the MESONet has international presence (and yes in CZ also! http://weather.hoke.org/meteo/custom/mesonet/index.php?net=CZWN ) perhaps this could be put on the pile of "to do" for an official plugin? I can zip up the pages I threw together as well if you like... mostly copied the display of the map into your blank.php custom page and put it and the supporting files in a mesonet directory...

3 - *thank you* again - you are a multitasking genius (or at least soon to be PhD  [headbang] )
Title: Re: Meteotemplate
Post by: jachym on October 07, 2016, 07:44:14 PM
Hi,

first of all thanks for kind words. Now to your points....

- gauges block - it already exists and I did create a version for WC already ;) http://meteotemplate.com/blog/?p=1190

- mesonet.... the thign is... these are sort of Ken?s maps, he is the author of all this, it is part of Saratoga and so that is why it is obviously not part of Meteotemplate...

also... yes I know about the Czech network... because I am the admin of it and I created it :D :D :D Even before MT existed...

I do not plan on adding this to MT, it would be relatively complicated and as I said, it is basically a feature of Saratoga template and there is in fact already a page that allows you to report to Mesonet via Meteotemplate. I created it with Ken a few months ago, it is in your pages/station directory.
Title: Re: Meteotemplate
Post by: jhoke on October 07, 2016, 07:51:39 PM
Thanks

FYI - I did check with Ken if I could use the code on my site first ;)   (and yes - complicated is a good way of looking at it  [banghead] )

I didnt realize there was that functionality in the pages/station section ... THANKS :)
Title: Re: Meteotemplate
Post by: jachym on October 07, 2016, 07:53:57 PM
Yes :)

It really is something Ken developed and in fact I sort of helped him by creating the CZ version, which I also host on my webhosting server, and I support users to upload stuff to those networks, but I leave the actual maps to Ken?s pages. Im sure he is ok with you including it, but I will not release it as a plugin etc.,

OT: Like your sticker ;)
Title: Re: Meteotemplate
Post by: Blicj11 on October 08, 2016, 07:28:45 AM
But nothing compares to this:
http://wetter.unterwurzacher.at/template/pages/station/live.php  [sun2]

I agree. But this template is amazing. It is clean and simple looking. Thanks Jachym.
Title: Re: Meteotemplate
Post by: idunn on October 08, 2016, 09:13:29 AM
Hello all who are trying the Meteotemplate,
I think this template is a wonderful development and am especially impressed by being able to include so many interesting weather maps and models. However I think as far as displaying my own data I am happy with WC Simple Web, as well as with WeatherCloud and WU. The extra goodies on MT I can view on some of your websites. For these reasons I do not plan to continue trying to install MT. Jachym deserves great credit and even a little money for his efforts. So I am making now a tiny contribution.
Irving
Title: Re: Meteotemplate
Post by: wurzelmac on October 08, 2016, 10:04:31 AM
Jachym,
may I ask another question? The attached screenshot shows the pulldown menu of the stationData block. In there are three things translated incorrectly:
? *Diese monat* should spell *Dieses Monat*
? *Diese jahr* should spell *Dieses Jahr*
? *Letzte 365 tage* should spell *Letzte 365 Tage*
Cannot find these phrases in lang.de - where else can I look?
Thanks in advance,
Title: Re: Meteotemplate
Post by: jhoke on October 08, 2016, 02:43:54 PM
Jachym

Good Morning - I think i found a small bug/issue with the WeatherCat Live Gauges ... look at the screenshot below and in the pressure gauge it has two "30" marks...

Not sure if this is something I screwed up or something odd in the gauge creation ...

Also the "Y" in the rain gauge is showing up within the rain gauge instead of next to the "D M "

Title: Re: Meteotemplate
Post by: jachym on October 08, 2016, 02:57:52 PM
Hello all who are trying the Meteotemplate,
I think this template is a wonderful development and am especially impressed by being able to include so many interesting weather maps and models. However I think as far as displaying my own data I am happy with WC Simple Web, as well as with WeatherCloud and WU. The extra goodies on MT I can view on some of your websites. For these reasons I do not plan to continue trying to install MT. Jachym deserves great credit and even a little money for his efforts. So I am making now a tiny contribution.
Irving

Hi Irving,
thanks for your nice comment and also thank you very much for the contribution, it is realy appreciated because it helps me to cover the costs. I invest all the donations towards webhosting and domain, given I now have 2000x higher traffic than I head a yr ago I already had to upgrade my hosting plan, so it helps with that :-) My goal is to break even and if sometime in the future there was more money available than the costs I could consider reducing my part-time job which I currently do in the evenings on weekdays and afternoons on weekends, but obviously I can only do that if I know that I will get the money elsewhere, the rent, bills, food... all quite expensive here and with just 2yrs of work experience, despite MsC degree you are very close to minimum wage here :D Interestingly the prices here are sometimes even higher than in the U.S.,e.g. a Davis Pro 2 is around 1400 bucks (now compare that with average wage of 4dollars/hour, which is still much more than people like me have..)
But it is just a hobby and the great thing about it is that it is basically a "free hobby" - I mean compare that with for example the costs for hobbies like skiing etc. And I really enjoy it, meet new people, learn new things, and sometimes it even helps me with studying :D

Either way, I totally understand your point, my template is for those who want lots of info and I am well aware of the fact this is not the case for everyone and thats why it is great that people have the ability to choose - SW built-in webpages, Saratoga template, Leuven, Meteotemplate.... I dont see any of those as competitots, just alternatives and I have very good relationship with Ken (Saratoga), Wim (Leuven), Brian (WD), Boris (Meteobridge) etc. and we often help each other or co-operate.

Best regards ;)
Title: Re: Meteotemplate
Post by: jachym on October 08, 2016, 02:59:30 PM
Jachym,
may I ask another question? The attached screenshot shows the pulldown menu of the stationData block. In there are three things translated incorrectly:
? *Diese monat* should spell *Dieses Monat*
? *Diese jahr* should spell *Dieses Jahr*
? *Letzte 365 tage* should spell *Letzte 365 Tage*
Cannot find these phrases in lang.de - where else can I look?
Thanks in advance,

Hi,
yes that is because the translations are sort of "built" - what I mean is - I know German so I know those phrases should have different word endings, but the problem is that the way this works in the back and is this:
- there is a translation for "this"
- translation for "month", "year" etc.
and it is then just combined together, thats why you didnt find it in the lang, it uses the translation for "this" and translation for the period ("month", "year" etc.)
Title: Re: Meteotemplate
Post by: jachym on October 08, 2016, 03:00:48 PM
Jachym

Good Morning - I think i found a small bug/issue with the WeatherCat Live Gauges ... look at the screenshot below and in the pressure gauge it has two "30" marks...

Not sure if this is something I screwed up or something odd in the gauge creation ...

Also the "Y" in the rain gauge is showing up within the rain gauge instead of next to the "D M "

That double 30 is weird, it is a scripting library for drawing gauges, I will check it on Monday when Im in my office, I need a more powerful PC to do some testing. With regards to the Y Im not sure, when I look at your page it looks fine, which browser are you using and what screen siźe?
Title: Re: Meteotemplate
Post by: wurzelmac on October 08, 2016, 03:05:50 PM
Thanks Jachym,

I looked at the lang.de and there is *year* correct translated as *Jahr* (look at the caps). I almost think that the problem here is the json auto-translation that you have no influence on. But it is only cosmetically, everybody knows what is meant by this phrases.

Thanks again for this incredible template - every now and then I am looking into it and am surprised what is possible with two hands full of data...
 [woohoo]

Cheers,
Title: Re: Meteotemplate
Post by: jhoke on October 08, 2016, 03:07:29 PM
That double 30 is weird, it is a scripting library for drawing gauges, I will check it on Monday when Im in my office, I need a more powerful PC to do some testing. With regards to the Y Im not sure, when I look at your page it looks fine, which browser are you using and what screen siźe?


I'll take a look through the lib and see if anything sticks out later tonight and if i find it I'll let you know ...

As for the browser - that image was in Safari on an external 3440x1440 monitor at about 1/2 screen resolution... I've gone full screen and still same issue... I've also tested in Chrome and Firefox ... will need to test on MSIE on Windows when I get to work Tuesday (monday is a bank holiday here in the States)


I will go through my config file to see if I am limiting the width anywhere ... don't think so but who knows ;)
Title: Re: Meteotemplate
Post by: wurzelmac on October 08, 2016, 03:11:46 PM
Hi jhoke,

I can confirm the issue DMY with Chrome on an iMac 24'' on your website. Interesting, the PlugIn on my site is working fine.

Cheers,
Title: Re: Meteotemplate
Post by: jachym on October 08, 2016, 03:12:29 PM
Hi,
yes and I know very well that in German all nouns for example should be capitalized. But you have to understand this is a compromise...
There is currently 18 languages available, each one has its own unique features.
Unless someone makes a complete localization, the translations will never be perfect. And making a complete localization, where you also have to make changes in the actual code, is something only the very big companies can afford to do if they sell millions of copies of their SW and employ hundreds of people... eg Windows.

The point of this is really just so that you "understand". There are many problems with the Czech translation too, probably even worse than German because we have many more cases and word endings. But it would take ages to make this perfect and more importantly - the problem here is not just my time, but other people?s time. If I wanted to include all the phrases separately, think about how many words there would be to translate, and I can assure you people wouldnt do it. Already there are many untranslated strings in many languages, simply because people dont have time or want to spend hours translating it and I cant do it myself because obviously I dont speak 18 languages...

Just one last example to illustrate my point:
The template is more or less intended to be 100% correct in English and consider this phrase:

10 hours ago
5 hours ago
2 hours ago
1 hour ago

In English you will have two cases - "hour" and "hours". However, in Czech for example you would have:

1 hodina
2, 3, 4 hodiny
5 hodin
etc.

and to make things worse, in Czech we put the preposition in front of the number, we dont say 2 hours ago, we would say "ago 2 hours" - and this is exactly the case where even a perfect translation will not help, you would need to make changes in the code so that the number is placed between the words, not in front of them.

I hope it makes sense
Title: Re: Meteotemplate
Post by: jachym on October 08, 2016, 03:14:32 PM
That double 30 is weird, it is a scripting library for drawing gauges, I will check it on Monday when Im in my office, I need a more powerful PC to do some testing. With regards to the Y Im not sure, when I look at your page it looks fine, which browser are you using and what screen siźe?


I'll take a look through the lib and see if anything sticks out later tonight and if i find it I'll let you know ...

As for the browser - that image was in Safari on an external 3440x1440 monitor at about 1/2 screen resolution... I've gone full screen and still same issue... I've also tested in Chrome and Firefox ... will need to test on MSIE on Windows when I get to work Tuesday (monday is a bank holiday here in the States)


I will go through my config file to see if I am limiting the width anywhere ... don't think so but who knows ;)

Thats strange, I use Chrome and Linux and I see it fine. I test everything in Chrome, FF and Opera, I doubt it will work in IE, it is usually the other way around, IE is a developer?s nightmare.

I see it ok on your site even if I narrow my window... strange

Maybe Apple doesn?t like MT Live Gauges :D Im gonna email Tim :D
Title: Re: Meteotemplate
Post by: wurzelmac on October 08, 2016, 03:17:35 PM
Maybe Apple doesn?t like MT Live Gauges :D Im gonna email Tim :D

 ;D
Title: Re: Meteotemplate
Post by: jhoke on October 08, 2016, 03:18:25 PM
Ok - you posted right before me ... so yeah... It may be an apple related issue - let me test it out on  windoze and linux machines when I can ... may have to VPN into work but I should be able to give it a go tonight when I get home from a family thing ...

----

Now that I am going through this more...

Should the three icons above the thermometer (temp/feels like/dew point) change the thermometer's data to that information? If so this does not appear to be functioning ... I did a quick look through the javascript but didnt find anything that jumped out at me wrong...

The only odd bit is when I to click one the black border around the Humidity and Pressure gauges gets thicker...

all minor things aside this is an amazing bit of code that you got together in such a short time... I am really impressed man

 [rockon] [rockon] [rockon]

Link to my implementation : http://weather.hoke.org/meteo/plugins/liveGaugesWC/index.php
Title: Re: Meteotemplate
Post by: jachym on October 08, 2016, 03:23:01 PM
I tried all 3 browsers I use (Chrome, FF, Opera) and I tested on my latop with Linux and I also just checked on my sister's Win 7 and mom's Win 10.

All pages look perfect, numbers change when clicking the icon above the thermometer, DMY all aligned...
Title: Re: Meteotemplate
Post by: jachym on October 08, 2016, 03:26:15 PM
You can try to increase the width of the DMY width, it currently has width of 90px, change it to something like 110.
Title: Re: Meteotemplate
Post by: jhoke on October 08, 2016, 03:43:57 PM
Ok ... fixed it

I changed to style width of class=guageWrapper from 90px -> 100px as suggested and all is good now

the thermo may have been user error - looks like it works now /shrug

I've swapped the index pages - so the working one is now http://weather.hoke.org/meteo/plugins/liveGaugesWC/index1.php as I've made index9 the new default as I like it more i think ;)

Title: Re: Meteotemplate
Post by: jhoke on October 09, 2016, 01:22:13 PM
Jachym

I found something else wonky - on /pages/worldweatheronline.php the feelslike temp in the hourly forecast appears to be WAY off - almost like it is taking the current temp in F thinking its in C and reconverting to F

This only happens in the hourly table - in the daily (hit more) it seems correct ...

As this is a page, not a plugin, I dont see any config other than the config.php which has
$displayTempUnits = 'F';
$displayRainUnits = 'in';
$displayWindUnits = 'mph';
$displayPressUnits = 'inhg';
$displayCloudbaseUnits = 'ft';
$displayVisibilityUnits = 'mi';
$dataTempUnits = 'F';
$dataRainUnits = 'in';
$dataWindUnits = 'mph';
$dataPressUnits = 'inhg';

I've also included the wwoCache.txt file in case it helps
Title: Re: Meteotemplate
Post by: jachym on October 10, 2016, 02:19:22 PM
Hi,
the WWO page is discontinued and has been replaced by the Outlook plugin.

see: http://meteotemplate.com/blog/?p=1163
Title: Meteotemplate - new newsletter/updates
Post by: jachym on October 10, 2016, 02:19:46 PM
Hi guys,

hope you are all doing fine. I have just released a new newsletter issue where you can find all things that are new since last newsletter was published.

TIP:
I only send emails about newsletters, which include summary of what was new, this is because if I send emails about everything, you would very quickly be annoyed by the frequent emails and I definitely do not want to spam you.
If you really want to get all the updates immediately, then you can use the blog RSS channel at:
http://meteotemplate.com/blog/?feed=rss2

New newsletter:
http://meteotemplate.com/blog/?p=1249

Enjoy
Title: Re: Meteotemplate
Post by: jhoke on October 10, 2016, 02:35:56 PM
Hi,
the WWO page is discontinued and has been replaced by the Outlook plugin.

see: http://meteotemplate.com/blog/?p=1163

Damn - i didnt see that - thanks ;)

I must have missed the Outlook link in the weather tab - it has the same font size/style as the other headings so I must not have realized it was a link ...  disabling the WWO in the menu for now until the menu.php is updated with 10

 ThU5:-)

BTW - love the addition to the night sky plugin :) [cheers1]
Title: Re: Meteotemplate
Post by: jachym on October 10, 2016, 02:49:34 PM
For users who registered at WWO before March 2016 the page will work so I did not remove it from the menu for all, however, if you were using the trial, simply delete your WWO key from the main settings and the link in the menu should disappear.
Title: Re: Meteotemplate
Post by: Alan Rowley on October 10, 2016, 06:42:18 PM
Hi all,

I am struggling to get the webcam page to work correctly. I followed all the instructions and created the cron job.

The script is creating jpg images of various sizes from 0 bytes to 106 mb. No thumbnails are being created.

My webcam page can be found here (http://www.selstonweather.info/meteo/plugins/webcam/index.php).

Anyone have any ideas?

ALAN.
Title: Re: Meteotemplate
Post by: jachym on October 10, 2016, 06:50:53 PM
It could be that your server does not support or handle well the PHP GD extension, otherwise I dont really know why it should be doing this, I havent had anyone with a similar issue yet... how big is the image?
Title: Re: Meteotemplate
Post by: Alan Rowley on October 10, 2016, 07:26:26 PM
Hi Jachym,

I'm afraid I can't tell you what size the images are as I can't get any of them to load. I suppose this means the files are corrupted and not really jpegs at all.

ALAN
Title: Re: Meteotemplate
Post by: Alan Rowley on October 10, 2016, 08:12:55 PM
Unfortunately, I've had to delete the plugin as it is eating into my bandwidth. I'll review the plugin again when I get more bandwidth as I would love to get it working.

ALAN.
Title: Re: Meteotemplate
Post by: jachym on October 10, 2016, 10:56:32 PM
Hi Alan,
Im really not sure what is causing the problem, I havent had anyone with any similar issues and the script works fine, so I suspect it must be something with your server configuration, unfortunately I know close to nothing about servers themselves... I use external webhosting.
Title: Re: Meteotemplate
Post by: jachym on October 10, 2016, 10:57:08 PM
Hi guys,

I just updated the Indoor Data plugin, which now includes support for WeatherCat.

Enjoy
Title: Re: Meteotemplate
Post by: Alan Rowley on October 11, 2016, 07:25:28 AM
Hi Jachym,

I use external web hosting too. I think it could be a case of too much happening on the server at once. I'm running two separate databases with three cron jobs, as well as uploading from my Mac and downloading from WU. I've already used nearly 80% of my monthly bandwidth, so I'm going to wait until next month, when my bandwidth starts again, before I do any more developments.

ALAN.
Title: Re: Meteotemplate
Post by: jachym on October 11, 2016, 12:33:06 PM
Hi Alan,
that could definitely be a possibility why it isnt working
Title: Meteotemplate - new block - best forecast!
Post by: jachym on October 11, 2016, 11:14:43 PM
New Block - ?

Hi guys,

I would like to present to you a new block - I am sure all of you will agree with me, that once you install this and use it, you will always consider it to be the most accurate forecast! You don?t believe me? Well I found an absolute amazing data source, see for yourself!

Include temperatures, precipitation, wind speed and direction, warnings, detailed textual forecast etc etc...

http://meteotemplate.com/blog/

In addition I updated the menu accordingly.

Enjoy :)

OT: is it just me having sometimes problems accessing this site? I was unable to load the forum since morning.
Title: Re: Meteotemplate
Post by: xairbusdriver on October 12, 2016, 01:05:23 AM
Quote
is it just me having sometimes problems accessing this site?
No. It happens to me also. I know the Dev upgraded his hosting service, but I haven't seen any changes in that 'stalling' download problem. I always just blamed the Atlantic cable bottleneck! Maybe your 'bottleneck' is the Alps, the North Sea or the Mediterranean! [lol] Or maybe the French are slowing things down because of Brexit?! [banghead] [rolleyes2]
Title: Meteotemplate - IMPORTANT!
Post by: jachym on October 12, 2016, 11:43:11 AM
Hi guys,

I discovered a problem with the block versioning and I would ask you to please install this bug fixes package 9.3, which will also help me because it will substantially decrease the load on my server while loading block versions etc. But there is also another fix in the block versioning so it is not only important for my site.

The download package can be found as always on the downloads page -> section Bug Fixes

Follow the instructions in the Readme file.

And

Today is the last day when Google Maps will work without providing an API key. If you have not yet created an api key, your maps will stop working as of tomorrow, there is a detailed guide in the wiki how to create the key, it is free.

Thanks!
Title: Re: Meteotemplate
Post by: wurzelmac on October 15, 2016, 07:44:35 PM
All data imported since doing this hobby - march 2008. Some hard two weeks to make it look as I want it to look (attention: only german  [biggrin] )
I am really impressed what is able to visualize with this template - just take a tour (http://meteo.unterwurzacher.at/) and click through all what is possible!

Cheers,
Title: Re: Meteotemplate
Post by: jachym on October 15, 2016, 07:49:49 PM
There will be less updates and new stuff now. I am completely rewriting the core template files... the way they work in the backend.
Yesterday I deleted over 25 pages from the template.... because the 3 new ones (each one shorter than each of the previous 28 ones) can do what the original ones + much more...
Title: Meteotemplate 10.0 Banana - biggest update yet
Post by: jachym on October 27, 2016, 02:05:22 PM
(http://i64.tinypic.com/ea62py.png)

Hi guys,

you might have noticed there has not been many updates recently.... this is because I was intensively preparing version 10. However, I should say that this version also includes many changes I wanted to do long time ago, but never completed so did not include in previous versions.

Meteotemplate 10.0 Banana is a major update, probably the most significant update yet, and this includes not just many new pages and things you will see directly on the page, but majority of the code of the Weather Station section - code that I have written over a year ago, while learning PHP, has been rewritten, optimized and some pages done completely from scratch.

One thing that you will appreciate especially if you are a new user is that I have completely re-written the data import and database update scripts. There are no more WD.php, Cumulus.php, meteobridge.php etc. scripts... there is simply "an update script", "an import script". These now also work totally differently. In previous versions you made a file that was compatible with Meteotemplate for import - now Meteotemplate adjusts based on what your files look like - and so you can now import data and update database with practically any file that contains the necessary information, regardless of its structure.

And in addition, this version finally completed my long-term goal - the database update was the very last thing that still had to be set up in the code itself. Now it uses GUI and is accessible from your control panel. And this therefore means, that unless you want to make specific customizations, you can now install and setup Meteotemplate, setup and install blocks and plugins and do admin actions, without ever seeing the code. And this is also a major advantage for me because it gives much less space for potential errors that people can accidentally make when they for example delete a semi-colon etc.

Some of the new features might look like minor, but they will also save you time - for example the new "remember me" function - stay logged in as an admin even if you close the browser or shut down your PC until you click the log out button, current conditions in header, site search in footer. Your homepage blocks now also have some new features - a new "header block" and "footer block" further extend the layout possibilities, possibility to highlight important blocks, set names for menu blocks. There is lot of new things, so just keep reading and then especially explore it once you have it installed yourself - btw. the update should be very easy.

New/redesigned pages
New features for blocks
New features
Bug fixes/optimizations/minor changes
Depracted pages:
Depracted plugin:
Update Instructions

In the blog

As always - the first person to do the update, please let me know, once Im sure it is ok I will send out emails to people about the new version.

E N J O Y !!!!!
Title: Re: Meteotemplate
Post by: wurzelmac on October 27, 2016, 06:26:27 PM
WOW, what an impressive list of new / replaced / Bug Fixes / etc.

Maybe I will do the jump to Banana, but I dare not to do it now when I have done so much to look the page as I wanted it to look: Adjusted icons, adjusted code (only words or even letters) in blocks and plugins, done the menu as I like it, carefully done the whole page into German and lots of other things that make my site looking as it looks now.

I think I will duplicate the whole meteotemplate folder on my webspace and will do the update on the duplicated one to see if all works as it works now - when I have time and desire.

Anyway, great job - congratulations!
Title: Re: Meteotemplate
Post by: jachym on October 27, 2016, 06:29:28 PM
Hi,
sure I understand that, well this is always a problem that cant be solved...

if users make customizations they will have to make sure they do them in the new files too, there is no way for me to know where and what modifications who made... usually it is not a problem, this time it is because the header, menu etc. are changed and some files renamed - however, this is something that was bothering me for quite some time and was a reminiscance of when the template was created, now it is all consistent so there should not be any need to change it again in the future
Title: Re: Meteotemplate
Post by: wurzelmac on October 28, 2016, 08:42:38 PM
Ok,

after fiddeling around a bit to know what to download, what to replace, what to delete, the result is: Amazing!!!
Congrats to Jachym, thanks for his patience to show me the way.

What I have done:

? duplicated the template folder
? renamed it
? done all step by step advisories listed in Jachyms Blog (but attention, you Mac-Users: Two packages of V 10 Banana are available - the whole distribution and that what is needed to do the upgrade from (someone like me) folks that have an earlier version installed. (For me a complete new situation because as Mac user I am used to only download and run new stuff [thanks Stu, you make it so easy for us to upgrade to a further version of WeatherCat] - sorry for eMailing you for that, Jachym).
? done all the changes I have done to V 9 Avocado (not sure about that, but I will see what I am missing - transparency, some translations, and so on)
? pointed the subdomain meteo.unterwurzacher.at to the renamed folder in my webspace.

One more thing: I was cheeky enough to add a new icon within the menu path: Weatherstation/Wetterstation - Live:
(http://wetter.unterwurzacher.at/bilder/cheeky.png)

Here I can look at my so beloved SteelSeries Gauges, just as in V9 - but additional to that I pay my respect to Jachym and have also the LiveGauges from his template in action.

 [cheers1]
Title: Re: Meteotemplate
Post by: jachym on October 28, 2016, 09:55:53 PM
 [tup]
Title: Re: Meteotemplate
Post by: Blicj11 on October 28, 2016, 10:20:19 PM
Nice work, Reinhard. I just had a look at your banana template.

Also, many thanks to you Jachym for including support for WeatherCat in your template.
Title: 300 users + new page
Post by: jachym on October 29, 2016, 12:47:18 PM
Hi guys,

it is almost unbelievable, but there are already 300 of you Meteotemplate users. Exactly 501 days ago when I first released it I expected there would be maybe 5-10 people interested and that after a few weeks everyone, including me, will forget about it. Well, things evolved differently, I am really glad that most of you seem to enjoy this and I do too. Just a few numbers?

There are:
- 300 users
- from 39 countries
- currently 22 languages
- 501 days since first release

And to ?celebrate? the new milestone I created a new page, nothing really special, but just a different visualization of where you are 😀

http://www.meteotemplate.com/web/userGlobe/Apps/userGlobe.php
Title: Re: Meteotemplate
Post by: wurzelmac on October 29, 2016, 03:42:22 PM
Would be a nice PlugIn page in, hmmh, lets say: Menu > Info > Users.

 [tup]
Title: Re: Meteotemplate
Post by: jachym on October 29, 2016, 03:44:24 PM
There is a plugin for users already :-) And you can even automatically update it directly from the menu.

See Plugins->User Map
Title: Re: Meteotemplate
Post by: wurzelmac on October 29, 2016, 03:51:16 PM
I know.

but this is far not so cool as what you presented us above.  [biggrin]
Title: Re: Meteotemplate
Post by: jachym on October 29, 2016, 03:53:40 PM
That script is very complicated and large, over 20MBs.
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 03:46:51 AM
Hello, Jachym, and thank you for bringing us really nice looking template.

Today I downloaded the latest template file and WeatherCat plugin. I've re-read this thread, and I've read through the wiki, and I think I've got most things set properly for at least the basics. I did run into a couple things I didn't know how to do, though.

I've never done anything with a database, and didn't know what a host path was. A quick chat with my hosting company suggested using "localhost" which solved that problem.

The Climate ID doesn't work for me. I click on the linked page, zoom in on northern Ohio, USA, and click on the Cleveland airport. But when I click "select" it shows an error, and takes me to Australia. :)

My hosting company provides a CRON tool, but I have no idea what CRON is or what it does. I set it to once per minute, but I don't have any idea what to put in "Command:" It sounds like it it looking for some UNIX command? I don't simply put the URL of the WeatherCat .php there, do I?

(http://www.morrisgarage.com/skitch/cPanel_-_Cron_Jobs-20161031-234528.jpg)

My temporary page is at http://www.avon-weather.com/template/index.php but doesn't show anything but errors since there's no data yet.

Thanks for any suggestion you (or anyone else) may have.
Steve
Title: Re: Meteotemplate
Post by: wurzelmac on November 01, 2016, 09:23:48 AM
Hello Steve,

I am not really a help for you but something regarding to the CRON: My webhosting package does not support CRON jobs so I did it via https://cron-job.org/en/ - and as far I recall this was very easy to setup. Just a suggestion.

Maybe we have to wait for Jachym to chime in.
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 10:30:46 AM
Hi,
Im not a server expert, sorry, I dont know what command you should use, so using cron-job.org should work too.
I see the problem with the climate page. I will fix that.
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 10:33:02 AM
OK climate fixed
Title: Re: Meteotemplate
Post by: wurzelmac on November 01, 2016, 10:52:50 AM
By the way, a nice idea to have special icons on special days...  :)

 8)
Title: Re: Meteotemplate
Post by: wurzelmac on November 01, 2016, 11:05:21 AM
I discovered a (very small) cosmetic inconsistency within the plugin 'history' (http://www.meteotemplate.com/template/plugins/history/history.php). As far as I noticed this plugin increases the text size of the 'footer.php'.
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 11:08:07 AM
Thanks, I havent looked at that plugin for ages. Long time ago, the page was using some outdated code, about a yr ago, i.e. 3 months after release, I completely re-wrote the CSS and migrated the site to use HTML5 and I obviously forgot about ths one. I will update it later today, its not difficult to fix.
Title: Re: Meteotemplate
Post by: wurzelmac on November 01, 2016, 11:45:44 AM
Just noticed the bug fixes package -  [rockon]
Title: Re: Meteotemplate
Post by: xairbusdriver on November 01, 2016, 04:35:21 PM
The CRON "command" can be almost anything thing the computer/server can do. Perhaps if you can describe what you need/want to be done, we can describe a "command". I'm barely above the noob stage as CRON knowledge goes, but it's really just typing a few words, it's not 'rocket science'. [computer] [lol]

I needed a command to download a few METAR reports from a NOAA site. All I did was write a small PHP file (get_curl_METAR.php) that does that. I used a CRON 'job' on my hosting service that simply runs that PHP 'program'. You've already 'played' with that part of the process. ThU32:-)

In my case the 'command' is:
Code: [Select]
php /path/php file/my web space/get_curl_METAR.php >/dev/null 2>&1I ended up using the suggested ">/dev/null 2>&1" which totally blocks any error reports as well any most other output to any email address you have registered with your hosting company. You should probably leave that bit of text off until you're sure your job works correctly. It looks like your host uses the same cPanel as mine and that?s really all you need to set things up.
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 04:46:26 PM
Thanks, the instructions call to:

Quote
for your CRON job you will need two things - the URL and the interval. For the interval choose ideally one minute. This obviously depends on the interval you set for your realtimeMT.txt update. If you are updating that file every 5 minutes for example, there is obviously no point in reading its content every minute and it would only overload your server. The recommended realtimeMT.txt upload and therefore also the CRON job interval, is one minute. The database will be updated every 5 minutes, the data will be read in minute intervals and cached and the database will be updated every 5 minutes with the cache average.
the URL for the CRON job will be the URL of your weatherCat.php script inside your weatherCat plugin directory. So it will look something like this:

http://www.mysite.com/template/plugins/weatherCat/weatherCat.php?password=12345

I've already figured out how to set the interval; the easy part. I don't know what the command would be to invoke the plugin.
And I've successfully invoked the plugin by poking the address into the browser, so I know that works.

Thanks

The CRON "command" can be almost anything thing the computer/server can do. Perhaps if you can describe what you need/want to be done, we can describe a "command". I'm barely above the noob stage as CRON knowledge goes, but it's really just typing a few words, it's not 'rocket science'. [computer] [lol]

I needed a command to download a few METAR reports from a NOAA site. All I did was write a small PHP file (get_curl_METAR.php) that does that. I used a CRON 'job' on my hosting service that simply runs that PHP 'program'. You've already 'played' with that part of the process. ThU32:-)

In my case the 'command' is:
Code: [Select]
php /path/php file/my web space/get_curl_METAR.php >/dev/null 2>&1I ended up using the suggested ">/dev/null 2>&1" which totally blocks any error reports as well any most other output to any email address you have registered with your hosting company. You should probably leave that bit of text off until you're sure your job works correctly. It looks like your host uses the same cPanel as mine and that?s really all you need to set things up.
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 04:53:48 PM
OK climate fixed
Thanks, got that plugged into the setup now.

I've manually invoked the weatherCat.php, and it imported data into the table. I thought doing that would at least let me see the web page, but so far, all I have is this:

(http://www.morrisgarage.com/skitch/Avon_Weather-20161101-125121.jpg)

I obviously have something set wrong, probably the path. I've tried several options and haven't hit on the right one yet.
Title: Re: Meteotemplate
Post by: xairbusdriver on November 01, 2016, 05:20:56 PM
Quote
And I've successfully invoked the plugin by poking the address into the browser, so I know that works.
The address for the plugin is not the way it would look on the web. You are not really 'talking' to your site like you would be when using a browser from somewhere in the world. You are talking to the servers at your hosting service, so the "path" is lightly different. ;)

Here's the actual "path" I used in my example above: /home3/my-account-name/public_html/mid-southweather.com/

You should be able to see the exact text to use in cPanel if you look at the "Files Manager" section. The beginning of the files 'tree' will have the first two parts of the "path" (/home3/my-account-name). Generally, the next piece is /public_html/ Lastly, the domain name for your site. Then, you'd put the name of the file/plugin that your already know. It might be easier to simply write it out in TextEdit in one continuous line and then paste it into the text box in the cPanel CRON page (my host doesn't have a very large text box, you can't see the whole 'command' in there). After you click the "Add..." button (whatever it's called) you usually can then see the full command at the bottom of the page.

(http://i1327.photobucket.com/albums/u666/xAirbusDriver/CRON-job_zpsumrsurhu.jpg)

BTW, I use the same "typing" method as you described: "poking"! Usually with one finger per hand! [blush] cmu:-)
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 05:35:20 PM
This seems to be a known "problem".

If you only see the header, check your PHP version and let me know what it is, my guess is it is lower than 5.4
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 06:32:21 PM
This seems to be a known "problem".

If you only see the header, check your PHP version and let me know what it is, my guess is it is lower than 5.4

Item   Detail
Hosting Package   HD_sHD2
Server Name   dime184
cPanel Version   58.0 (build 32)
Apache Version   2.4.18
PHP Version   5.6.24
MySQL Version   10.1.17-MariaDB
Architecture   x86_64
Operating System   linux
Shared IP Address   66.7.193.146
Path to Sendmail   /usr/sbin/sendmail
Path to Perl   /usr/bin/perl
Perl Version   5.14.4
Kernel Version   2.6.32-642.6.199.2.cpanel6.x86_64
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 06:39:47 PM
OK, in that case go to your Main settings, right at the very bottom enable debugging mode. Then look at your homepage and copy here all the errors you get
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 06:47:34 PM
Quote
And I've successfully invoked the plugin by poking the address into the browser, so I know that works.
The address for the plugin is not the way it would look on the web. You are not really 'talking' to your site like you would be when using a browser from somewhere in the world. You are talking to the servers at your hosting service, so the "path" is lightly different. ;)

Here's the actual "path" I used in my example above: /home3/my-account-name/public_html/mid-southweather.com/

You should be able to see the exact text to use in cPanel if you look at the "Files Manager" section. The beginning of the files 'tree' will have the first two parts of the "path" (/home3/my-account-name). Generally, the next piece is /public_html/ Lastly, the domain name for your site. Then, you'd put the name of the file/plugin that your already know. It might be easier to simply write it out in TextEdit in one continuous line and then paste it into the text box in the cPanel CRON page (my host doesn't have a very large text box, you can't see the whole 'command' in there). After you click the "Add..." button (whatever it's called) you usually can then see the full command at the bottom of the page.

(http://i1327.photobucket.com/albums/u666/xAirbusDriver/CRON-job_zpsumrsurhu.jpg)

BTW, I use the same "typing" method as you described: "poking"! Usually with one finger per hand! [blush] cmu:-)

Yep, mine's similar, with my path being:

php /home/xxxxxxxxxxxx/public_html/avon-weather.com/templates/plugins/weatherCat/weatherCat.php

And I successfully created a CRON job. But I get an email telling me"

Quote
Status: 404 Not Found
X-Powered-By: PHP/5.6.24
Content-type: text/html; charset=UTF-8

No input file specified.

Thanks for your suggestions!
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 06:50:00 PM
OK, in that case go to your Main settings, right at the very bottom enable debugging mode. Then look at your homepage and copy here all the errors you get

Quote
Notice: Undefined variable: moreclouds in /home/smorris/public_html/avon-weather.com/template/scripts/headerMetar.php on line 832

Notice: Undefined variable: getConditions in /home/smorris/public_html/avon-weather.com/template/scripts/headerMetar.php on line 908
Data for block updates could not be loaded from meteotemplate.com. If you have problems with this feature and it still does not work, then contact me (Jachym) or disable the update check in your main setup.
Data for block updates could not be loaded from meteotemplate.com. If you have problems with this feature and it still does not work, then contact me (Jachym) or disable the update check in your main setup.
8.0 mph
   Meteotemplate
Brno   
Template unregistered

Fatal error: Call to undefined function session_status() in /home/smorris/public_html/avon-weather.com/template/menu.php on line 21

Thanks for helping with this, Jachym
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 06:52:52 PM
Are you using your own server? Because this is strange, the error is generated by undefined station_status function, which however should be supported by 5.4+

http://php.net/manual/en/function.session-status.php

Can you ask your provider? Or if using your own server, check that you really have this installed correctly, it should definitely be part of 5.6
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 06:54:41 PM
https://forums.freebsd.org/threads/55236/
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 07:02:54 PM
Are you using your own server? Because this is strange, the error is generated by undefined station_status function, which however should be supported by 5.4+

http://php.net/manual/en/function.session-status.php

Can you ask your provider? Or if using your own server, check that you really have this installed correctly, it should definitely be part of 5.6

I am using a commercial hosting company called HostDime. I've been with them for about 17 years, and they host a lot of commercial accounts. Mine is a personal account of morrisgarage.com, where avon-weather.com is a subdomain. "smorris" is my account name in the path.

I wouldn't begin to know what to ask them, as I know nothing about server stuff. All I know how to do is some basic HTML and blindly following instructions for things I don't understand. The latter frequently gets me in situations like this.  :)
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 07:05:23 PM
https://forums.freebsd.org/threads/55236/

I looked at the linked page, but I don't know what any of that means. Maybe I should stick with my current web page. ;)
Title: Re: Meteotemplate
Post by: xairbusdriver on November 01, 2016, 07:14:34 PM
Quote
Yep, mine's similar, with my path being:

php /home/xxxxxxxxxxxx/public_html/avon-weather.com/templates/plugins/weatherCat/weatherCat.php

And I successfully created a CRON job. But I get an email telling me"

Quote
Status: 404 Not Found
X-Powered-By: PHP/5.6.24
Content-type: text/html; charset=UTF-8

No input file specified.
OK, I'll pass the baton on to jachym, as I don't use his very nice and amazingly complete template. [blush] He will probably know what the file/plugin-name that you need to be using (I'm assuming it is something he has in his template).
Title: Re: Meteotemplate
Post by: wurzelmac on November 01, 2016, 07:23:27 PM
Hi Steve,

what about trying it with this ( https://cron-job.org/en/ ) one just as test?

(If nothing other helps...)

Update:
Another shot in the blue: With my webhoster (HostEurope) I did have problems with read/write permissions, maybe you have to set permissions manual.
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 07:30:00 PM
Use cron-job.org.

I use external webhosting and I know nothing about servers... but the above is a safe bet
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 07:31:07 PM
https://forums.freebsd.org/threads/55236/

I looked at the linked page, but I don't know what any of that means. Maybe I should stick with my current web page. ;)

It is a stupid one line problem so it would be a shame to abandon it just because of that. Email your provider and ask them why this particular function is undefined. Also send them link to the PHP documentation page I sent you. They should know. This functino is a standard part of the version you are using, it is a problem on their end.
Title: Re: Meteotemplate
Post by: xairbusdriver on November 01, 2016, 07:40:30 PM
Quote
Use cron-job.org
Well, no matter what 'sevrice' is used, the 'command' must be able to find/read/access the file. If "weatherCat.php" is the file, first double-check you've spelled it correctly and then make sure you have the complete path. And, as Reinhard pointed out, contact them about permissions for the file (whatever it is). But while you have their attention, ask them kindly how to construct the 'command'. That should be dead simple for them. [banghead] And completely free, BTW. It also sometimes helps to ask for a "supervisor" or the next layer of support above the phone-answerer/screen reading 'tech'. Sometimes the first person you speak with knows less about computers than you do! [lol]
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 07:43:34 PM
Thats what always happens to me :D

When I need help I am in touch with some woman in India or other Asian country, who knows probably 1/10th of what you do and can only direct you to the particular help section on their page (which you have previously read 5 times and didnt find the answer there) :D
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 08:06:34 PM
Thanks guys,

I was away for a few there while swapping in 32 GB RAM that arrived today. :) Heading outside to do some yard work while it is 78?F, as it'll probably be snowing next week.

I'll see what I can find with the above problems. HostDime prides themselves in 100% local USA English/Spanish support (They are in Florida) I've never had a problem they couldn't solve quickly and with much patience.

Thanks,
Steve
Title: Re: Meteotemplate
Post by: Steve on November 01, 2016, 10:27:53 PM
Okay, I've got the page showing now. My hosting company indeed has PHP 5.6, but a hidden file in my directory that accesses it called .htaccess was still pointing to 5.3, so we have that fixed. Now I have a basic version of the web page showing!

(http://www.morrisgarage.com/skitch/Avon_Weather-20161101-182320.jpg)

Now I need to follow the next steps and set the rest of it up.

Tech support confirmed that the command line for the CRON job was correct, and I tried it again after getting done with the support call. It still got the same error, so I have something else wrong. I'll delete that, and try the third party CRO suggested.

Quote
Status: 404 Not Found
X-Powered-By: PHP/5.6.24
Content-type: text/html; charset=UTF-8

No input file specified.

But I'm making progress! Thanks for the suggestions, encouragement, and support!
Steve
Title: Re: Meteotemplate
Post by: jachym on November 01, 2016, 11:07:40 PM
Before setting the CRON, simply try the URL in the browser, if it does not work in the browser it will not work in the CRON page. Use the testUpdate feature.
Title: Re: Meteotemplate
Post by: xairbusdriver on November 02, 2016, 01:24:28 AM
the .htaccess file should be visible if you are using a good ftp program. As a matter of fact, the app I use has that as the default setting. Surely looking at your files via cPanel shows those, also. They certainly need to be seen my the owner of any site. Most hosting companies put a basic one in your home folder. They can be very useful and powerful even if a bit confusing. This is a perfect example of why you should be able to see the file. Like most files, they are nothing more than plain text files that any text editor can open/edit/write.

Your Mac will also hide any file starting with a period in Finder, supposedly this protects users from deleting required files. I don't see a setting in Finder to change that behavior, however. :o Since I don't use Finder, I've not thought about that capability not being there. [banghead]

jachym, I believe he mentioned he'd "poked" the url into a browser back in message #225 and it worked fine. That proves the file is there, but the 'path' in a browser is not the same as a path while on the server. And, unless he gets that file correct, I don't think it will matter how he creates the CRON, in cPanel or the website mentioned.
Title: Re: Meteotemplate
Post by: Steve on November 02, 2016, 09:16:12 PM
Okay, I've got the CRON job working using cron-jon.org. Thanks, Reinhard!

- Those of you that exported WeatherCat data in the 2016/11/02T16:33:00 handle it when it was expecting the following?

2016-11-02 16:33
Format: Y/m/d H:i

I tried using WU, but it gave me the following error when I poked the test button:
Quote
Loading data from: https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KOHAVON11&month=11&year=2016&day=02&format=1


Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/smorris/public_html/avon-weather.com/template/admin/showWUFields.php on line 20

Warning: file_get_contents(http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KOHAVON11&month=11&year=2016&day=02&format=1): failed to open stream: no suitable wrapper could be found in /home/smorris/public_html/avon-weather.com/template/admin/showWUFields.php on line 20
Unable to load data from WU or incorrect WU specified.


- No UV Index?


- Jachym, I see that you have soil data plugins for other software packages. How about one for WeatherCat, too? (Leaf Wetness 1-4, Leaf Temperature 1-4, Soil Temperature 1-4, Soil Moisture 1-4, and ET)


- I followed the instructions to change the icon to my Davis VP2, and did change the one on the first "icons" folder. But the instructions tell me to change the ones in the dark and light folders in the icons folder in "homepage", but there are no such folders or icons.


- The web site name and location that I poked into the setup page still show as Metetemplate and Brno.


- The map under the Climate pulldown is missing, and the map when I click Avon, Ohio is broken.



- METAR for Cleveland, Ohio (KCLE) shows as invalid, as do any other cities I click on on the METAR pulldown.



- Models, RADAR, Extremes, and Warnings don't do anything yet. I assume I need to add blocks for these.


I've got it offline right now, and deleted all but one of the database entries until I could get the old data to import. I haven't even started messing with blocks yet, until I get the basics all working.

I haven't figured out where to put my information in the footer yet, as well as where to put my page tracking scripts. These are easy when each page is a simple HTML page, but I've never fiddled with CSS, so there's a steep learning curve for me. It looks like I'll have several text blocks to do the same stuff I'm currently doing on my basic web page, simply copying that data over to the text block (Soil data, Steel Series gauges, maps and radar, UV Index, contact info (mailto: ), school closing, disclaimer, etc.

I'll just add to it slowly and see if I like how it turns out. My page is sorely in need of an overhaul, and Meteotemplate is pretty amazing. But the adkins family template from 5+ years ago has some great features not on most other templates I've tried over the years!

Test page is at http://www.avon-weather.com/template


Thanks for all the help and suggestions, especially to Jachym!
Steve



BTW, XAir: Poke has stuck with me since CPM and HP BASIC in the early '80s. it was a command used to put data into an array. Peek was used to look in the array. BASIC was easy, as was early HTML. I've not progressed beyond that point, which is why I'm so lost all the time...
Title: Re: Meteotemplate
Post by: jachym on November 02, 2016, 09:29:24 PM
Hi Steve,
I dont have time to answer all the questions, so just to start:
- UV - is included in the current conditions (current conditions block, gauges block)
- homepage icons, ignore that, I should change that, it is no longer relevant
- website name etc. - specified in the main settings at the bottom, in the section you said you ignored so far
- the other errors - I suspect a server problem, also the error you get for the WU, this means your server has the allow_url_fopen set to 0, this is going to cause major problems in practically any block or plugin that uses external data - including all the Metars, forecasts, warnings etc.

You should ask your provider to enable this, this basically blocks your server from the "outside" and is most likely the cause of all the other errors
Title: Re: Meteotemplate
Post by: wurzelmac on November 02, 2016, 10:04:53 PM
Steve,

in V9 as I imported previous data it was a bit different, I think.

So if you have the chance to open this url
http://www.avon-weather.com/template/admin/import.php (it is secured with authorization that only you can know)
there is an icon for WunderGround import. Herein specify your WU ID and click on *show field numbers*. Another window opens and this one I recommend to print out. After that you can fill out the corresponding field numbers and then import data.

If you have already done that before with no success, than I am empty with suggestions.  :-[

Cheers,
Title: Re: Meteotemplate
Post by: jachym on November 02, 2016, 10:29:16 PM
Hi,
it is not going to work, he will get the same error.

Steve, that furl_open disabled means that PHP scripts can only load data from the same server, it will not allow you to load any data from any external url, which includes for example also the METAR, any warnings, models, forecasts, also the data from WU obviously... in other words you must enable this by all means for these to work, but it should not be a problem, just ask your provider.
Title: Re: Meteotemplate
Post by: Steve on November 02, 2016, 10:38:24 PM
Hi Steve,
I dont have time to answer all the questions, so just to start:
Thanks so much! I didn't expect to see an answer from you tonight, as you are six hours ahead of me. I appreciate it!



Quote
- UV - is included in the current conditions (current conditions block, gauges block)

Solar Radiation is imported and shown as described, but UV Index is not. I don't know if Solar Radiation is used in media in Europe, but other than amongst meteorology enthusiasts it is all but unknown un the US. However UV Index is shown on television weather reports and warnings frequently during the summer, and is what visitors to my web site expect to see. WeatherCat exports the current UV Index (as well as the soil data I asked about) but you are not using that field.

Quote
- homepage icons, ignore that, I should change that, it is no longer relevant

Thanks for clarifying.


Quote
- website name etc. - specified in the main settings at the bottom, in the section you said you ignored so far

Oops! Somehow I skipped over that, while I filled in the items below. All I've skipped on the setup page is the width/color/mobile settings.


Quote
- the other errors - I suspect a server problem, also the error you get for the WU, this means your server has the allow_url_fopen set to 0, this is going to cause major problems in practically any block or plugin that uses external data - including all the Metars, forecasts, warnings etc.

I'll check with them on that. Thanks!


Quote
You should ask your provider to enable this, this basically blocks your server from the "outside" and is most likely the cause of all the other errors

Okay, thanks again for your patience. I've read through the wiki a lot over the past four days, but much of this isn't covered. Your usual user is probably more savvy than me. :)


Reinhard, That's where I was trying to import via WU, and got the above error.

So, no one has tried exporting their data as a CSV and then import it into Meteotemplate? That's where I'm running into the above time problem.

Thanks gang!
Title: Re: Meteotemplate
Post by: jachym on November 02, 2016, 10:43:43 PM
Hi Steve,
I guess based on my "daily regime" we probably go to bed at the same time :D When I was replying to your post I was just leaving my office so I didnt have much time and was in a hurry to catch the night bus :D Now Im at home and have about 4 hours to work on Meteotemplate :-)

UV is included in some of the blocks etc. When I was creating MT over a yr ago I didnt know some stations measure it and my station does not even measure solar so it is problematic for me to test this. There are other reasons for not including UV in the db as well (eg. it is not included in most log files by other SW etc.). Right now it would mean rewriting all the scripts, so it just is only in the current blocks.

I did include the soil T etc. in the WCat plugin so that it can be later on included in the blocks you mentioned, just a matter of time, but it is planned

I will look carefully at your CSV problem now, as I said, I was in a hurry when I was replying
Title: Re: Meteotemplate
Post by: jachym on November 02, 2016, 10:46:04 PM
WU is not very reliable so even when you get the furl thing sorted out, if there is other possibility of importing data, then go for it.

Can you please tell me what exactly was the problem when trying to import the data, what the format of the date is etc. Or just post a link to one of these CSV files I will try it on my test server
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 01:12:13 AM
Soil T block should be ready soon, I will make it a priority, I remember I included all that info in the WCat current conditions file so that I can add support for WCat to that block too and then I forgot about it :D
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 12:58:48 PM
OK, I need your help now :D

I need someone to provide me a link to their realtimeMT.txt, which also includes the soil temperature etc. data, I need something to test it.
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 01:12:29 PM
http://avon-weather.com/realtimeMT.txt
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 01:26:50 PM
Thanks, but the problem is that this file has no data for the soil temperature, soil moisture etc. If you look at the fields, they are all 0 (or in case of temperature 32.0F, which is 0C)

The fields are ST1 (soil T), SM1 (soil moisture) and LW1 (leaf wetness)

Do you measure this? The tag was not replaced by WCat
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 02:38:54 PM
Yea, that's just poor timing. My Soil Station transmitter and Davis Console periodically lose communication with each other. Sometimes it'll be weeks, between, others a day apart. I haven't been able to track down the problem. Right now it is not communicating. It should show correctly in a couple of hours. Sorry for the confusion.

(http://www.morrisgarage.com/skitch/Banners_and_Alerts-20161103-103118.jpg)

I have sensors for:
Soil Temp 1,2, and 4
Soil Moisture 1,2,and 4
Leaf Wetness 1
Leaf Temperature 1 is calculated; there is no sensor for that.
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 02:40:34 PM
The plugin shows soil T, soil moisture and leaf wetness and it will take values from your sensors "1"
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 02:56:46 PM
Can you please tell me what exactly was the problem when trying to import the data, what the format of the date is etc. Or just post a link to one of these CSV files I will try it on my test server

The import problem was with the time format in the WeatherCat data. It is shown as 2016/11/02T16:33:00 when it expects to see 2016-11-02 16:33 using format: Y/m/d H:i

Testing the input results in the following:

Quote
Testing CSV/text file...

Errors will be highlighted in red...

Loading CSV/text file from 2011.csv

File loaded successfully.
Header row in the file, skipping first line.

The tested file has 33397 data sets. This import test will load only the first line.



Starting to parse data.

Loading line 1...
Separating fields...
Decimal separator is a period, no need to do anything, can be parsed by PHP.


Parsing date and time...Date and time in a single field.
MySQL accepts date and time in format YYYY-MM-DD HH:MM, the parsed date and time is:



Parsing variables...

Temperature
Raw value: 64.3
Database temperature units: F
File temperature units: F
Same units, no need to do any conversion.
Final temperature value: 64.3 F

Humidity
Final humidity value: 61 %

Pressure
Raw value: 29.293
Database pressure units: inhg
File pressure units: inhg
Same units, no need to do any conversion.
Final pressure value: 29.29 inhg

Wind speed
Raw value: 1.0
Database wind speed units: mph
File wind speed units: mph
Same units, no need to do any conversion.
Final wind speed value: 1.0 mph

Wind gust
Raw value: 11.0
Database wind speed units: mph
File wind gust units: mph
Same units, no need to do any conversion.
Final wind speed value: 11.0 mph

Precipitation
Raw value: 0.00
Database precipitation units: in
File precipitation units: in
Same units, no need to do any conversion.
Final precipitation value: 0.00 in

Rain rate
Raw value: 0.00
Database precipitation units: in/h
Rain rate is saved in the database in units per hour.
File rain rate units: in
Same units, no need to do any conversion.
Final rain rate value: 0.00 in/h

Wind direction
Final wind direction value: 48 degrees

Solar sensor enabled in main settings, reading data...
Solar radiation
Final solar radiation value: 0 W/m2


Parsing line 1 finished.
Checking validity of data based on your limits in Main settings...
Checking date and time...
There seems to be a problem with the date and time. Either it has not been parsed correctly or it is a date/time in the future! Check the format you specified and also the actual values.
Minimum temperature allowed: -40 F
Maximum temperature allowed: 120 F
Temperature OK.
Minimum humidity allowed: 0 %
Maximum humidity allowed: 100 %
Humidity OK.
Minimum pressure allowed: 28 inhg
Maximum pressure allowed: 32 inhg
Pressure OK.
Minimum wind speed allowed: 0 mph
Maximum wind speed allowed: 60 mph
Wind speed OK.
Minimum wind gust allowed: 0 mph
Maximum wind gust allowed: 60 mph
Wind gust OK.
Minimum daily precipitation allowed: 0 in
Maximum daily precipitation allowed: 200 in
Daily precipitation OK.
Minimum rain rate allowed: 0 in/h
Maximum rain rate allowed: 500 in/h
Rain rate OK.
Minimum wind direction allowed: 0 degrees
Maximum wind direction allowed: 360 degrees
Wind direction OK.
Minimum solar radiation allowed: 0 W/m2
Maximum solar radiation allowed: 2000 W/m2
Solar radiation OK.

Calculating dew point based on parsed values...
Temperature and humidity both valid... converting and calculating dew point....
Dew point calculated: 50.54 F
Calculating apparent temperature based on parsed values...
Temperature, humidity, and wind speed all valid... converting and calculating apparent temperature....
Apparent temperature calculated: 64.04 F

Summary
There is a problem with the date and time, nothing would be imported. Check the date/time format you specified and the actual values in the file.




--- END ----

The file is located at http://www.avon-weather.com/template/admin/2011.csv
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 03:09:32 PM
I'm still catching up from yesterday's comments, so bear with my slowness.


UV is included in some of the blocks etc. When I was creating MT over a yr ago I didnt know some stations measure it and my station does not even measure solar so it is problematic for me to test this. There are other reasons for not including UV in the db as well (eg. it is not included in most log files by other SW etc.). Right now it would mean rewriting all the scripts, so it just is only in the current blocks.

I did include the soil T etc. in the WCat plugin so that it can be later on included in the blocks you mentioned, just a matter of time, but it is planned

Okay, I wrongfully assumed that you were not bringing in UV and soil data. When I was mapping the fields for importing my six years of data, it did not ask for UV or any soil data, so I assumed you were not using it. That was my error. You may be storing new data (brought in by the weatherCat.php plugin) in the database, but not bringing in any historical data. I haven't looked in the database to see what you are storing (or even know how to look in there.)

Since I'm just creating this new database, I was hoping to bring in six years of historical data, including the soil info. A lot of the information is just transient (displayed and then forgotten) such as UV, current temp, etc. Soil data (including ET) needs to have historical data for trends, year over year comparisons, etc. If I end up replacing my main weather web page with MeteoTemplate, I can simply create text blocks with WeatherCats's graphs and statistics.

Thanks for the clarification. My web site has been static for a few years, and I'm enjoying the challenge to learn something new. Your patience is greatly appreciated!
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 03:37:18 PM
furl_open is now enabled! Metar and WU access now work. Not importing from WU yet, unless the WeatherCat historic data time problem can't be solved. I'll see what else I can break now... ;)

Slowly making progress. :)
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 03:57:53 PM
OK and what if you try for the date, specifying this format:

Y/m/d\TH:i:s

that should work
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 04:11:09 PM
Nope, same errors. I'd tried with the "T" in there before, but not the seconds. According to your linked reference, T is for time zone, and it is then expecting a different format.

Maybe I'll have to use the WU import after all.

Wait: Let me try something else. BRB...
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 04:14:20 PM
Yes, but make sure that you put the backslash in front of the T, that tells the script it should ignore the "meaning of T" and take it literally as the letter T
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 04:33:17 PM
I'd copy/pasted your format, so I had the backslash. WeatherCat's time has hyphens, so I tried Y-m-d\TH:i:s and Y-m-d\TH:i without the seconds and neither worked.

My idea was to open the file in Excel and save as a .CSV, which stripped the "T" and added a space. But it also did something else, because when I pushed the "Show Field Numbers" button, I got this:

Quote
Loading file...

Loading CSV/text file from 2011m.csv

File loaded successfully.
Header row in the file, skipping first line, using for field labels.


Starting to parse data....


Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 8388608 bytes) in /home/smorris/public_html/avon-weather.com/template/admin/showFields.php on line 53

Even if I skipped showing the field numbers, because they were already set from the other attempt, it still had the same time errors.
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 04:37:42 PM
OK, then the best thing would be if you could post here the URL of the file on your server and I will look myself
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 05:06:34 PM
Yep, the file is located at http://www.avon-weather.com/template/admin/2011.csv

And the Excel modified one is located at http://www.avon-weather.com/template/admin/2011m.csv



You may not have seen the previous post, but I got the furl_open enabled. Thanks!

And my comments on UV and soil data in post #261, so that's cleared up.
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 05:12:07 PM
OK, I looked at the first link, there is no "T", remember that you must open it in some text editor, not Excel, the raw format of the first two rows is:

Code: [Select]
Date, Conditions, Ext. Temperature,Dew Point,Wind Chill,Pressure,Wind Speed (10 Min. Average),Average Wind Direction,Precipitation Per Hour,Precipitation Total,Ext. Humidity,Int. Humidity,Int. Temperature,Wind Gust (10 Mins),Solar Radiation,UV Index,Leaf Wetness 1,Leaf Wetness 4,Soil Moisture 1,Soil Moisture 2,Soil Moisture 4,Leaf Temperature 1,Leaf Temperature 2,Soil Temperature 1,Soil Temperature 2,Soil Temperature 4,Monthly Rain,Annual Rain,Daily E.T.,Monthly E.T.,Annual E.T.
2011-09-06 22:00:00,Light Clouds,64.3,50.6,64.3,29.293,1.0,48,0.00,0.00,61,44.0,80.6,11.0,0,0.0,0,0,0,0,0,0.0,0.0,32.0,32.0,32.0,0.00,0.00,0.00,0.00,0.00,

So the date time should work as "one field" and then

Code: [Select]
Y-m-d H:i:s
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 05:15:48 PM
I've done that, and just did again on the Excel modified file. Same error. Maybe it doesn't like the seconds?


Quote
Starting to parse data.

Loading line 1...
Separating fields...
Decimal separator is a period, no need to do anything, can be parsed by PHP.


Parsing date and time...Date and time in a single field.
MySQL accepts date and time in format YYYY-MM-DD HH:MM, the parsed date and time is:



Parsing variables...

Temperature
Raw value:
Database temperature units: F
File temperature units: F
Same units, no need to do any conversion.
Final temperature value: 0.0 F

Humidity
Final humidity value: %

Pressure
Raw value:
Database pressure units: inhg
File pressure units: inhg
Same units, no need to do any conversion.
Final pressure value: 0.00 inhg

Wind speed
Raw value:
Database wind speed units: mph
File wind speed units: mph
Same units, no need to do any conversion.
Final wind speed value: 0.0 mph

Wind gust
Raw value:
Database wind speed units: mph
File wind gust units: mph
Same units, no need to do any conversion.
Final wind speed value: 0.0 mph

Precipitation
Raw value:
Database precipitation units: in
File precipitation units: in
Same units, no need to do any conversion.
Final precipitation value: 0.00 in

Rain rate
Raw value:
Database precipitation units: in/h
Rain rate is saved in the database in units per hour.
File rain rate units: in
Same units, no need to do any conversion.
Final rain rate value: 0.00 in/h

Wind direction
Final wind direction value: degrees

Solar sensor enabled in main settings, reading data...
Solar radiation
Final solar radiation value: W/m2


Parsing line 1 finished.
Checking validity of data based on your limits in Main settings...
Checking date and time...
There seems to be a problem with the date and time. Either it has not been parsed correctly or it is a date/time in the future! Check the format you specified and also the actual values.
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 05:17:30 PM
OK, just a sec, Im gonna try it on my test server and see what is hapenning
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 05:21:04 PM
First link works fine for me:

Code: [Select]
Testing CSV/text file...

Errors will be highlighted in red...

Loading CSV/text file from http://www.avon-weather.com/template/admin/2011.csv

File loaded successfully.
Header row in the file, skipping first line.

The tested file has 33397 data sets. This import test will load only the first line.



Starting to parse data.

Loading line 1...
Separating fields...
Decimal separator is a period, no need to do anything, can be parsed by PHP.


Parsing date and time...Date and time in a single field.
MySQL accepts date and time in format YYYY-MM-DD HH:MM, the parsed date and time is: 2011-09-06 22:00



Parsing variables...

Check the date...

Look at the screenshot and use exactly the same thing
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 05:33:39 PM
Wait, that worked, and is exactly in the format I tried before! Only difference was I had overwrite instead of skip!

Weird!!!

Thank you, and sorry for the seemingly endless confusion on my part. I'll import these now one year at a time, and then turn my CRON job back on.
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 05:50:14 PM
Grrrrrr! Stupid me!  [banghead] [banghead] [banghead] [banghead]

The 2011.csv file on my web space was not as exported by WeatherCat. After the problems yesterday, I had deleted it from the server, and then this morning, replaced it with the local copy.

Except the local copy had been modified, and I forgot when I uploaded it. Yesterday, I tried an experiment, where I opened the .csv file in TextWrangler, and did a find/replace for all of the "T" in the file. Then spent about an hour putting back the Ts that were supposed to be there, such as in the header, and several conditions.

Since we know that the modified file worked, I can do it to the other years. But since the import tool doesn't use "conditions", I can skip fixing them, and copy/paste a fixed header. I'll do that after lunch.

Every time I make progress, I do something to set myself behind...
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 07:17:04 PM
OK, I've got 2011 through 2015 .csv files all fixed and ready to import as separate year files. I'll do 2016 to the current date once they are all in.

Except it didn't work as expected...

The file for 2011 begins September 7, 2011 through the end of December 31, 2011.

But it only loaded through November 12, 2011 at 00:20:00 and then stopped. Nothing is significantly different in the next line other than a slightly higher pressure. No limits are exceeded, no extra comma or character.

Here was the error:
Quote
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@avon-weather.morrisgarage.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Thoughts? Suggestions? There is nothing in the error log near the time of this import, just from my previous errors.

[EDIT] I tried importing again and it added five more lines. Another try didn't change anything.
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 07:33:46 PM
Seems like I'm writing a book here. :)

It seems file size related. I deleted all the lines that were imported and it then saved the rest of 2011. I imported the 2012 file and it made it to March 5 at 18:07. So about ten weeks worth of data at five minute intervals. I'll continue importing a chunk at a time.
Title: Re: Meteotemplate
Post by: wurzelmac on November 03, 2016, 07:45:36 PM
Steve,

my Wunderground import ends up somewhere in  January 2013 - I got really crazy why I wasn't able to add data before this date. Then I realized that I changed my station at this time and have had much more sensors. So if you have added sensors or have changed/upgraded your station in the meantime take that in care.

BTW, I began to import data from recent to ancient - first 2016, then 2015, ... , till I ended up in 2008.

Good luck - if you are running the website with all data in there it is simply crazy what you can do with it. Fingers crossed!
Title: Re: Meteotemplate
Post by: Steve on November 03, 2016, 09:20:41 PM
Whew!!! All data has been uploaded to the database from September 7, 2011 until this minute in five minute increments. Each year had to be uploaded in six chunks of about 19,000 lines each. Plus the CRON job is uploading as it is supposed to so the weather station shows as live!

That was a big chunk of time to figure out the problems and edit/upload the files. I'm not sure how that compares to doing it via Weather Underground.

 [bounce]

Now, on to the next item...

Thank you Jaclyn and Reinhard!!!!!
Title: Re: Meteotemplate
Post by: Blicj11 on November 03, 2016, 09:43:00 PM
So Steve, what do you do in your spare time?  ;)
Title: Re: Meteotemplate
Post by: jachym on November 03, 2016, 10:40:02 PM
LOL, yes this is down to the maximum execution time for PHP set on the server and the speed at which it is able to process the data. So you must do it in chunks.
Title: Re: Meteotemplate
Post by: mcrossley on November 04, 2016, 10:08:51 AM
You could try adding a function to "set_time_limit(seconds);" at the top of the script?
Title: Re: Meteotemplate
Post by: jachym on November 04, 2016, 10:20:54 AM
In 99% of cases, the maximum_execution time for PHP cannot be changed unless you are running your own server. This is because 99% of web hosting providers (including mine) block changing certain parameters from the php.ini. These usually are those parameters that directly affect speed etc. In my case, I for example cannot change execution time, maximum file upload size, maximum number of PHP scripts executed simultaneously etc.
In other words - parameters that affect server load. And the higher hosting plan, which costs twice as much, has these set to much higher values. Same goes for the memory limit, time limit etc. So even if you run the

set_ini....

command its not going to do anything, it will be overridden by that global server setup. This is only possible if you are using your own server and for some parameters that do not direclty affect the server load.
Title: Re: Meteotemplate
Post by: mcrossley on November 04, 2016, 11:38:55 AM
That's why I added a question mark ;) Is it worth adding a timeout anyway, if it doesn't work no harm done, if it does then...

Safe mode has to be off for this function to have effect as well. Not sure what a good value would be as I have no idea how long these scripts run.
Title: Re: Meteotemplate
Post by: jachym on November 04, 2016, 11:51:04 AM
The problem is that once the script times out, you can no longer do anything.

So what I did for the WU import for example is that after each day is uploaded, it overwrites the cache file and in that file it just saves "I successfully saved day XY". Then the last day it is able to execute, but not finish, will not even be in this cache file, so I included instructions you must then go to this cache text file where you will see a date and that date will be the last fully uploaded day and you have to execute the import again starting from this day. And depending on server speed you have to repeat this procedure untill you import all the data.

With WU it is particularly problematic because they only give you data on a daily basis, so you have to load each day on a separate page, so importing a yr would mean separately loading 365 pages and WU servers are also not the fastest, in my experience, you can import approximately 2 weeks to 3 months in one go, depending on your server speed.
Title: Re: Meteotemplate
Post by: Steve on November 04, 2016, 03:54:58 PM
Jachym,

A question for you concerning duplicating Blocks. I want to create a copy of the Gauges Block with only the UV Gauge showing. I realize that two of the same Blocks cannot be on the Homepage.

- I made a duplicate of the Gauges folder, and renamed it uvGauge
- I renamed the duplicate Gauges.php and GaugesConfig.txt to uvGauge.php and uvGaugeConfig.txt
- I used Text Wrangler to change the name and namespace inside all of the files from Gauges to uvGauge

But of course, it didn't work, because I'm just a hack guessing at how this works. ;)

What I'm trying to do is create a Multiple Block in the sidebar, with the UVgauge at the top, and the uvForecast below. But since I have Gauges in my center column, I can't simply have Gauges twice.

Thanks for any suggestions you may have.
Steve
Title: Re: Meteotemplate
Post by: jachym on November 04, 2016, 04:15:53 PM
Hi,
not sure what exactly you have / have not done, basically:

you need to rename:
gaugesBlock to uvGaugeBlock
gaugesBlockConfig to uvGaugeBlockConfig
then inside uvGaugeBlockConfig change the namespace

that should be all, do not change any names of other files, only the "*Block" needs to be changes, the other files are referenced by the script inside the Block script
Title: Re: Meteotemplate
Post by: Steve on November 04, 2016, 04:29:29 PM
Well, that worked! Thank you, again.

Apparently I don't have subBlock figured out how to correctly stack uvGauge on top of uvForecast, though

multipleBlock(uvGauge,100;subBlock[uvForecast],100)

Time for lunch again, and then a macro seminar at the local photography store. Back later...
Title: Re: Meteotemplate
Post by: jachym on November 04, 2016, 04:33:07 PM
Im not sure what you are trying to achieve, what is the point of creating a subblock with just one block, it is then equivalent to normal multiple block,

see
http://www.meteotemplate.com/web/wiki/blockGuide.pdf
Title: Re: Meteotemplate
Post by: Steve on November 04, 2016, 05:33:48 PM
Because I thought it was going to look like this:

(http://www.morrisgarage.com/skitch/ForkLift-20161104-133240.jpg)

Instead of this:

(http://www.morrisgarage.com/skitch/ForkLift-20161104-133336.jpg)

Thinking it would look more like one item; current UV and UV Forecast, rather than two separate Blocks.

When I did Multiple Block, it looked like this, even though I set both at 100% width:

(http://www.morrisgarage.com/skitch/ForkLift-20161104-133712.jpg)


I guess my mistake was thinking that sub-blocks were for stacking blocks within one parent block.
Title: Re: Meteotemplate
Post by: jachym on November 04, 2016, 05:48:03 PM
If you set the width to 100% then it tries to span the whole column width
Title: Re: Meteotemplate
Post by: Steve on November 04, 2016, 08:34:04 PM
I don't think we're talking about the same thing, but never mind for now.

Another question: Is there a way to tell yr.no what time zone the meteograph should be in the meteographBlock? I am at UTC -5, and on the yr.no web site looking at the Cleveland Ohio meteograph, it correctly shows the start of the graph at 16:00 local time. But the meteograph on my web page, when set to Cleveland Ohio, shows the chart beginning at 21:00. So I have no forecast showing for the next five hours. This is consistent, as it was five hours ahead last evening, too.
Title: Re: Meteotemplate
Post by: jachym on November 04, 2016, 09:36:04 PM
Probably not, the data is taken from the yr.no RSS feed and the time is converted, but they probably do not give more information
Title: Re: Meteotemplate
Post by: Steve on November 04, 2016, 10:49:22 PM
Okay, thanks!
Title: Re: Meteotemplate
Post by: Steve on November 05, 2016, 05:31:53 PM
Jachym,

Can you tell me what these two blocks are? I can't seem to find any that match those features.

Thanks,
Steve
Title: Re: Meteotemplate
Post by: jachym on November 05, 2016, 05:41:25 PM
Which blocks
Title: Re: Meteotemplate
Post by: Steve on November 05, 2016, 05:59:14 PM
Doh!! I forgot to attach the image.

(http://www.morrisgarage.com/skitch/Meteotemplate-20161105-133006.jpg)

I found the top one; socialNetworks. Haven't found the bottom one.

Sorry for the confusion...
Title: Re: Meteotemplate
Post by: jachym on November 05, 2016, 06:17:44 PM
info :)
Title: Re: Meteotemplate
Post by: Steve on November 05, 2016, 06:33:37 PM
Thanks, I hadn't found that one yet. I just stuck it on my test page with a bunch of other plugins and blocks.

Gotta get outside to rake leaves!
Title: Re: Meteotemplate
Post by: Steve on November 05, 2016, 09:09:01 PM
Jachym,

I've added the radarUS block to my test web site. There is an image missing in the icons file.

homepage-->blocks-->radarUS-->icons-->light-->soilMoisture.png

I did a half-assed job of creating an inverted copy of the dark version, but when you get around to creating the light version, please send me a copy.

Thanks
Title: Re: Meteotemplate
Post by: jachym on November 05, 2016, 09:17:44 PM
Here you go
Title: Re: Meteotemplate
Post by: Steve on November 05, 2016, 10:00:13 PM
Thank you. I've added it to the server, and into my local copy of the zipped file.

I'm enjoying experimenting! Sometimes it doesn't draw the arrow on my UV gauge, and sometimes it doesn't draw the rain block images. So I empty the station cache, and it seems to work okay for a while.

Link in my sig to the current arrangement. Still plenty of playing around to do.

Thank you for creating this and being so helpful here with us WeatheCatters!
Steve
Title: Re: Meteotemplate
Post by: Steve on November 05, 2016, 10:21:45 PM
Feature Request: I'd like t see Instagram added to the socialNetworks plugin and the weatherNetworks block.
Title: Re: Meteotemplate
Post by: jachym on November 05, 2016, 10:27:59 PM
I can add a link to the weatherNetworks block, there is no social networks block, just a plugin and that one is connected to the FB API, so it wont work by simply putting in Instagram link there
Title: Re: Meteotemplate
Post by: Steve on November 05, 2016, 10:31:37 PM
It was just a thought, as I see a lot of interesting weather photos on Instagram. I've had an account for a long time, but haven't posted anything to it. All my Instagram photos go on my traveling account. :)

I just realized that there is a tiny slice of the Moon in the header. Very cool!
Title: Re: Meteotemplate
Post by: jachym on November 05, 2016, 10:32:37 PM
The header shows the current Moon phase, but only if it is night-time and if it is not cloudy.

I can add a link to the weather networks block
Title: Re: Meteotemplate
Post by: Steve on November 05, 2016, 10:46:38 PM
The header shows the current Moon phase, but only if it is night-time and if it is not cloudy.

I've been fiddling with it the past several evenings, but it has been cloudy, so this was the first time I saw it. Nice touch!
Title: Re: Meteotemplate
Post by: Steve on November 06, 2016, 07:06:00 PM
Reinhard,

How did you get the Davis VP2 silhouette on your station status and info blocks? It shows properly on my "Weather Station" and "Info" pull-down tabs, but on the two blocks it is the generic station.

Having spent a bunch of time moving blocks around on my test site, I now appreciate how much time your layout must have taken!
Title: Re: Meteotemplate
Post by: jachym on November 06, 2016, 07:36:26 PM
It is always downloaded from the blocks "icons" folder, so just replace the station.png in there with whatever you want, just make sure you replace both the dark and light versions (both can be downloaded from meteotemplate.com)
Title: Re: Meteotemplate
Post by: Steve on November 06, 2016, 10:43:39 PM
Jachym,

Thank you, sir! I'd remembered the other day that you'd said the wiki instructions for the main icon folder were wrong, buy I never thought to look in the individual blocks' icon folder.

That looks better!
Title: Re: Meteotemplate
Post by: wurzelmac on November 07, 2016, 04:22:30 PM
Reinhard,

How did you get the Davis VP2 silhouette on your station status and info blocks? It shows properly on my "Weather Station" and "Info" pull-down tabs, but on the two blocks it is the generic station.

Having spent a bunch of time moving blocks around on my test site, I now appreciate how much time your layout must have taken!

Sorry, too late - Jachym already answered your question. Yes, it is really a time-killer - but a nice one!  :)
I look very often at your site, too - watching the progresses you make. Jachym gave us a nice toy to play with! Thanks again for that, Jachym.

Cheers,
Title: Re: Meteotemplate
Post by: Steve on November 07, 2016, 11:49:55 PM
Jachym,

I have a question about the riset block showing Sun and Moon rise and set times. The graphic of the Sun's transit corresponds to the actual time shown on the chart and in the sky above. But the graphic of the Moon's transit starts immediately after sunset, regardless of the chart times or actual conditions in the sky. For instance, right now, the sun set an hour ago, so the Moon has barely started its transit. But by the chart and in actuality, the Moon is almost at its zenith.

Is it just a graphic representation of transit instead of actual conditions? If so, is there an easy way to toggle the graphic off? I see that Reinhard does not have a graphic on his riset block.

Thanks,
Steve
Title: Re: Meteotemplate
Post by: jachym on November 07, 2016, 11:54:00 PM
The top graphic shows the actual night phase, the times at the bottom are static icons
Title: Re: Meteotemplate
Post by: Steve on November 08, 2016, 12:01:33 AM
My local time is 18:59 EST, and the Moon reaches its zenith in one minute. But the graphic at the top shows it just starting its transit, which began 1:45 ago at sunset. Shouldn't the graphic of the Moon be shown at the zenith? That's where it is outside.

(http://www.morrisgarage.com/skitch/Avon_Weather-20161107-185754.jpg)


BTW, how's the WeatherCat Soil Parameters Block progressing?

Thanks
Title: Re: Meteotemplate
Post by: jachym on November 08, 2016, 12:16:51 AM
My local time is 18:59 EST, and the Moon reaches its zenith in one minute. But the graphic at the top shows it just starting its transit, which began 1:45 ago at sunset. Shouldn't the graphic of the Moon be shown at the zenith? That's where it is outside.

(http://www.morrisgarage.com/skitch/Avon_Weather-20161107-185754.jpg)


BTW, how's the WeatherCat Soil Parameters Block progressing?

Thanks

Oh... I see... sorry for the confusion, the Moon icon in this case represents "night" - so it means the night has just began. It is not related to the moon stage because that would be quite difficult to do, Moon is often visible during the day etc. The top graphic shows day/night stage.
Title: Re: Meteotemplate
Post by: jachym on November 08, 2016, 12:19:42 AM
Soil block: I will try tomorrow (or technically "today" my time) :D
Title: Re: Meteotemplate
Post by: Steve on November 08, 2016, 01:55:56 AM
Oh... I see... sorry for the confusion, the Moon icon in this case represents "night" - so it means the night has just began. It is not related to the moon stage because that would be quite difficult to do, Moon is often visible during the day etc. The top graphic shows day/night stage.

Okay, now I understand. Thanks for the clarification.

Soil block: I will try tomorrow (or technically "today" my time) :D

No rush, I was just curious. Thank you!
Title: Re: Meteotemplate
Post by: jachym on November 08, 2016, 02:26:36 AM

I see you now have data I your file so I can test it
Title: Re: Meteotemplate
Post by: mcrossley on November 08, 2016, 10:01:52 AM
Oh... I see... sorry for the confusion, the Moon icon in this case represents "night" - so it means the night has just began. It is not related to the moon stage because that would be quite difficult to do, Moon is often visible during the day etc. The top graphic shows day/night stage.

Okay, now I understand. Thanks for the clarification.
Hi Jachym, personally like Steve I would find that block very confusing - simple graphics shouldn't need 'clarification', if it does then maybe it needs a tweak? The Moon icon to me looking at that block represents its current position in the sky, after all the Sun icon does represent its position during the day ;)

Whilst calculating the Moons current position is non-trivial as you say, for the purposes of a small display a simple interpolation between rise and set times would suffice. I'd use the shading to represent the progress of the night, and the icon to represent the Moons position - but that's me! ;)
Title: Re: Meteotemplate
Post by: jachym on November 08, 2016, 10:07:10 AM
Yes I agree, with the day (Sun) it is quite obvious, but what icon would you then use for night...
Title: Re: Meteotemplate - Soil 2.0
Post by: jachym on November 08, 2016, 11:26:52 AM
Hi guys,
just updated the soil block - now also supports weatherCat, you dont have to worry about conversions or units, just give the URL to your realtimeMT and specify which sensors you want to enable.

One more thing - I highly recommend you watch the blog, everytime I release something new I post it there. But there is just so many forums with MT topic now that I really cant post everything on each one, so here I usually only post stuff that is particularly for WCat, but very often I release stuff that works for everyone, so if you want to stay up-to-date, you can watch the blog, there is an RSS feed and I also send out newsletters with summary of all new stuff approximately once per month.

If you are in the U.S. you might for example be interested in the new Snow plugin I released yesterday.
Enjoy
Title: Re: Meteotemplate
Post by: xairbusdriver on November 08, 2016, 03:17:57 PM
Quote
with the day (Sun) it is quite obvious, but what icon would you then use for night...
I think the Sun and the Moon operate on different schedules. While the Sun is always visible (assuming the clouds are not too thick) in the "day time", the Moon is not so accommodating. It is not always visible, even if it is "night time"! Therefore, it is not always a suitable metaphor for "night time". I think Alfred E. Newman wrapped up the conundrum well when he reminded us, many decades ago; "Although the Sun is many times bigger than the Moon, it's still farther away." [goofy] Hard to argue with that! (Note to Jachym: don't worry if Google can't properly translate that quotation!)

Maybe whoever wins today will tackle this problem in their first 100 days... [banghead] Or you could use the Moonrise/Moonset times, regardless of where it is in relation to "night time"? I'd contact Arrdman Animations, Ltd, they probably have the official schedules for the Moon's positions because of their connections to <cheese (https://vimeo.com/38091345)>!
Title: Re: Meteotemplate - Soil 2.0
Post by: Steve on November 08, 2016, 03:21:40 PM
Thank you! Installed and working fine. My particular color combination makes the gray on gray text a little difficult to read, but that's not important because the graphic and black text give all the important information.

(http://www.morrisgarage.com/skitch/Avon_Weather-20161108-101104.jpg)

It seems to have excess vertical spacing between the upper graphics and center graphics, and between the center graphics and the word MORE. Maybe that's due to my narrow 15% stack, though. Thanks, Jachym!

If in the future you want to offer more information, I'd request adding additional sensor data in the MORE tab. But of course, you are not grabbing that data in the upload or database.

The other bit of info I'd request is historical information, which is what soil data is all about, anyway. I have several years worth in the database that isn't being used. [EDIT] Oops, no I don't, you don't store those parameters. You just use the current info and then forget it. Nevermind. ;)

Thanks again,
Steve

Hi guys,
just updated the soil block - now also supports weatherCat, you dont have to worry about conversions or units, just give the URL to your realtimeMT and specify which sensors you want to enable.
Title: Re: Meteotemplate
Post by: jachym on November 08, 2016, 03:32:19 PM
Hi Steve,
with regards to the spacing - the block always adjusts based on the highest block height, so that there is no blank space, so if you placed it alongside some higher  block, it makes these spaces, if you use it as a separate block, it will not do this.
Title: Re: Meteotemplate
Post by: Steve on November 08, 2016, 03:40:47 PM
Ah, okay. I have three columns, so the block next to the Soil Parameter block is just random based on whatever is in the stacks above. I wouldn't think it would have any effect on spacing.

(http://www.morrisgarage.com/skitch/Avon_Weather-20161108-103611.jpg)
Title: Re: Meteotemplate
Post by: Steve on November 08, 2016, 03:46:56 PM
Feature Request:

This one's probably not possible, but I'll suggest it anyway. As a new user to Meteotemplate, I am experimenting with the layout of the block quite a bit. Several times, I have reset the homepage completely to try different column percentages. When doing so, I've taken screen shots of the current layout so that I know what to type in when I create the new layout.

My request, since you already have the option of saving the layout/settings, is to name those saved files, and be able to retrieve them to use a previously saved layout again. An example might be a winter layout with snow data and my school closing block, and summer with soil data, UV, etc.

Thanks,
Steve
Title: Re: Meteotemplate
Post by: wurzelmac on November 08, 2016, 04:26:54 PM
An example might be a winter layout with snow data and my school closing block, and summer with soil data, UV, etc.
I support this request. If possible, would be cool.  :)
Title: Re: Meteotemplate
Post by: jachym on November 08, 2016, 05:25:00 PM
This can already be easily achieved, the file is called indexDesktopLayout.txt and it is saved in your admin directory. Just rename it to something, that will force the script to allow you to create a new such file and then when you want to use it, always rename the one you want to use to indexDesktopLayout - same goes for mobile.
Title: Re: Meteotemplate
Post by: jhoke on November 08, 2016, 07:23:31 PM
Yes I agree, with the day (Sun) it is quite obvious, but what icon would you then use for night...

I could be a bit of a wierdo and say the face of Sandman from Vertigo comics ;)

But seriously, the moon and stars may be workable... something along the lines of :

http://www.freepik.com/free-icon/night-symbol-of-the-moon-with-a-cloud-and-stars_731117.htm

Title: Re: Meteotemplate
Post by: Steve on November 08, 2016, 08:57:06 PM
Thanks, I'll give it a try!


Leaf wetness works, as it is sprinkling here now. :)

This can already be easily achieved, the file is called indexDesktopLayout.txt and it is saved in your admin directory. Just rename it to something, that will force the script to allow you to create a new such file and then when you want to use it, always rename the one you want to use to indexDesktopLayout - same goes for mobile.
Title: Re: Meteotemplate
Post by: Steve on November 08, 2016, 09:09:45 PM
JAchym,

You're saying that even though I have three columns with random height blocks, the soil block tries to match the height of the block beside it? It doesn't seem to, as I tried changing the order of the blocks in the center column, and the spacing of the soil block always stays the same, which seems stretched out with all the spacing between rows of images. I don't know, maybe that *is* the compressed mode as you intended. Most other blocks seem to have rows of images closer together though, such as the one above.

Ah, okay. I have three columns, so the block next to the Soil Parameter block is just random based on whatever is in the stacks above. I wouldn't think it would have any effect on spacing.

(http://www.morrisgarage.com/skitch/Avon_Weather-20161108-103611.jpg)
Title: Re: Meteotemplate
Post by: jachym on November 08, 2016, 10:59:02 PM
Yes, maybe an icon with just stars would do, that wouldnt be confusing, I will change it when I update that block sometime, probably no point in updating it just because of this.
Title: Re: Meteotemplate
Post by: jhoke on November 09, 2016, 03:39:42 PM
Yes, maybe an icon with just stars would do, that wouldnt be confusing, I will change it when I update that block sometime, probably no point in updating it just because of this.

Agreed :)

I guess the Sandman comic idea wasn't a good one then  [lol2]
Title: Re: Meteotemplate
Post by: wurzelmac on November 10, 2016, 01:11:20 PM
Hi Jachym, personally like Steve I would find that block very confusing - simple graphics shouldn't need 'clarification', if it does then maybe it needs a tweak? The Moon icon to me looking at that block represents its current position in the sky, after all the Sun icon does represent its position during the day ;)

Whilst calculating the Moons current position is non-trivial as you say, for the purposes of a small display a simple interpolation between rise and set times would suffice. I'd use the shading to represent the progress of the night, and the icon to represent the Moons position - but that's me! ;)

Mark,
personally I find that you done a great job with your riset sunplot script that I was gladly able to use within the Meteotemplate. Very clear when there is daylight and night.
Title: Re: Meteotemplate
Post by: wurzelmac on November 10, 2016, 05:00:17 PM
An example might be a winter layout with snow data and my school closing block, and summer with soil data, UV, etc.
I support this request. If possible, would be cool.  :)

After thinking about that a few days I think I will only change the *snow* block with the *uv* block when the snow season is gone and summer is back.
Title: Meteotemplate - Newsletter - Nov 11, 2016
Post by: jachym on November 11, 2016, 12:00:30 PM
Meteotemplate - Newsletter - Nov 11, 2016

Hi guys,   

in this issue you will as always find information about what was added/updated since the last issue as well as some information about what I plan to do next.

http://meteotemplate.com/blog/
Title: Re: Meteotemplate
Post by: jachym on November 14, 2016, 03:46:46 PM
Hi guys,

quite a lot of new stuff since I last posted here, but one thing I wanted to mention in particular is the update I just released which includes the Instagram link based on your suggestion Steve
Title: Re: Meteotemplate
Post by: Steve on November 14, 2016, 04:22:36 PM
Thanks Jachym,

Appreciate the Instagram addition. Now I'm going t have to post stuff. ;)

I'm going to create a poll to see if my users like the existing web site or the preview of the proposed MeteoTemplate web site.


Hi guys,

quite a lot of new stuff since I last posted here, but one thing I wanted to mention in particular is the update I just released which includes the Instagram link based on your suggestion Steve
Title: Re: Meteotemplate
Post by: Steve on November 14, 2016, 04:27:41 PM
Jachym,

I'd like to re-visit the soil block. You previously noted that the height is dynamic, changing to match surrounding blocks, and that was the reason I was seeing more space between rows of graphics.

As seen in the following image, I deleted all other blocks from my web site except Soil. There is still a lot of space between the rows of graphics as compared to any of the other similar blocks. If this is by design, that's fine. If there's the flexibility to reduce the spacing, I think it would look a bit better, in my opinion.

(http://www.morrisgarage.com/skitch/Avon_Weather-20161114-111748.jpg)

Also, where can I change the gray text beneath the soil moisture and leaf wetness graphics? I'd prefer black in my color scheme, as the gray on gray is almost unreadable.

Thanks for any input you may have on these,
Steve
Title: Re: Meteotemplate
Post by: jachym on November 14, 2016, 04:28:25 PM
OK, just regarding the poll... I am of course not going to try to bias you in any way, but I can tell you one thing:

based on the experience I have gained over the last over a yr working as a developer with users, it is always the case that users are "lazy" and will prefer whatever they find the easiest. So the most visited site will always be the one that is server on your primary domain.

I saw that many times. I saw users with Saratoga template, who had meteotemplate link in the menu on the left. And based on visitor count, practically no-one ever visited the MT site. They then changed to MT and lo and behold, everyone was viewing MT and no-one clicked the link to Saratoga included in one of the blocks :D
Title: Re: Meteotemplate
Post by: jachym on November 14, 2016, 04:29:26 PM
Im afraid this is not currently possible to change, the problem is that I had to choose a color that is at least "partly" visible with any color scheme, yours is problematic because it is very close to the gray.
Title: Re: Meteotemplate
Post by: Steve on November 14, 2016, 04:41:06 PM
Im afraid this is not currently possible to change, the problem is that I had to choose a color that is at least "partly" visible with any color scheme, yours is problematic because it is very close to the gray.

Understood, and thanks. I was looking through the code to see if I could change it locally, and couldn't find it.

Any thought on the graphics spacing in the soil block?
Title: Re: Meteotemplate
Post by: jachym on November 14, 2016, 05:09:34 PM
The spacing of that block adjusts based on the other blocks with which you align it, if no other block is forcing it to stretch, it is quite compact, look:

http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=soil
Title: Re: Meteotemplate
Post by: Steve on November 14, 2016, 05:37:09 PM
Well, that's odd. See my image above, where the Soil Block is the only block on the page, yet it is not compact like you show. Perhaps there is a minimum percentage that comes into play? I have mine 15/65/20. But even if I set the minimum page width at 4000 pixels and drag the window wider than my 27" screen, it never becomes compact like you are showing. It just makes everything larger.

(http://www.morrisgarage.com/skitch/Avon_Weather-20161114-123558.jpg)

Weird...



The spacing of that block adjusts based on the other blocks with which you align it, if no other block is forcing it to stretch, it is quite compact, look:

http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=soil
Title: Re: Meteotemplate
Post by: jachym on November 14, 2016, 05:50:49 PM
Steve I am going to email you a test file, try it and if it works better I will do some changes in the files and release an update
Title: Re: Meteotemplate
Post by: Steve on November 14, 2016, 06:06:01 PM
Steve I am going to email you a test file, try it and if it works better I will do some changes in the files and release an update

Yep, that worked! Here's the new soil block overlapping the one shown here on the forum. What changed?

(http://www.morrisgarage.com/skitch/Avon_Weather-20161114-130353.jpg)


And thanks for the black text! Is that just the local copy for me, or something going into the next version?


Thank you again for catering to WeatherCat!
Steve
Title: Re: Meteotemplate
Post by: jachym on November 14, 2016, 06:07:22 PM
No, I will release this for all, though I will make a few further tweaks to it, so once I release it, make sure you download that version and update it via standard update procedure.
Title: Re: Meteotemplate
Post by: Steve on November 14, 2016, 06:08:55 PM
Fantastic! What was causing my spacing problems?
Title: Re: Meteotemplate
Post by: jachym on November 14, 2016, 06:17:02 PM
It isnt your problem, it was a general thing, I adjusted the CSS
Title: Re: Meteotemplate
Post by: jace on December 05, 2016, 09:47:13 PM
Okay Gents.

Trying to import my WCat data into Metrotemplate, getting problems with the date/time format.

Could somebody who has successfully carried out a data import using a CSv file please post the correct field settings for date/time and if possible the variables field settings if they can remember them.

Cheers all  [beer] [beer] [beer]

JC
Title: Re: Meteotemplate
Post by: Steve on December 06, 2016, 12:26:03 AM
Jace,

Go look at page 17 to about 20 to see what I did to get my data entered. I needed to use TextWrangler to modify the spreadsheets to get it to work. There's a screen dump from Jacyhm on the time format settings. It only goes in in chunks, so I had to do each year in six sections.
Title: Re: Meteotemplate
Post by: wurzelmac on December 06, 2016, 06:49:06 AM
I have done mine via WeatherUnderground import year after year and it worked good for me.
Title: Re: Meteotemplate
Post by: jace on December 06, 2016, 09:37:01 AM
Hi Gents.

Steve. I've tried Jacyhm' s format settings for the date/time format, but it's not worked, I'm not sure what you modified in TextWrangler to get the spreadsheets working though. My daughter's boyfriend got Metrotemplate up and running in about a hour for me but didn't have time to work out why we couldn't import data unfortunately.

Wurzlemac. I've been using the WeatherUnderground import, which works for me, but I'm having to do about 15 days data at a time before it stops uploading, 'tis painfully slow work.

Ah well thanks Gents.

JC
Title: Re: Meteotemplate
Post by: Steve on December 06, 2016, 03:49:09 PM
I opened the spreadsheets in TextWrangler, and did a find/replace all replacing "T" with " " and checking case sensitive. Jachym's suggested input didn't know how to parse the "T".

I had to strip the header, as well, as there are several capital Ts in there that got replaced, confusing the issue.
Title: Re: Meteotemplate
Post by: Blicj11 on December 06, 2016, 05:26:54 PM
JC:

I quite like your new banner photo. Don't know how long you have been using the new one, but I just noticed it.
Title: Re: Meteotemplate
Post by: jachym on December 08, 2016, 12:39:54 AM
Hi guys,

there will be a newsletter next week. In this newsletter I want to include a Q & A section (Questions / Answers). I already have a few questions/answers that I want to include because very often I get asked the same thing several times. I will then also choose some that I think would be useful to include in the FAQ section at meteotemplate.com.

If therefore there is something you want to ask, now is your chance. You can also specify if you are ok with using your first name next to the question or if you want the question to be included anonymously.

And here is the deal:

You can ask me absolutely whatever you want.

And

I will also answer absolutely whatever I want ;-)

Last - please ask via email (jachymcz@gmail.com) and in the subject include "Q&A".
Title: Re: Meteotemplate
Post by: jace on December 10, 2016, 01:21:50 PM
I opened the spreadsheets in TextWrangler, and did a find/replace all replacing "T" with " " and checking case sensitive. Jachym's suggested input didn't know how to parse the "T".

I had to strip the header, as well, as there are several capital Ts in there that got replaced, confusing the issue.

Hi Steve

Well tried that, still no joy, test via Find Field Numbers does not find any fields and trying Test Import with what we think are the correct field numbers still throws up incorrect date/time error messages.

Managed to pull a couple of years worth of data across from WeatherUnderground using Jachym's WU import tool, but then when I started checking annual reports and monthly reports found that a lot of daily rainfall totals were wrong. Looks like WU rounds up some daily rainfall totals, e.g. 0.20 mm via my station and WeatherCat becomes 0.30 mm in WeatherUnderground for some reason.

Seems to be no easy way to correct this, unless I manually change every incorrect record back to correct values. Every 5 minute value for each day it's wrong for 4 years worth of data....................................
 lol(1)

JC
Title: Re: Meteotemplate
Post by: jachym on December 10, 2016, 01:25:43 PM
I sent you an email about an hour ago about this
Title: Meteotemplate 11.0 Passion Fruit!
Post by: jachym on December 23, 2016, 04:14:58 PM
(http://i68.tinypic.com/15n1wcy.png)

Hi guys,

first of all I would like to wish all of you who celebrate Christmass Merry Christmas and a happy new year to all of you.

As a little present from me you get a new version of the template - Meteotemplate 11.0 Passion Fruit. This version includes some minor bug fixes, but most importantly - one major new thing - the menu. The menu was something that was bothering me for quite some time. The problem was that it was quite complicated to customize it and once you did you were no longer able to use the default menu.

Well now this is all different. Wouldn?t it be nice if you could create/delete menu tabs via the control panel directly? Set tab icons, insert your own links, set the link order, tab order just be dragging and dropping the tab in the browser, insert separators, headings, custom icons, or even a flashing "new" text next to newly added items? If the answer to these questions is yes then you will like version 11.

Update this time is very simple, however it might take you some time to actually create your new menu. After you update the template you will need to set up the menu the way YOU like it.

Before we move on let me emphasize one absolutely crucial thing - IT IS ABSOLUTELY ESSENTIAL THAT YOU READ THE INSTRUCTIONS ABOUT HOW TO USE THE MENU IN THE UPDATED WIKI PAGE!

Custom menu

The menu looks similar to the original one, but now you can rearrange the tabs using drag & drop, rearrange the links, use your custom icons, insert separators, insert flashing "new" symbol next to new items just be including "(new)" string in the link etc etc. After you finish the update process (copying the new files), you must go to the wiki, which now includes updated section about the menu and includes detailed instructions how to proceed. I have also included examples to make it easier for you.

SVG icons

Another major change is that I have converted all the icons from PNG to vector SVG objects. This update does not yet implement this, for now, only the menu will use this, however, in the next version update I will probably update all the pages, and this now also allows me to start updating the blocks and plugins and change the original PNG icons to these new SVG ones loaded from the template.

What are the advantages of using SVG over PNG? First of all speed, the SVG sprite loads much faster than the icons as PNG. Second, the icon can be enlarged indefinitely, it is not a raster object, so when you make it larger, it will still look sharp and not be pixelated. And last, it behaves as a font, which means I no longer have to include each icon in two versions (black, white). I can simply set any color to the icon, even based on your color scheme set for the template (blue, red, green....). In the future when I update or create a new block, it will use these and no icons folder is necessary.

Server Check

This is something for new users, in the main settings right at the top is now a new function which allows you to check that your server supports the most important functions necessary to install Meteotemplate. If you are already using the template this probably will not have much effect, but I have also included some improved debugging features in the settings files, so everyone can benefit from this.

Bug Fixes

I have fixed several bugs in various parts of the template (station pages etc.).


I hope this further enhances the customization possibilities of the template and allows you to really create a page that looks exactly the way YOU like it, without needing to know how it all works in the backend or ever seeing the code as such! You can already see the new menu in the DEMO, which has been fully updated to version 11.0.

Instructions about how to update are as always in the blog.

Enjoy!
Title: Re: Meteotemplate
Post by: wurzelmac on December 23, 2016, 05:56:46 PM
An update is a pain for those who have done some adaptions. So for me it would be as just beginning from the scratch if I would install *Passionfruit*.

I payed my dues for *Banana*, worked on the Look&Feel to look fine on my customization, and will leave it as is.

Thanks a lot for this template, Jachym.
I really like it - as you can see on my website.  :)

Merry X-Mas,
Title: Re: Meteotemplate
Post by: jachym on December 23, 2016, 06:03:05 PM
Hi,
well I know, though this is exactly what this update is about - the menu was the last problematic thing. Any change was lost with each update. This update brings the possibility to customize the menu and it is saved separately.
Just keep in mind that it is absolutely fine to keep on using 10, but from now on you cannot update or install any block or plugin I release from now on because the code always assumes the functions from the most recent version are available. Everything you have right now will of course work fine, but no changes must be made from now on and this holds for blocks and plugins (updates, new block, new plugins). There are new functions in this update that add some features in the backend and I will make use of those in future work. It is not just the menu - that is the visible part.
Title: Re: Meteotemplate
Post by: Steve on December 23, 2016, 07:47:10 PM
Hi Jachym,

Thanks for the new version. The update went smoothly, and the instructions were easy to follow for my first update attempt. The new menu system seems extremely versatile, and I'll be fiddling with it after the first of the year.

Thanks, and have a wonderful Christmas,
Steve
Title: Re: Meteotemplate
Post by: jachym on December 23, 2016, 07:59:06 PM
On which page
Title: Re: Meteotemplate
Post by: Steve on December 23, 2016, 08:43:43 PM
On which page
I edited my previous reply, answering my own question.
Title: New Year?s present - New Plugin - Calendar
Post by: jachym on December 28, 2016, 06:06:24 PM
New Year?s present - New Plugin - Calendar

Hi guys,

I just released a new plugin - sort of a present for you from me for the new year :-)

After years of trying (no, this is not a joke, I was trying to accomplish this already when I had my own page and there was no Meteotemplate), I have finally managed to successfully create scripts that generate fully functional PDF documents, which obviously are great if you want to print something and view it physically not just in a browser on a monitor.

I am releasing this a few days in advance because in case there are any bugs we can still work on it further and you can of course expect this PDF feature now being gradually implemented in other parts of the template as well :-)

This plugin allows you to create various PDF calendars - monthly, weekly, daily or a blank diary. These can include your station data as well, you set print/color version, create a booklet version ideal for printing and much more. It will also use your template settings for the colors, first day of the week, units, language etc.

Main features:
- monthly calendar with station data
- weekly calendar with station data
- daily calendar with station data
- blank weekly diary - sunrises/sunsets for your location, eclipses, moon phases etc.
- normal or booklet versions
- color or black/white (for print) versions
- units based on template settings, colors based on template settings, first day of the week based on template settings
- paper size selection (A4, Letter)
- language based on template settings
- and much more :-)

You do not need to set up this plugin in any way, just upload to your plugins directory. Then update your menu.php and in your menu settings add a link to this new plugin.

NOTE: PDFs in general are very difficult to work with and also quite demanding so please be patient, the calendar generation may take a while and so that you are not bored I implemented a script which will show you a random interesting fact while you are waiting for your calendar to be created :-)

In particular it is likely that the calendar script will be very slow on my server since many of you are likely to look at the same time.

ENJOY!

DEMO: http://www.meteotemplate.com/template/plugins/calendar/index.php#/
Title: Happy New Year!!!
Post by: jachym on December 31, 2016, 05:14:01 PM
Hi guys,

just want to wish all the best to all of you and your families.

As we would say in Czech:

"V?em V?m přeju kr?sn? a ?ťastn? nov? rok!"

http://meteotemplate.com/blog/?p=1600 (http://meteotemplate.com/blog/?p=1600)
Title: Re: Happy New Year
Post by: WCDev on December 31, 2016, 08:14:04 PM
Happy New Year Jachym!

And thanks for bringing Meteotemplate to WeatherCat in 2016 - how are you going to top that in 2017? :)

Title: Happy New Year Jachym! (Re: Happy New Year!!!)
Post by: elagache on December 31, 2016, 10:32:37 PM
By all means Happy New Year Jachym!

"V?em V?m přeju kr?sn? a ?ťastn? nov? rok!"

 ;) . . . . . Alas, I must be brutally honest . . . . . It might as well be Greek for me!! . . . . .  lol(1)

Cheers, Edouard  [cheers1]
Title: Re: Meteotemplate
Post by: jachym on December 31, 2016, 10:38:17 PM
Thanks Edouard,
yes I can imagine... Czech is not easy :D And you dont even want to see the grammar :D

Here is one popular sentence from Czech:

Třistatřicettři stř?brn?ch stř?kaček stř?kalo přes třistatřicettři stř?brn?ch střech :D

The worst thing is that pronunciation of the above is probably even worse than how it is written. We have one particular letter which no other language in the world has and even some Czechs cant pronounce it correctly :D I can :P

Have fun practicing:
https://www.youtube.com/watch?v=BKuo60LQfnQ
Title: Re: Meteotemplate
Post by: Felix on January 01, 2017, 01:29:44 PM
333 silver firehoses? So says my wife who's Slovak.


  J? taky přeju kr?sn? a ?ťastn? nov? rok!
 
Title: Re: Meteotemplate
Post by: jachym on January 01, 2017, 01:31:35 PM
No vida, a vyslovit bys to uměl? :D Je to sp?? takov? jazykolam, če?tina obecně je stra?n?, proto?e m? hrozně moc v?jimek, zvl??tnost? atd.
Title: Re: Meteotemplate
Post by: Felix on January 01, 2017, 04:28:42 PM
I noticed she had trouble with the pronunciation as well. I don't know if it's the difference between Slovak and Czech or the tongue-twister nature of the passage. But listening to my wife read it, there's *absolutely* no way I'd attempt it.


Heck, I have trouble with Dr Seuss.


Or even "If Stu chews shoes, should Stu choose the shoes he chews?"


 ;)
Title: Re: Meteotemplate
Post by: jachym on January 01, 2017, 04:35:30 PM
As I mentioned, this "ř" letter is only in Czech, Slovaks dont have it and even many Czechs cant say it right :D
Title: Re: Meteotemplate
Post by: xairbusdriver on January 01, 2017, 07:33:55 PM
Quote
this "ř" letter is only in Czech, Slovaks dont have it and even many Czechs cant say it right
"Say it"!? I can't even read it! 'course, where I live, we shorten lots of words by leaving off any trailin' "g". And we never get around to doin' anything because we're always fixin'[/i ] to do it. ThU32:-)
All y'all * come back now, ya hear?!

* All y'all is the plural of y'all, of course... cmu:-)
Title: Meteotemplate - New Plugin - Steel Series Gauges
Post by: jachym on January 11, 2017, 12:55:23 AM
New Plugin - Steel Series Gauges

Hi guys,

I have been working on this for quite some time and now I finally think I got it to the final stage. Before I continue, I would like to especially thank Mark Crossley for creating this script and letting me use it.

I have substantially modified both the original Steel Series script and Mark?s script to make it compatible with Meteotemplate and the database, the data retrieving script is different and I have also added many new features, and most importantly, completely converted the setup to GUI (colorpickers, drag/drop etc.). It will also automatically choose language and units based on your template settings.

Main features
- interactive real-time updating gauges showing your data
- tooltips with today?s min/max values
- summary of current, today?s and yesterday?s data
- interactive graphs
- complete GUI setup
- highly customizable
- compatible with the template database, WD, Cumulus, WeatherCat, Meteobridge

Some of the changes I made to the original script:
- interactive graphs are available for all data sources and include daily, monthly, annual graphs, where you can also select grouping
- GUI set up page, where you can specify practically everything (colors using colorpickers, gauge order using drag&drop, look and feel of the gauges, disable/enable gauges and their features etc.)
- completely different data retrieval script
- new summary page (popup dialog with summary data table and caching implemented)
- possibility to choose gauge type for each parameter gauge
- drag&drop gauge order
- pointer speed selection
- possibility to set gauge shadow options (transparency, size, color)
- possibility to specify min/max highlight area (enable/disable, color, transparency)
- possibility to specify rain gauge gradient color (I added some new gradients to the original script for more options)
- possibility to specify odometer details (size, number of digits, background/foreground colors of main section and decimals section)
- possibility to specify the knob color
- added new customization features for tooltips - trigger (hover or click), animation time, tooltip delay
- changed color gradients of the gauges (solar uses black->yellow, temperature blue->red etc.)
- changed styling of tooltips and other parts to match the design you specified for Meteotemplate
- auto use template language and units

You can basically set up absolutely everything and you don?t have to know a single line of code. I tried to make the setup page as intuitive as possible and in the demo you can also view this setup page on my server (this is a modified version in which you obviously will not be able to save the changes, this is only for illustration purposes, but once you install this in your template you will of course be able to see and save the changes).

Hope you enjoy it and thanks again to Mark for his great work.

DEMO: http://www.meteotemplate.com/template/plugins/steelSeries/

Enjoy
Title: Re: Meteotemplate
Post by: wurzelmac on January 15, 2017, 07:46:03 AM
Another running Meteotemplate SteelSeries implementation:
http://wetter.unterwurzacher.at/meteo/plugins/steelSeries/index.php

versus the "old" implementation by myself:
http://wetter.unterwurzacher.at/meteo/pages/station/live_steel.php

Great work, Jachym - thanks a lot!  [tup]

Suggestion: In a future version of the SteelSeries for Meteotemplate make it possible to add custom text to the scrollbar (canvas_status).
Title: PlugIn LiveGaugesWC
Post by: wurzelmac on February 01, 2017, 07:26:02 PM
Anybody out here who can test the plugin 'liveGaugesWC'?

I am interested in the sunrise/sunset times, they do not match. They are correct in all other Meteotemplate calculations but not within this plugin, at least here for me. Maybe it is a problem here at my configuration, so if anybody of you who uses the template can test this?

Thanks!  :)
Title: Re: Meteotemplate
Post by: jachym on February 01, 2017, 10:41:28 PM
All the PHP files use the same built-in PHP function for this so it is strange, how big is the difference?
Title: Re: Meteotemplate
Post by: wurzelmac on February 02, 2017, 07:23:09 AM
All the PHP files use the same built-in PHP function for this so it is strange, how big is the difference?

This is exactly why I asked the community to test this!  :)

The differences are (for today, Feb 2nd 2017):

? liveGaugesWC plugin: 07:36 and 17:11
? summary block: 07:33 and 17:14
? riset block: 07:33 and 17:14
? stationDiary (big): 07:33 and 17:14
? astronomy/sun: 07:33 and 17:14

So only the liveGauges do show a different (incorrect) time and make the day 6 minutes shorter.  ???
Title: Re: Meteotemplate
Post by: wurzelmac on February 02, 2017, 01:47:02 PM
Looks like the same difference is on your own demo website.   ;)
Title: Re: Meteotemplate
Post by: jachym on February 02, 2017, 02:08:13 PM
OK I see the problem, it is taking it from a calculation done by the interactive banner which uses the angle 90?, but later I learned 90.5 is more accurate, but I didnt change it in the banner. The problem is also that I now realize that if you disable interactive banner in Main settings, this will not work and show 0.00
Title: Re: Meteotemplate
Post by: wurzelmac on February 02, 2017, 02:25:53 PM
So if I get it right there are two different calculations - one for the banner (which is not in use on my side) and one for the PHP function. Now that you are aware of it I think it is no problem for you to solve the issue!  [rockon]  [bounce]
Title: Re: Meteotemplate
Post by: jachym on February 02, 2017, 02:27:33 PM
Well yes and no, it is not a problem to solve it but it wont be now since the error is in the header, which is part of the normal template, not in the plugin as such, so it will be fixed in v12
Title: Re: Meteotemplate
Post by: wurzelmac on February 02, 2017, 02:30:09 PM
 [tup]
Title: Re: Meteotemplate
Post by: xairbusdriver on February 02, 2017, 03:29:53 PM
jachym,

I'd like to request a copy of your code! Since you can make a day "shorter", I'd like to know if I can run the modified code and make my days just a bit longer!! lol(1) I'll be happy to attribute you as the dev, of course! ThU5:-)
Title: Re: Meteotemplate
Post by: monymony on April 11, 2017, 01:29:11 PM
Hi All,

Anyone have any idea when the next WC update will be out that has support for the Meteotemplate API built-in?

Thanks!
Title: Re: Meteotemplate
Post by: jhoke on April 11, 2017, 02:24:07 PM
Hi All,

Anyone have any idea when the next WC update will be out that has support for the Meteotemplate API built-in?

Thanks!

You beat me to the punch ... was about to ask as I am moving my weather site and doing a complete reinstall ... would be cleanest to do it all @ once
Title: Re: Meteotemplate
Post by: wurzelmac on April 11, 2017, 06:50:30 PM
We have to wait for Stu to give us the answer! But I am really sure he is working on this.  [computer]
Title: Re: Meteotemplate
Post by: jachym on April 16, 2017, 01:59:04 AM
Wait is over

 [cheer] [cheer] [cheer] [cheer] [cheer]
Title: Re: Meteotemplate
Post by: jhoke on April 17, 2017, 10:23:14 AM
Wait is over

 [cheer] [cheer] [cheer] [cheer] [cheer]


Woot!

Just updated WeatherCat and tested the API function on my test site ... works great!

one question - from the wiki:
Quote
The URL of the API script is simply the URL of your template folder and api.php. The api.php is in the template root folder. You then set the interval, the database will be updated every 5 minutes, but you can set the interval of calling the API to something shorter. The API script will cache the data and update the database every 5 minutes using aggregated data from the cache file. This is also advantageous because upon each trigger of the API script, a file of current conditions is saved.

Assumptions
1) the cache file is in cache/apiCache.txt
2) Current version of WeatherCat released with the API does not provide the ability to change the API call interval that I can find - anyone know what the interval default is, or how to change it
2a) assuming the interval is set in a plist file somewhere and could be modified to 1m and then would get an updated apiCache.txt every 60s and the DB would get updated by the API ever 5m

Question
Will the API work with HTTPS as the transport rather than HTTP? (haven't tested yet, but my production site is all HTTPS (http being redirected to HTTPS if used)
Title: Re: Meteotemplate
Post by: wurzelmac on April 17, 2017, 11:00:24 AM
Question
Will the API work with HTTPS as the transport rather than HTTP? (haven't tested yet, but my production site is all HTTPS (http being redirected to HTTPS if used)

I can confirm that it is working on my HTTPS site.
Title: Re: Meteotemplate
Post by: jachym on April 17, 2017, 12:51:52 PM
Wait is over

 [cheer] [cheer] [cheer] [cheer] [cheer]


Woot!

Just updated WeatherCat and tested the API function on my test site ... works great!

one question - from the wiki:
Quote
The URL of the API script is simply the URL of your template folder and api.php. The api.php is in the template root folder. You then set the interval, the database will be updated every 5 minutes, but you can set the interval of calling the API to something shorter. The API script will cache the data and update the database every 5 minutes using aggregated data from the cache file. This is also advantageous because upon each trigger of the API script, a file of current conditions is saved.

Assumptions
1) the cache file is in cache/apiCache.txt
2) Current version of WeatherCat released with the API does not provide the ability to change the API call interval that I can find - anyone know what the interval default is, or how to change it
2a) assuming the interval is set in a plist file somewhere and could be modified to 1m and then would get an updated apiCache.txt every 60s and the DB would get updated by the API ever 5m

Question
Will the API work with HTTPS as the transport rather than HTTP? (haven't tested yet, but my production site is all HTTPS (http being redirected to HTTPS if used)

Hi,

HTTPS - should not be an issue

Interval - the way this works is:
you can call the api.php at any interval (must be less than 5 min though), one user uses even just 2s, but for that you have to make sure your server can handle this.

Each time the api is called, a "live" file is created -  used for all live blocks, gauges etc. Then it checks if it is time to update the db (5 min), if not, it saves the data to the apiCache. Then once 5 minutes passes, it aggregates and processes the cache, updates the db and clears the cache and the process repeats.

The interval at which you call the api.php is something you should be able to set in WC - or at least thats what I told the developers, including Stu. This is how it works. I do not have WC so I cannot check if that is really how it works - all I can say is - hopefully yes :D
Title: Re: Meteotemplate
Post by: jhoke on April 17, 2017, 02:09:22 PM
Thanks Jachym

So currently the WC Api setup does not provide an interval setting - something hopefully we can get added in a future update (and a pointer to where it can be manually changed in the plists )

in regards to HTTPS ... in testing I am seeing a small issue calling (at least) the google font api - it is hardcoded in the CSS as HTTP and is throwing a bunch of errors in Javascript console

Quote
Mixed Content: The page at 'https://nepaweather.com/indexDesktop.php' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,latin-ext'. This request has been blocked; the content must be served over HTTPS.

As you can call HTTPS external resources from an HTTP page (IIRC) would it make sense that if the API supports HTTPS to migrate these over to HTTPS rather than HTTP?

As you can see, I am migrating from http://weather.hoke.org/meteo/ to https://nepaweather.com/

**slowly**

Title: Re: Meteotemplate
Post by: wurzelmac on April 17, 2017, 02:43:44 PM
jhoke,

within the Meteotemplate distribution you will find a folder called "css" and within this folder a file called "main.php". I changed all the http to https and it is working.
Title: Re: Meteotemplate
Post by: jachym on April 17, 2017, 03:05:48 PM
OK, if the interval setting is not there it is not ideal, it should have been, I have to email Stu to add this
Title: Re: Meteotemplate
Post by: jachym on April 17, 2017, 04:47:36 PM
jhoke,

within the Meteotemplate distribution you will find a folder called "css" and within this folder a file called "main.php". I changed all the http to https and it is working.

I know about this issue, it will be ok in v14
Title: Re: Meteotemplate
Post by: wurzelmac on April 17, 2017, 06:04:24 PM
jhoke,
by the way: I sorted out all blocks on the startpage of Meteotemplate that does have no support for https (getting info/content from http sources) so that I now have a clean https startpage. Some of my Plugin pages are not https, but the content of external sources is in some cases not available as https.
For example I removed the Meteogram-block and created a Meteogram-Plugin instead to reach the goal of my "clean" https startpage (although on calling the plugin page you will get a "not-https-page" returned). So in this way it is at least possible to put non-https-content on an extra page.
Title: Re: Meteotemplate
Post by: jachym on April 17, 2017, 06:16:26 PM
Hi,
I did fix several occurrences of http for https in the upcoming v14 release.

Blocks + plugins will be dealt with later.

Though in some cases it is not possible - if the external source is only available over http, there is nothing I can do. For example the Asteroids page is only available via http and so will never work in https mode unless they change it at the source side.
Title: Re: Meteotemplate
Post by: WCDev on April 17, 2017, 06:34:39 PM
Assumptions
2) Current version of WeatherCat released with the API does not provide the ability to change the API call interval that I can find - anyone know what the interval default is, or how to change it

It updates at one minute intervals - this isn't modifiable as when designing it, and in discussion with Jachym, it was agreed this is the best interval to use.

(Note: The manual says it updates every 5 minutes, this is an error in the manual )

Cheers.
Title: Re: Meteotemplate
Post by: jachym on April 17, 2017, 06:41:55 PM
Hi guys,

yes, if WC uses 1 minute then this is the recommended interval and it is fine. It would be a problem if it was 5 mins, but this is perfectly ok and probably the best compromise between data age and server load.

This means your live gauges, blocks etc. will be updated minutely and api updte your db when 5 data sets are in the cache.

Thanks Stu
Title: Re: Meteotemplate
Post by: jhoke on April 17, 2017, 10:45:40 PM
Stu/Jachym

Thanks both of you ... 1m is what I would have set to ... just got caught off guard with btwn the info @ Meteo Wiki and the Docs from WC ..

Title: Re: Meteotemplate
Post by: wurzelmac on April 18, 2017, 11:27:48 AM
Stu/Jachym

Thanks both of you ... 1m is what I would have set to ... just got caught off guard with btwn the info @ Meteo Wiki and the Docs from WC ..

Don't mention it!  ;)
Title: Re: Meteotemplate
Post by: jhoke on April 18, 2017, 12:13:32 PM
So ... new domain and install of MeteoTemplate ... still working out some kinks due to HTTPS but ...

https://nepaweather.com/ (https://nepaweather.com/)

Updated versions, plugins, blocks and using API flawlessly - thank you Stu and Jachym for making this available :)
Title: Re: Meteotemplate
Post by: Blicj11 on April 18, 2017, 04:41:35 PM
John, just looked at your new site. Clean and fast. Nice work.
Title: Re: Meteotemplate
Post by: jachym on April 18, 2017, 04:48:34 PM
John, just looked at your new site. Clean and fast. Nice work.

I second that
Title: Re: Meteotemplate
Post by: monymony on April 19, 2017, 01:07:51 PM
Thanks Stu and Jachym for combining the Meteotemplate API and WeatherCat.  What a great combination!
 [woohoo]
Title: Re: Meteotemplate
Post by: wurzelmac on April 19, 2017, 08:20:39 PM
The really cool thing possible with Meteotemplate is that you have some *freedom* to design the look&feel of the template - especially when diving into the deeps of the coding of the blocks and plugins. Very impressive, Jachym!  [cheers1]

Another cool thing to mention is that Stu implemented the MeteoTemplate plugin to WeatherCat. This leads me to what monymony said: It's really a great combination!  [bounce]

 [rock]

Title: Re: Meteotemplate
Post by: jachym on April 19, 2017, 08:24:32 PM
 [cheer] [cheer] [cheer] [cheer] [cheer]
Title: Re: Meteotemplate
Post by: jhoke on April 25, 2017, 01:12:58 AM
John, just looked at your new site. Clean and fast. Nice work.

I second that

Thanks! I moved this (and a bunch of other sites) to an amazon Lightsail virtual server ...  I used the $20/mo plan, but there are plans there for $5/mo with a TB of transfer quota!

Pretty damn good :) [rockon]
Title: Re: Meteotemplate
Post by: Alan Rowley on May 28, 2017, 09:55:39 PM
I am using api to upload data from WeatherCat to my Meteotemplate website. My problem is, I am going to update the Mac Mini that is running WeatherCat to Sierra. How does the api handle periods when WeatherCat, or the computer, isn't running?

When I've installed Sierra, will the api 'catch up' with any data not uploaded, or will I lose data for the period the computer is offline?

Thanks - ALAN.
Title: Re: Meteotemplate
Post by: jachym on May 28, 2017, 10:23:48 PM
Hi Alan,
no the API will not handle this, it always sends just the most recent values, but you can import data retrospectively using the log files (you might have done it already when first installing the template)
Title: Re: Meteotemplate
Post by: Alan Rowley on May 29, 2017, 08:54:39 AM
Thanks Jachym. I think I can cope with that.

ALAN
Title: Re: Meteotemplate
Post by: wurzelmac on May 29, 2017, 12:55:53 PM
Hi Alan,
some practical knowledge from my side. Recently we did have a power outage here, and I also had to import the data from this missing 3 or 4 hours. So here is my workflow:

? When the power came back, booting the Mac and starting WeatherCat
? The Cat collects the missing data from Davis datalogger
? Export the day when it happened in 5 min steps (exporting less than a day not possible from WeatherCat - correct me if I am wrong)
? Cut the exported data to only the missing time span
? Now the important thing: Edit the exported data to something the importer of Meteotemplate can handle, for this
? read carefully the explanations in the section of Meteotemplate Controller > Database > Data Import

I have had to fiddle around a bit with the time/date settings to get it handled by Meteotemplate, but finally it works.

Hope this helps a bit!
Title: Re: Meteotemplate
Post by: Alan Rowley on May 29, 2017, 12:59:16 PM
Thanks wurzel.

I have just finished the Sierra update and exported the missing data. Hopefully this will upload successfully to Meteotemplate and I will have no problems.

I have been putting off the Sierra update for weeks expecting problems. Less painful than I envisaged.

ALAN.
Title: Re: Meteotemplate
Post by: jachym on May 30, 2017, 12:04:18 AM
Hi guys,

I was of course thinking about some feature to enable loading data automatically during outages.

Unfortunately I personally dont see any way of doing this technically.

First problem - the API uses HTTP GET request. This means the data is sent via URL and the length is limited, it is perfectly fine for one data set, maybe two or three would be fine as well, but thats like 3 minutes of data... no way you could send hundreds of data sets via URL

Second problem - the communication is always one-way. SW->MT. A desktop program can send data to the internet, but a webpage cannot send anything to a SW, which is a problem again because the template would somehow have to let the SW know what the last record in the db is.

Third problem - each SW works differently (and MT now supports over 10...) and as you know, you have to set up the parameters and then also you see on the screen what is happening so you have some way of telling what happened and can check if it proceeded ok. If it "somehow" happened in the background you never know if something was sent, if it was correctly saved etc.

But the primary issue is the problem number 1. Long files also can time-out so you see that on the screen and repeat the import which then imports the rest, but if it was automatic it is again a problem because of the inability of MT (or webpage in general) to communicate back and report what happened.

Last but not least, one of the goals of the API was to get rid of any CRON jobs, FTPs etc. These are always difficult for users to understand, set up and FTP is slow and unreliable compared to HTTP GET request.
Title: Re: Meteotemplate
Post by: Alan Rowley on May 30, 2017, 07:27:07 AM
I needed to change the date format in the logfile to something that the database could understand, but that only took a couple of minutes with Textedit. I also had to change the conditions in the loffile to singles words, e.g. sun, clouds, rain, as two word conditions like 'light rain' were read as a separate column when importing. Again, this only took a couple of minutes.

Once the data was in a format compatible with the database, importing was a breeze.

ALAN
Title: Re: Meteotemplate
Post by: wurzelmac on May 30, 2017, 02:46:20 PM
Once the data was in a format compatible with the database, importing was a breeze.

Yesss.  ;D
Title: Re: Meteotemplate
Post by: leonrossouw on June 05, 2017, 02:13:00 PM
Been using meteotemplate for 1 week.
Absolutely great !
Does anyone know how I can export my data as a .csv file without data like "light cloud"etc.
I am trying to import my historical data into meteotemplate.
Regards,
Leon Rossouw
Title: Re: Meteotemplate
Post by: wurzelmac on June 05, 2017, 04:57:41 PM
Hello Leon,

as far as I know you can only export all data that WeatherCat has collected. The only thing you can control is the time window (today, yesterday, user-defined, etc.). After exporting you can open the csv file with Excel or LibreOffice or Numbers and here you can arrange the data that you want to import in Meteotemplate. After done this, save the edited file again as .csv and try to import in Meteotemplate.

Hope this helps,
Title: Meteotemplate 15.0 Black Currant
Post by: jachym on July 10, 2017, 09:46:36 PM
Hi guys,
new version and many new features including possibility to save any sensor data to database (UV, extra temp, humidity, soil temp, soil moisture, leaf wetness etc etc.), higher security, etc. and last but not least a new, now fully automated update procedure

http://meteotemplate.com/blog/?p=2969

Enjoy
Title: Re: Meteotemplate
Post by: wurzelmac on August 25, 2017, 06:56:45 PM
Info for those who use this template: Now there is a Meteotemplate forum (http://www.meteotemplate.com/forum/) available.  ThU32:-)
Title: Okay but forget the WeatherCat forum! (Re: Meteotemplate)
Post by: elagache on August 25, 2017, 10:38:18 PM
Dear Reinhard and WeatherCat Meteotemplate users,

Info for those who use this template: Now there is a Meteotemplate forum (http://www.meteotemplate.com/forum/) available.  ThU32:-)

 [wink] . . . . Well, that's fine . . . . . so long as you WeatherCat Meteotemplate users don't forget about this forum!! . . . .   [biggrin]

Cheers, Edouard  [cheers1]
Title: Re: Meteotemplate
Post by: jachym on August 25, 2017, 10:39:55 PM
No worries, I didnt forget either and will be checking here as well
Title: Re: Meteotemplate
Post by: jachym on January 10, 2018, 12:54:51 AM
I guess I havent posted here for a while... anyway, there is v17 available :D
Title: Re: Meteotemplate
Post by: xairbusdriver on January 10, 2018, 01:03:13 AM
Long time, no see! How is school going? Looked for you as we floated up the Elbe and in the town square of Prague but must have missed you! :)
Title: Re: Meteotemplate
Post by: Tailspin45 on June 05, 2018, 12:33:49 AM
Does anyone know if meteotemplate has closed up shop? SIgned up for forum and the request hasn't been moderated, downloads don't appear to be available, but there is no information on the site or forum.

I have some new webcams and want to upgrade carlsbadwx.com (http://carlsbadwx.com). Long neglected and it has a bunch of broken links, so I figure if I'm going to fix it I might as well revamp it.

What I'd really like is beautiful WordPress template specifically designed as a weather site. Several claim to be, but sure don't look like it. Yes, I can add weather plugins, I haven't found any that are comprehensive.

I'd stick with Saratoga PHP scripts, but they look kinda clunky by modern standards and I don't have the PHP or CSS knowledge to beautify them to my taste.

Thoughts?
Title: Re: Meteotemplate
Post by: Blicj11 on June 05, 2018, 01:34:03 AM
I don't know anything about Meteotemplate but I have a page on my WordPress site that is fed by WeatherCat. I don't have complete auto functionality but do have most of it. I am using iFrames for a lot of the displays. It's all jammed into one page, but I'm just telling you it's doable with WordPress. I too would love to have someone develop a nice full-featured weather template for WP users.
Title: Re: Meteotemplate
Post by: xairbusdriver on June 05, 2018, 03:06:27 AM
jachym could be either in finals or on holiday.
Title: Re: Meteotemplate
Post by: jachym on June 05, 2018, 06:18:21 AM
Hi,
thats not true, there is info in the blog about this.
With regards your registration in the forum - you registered when it was evening my time, less than 24h ago, I do this manually, so it is not immediate
Title: Re: Meteotemplate
Post by: xairbusdriver on June 05, 2018, 02:12:55 PM
So, how is school going! ;)
Title: Re: Meteotemplate
Post by: jachym on June 05, 2018, 02:44:32 PM
Hi,
school is fine, I need to finish the thesis, but I have a yr to do it and right now Im not really working on it, most likely I will start sometime late in summer and finish it over the winter. :)
Title: Re: Meteotemplate
Post by: xairbusdriver on June 05, 2018, 04:40:21 PM
Never put off till tomorrow what you can put off till next week!  lol(1)
Title: Re: Meteotemplate
Post by: staze on November 16, 2018, 07:21:15 PM
I am trying to import data from WC. Exported for all time, at 5m intervals. File is about 1m rows, and 110MB. Meteotemplate never comes back with anything after I hit "test import" other than:

Testing CSV/text file...

Errors will be highlighted in red...

Loading CSV/text file from weathercat-5m.csv

Any thoughts? I've upped the max execution time to 120secs for php. Should I just break it into smaller files? =/
Title: Re: Meteotemplate
Post by: staze on November 16, 2018, 07:33:50 PM
Got it. Had to up PHP memory limit to 512MB.
Title: Re: Meteotemplate
Post by: Blicj11 on November 16, 2018, 08:55:27 PM
I love it when something eventually works. Thanks for the posts.