Template Feature: A Meteohub => Meteoplug conversion example
Re: Template Feature: A Meteohub => Meteoplug conversion example
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.
-
- Posts: 69
- Joined: Tue Mar 16, 2010 12:05 pm
- Location: Isle of Skye
- Contact:
Re: Template Feature: A Meteohub => Meteoplug conversion example
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:
b) localtime and uploadtime are now available, e.g.
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]
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)
David
Re: Template Feature: A Meteohub => Meteoplug conversion example
Thanks for all the info. This has been very useful.
Brett.
Brett.
Re: Template Feature: A Meteohub => Meteoplug conversion example
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.
Meteoplug seem to be stuck on Nth.
Brett.
-
- Posts: 69
- Joined: Tue Mar 16, 2010 12:05 pm
- Location: Isle of Skye
- Contact:
Re: Template Feature: A Meteohub => Meteoplug conversion example
So it does.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.
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]°)
N (45°)
Last edited by skyewright on Fri Apr 23, 2010 4:41 pm, edited 1 time in total.
David
Re: Template Feature: A Meteohub => Meteoplug conversion example
"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.
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
should be fixed by now.
-
- Posts: 69
- Joined: Tue Mar 16, 2010 12:05 pm
- Location: Isle of Skye
- Contact:
Re: Template Feature: A Meteohub => Meteoplug conversion example
Looking good now:admin wrote:should be fixed by now.
Thank you.Wind Speed 8.9 mph SSW (202°)
Gust Speed 14.1 mph S (180°)
David
Re: Template Feature: A Meteohub => Meteoplug conversion example
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.
I have added the wind direction angle in degrees to the wind direction text on my template. Thanks skyewright.