Author Topic: Meteotemplate  (Read 137882 times)

Alan Rowley

  • Strong Breeze
  • ***
  • Posts: 150
  • It is far better to wear out than to rust away.
    • D3696
    • INOTTING15
    • Selston Weather
  • Station Details: Weather station: Davis Vantage Pro2. Software: WeatherCat. Computer: Mac Mini, High Sierra OS
Re: Meteotemplate
« Reply #195 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.

jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #196 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.

jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #197 on: October 10, 2016, 10:57:08 PM »
Hi guys,

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

Enjoy

Alan Rowley

  • Strong Breeze
  • ***
  • Posts: 150
  • It is far better to wear out than to rust away.
    • D3696
    • INOTTING15
    • Selston Weather
  • Station Details: Weather station: Davis Vantage Pro2. Software: WeatherCat. Computer: Mac Mini, High Sierra OS
Re: Meteotemplate
« Reply #198 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.

jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #199 on: October 11, 2016, 12:33:06 PM »
Hi Alan,
that could definitely be a possibility why it isnt working

jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Meteotemplate - new block - best forecast!
« Reply #200 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.

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Meteotemplate
« Reply #201 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]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Meteotemplate - IMPORTANT!
« Reply #202 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!

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #203 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 and click through all what is possible!

Cheers,
Reinhard


jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #204 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...

jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Meteotemplate 10.0 Banana - biggest update yet
« Reply #205 on: October 27, 2016, 02:05:22 PM »

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 page: Rain Seasons
    • calculate statistics for ?rain season? ? select month you want as season beginning
    • year comparison and visualizations
    • month averages
    • tables + graphs
    • seasonal graphs
    • graphs resizable
    • graph selection ? line/column
    • all month data
    • comparison with absolute station values
    • available also for mobile version
    • DEMO: http://www.meteotemplate.com/template/pages/station/rainSeasons.php
  • new page: Day-time Statistics
    • detailed statistics for day-time ? select day iterval on the fly (from-to)
    • alltime stats
    • hour averages ? graphs, tables
    • monthly averages ? graphs, tables, comparison with absolute values and deviations
    • yearly averages ? graphs, tables, comparison with absolute values and deviations
    • all-values graph ? resizable, zoomable
    • smart caching for very fast loading
    • available also for mobile version
    • DEMO: http://www.meteotemplate.com/template/pages/station/day.php
  • new page: Night-time Statistics
    • detailed statistics for day-time ? select night interval on the fly (from-to)
    • alltime stats
    • hour averages ? graphs, tables
    • monthly averages ? graphs, tables, comparison with absolute values and deviations
    • yearly averages ? graphs, tables, comparison with absolute values and deviations
    • all-values graph ? resizable, zoomable
    • smart caching for very fast loading
    • available also for mobile version
    • DEMO: http://www.meteotemplate.com/template/pages/station/night.php
  • new page/discontinued: Weather Outlook/forecast
    • this page is based on the Outlook plugin. The Outlook plugin is now DISCONTINUED as well as the WWO page! The new forecast/outlook page is now included for all in the core template files
    • added new forecast summary table ? see all forecasts in a single table overview
    • available also for mobile version
    • DEMO: http://www.meteotemplate.com/template/pages/forecast/index.php
  • new page: Astronomy Calendar
  • daily report
    • complete redesign and code clean up/optimization
    • added station long-term averages to tables and graphs
    • added deviations from long-term station averages to tables and graphs
    • added absolute min/max for station for comparison
    • new ?all-data? graph ? graph shows all parameters in one graph, you can turn on/off just the ones you want to compare
    • color-underlay in tables for all parameters
    • redesign included for mobile version
    • speed optimization
    • graphs resizable
    • bug fixes ? for example, in previous versions, no data showed as ?0? in graphs, which completely shifted the axis. Now the graphs simply are blank when there is no value
    • DEMO: http://www.meteotemplate.com/template/pages/station/redirect.php?url=reportDaily.php%3Fd%3D22%26m%3D10%26y%3D2016
  • monthly report
    • complete redesign and code clean up/optimization
    • new all-parameter graph ? all parameters in one graph
    • new ?almanac? section with month calendar, moon phases, sun rise/set
    • added to graphs and tables: comparison with long-term station
    • added to graphs and tables: deviation from long-term averages
    • added to graphs and tables: absolute min/max
    • redesign included for mobile version
    • color-underlay in tables for all parameters
    • graphs resizable
    • bug fixes ? see daily reports, correctly shift months when the first month in database is not January (previously showing January in all cases?)
    • DEMO: http://www.meteotemplate.com/template/pages/station/redirect.php?url=reportMonthly.php?date=2016/9
  • yearly report
  • station climate/statistics
    • complete redesign and optimization ? all parameters now handled by 1 script ? much easier code management and speed
    • added station averages to tables
    • added deviations from long-term station averages to tables
    • added absolute min/max for station for comparison
  • trends
    • redesign and optimization
    • all parameters now handled by just one script
    • now for mobile version as well
    • code clean up, bug fixes (same features, 95% less code?)
