Meteotemplate - new free website template

Exclusive for WD!

LIVE GAUGES FOR WEATHER DISPLAY

A new plugin is now available - live gauges for Weather Display!

This plugin extends the functionality of the built-in gauges plugin and allows much faster updates. The whole idea of this plugin is that unlike any of the other scripts in the template, it does NOT use the database, and uses data from the clientraw text file directly. This means it allows viewing the most recent conditions. The database is of course still updated in the standard interval.

The plugin requires that you use Weather Display and that you upload clientraw.txt to your server. Also, it will only make sense if this upload is more frequent than your database update, otherwise it will just duplicate the already built-in gauges in the main template.

If you do have a clientraw file on your server updated more often, then setting it up will be very easy. There are several designs available for you to choose from. As you know I prefer the simple “material” design style, however I do understand that many prefer more colors, 3D effects, shadows etc. There are therefore several versions, some of which use the material design theme and others with more colors and 3D effects. You can also choose from two available sizes, where one is probably ideal for mobile devices as it fits on one screen, while the other one is easier to read on a PC.

Features

  • live conditions with auto updates
  • several design themes
  • 2 sizes
  • solar sensor and UV gauge automatically displayed/hidden based on config.php settings
  • units either default or user-defined (linked to the rest of the template)
  • in the “color” theme, thermometer color changes between red/blue (if freezing)
  • precipitation gauge can be switched to show daily/monthly or annual rain
  • thermometer can be switched to show temperature/apparent temperature or dew point

Installation instructions available in the blog.

Demo: http://www.meteotemplate.com/template/plugins/liveGaugesWD/index.php - - please note: the demo uses dummy random data as I don’t have WD connected to my station and generating clientraw. To see all versions simply view the demo and then replace index.php by index2.php, … , index5.php

Download: http://www.meteotemplate.com/web/plugins.php
Info/comments: http://meteotemplate.com/blog/?p=274

PLUGIN UPDATES

I have decided to gradually begin updating all the plugins so that they can also be localized to different languages. I hope this will be useful to some of you as right now the plugins are all in English unless you translated them by hard-coding different strings. However, that is not an ideal situation for two reasons - first, the user cannot change language, so it will always be displayed in the language you translated it to and second, if I release an update, you would either have to stick with your current version or update and lose all the changes.

First plugins that are now localized are one of the most popular ones and ones that contain relatively lot of strings - the diary and the disasters. However, right now, basically they are still just in English, but that is simply because somebody will first have to help me and translate them so that I can include the language file. The way it works is that the plugins will always first search if there is a language string available for the language chosen, if not, it will use English. This means that if you wish to translate, you don’t even need to translate everything. The untranslated strings will simply remain in English.

Language files are placed in the lang directory and the translation follows the exact same logic as the language strings for the core template.

In addition, the updates also contain a few minor bug fixes so I recommend you update the files. In case of the diary there were some minor problems with the Moon phase calculation.

I also apologize to our Canadian friends and I have added the only one F5 tornado ever observed in Canada in the disasters plugin and thus also renamed the “US F5 tornadoes” site :-).

Make sure you read the instructions for updating the scripts in the blog, you might otherwise lose some valuable data!

Hi guys, I really apologize, I accidentally uploaded the ZIP file intended for the demo, which used random data.

I updated the ZIP file with the correct file.

Once again sorry about that, the current version should work fine.

Did not even have to reload!! Working fine. Nice job again Jachym

good stuff
another good alternative for live data without using Flash :slight_smile:

Thanks Brian,

I have an alternative version just for WD, which also uses the other client raw files with graphs and records as well, I guess you know what I am talking about, also, that one works stand-alone, without the need to have Meteotemplate installed. It is not 100% finished, but if you have time have a look at the version I sent you in the past and it would be nice to actually finalize this, I just have to make sure it works though.

Hi.

Nice work :lol: Jachym

I have follow the installation blog but cant get the live gauges to work with WD.
The site shows up but no gauges :frowning:
http://www.ulsteinvikweather.com/meteopage/plugins/liveGaugesWD/index.php

Any help is apreasiated.

@Jachym
sure, I can help you with that :wink:

[quote author=Bj

Setting the path to client is correct, hav checked the adress in browser Jachym.

see photo.


setting.php.JPG

Are you using the updated script I uploaded yesterday? There was a bug so if you downloaded the file in the first hour after release it would not work.

Make sure you have the latest version, this is really weird, because only humidity is shown and surprisingly it does not correspond to the one in clientraw!

Your humidity currently in clientraw is 91%, the update script reports 90… I suspect you are using the buggy version, try redownloading the file and just replace the update.php with the most recent version.

Thanks jachym, will try tomorrow and let you now.

LIVE GAUGES FOR CUMULUS AND METEOBRIDGE

New plugins are now available. These plugins do the exact same thing as the WD Live Gauges introduced previously. For Cumulus, it is just as simple to set up as for WD, just instead of the clientraw.txt you specify path to your realtime.txt, Meteobridge is slightly more tricky.

Install instructions are provided in the corresponding blog post.

DEMO: http://www.meteotemplate.com/template/plugins/liveGaugesWD/index.php - please note: the demo uses dummy random data and the WD gauges, but it is exactly the same for the other SW. To see all versions simply view the demo and then replace index.php by index2.php, … , index5.php

Download: http://www.meteotemplate.com/web/plugins.php
Info/comments: http://meteotemplate.com/blog/?p=276

Got mine working at first attempt :wink:

http://meteolacstjean.com/hebertville/plugins/liveGaugesWD/index5.php

thanks :smiley:

Great! And actually Im glad that someone without solar sensor has also confirmed it is working, the solar and UV gauges are hidden in your case. :slight_smile:

wish i had them :frowning: hehehe

Well you are not alone :smiley:

Btw… I really had to laugh when I looked at your signature, because I thought about that nice line which most people (including you) also have at the bottom of their site and I followed the logic…

Have a look :smiley: :smiley:

“Weather is like women…”
“Never base important decisions on any weather information”

:smiley: :smiley: :smiley:

Jachym
are you able to add option to have the windspeed gauges round instead?

Sure, I would simply copy the code for the humidity/pressure/solar gauge and use it for wind/gust

:smiley: