Author Topic: Meteotemplate - new free website template  (Read 631450 times)

0 Members and 5 Guests are viewing this topic.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7075 on: May 31, 2017, 07:02:53 AM »
Hi guys,
I've created something similar as a plugin page about GFS, Reading, UKMO ecc. ecc.
Link: http://www.meteopistoia.it/custom/gfsgm.php

Regards,


Alessandro

:D Yes I know this page, Im planning on making a plugin for this one, I didnt use it for the block because there is too much information for a block. It might take some time before I get to it though.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7076 on: May 31, 2017, 07:08:18 AM »
Thanks, understand it now, any thoughts on why the bars icon is smaller?

You might need to change the font size of the span

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7077 on: May 31, 2017, 07:12:58 AM »
Ah, you mean like you have done with some of the others? Thanks
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7078 on: May 31, 2017, 07:39:32 AM »
Yes, sometimes the SVG scaling is not 100% equivalent

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7079 on: May 31, 2017, 07:43:01 AM »
Ah great, thanks, will have a look after sunbathing
PS, the air quality block ain't working, it was, but stopped this morning
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7080 on: May 31, 2017, 08:10:06 AM »
It is, its just not a reliable source and often times out and then you have to wait before the cache expires and it tries again.

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7081 on: May 31, 2017, 08:56:50 AM »
Thanks, understand it now, any thoughts on why the bars icon is smaller?

You might need to change the font size of the span

Worked perfect with

Code: [Select]
<div class="iconHelpDiv">
<span class="fa fa-bars helpIcon" style="font-size:1.95em"></span><br><?php echo lang('menu','c')?>
</div>

For anyone interested, thanks to Jachym for the info, this is the menu bars for the blocks, (see image below) i have added
it to the help section with the above code in to the footer.php add it into this area below, but bear in mind were cause it wouldt
look right in the weather section ;)

