That took way longer than anticipated, especially since all three AI where quite useless into helping me make a working configuration. So I started from scratch ans studied how the forecast example works. This is what I did, it quite pretty simple, in fact, once you know it lol.
Install the skin
sudo weectl extension install
https://github.com/chaunceygardiner/weewx-forecast/releases/download/v4.0/weewx-forecast-4.0.zipEdit /etc/weewx/weewx.conf
- Under [Forecast], remove unwanted forecasts. I kept only OWM and inserted my api_key. This will remove the warning for unconfigured services when weewx starts.
- Under [Engine]->[[Services]], only keep the archive_services needed. For me, it was weewx.engine.StdArchive, user.forecast.OWMForecast (first one was already present before forecast was installed)
Nothing else was changed by me.
Copy the required files from forecast to Seasons (adjust to whatever forecast services you want to use, but keep forecast.css and the icons)
sudo cp -pr /etc/weewx/skins/forecast/forecast.css /etc/weewx/skins/forecast/forecast_strip.* /etc/weewx/skins/forecast/icons /etc/weewx/skins/Seasons
Edit /etc/weewx/skins/Seasons/skin.conf
- Under [CheetahGenerator], after "encoding = html_entities", add
search_list_extensions = user.forecast.ForecastVariables
- Under [CopyGenerator], append to the end of "copy_once"
forecast.css, forecast_strip.css, icons/*.png
Edit /etc/weewx/skins/Seasons/forecast_strip.inc
- Change the strip_source variable content to the service you're using. I used OWM so I changed the line to
#set $strip_source = 'OWM'
- Change the num_periods to what you need. Mine is 40 so I changed the line to
#set $num_periods = 40
- Adjust the section 'Which columns should be displayed' to your liking. I added dewpoint and humidity
Nothing else was changed.
Edit /etc/weewx/skins/Seasons/index.html.tmpl
- Just below
<link rel="stylesheet" type="text/css" href="seasons.css"/>
add
<link rel="stylesheet" type="text/css" href="forecast.css"/>
<link rel="stylesheet" type="text/css" href="forecast_strip.css"/>
- Between the last </div> and <p class="footnote"> add this
<div id='forecast'></div>
- Between </p> and </body> add this (adjust populate_strip second parameter to the service you're using)
#set global $forecast_strip_settings = dict()
#set global $forecast_strip_settings['orientation'] = 'vertical'
#include "forecast_strip.inc"
<script>
populate_strip('forecast', 'OWM');
</script>
Nothing else was changed. That's all the changes that are needed. Icons are size correctly and the list drops vertically, perfect for a phone.
Restart weewx and either wait for the reports to autogenerate or run
weectl report run
to run them right away.
The forecast will appear after the graphs. You can put them anywhere by moving the "<div id='forecast_strip'></div>" line to where you want.
Hope this save somebody else the headache of figuring out to make it work. The readme i the repo was pretty useless.