Zambretti forecast in StellSeries

66 views
Skip to first unread message

Remy Lavabre

unread,
Jan 31, 2024, 4:10:06 AM1/31/24
to weewx-user
Good morning,

The SteelSeries skin leaves the possibility of displaying weather forecasts.
The gauge-data.txt.tmpl file contains the following lines:

## if forecasting is installed, report the Zambretti forecast
#if $varExists('forecast.zambretti')
#set $fc = $forecast.label('Zambretti', $forecast.zambretti.code)
#else
#set $fc = 'Prévisions météo indisponibles'
#end if


Hence my question: how should we activate these “Zambretti” weather forecasts?

THANK-YOU !

gjr80

unread,
Feb 1, 2024, 7:20:18 PM2/1/24
to weewx-user
If you want to use the Zambretti forecast text in the gauge-data.txt template you will need to install the WeeWX forecast extension. This extension has some issues, mostly with weather services such as WU (changed API) and DarkSky(now defunct) etc, but as far as I know the Zambretti forecast still works. If it doesn't work under WeeWX v4 or v5 you should try one of the forks. This one should work. 

Once installed you need to set the Zambretti forecast to work, there is little on Zambretti in the extension documentation, but if you read the comments in forecast.py it tells you what needs to go into the [Forecast] [[Zambretti]] stanza (from memory you can get by with just telling it you hemisphere). You then need to make the forecast variable available in your gauge-data.txt template by adding search_list_extensions = user.forecast.ForecastVariables to your SteelSeries skin config file, again this is covered in the comments in forecast.py.

You will need to restart WeeWX after installing and configuring the forecast extension.

I do not use the gauge-data.txt template or the forecast extension, but if they above do not work they should get you close. If you need to troubleshoot first confirm the Zambretti forecast is working and the forecast database is being populated, then look at whether the gauge-data.txt template is obtaining the Zambretti forecast text.

Gary
Reply all
Reply to author
Forward
0 new messages