Code: [Select]
<h2 style="color:white"><?php echo lang('icons','c')?></h2>
<div class="iconHelpDiv">
<span class="mticon-temp helpIcon"></span><br><?php echo lang('temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-humidity helpIcon"></span><br><?php echo lang('humidity','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-pressure helpIcon"></span><br><?php echo lang('pressure','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-wind helpIcon"></span><br><?php echo lang('wind speed','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-gust helpIcon"></span><br><?php echo lang('wind gust','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-rain helpIcon"></span><br><?php echo lang('precipitation','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-sun helpIcon"></span><br><?php echo lang('solar radiation','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-snow helpIcon"></span><br><?php echo lang('snow','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-apparent helpIcon"></span><br><?php echo lang('apparent temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-dewpoint helpIcon"></span><br><?php echo lang('dew point','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-uv helpIcon"></span><br><?php echo lang('uv','u')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-visibility helpIcon"></span><br><?php echo lang('visibility','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-cloudbase helpIcon"></span><br><?php echo lang('cloudbase','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-evapotranspiration helpIcon"></span><br><?php echo lang('evapotranspiration','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-indoortemp helpIcon"></span><br><?php echo lang('indoor temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-indoorhumidity helpIcon"></span><br><?php echo lang('indoor humidity','c')?>
</div>
<br>
<div class="iconHelpDiv">
<span class="mticon-sunrise helpIcon"></span><br><?php echo lang('sunrise','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-sunset helpIcon"></span><br><?php echo lang('sunset','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-moonrise helpIcon"></span><br><?php echo lang('moon rise','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-moonset helpIcon"></span><br><?php echo lang('moon set','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-time helpIcon"></span><br><?php echo lang('time','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-hourglass-start helpIcon"  style="font-size:1.75em"></span><br><?php echo lang('from','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-hourglass-end helpIcon"  style="font-size:1.75em"></span><br><?php echo lang('to','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-window-maximize helpIcon"  style="font-size:1.75em"></span><br><?php echo lang('fullscreen','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-image helpIcon"  style="font-size:1.75em"></span><br><?php echo lang('export as image','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-gear helpIcon" style="font-size:1.75em"></span><br><?php echo lang('settings','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-home helpIcon" style="font-size:1.75em"></span><br><?php echo lang('homepage','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-webcam helpIcon"></span><br><?php echo lang('webcam','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-bars helpIcon" style="font-size:1.95em"></span><br><?php echo lang('menu','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-table helpIcon"></span><br><?php echo lang('table','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-graph helpIcon"></span><br><?php echo lang('graph','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-map helpIcon"></span><br><?php echo lang('map','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-trendneutral helpIcon"></span><br><?php echo lang('steady','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-trendup helpIcon"></span><br><?php echo lang('rising','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-trenddown helpIcon"></span><br><?php echo lang('falling','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-warninggeneral helpIcon"></span><br><?php echo lang('warning','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-lat helpIcon"></span><br><?php echo lang('latitude','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-lon helpIcon"></span><br><?php echo lang('longitude','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-history helpIcon"></span><br><?php echo lang('history','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-solar helpIcon"></span><br><?php echo lang('solar eclipse','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-lunar helpIcon"></span><br><?php echo lang('lunar eclipse','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-gps helpIcon"></span><br>GPS
</div>
<div class="iconHelpDiv">
<span class="mticon-elevation helpIcon"></span><br><?php echo lang('elevation','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-day helpIcon"></span><br><?php echo lang('day','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-month helpIcon"></span><br><?php echo lang('month','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-calendar-year helpIcon"></span><br><?php echo lang('year','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-hot helpIcon"></span><br><?php echo lang('high temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-cold helpIcon"></span><br><?php echo lang('low temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-sun helpIcon"></span><br><?php echo lang('day','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-night helpIcon"></span><br><?php echo lang('night','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-spring helpIcon"></span><br><?php echo lang('spring','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-summer helpIcon"></span><br><?php echo lang('summer','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-autumn helpIcon"></span><br><?php echo lang('autumn','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-snow helpIcon"></span><br><?php echo lang('winter','c')?>
</div>
</div>
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - Plugin Update – User Map 6.0
« Reply #7082 on: May 31, 2017, 10:27:39 AM »
Plugin Update – User Map 6.0

Hi guys,

the updated version includes the following new features:

- mini-globe in the map bottom right
- current daylight visualization

DEMO: http://www.meteotemplate.com/template/plugins/userMap/index.php

Enjoy

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7083 on: June 01, 2017, 02:12:06 AM »
Morning Jachym

Just tried out the new Soil and New leaf block, neither worked for me, please see image, the soil looks just odd and the leaf
didnt work at all, now reverted back to the original block

Kind regards
Bashy

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Meteotemplate - new free website template
« Reply #7084 on: June 01, 2017, 05:39:37 AM »
soil temp and moisture working here (soil block 4.0), just tested, using the API
(make sure to click on settings in the block setup for soil maybe ?)

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7085 on: June 01, 2017, 05:45:22 AM »
Yes, but Im not surprised it does not Bashy, look:

http://suffolkweather.info/template/meteotemplateLive.txt

Eg. leaf wetness is labeled in the API as "LW". There is no data for any LW sensor in the raw input sent by whichever SW you use so the template has nothing to use.

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Meteotemplate - new free website template
« Reply #7086 on: June 01, 2017, 09:24:59 AM »
Jachym,

I noticed today that the footer season icon changed to summer.  I have astronomical selected in the main setup.  I tried resetting with no change.  Bug maybe?

Jay
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7087 on: June 01, 2017, 09:36:49 AM »
Jachym,

I noticed today that the footer season icon changed to summer.  I have astronomical selected in the main setup.  I tried resetting with no change.  Bug maybe?

Jay

Hi Jay,
yes, thanks, I found the problem and fixed it, will be ok in v15

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - New Plugin – API Viewer
« Reply #7088 on: June 01, 2017, 09:38:15 AM »
New Plugin – API Viewer

Hi guys,

this plugin is a good way to check what exactly your software, or whichever update type you use, sends to the API and what is available to the template.
It loads all the variables from the input and so whatever you see here is exactly the data that was provided to the template. If you see any missing data or incorrect values you must check the data source (the software used, Weather Underground etc.).
The DEMO shows all the possible parameters the API supports, the data is updated automatically and in the plugin setup you only have to provide the update interval in seconds.
As I mentioned above, this is a good way to check if some data is available and useful for example if you want to install a block which uses data from some extra sensors.
As always, don´t forget to update the menu.php before adding it.

DEMO: http://www.meteotemplate.com/template/plugins/apiViewer/index.php

Enjoy

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Meteotemplate - new free website template
« Reply #7089 on: June 01, 2017, 09:39:59 AM »
Jachym,

Thanks for looking at it.  Is there a way for me to fix it now, or too complicated?

Jay
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7090 on: June 01, 2017, 09:49:06 AM »
I will email it to you so that you can test it.

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7091 on: June 01, 2017, 12:46:53 PM »
Yes, but Im not surprised it does not Bashy, look:

http://suffolkweather.info/template/meteotemplateLive.txt

Eg. leaf wetness is labeled in the API as "LW". There is no data for any LW sensor in the raw input sent by whichever SW you use so the template has nothing to use.

it should be this one the other is the old one, but, still not in that either, not sure why not, i am using WD, your old block worked ok, is that cause it was using the clientraw?
By the sounds of it, it should be in WD cause its working for Brian, I only updated WD yesterday as well, confused.com  :???:
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7092 on: June 01, 2017, 12:55:18 PM »
Install the just released plugin, that will show you everything the template has available.

if something is missing there, it will never show up anywhere in the template simply because the template does not have that info. The API viewer plugin is a list of everything it has available, before doing any further processing, basically just raw data converted to display units. Which means that if the units are wrong it is also not the template´s fault...

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7093 on: June 01, 2017, 12:56:11 PM »
Oki, on it now, thanks..
Kind regards
Bashy

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7094 on: June 01, 2017, 01:02:39 PM »
Yip, deffo not in the apiViewer, LW not in there :/

But then its also showing an extra temp as soil temp when i dont have a soil temp, that temp is
for night cloud not soil (extra temp 2)
« Last Edit: June 01, 2017, 01:05:08 PM by Bashy »
Kind regards
Bashy

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Meteotemplate - new free website template
« Reply #7095 on: June 01, 2017, 01:29:58 PM »
this soil block is to to show soil temperature and soil moisture

not sure why no leaf wetness (LW) data supplied by WD for the api would affect it
(it works for me, shows soil temp and soil wetness OK with no LW data in the api data)

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7096 on: June 01, 2017, 01:40:01 PM »
No leaf is regards to the new leaf block not working, the issue with the soil block is it looking odd, I only have 1 soil moisture (testing for Mick) and no soil temp.

Leaf was working fine on the old combined soil and leaf block
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7097 on: June 01, 2017, 01:48:13 PM »
Old block used clientraw. New block uses API. What is not in API will not show in blocks.

Offline waiukuweather

  • Forecaster
  • *****
  • Posts: 1072
Re: Meteotemplate - new free website template
« Reply #7098 on: June 01, 2017, 01:56:03 PM »
next update of WD will have leaf wetness data in the MT API
(no leaf temperature , that is not supported in WD (I don't know of any station that provides that data)

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7099 on: June 01, 2017, 01:58:06 PM »
I cant remember which SW and who told me about this, but I know someone has that :D