On Friday, September 29, 2017 at 8:35:19 AM UTC-4, Damjan Hajsek wrote:
>
> Thank you.
> I have tested forecast skin and it works.
> Can someone help me implenet this to my skin?
> http://vreme.povej.net/multiple-tables.html
>>
>>
>>
1) add the ForecastVariables search list extension to the skin.conf for 
your report:

[CheetahGenerator]
    search_list_extensions = user.forecast.ForecastVariables
    ...

2) include the tables in the template file (typically a file ending in 
.html.tmpl in your report):

#set global $forecast_table_settings = dict()

#set global $forecast_table_settings['source'] = 'WU'

#include "forecast_table.inc"

#set global $forecast_table_settings['source'] = 'NWS'

#include "forecast_table.inc"

#set global $forecast_table_settings['source'] = 'Aeris'

#include "forecast_table.inc"


that is all!

of course, you will not see NWS or aeris data until you add the 
credentials/locations for those services in the [Forecast] section of 
weewx.conf

look at the contents of multiple-tables.html.tmpl for more options.  read 
the comments in forecast_table.inc for more details.  read the comments in 
forecast.py for even more details.

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to