Missing most of Current Conditions after an update

88 views
Skip to first unread message

Sylvain Gagnon

unread,
Apr 14, 2022, 10:51:53 PM4/14/22
to weewx-user
So I updated my WeeWX through sudo apt upgrade on my Raspbian system and now, I'm only seeing Outside temperature and pressure. I used have as well heat index, wind chill, winds, rains, etc. but they are now all missing :-(

During the update, I said to keep the original files so I don't know what happens. In /etc/weewx/skins/Seasons/current.inc, I see
#set $observations = $to_list($DisplayOptions.get('observations_current', ['outTemp', 'barometer']))

I changed it to this:
#set $observations = $to_list($DisplayOptions.get('observations_current', ['outTemp', 'barometer', 'heatindex', 'windchill', 'dewpoint', 'outHumidity', 'windSpeed', '.windDir', 'rainRate', 'inTemp']))

Restarted weewx with sudo systemctl restart weewx.service and also sudo wee_reports but still, only outside temperature and pressure is showing.

Anybody knows how I can fix this? I tried to look for a backup copy of the file and can't find one :-(

Thanks.

Sylvain Gagnon

unread,
Apr 14, 2022, 11:40:34 PM4/14/22
to weewx-user
Made some syntax error when fixing it, this worked

#set $observations = $to_list($DisplayOptions.get('observations_current', ['outTemp', 'barometer', 'heatIndex', 'windchill', 'dewpoint', 'humidity', 'windSpeed', 'windDir', 'rainRate', 'insideTemp']))

Still don't know what happened to screw it up like that

Sylvain Gagnon

unread,
Apr 15, 2022, 12:03:18 AM4/15/22
to weewx-user
Still not fully working :-( This is what daily.json returns

current

    outTemp "6.1"
    windchill
"6.1"

    heatIndex
"4.1"

    dewpoint
"-2.7"

    humidity
"54"

    insideHumidity
" N/A"

    barometer
"1014.9"

    barometerTrendDelta
"3 hours"

    barometerTrendData
"2.9"

    windSpeed
"3"

    windDir
"173"

    windDirText
"S"

    windGust
"3"

    windGustDir
"202"

    rainRate
"0.0"

    rainRateDaySum
"4.6"

    insideTemp
"20.2"

    rain
"0.0"

For some reason, I can't get 'heatIndex', 'humidity' and 'insideTemp' to show. Don't know why.

Sylvain Gagnon

unread,
Apr 15, 2022, 12:11:23 AM4/15/22
to weewx-user
Got everything back with this line
#set $observations = $to_list($DisplayOptions.get('observations_current', ['outTemp', 'barometer', 'windchill', 'heatindex', 'dewpoint', 'outHumidity', 'windSpeed', 'windGust', 'rainRate', 'inTemp']))

Sucks I had to go through all that trouble though.

Tom Keffer

unread,
Apr 15, 2022, 7:22:48 AM4/15/22
to weewx-user
For the Seasons skin, the list of types to be displayed is held in [DisplayOptions] in skin.conf. 

The list you are modifying is just a fallback list in case [DisplayOptions] is damaged or missing.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/82ec8abe-b462-45f1-892d-05847abb801en%40googlegroups.com.

Sylvain Gagnon

unread,
Apr 15, 2022, 6:45:16 PM4/15/22
to weewx-user
Well, there is no [DisplayOptions] in my  /etc/weewx/skins/Seasons/skin.conf file so that could explain why. Found the new version in /etc/weewx/skins/Seasons/skin.conf.dpkg-dist and transfered my custom to it and it's back, thanks for your help.
Reply all
Reply to author
Forward
0 new messages