Belchertown Weather Skin - no graphs, other issues

274 views
Skip to first unread message

Timothy Nendick

unread,
May 27, 2022, 6:45:47 PM5/27/22
to weewx-user
hello,

I'm a relatively newbie user, a teacher setting up a high school weather station. 

i'm running weewx 4.8.0 and Belchertown 1.2 as the skin. This is running on a raspberry pi 3. I just wiped and reimaged the raspian install (running Bullseye/11) today.  The connected hardware is a Davis Vantage Pro on TTYUSB0 via the Davis Data logger and a serial to USB converter.

I've disabled the "Seasons" skin. When I run wee_reports, the generated .index.html file in the belchertown folder of /var/www/html/belchertown looks like this
ePpPotw.png 

Some of the changes from the [[[Extras]]] in weewx.conf have applied (theme, visibility, images, earthquates) while other things have not (anything using strings, and the forecast). Additionally, the highcharts does not seem to generate a chart - there is nothing on the main page or the graphs tabl. 

When I try to navigate between the generated pages, some work (about, records) - albeit having to click on their "index.html" page - like this
Gh5Yga1.png

The default "Seasons" skin did successfully generate all its charts as images. I've disabled it, and deleted the /var/www/html/weewx folder to ensure any duplicate data was gone.  All the changes to the Belchertown skin are made in the weewx.conf document, not the skin.conf file

I've uploaded the weewx.conf file I'm using to drive; I've highlighted any changes to the base file that I'm aware I've made in yellow: drive link to google doc with weewx.conf

Looking for how to get the graphs working, as well as to get the rest of the customizations in [[Belchertown]] --> [[[Extras]]] to work. 

Appreciative of the help


vince

unread,
May 28, 2022, 12:57:39 PM5/28/22
to weewx-user
First thing I'd suggest is to install a webserver (I like nginx) and use that for looking at Belchertown pages.  Belchertown can get a little finicky navigating around especially if you run your webserver on an alternate port.

Only thing I see that looks perhaps odd is that you have quotes around your values.  I don't have that anywhere and mine works, FWIW.  You might want to try removing the quotes around your forecast-related items at a minimum.

Running weewx with debug=1 and looking at your syslog (/var/log/syslog on a pi) usually helps in debugging.

My Belchertown stanza looks like the following.  Everything else is using whatever Belchertown's built-in defaults are.   I'm running 1.3b1 but I don't know if that matters or not.  Looks like Pat has 1.3b2 there on the github page, but I didn't look at what the differences are.

    [[Belchertown]]
        skin = Belchertown
        HTML_ROOT = public_html/weewx_belchertown
        enable = true

        [[[Extras]]]

            belchertown_debug = 0
            site_title = My Site Title Here
            show_last_updated_alert = 1
            last_updated_alert_threshold = 1800

            forecast_enabled = 1
            forecast_provider = aeris
            forecast_api_id = <redacted>
            forecast_api_secret = <redacted>
            forecast_stale = 3540
            forecast_interval_hours = 24
            forecast_alert_enabled = 1

            earthquake_enabled = 1
            earthquake_maxradiuskm = 300

            work_around_ConfigObj_limitations = true

        [[[Labels]]]

            [[[[Generic]]]]

Reply all
Reply to author
Forward
0 new messages