Belchertown new install

482 views
Skip to first unread message

super zee

unread,
Sep 27, 2021, 1:58:31 AM9/27/21
to weewx-user
I am doing a brand new install of the Belchertown skin so here is a noob question for the group.  How do I actually get weewx to start using the Belchertown skin and start uploading it to my webhost?  Do I need to set enable = true in the weewx.conf file?

It seems to still constantly upload the Seasons skin to my web host.  Where is the switch to start using the new Belchertown skin?  

Here is the weewx.conf file.

[[Belchertown]]
        skin = Belchertown
enable=true
HTML_ROOT = /var/www/html/weewx/belchertown

Is this the old Seasons skin?  This is what it constantly uploads.  I'm not seeing Belchertown at all and I'm pulling my hair out trying to understand what is wrong.  

Thanks for the help.
Chris 
Capture.JPG

Karen K

unread,
Sep 27, 2021, 4:44:39 AM9/27/21
to weewx-user
May be, you want to add 'belchertown' at the end of the URL you enter into the browser.

Doug Jenkins

unread,
Sep 27, 2021, 8:21:49 AM9/27/21
to weewx-user
what you want to do is disable seasons and leave just belchertown enabled. I would also clear out the target public_html directory and point your belchertown skin there.

In this example, I am disabling the seasons skin and writing the generated html to /home/weewx/public_html. Adjust your target html directory in both HTML_ROOT and in HTML_ROOT under [Belchertown]

# ===== START EXAMPLE =====

# Options for 'StdReport'
[StdReport]
    
    # Where the skins reside, relative to WEEWX_ROOT
    SKIN_ROOT = /etc/weewx/skins
    
    # Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT = /home/weewx/public_html
    
    # The database binding indicates which data should be used in reports.
    data_binding = wx_binding
    
    # Whether to log a successful operation
    log_success = True
    
    # Whether to log an unsuccessful operation
    log_failure = True
    
    # Each of the following subsections defines a report that will be run.
    # See the customizing guide to change the units, plot types and line
    # colors, modify the fonts, display additional sensor data, and other
    # customizations. Many of those changes can be made here by overriding
    # parameters, or by modifying templates within the skin itself.
    
    [[SeasonsReport]]
        # The SeasonsReport uses the 'Seasons' skin, which contains the
        # images, templates and plots for the report.
        skin = Seasons
        enable = False   
    
    [[Belchertown]]
        skin = Belchertown
        HTML_ROOT = /home/weewx/public_html
        enable = true

# ===== END EXAMPLE =====

tarob...@gmail.com

unread,
Sep 27, 2021, 9:12:51 AM9/27/21
to weewx-user
I have both Seasons Skin and Belchertown. I like having both, up to you if you want to disable the Seasons Skin. However, you can keep everything the same, just add /belchertown to the end of your url. So instead of http://your_ip/weewx it will be http://your_ip/weewx/belchertown

-Troy

super zee

unread,
Sep 29, 2021, 10:34:19 AM9/29/21
to weewx-user
Thanks for all the help folks.  Skin is finally uploading and initially appears to be working.  Now I have to learn how to edit the skin to add a webcam.

Pat

unread,
Sep 30, 2021, 8:21:01 AM9/30/21
to weewx-user
If you install the skin from the latest master branch on my GitHub, then you can follow these instructions to have a new tab added above the radar window, which can be a place for your webcam. 

You can go to https://github.com/poblabs/weewx-belchertown, click Code > Download Zip, then install it as you did before. 

Then you can follow these instructions: https://github.com/poblabs/weewx-belchertown/issues/703#issuecomment-923952463 by adding it to a new file called index_radar.inc in the same root Skin folder as the about.inc file and index.html.tmpl file, etc.

Results can be found on https://belchertownweather.com 
Reply all
Reply to author
Forward
0 new messages