Page 2 of 2

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Wed Apr 14, 2010 10:27 pm
by admin
This is available now... Please have a look at new template features. I made a brief posting on this here in the forum. Wiki is also updated.

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Thu Apr 15, 2010 10:27 am
by skyewright
I've modified the template to make use of new additional features:

a) Text directions (e.g. N, S, E, W, etc.) are now available, so it's now possible to use:

Code: Select all

_dir_en] => _maindirtext]

_maxspeeddir_en] => _highdirtext]
b) localtime and uploadtime are now available, e.g.

Code: Select all

[actual_date0_time_local] => [actual_day1_misc_uploadlocaltime_11_8]

[actual_date0_puredate_local] => [actual_day1_misc_uploadlocaltime_8_2]/[actual_day1_misc_uploadlocaltime_5_2]/[actual_day1_misc_uploadlocaltime_0_4] (for UK format date)

[actual_date0_time_utc] => [actual_day1_misc_uploadutctime_11_8]

[actual_date0_puredate_utc] => [actual_day1_misc_uploadutctime_8_2]/[actual_day1_misc_uploadutctime_5_2]/[actual_day1_misc_uploadutctime_0_4] (for UK format date)

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Sat Apr 17, 2010 6:33 am
by oliverb
Thanks for all the info. This has been very useful.
Brett.

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Thu Apr 22, 2010 3:08 pm
by oliverb
Looking at my Template and skyewright's compared to both our Meteohubs the wind direction seems wrong.
Meteoplug seem to be stuck on Nth.
Brett.

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Fri Apr 23, 2010 9:22 am
by skyewright
oliverb wrote:Looking at my Template and skyewright's compared to both our Meteohubs the wind direction seems wrong.
Meteoplug seem to be stuck on Nth.
So it does.
Strange, I'm sure that was working when I first made the addition. Our weather was from the N at the time but I think I remember seeing some variation on that?

I've modified the "Current" and "Today" sections of my template to show the degrees as well as the text to highlight this oddity, e.g. currently

Code: Select all

[actual_min5_wind3_maindirtext] ([actual_min5_wind3_maindir_0_22.5]°)
is giving
N (45°)

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Fri Apr 23, 2010 4:00 pm
by admin
"maindir" and "highdir" deliver values from 0 - 15 according to 16 distinct directions (clockwise, north is 0°).

A value of 2 (which will give 45° when applied to a factor as in the example above) should result in text "NE".

I will dig into this, looks like a bug.

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Fri Apr 23, 2010 9:20 pm
by admin
should be fixed by now.

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Sat Apr 24, 2010 2:35 pm
by skyewright
admin wrote:should be fixed by now.
Looking good now:
Wind Speed 8.9 mph SSW (202°)
Gust Speed 14.1 mph S (180°)
Thank you.

Re: Template Feature: A Meteohub => Meteoplug conversion example

Posted: Sat Apr 24, 2010 5:33 pm
by oliverb
Yeah thanks for the fast response works fine now.

I have added the wind direction angle in degrees to the wind direction text on my template. Thanks skyewright.