New features for blocks
  • block highlighting ? in homepage setup you can choose which blocks you want to be highlighted (different background color based on your color theme), works for mobile version as well
  • header block ? you can now select one block which will be right at the top and span the whole width of the page regardless of how many columns you have ? ideal for gauges for example and no need to use single-column layout and multiple blocks, just put header block at the top and have 3 columns below, works for mobile version as well
  • footer block ? the same as above, but this time a block spanning the whole width of the page at the very bottom below all other blocks, works for mobile version as well
  • menu block names ? you can now specify names for menu blocks. This is optional. If you specify a name, it will be shown at the top of the menu block below the blocks menu selector, the template will also try to translate this name if it is available in the language strings, if not, it will show it as specified, works for mobile version as well
New features
  • show current conditions in the header ? in the Main settings you can now specify if you want to enable this. If yes then you will see the current conditions on every page directly in the header below the flag icon. The values iterate automatically and you can specify the interval for the change to another parameter. Works also for mobile version.
  • site search ? you can now include a search for your whole site in the footer! This can be enabled/disabled in the Main settings. For this to work you will need a Google API key, instructions included in the Main settings file.
  • new feature ? insert custom image background to header for mobile version (setup in Main settings)
  • new features for you as an admin
    • ?remember me? feature ? select this and you will stay logged in as an admin even if you close the browser or shut down the computer, until you log out. This feature uses cookies and the currently most sophisticated encryption available (B-crypt)
  • new Import pages ? now accessible via cPanel directly
    • any software -> one import file
    • you can now import data to the database from practically any file or WU. You can precisely define the format of the file and it will automatically import it, no need to adjust the format. This allows importing log files from any software.
    • very detailed overview of what exactly is happening during the import to spot any errors (over 200 possible messages based on what is happening)
    • possibility to ?test import? to see if correct values will be saved to db
    • possibility to set the time span for WU import (for slow servers importing by month was a problem, in contrast, on faster servers you can now set longer intervals for import at once)
Bug fixes/optimizations/minor changes
  • GENERAL:
    • naming standardization ? at the beginning I simply called the files whatever I just first came up with, so some pages were renamed to respect the naming convention of the rest of the template
      eg: daily_report -> reportDaily
      annual_report -> reportYearly
  • station/pages/calendar.php
    Bug fixes, optimizations, CSS tweaks
  • station warnings icons moved inside the header to save valuable space below the header
  • climate pages ? optimization, CSS tweaks, redesign
  • interactive graph ? prevent graph from not loading when there is no data available for selected period
  • alldata table now created automatically when testing MySQL in Main settings
  • possibility to test emails ? mail server must be correctly configured on the server for emails to work, you can now test directly in Main settings, if notifications and plugins using emails will work for you
  • footer code clean up ? previously included all days available in the db in the code for day report selection, now handled by separate script
  • prevent the settings block showing ?opened? below the footer if db empty
  • removed all PHP notices caused by the METAR script
  • few new icons
  • fixed ?sun theme? issue
  • new spinner
  • liveData - fixed issue with total rain not showing
Depracted pages:
  • all update pages (WD, WView, WU, Cumulus - replaced by update.php)
  • all import pages (CSV, WU, WD, Cumulus - replaced by import.php)
  • worldweatheronline.php - replaced with darksky.net outlook
Depracted plugin:
  • outlook - now part of main template files with even more features
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 !!!!!

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #206 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!
Reinhard


jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #207 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

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #208 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:


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]
Reinhard


jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #209 on: October 28, 2016, 09:55:53 PM »
 [tup]