Belchertown skin 1.1 released!

962 views
Skip to first unread message

Pat

unread,
Apr 8, 2020, 2:26:33 PM4/8/20
to weewx-user
As mentioned in this thread, I've released Belchertown skin 1.1. This will be the last skin that uses the DarkSky API for weather conditions and forecasts. I'm going to begin working on 1.2 soon to migrate to OpenWeatherMap. 

Read the entire release details here which outline the breaking changes, new changes, items removed, etc. 

Always have a backup before you upgrade!

Download:

wget https://github.com/poblabs/weewx-belchertown/releases/download/weewx-belchertown-1.1/weewx-belchertown-release-1.1.tar.gz


Then run:

sudo wee_extension --install weewx-belchertown-release-1.1.tar.gz



Restart weewx when finished configuring.


Thanks!

Colin Larsen

unread,
Apr 8, 2020, 4:19:15 PM4/8/20
to weewx-user
Thanks Pat, I'll tackle this sometime in the next few days after I have a good read of the breaks ;)

Cheers
Colin

--
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/b880b654-fe1f-4bf8-9dff-f8ef7fff54b3%40googlegroups.com.

Colin Larsen

unread,
Apr 8, 2020, 7:40:24 PM4/8/20
to weewx-user
Update done at 41south.net, as far as I can tell nothing broke and I haven't had to make any changes to graphs.conf - possibly I'm not using any of the changed options?

Colin

Colin Larsen

unread,
Apr 8, 2020, 7:40:52 PM4/8/20
to weewx-user
Whoops sorry - 41south.nz

Colin

Pat

unread,
Apr 8, 2020, 8:08:15 PM4/8/20
to weewx-user
If you had a 1.1 beta version running then you may have already made a bunch of the changes you needed. Looks good on my end too!


On Wednesday, April 8, 2020 at 7:40:52 PM UTC-4, Colin Larsen wrote:
Whoops sorry - 41south.nz

Colin

On Thu, 9 Apr 2020 at 11:40, Colin Larsen <colin...@gmail.com> wrote:
Update done at 41south.net, as far as I can tell nothing broke and I haven't had to make any changes to graphs.conf - possibly I'm not using any of the changed options?

Colin

On Thu, 9 Apr 2020 at 08:18, Colin Larsen <colin...@gmail.com> wrote:
Thanks Pat, I'll tackle this sometime in the next few days after I have a good read of the breaks ;)

Cheers
Colin

On Thu, 9 Apr 2020, 06:26 Pat, <p...@obrienphoto.net> wrote:
As mentioned in this thread, I've released Belchertown skin 1.1. This will be the last skin that uses the DarkSky API for weather conditions and forecasts. I'm going to begin working on 1.2 soon to migrate to OpenWeatherMap. 

Read the entire release details here which outline the breaking changes, new changes, items removed, etc. 

Always have a backup before you upgrade!

Download:

wget https://github.com/poblabs/weewx-belchertown/releases/download/weewx-belchertown-1.1/weewx-belchertown-release-1.1.tar.gz


Then run:

sudo wee_extension --install weewx-belchertown-release-1.1.tar.gz



Restart weewx when finished configuring.


Thanks!

--
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...@googlegroups.com.

Colin Larsen

unread,
Apr 8, 2020, 8:09:55 PM4/8/20
to weewx-user
I think my last was 1.04 beta or such. Just looking at tweaking some options now :)

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/434401fc-6e71-4b30-b36a-2c1e2adc5b8e%40googlegroups.com.

Wifi75

unread,
Apr 9, 2020, 6:34:00 AM4/9/20
to weewx-user
Hi Pat I hope you are fine....
I installed your skin but I always see the default skin like never before.
look at my configuration and tell me what am i wrong:



   
   
[[SeasonsReport]]
       
# The SeasonsReport uses the 'Seasons' skin, which contains the
       
# images, templates and plots for the report.
        skin
= Seasons
        enable
= false
   
   
[[SmartphoneReport]]
       
# The SmartphoneReport uses the 'Smartphone' skin, and the images and
       
# files are placed in a dedicated subdirectory.
        skin
= Smartphone
        enable
= false
        HTML_ROOT
= /var/www/html/weewx/smartphone
   
   
[[MobileReport]]
       
# The MobileReport uses the 'Mobile' skin, and the images and files
       
# are placed in a dedicated subdirectory.
        skin
= Mobile
        enable
= false
        HTML_ROOT
= /var/www/html/weewx/mobile
   
   
[[StandardReport]]
       
# This is the old "Standard" skin. By default, it is not enabled.
        skin
= Standard
        enable
= false
   
   
[[Belchertown]]
        HTML_ROOT
= /var/www/html/weewx/belchertown
        skin
= Belchertown
 enable
= true

Joachim Vorrath

unread,
Apr 9, 2020, 6:43:26 AM4/9/20
to weewx-user
Thank you for all your hard work Pat!

Update works well, had to use my beta configuration after update. Graphs-page, charts and about page works without problems.


regards
Joachim

Pat

unread,
Apr 9, 2020, 9:33:05 AM4/9/20
to weewx-user
That's because you have Belchertown being saved to HTML_ROOT = /var/www/html/weewx/belchertown

Either browse to your server at /weewx/belchertown or change the HTML_ROOT to something that works for you

G Hammer

unread,
Apr 9, 2020, 10:50:44 AM4/9/20
to weewx-user
Upgraded from a previous 1.1 beta fine here.

salinois

unread,
Apr 9, 2020, 1:21:36 PM4/9/20
to weewx...@googlegroups.com

hello PAT

I just upgrade in skin 1.1 before I was in 1.1b9

that works fine . http://jurassikpat.ddns.net/weewx/belchertown/

good Job

pay attention to health, and congratulations on the baby.

Patrick


Le 09/04/2020 à 16:50, G Hammer a écrit :
Upgraded from a previous 1.1 beta fine here.

--
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.

Jan Stelling

unread,
Apr 11, 2020, 6:59:42 AM4/11/20
to weewx-user
Dear Pat,

Thanks for making this!!!
Just upgraded woth some minor struggles. But after going through my skin.conf file that I copied back and forth, I corrected and all works like a charm:

Just one question/remark:
I added the new radial graph types under Graphs (Verlauf) > Year (Jahr) just at the end. The x axis show the abbreviations of the months in English. Is there a way to translate those?
For the the avgclimatethisyear this works nicely via xAxis_categories, but not for the radials.

Manfred Maier

unread,
Apr 17, 2020, 4:23:29 PM4/17/20
to weewx-user
Hi Pat,
thanks for all your work!

After upgrading to version 1.1 (from 1.0) I get a weird behavior: Two of my sub-pages ("about" and "station") are not generated. The respective folders get generated, but the folders are empty and the index.html file is missing.

This is, how my "skin.conf" looks like:

    [[ToDate]]

        # Reports that show statistics "to date", such as day-to-date,

        # week-to-date, month-to-date, etc.

        [[[weewx_data]]]

            template = json/weewx_data.json.tmpl


        [[Belchertown]]

            template = js/belchertown.js.tmpl


        [[[home]]]

            template = index.html.tmpl


        [[[about]]]

            template = about/index.html.tmpl


        [[[graphs]]]

            template = graphs/index.html.tmpl


        [[[records]]]

            template = records/index.html.tmpl


        [[[reports]]]

            template = reports/index.html.tmpl


        [[[station]]]

            template = station/index.html.tmpl


        [[[webcam]]]

            template = webcam/index.html.tmpl


        [[[pi]]]

            template = pi/index.html.tmpl


        [[[manifest]]]

            encoding = utf8

            template = manifest.json.tmpl

 
All the other pages work (e.g. "webcam" that I've also added manually).

Probably I make quite an obvious mistake somewhere, but I cannot figure out what it is.
Would you have any idea what I'm doing wrong?

Thanks!
Manfred

Jan Stelling

unread,
Apr 18, 2020, 4:33:26 AM4/18/20
to weewx-user
After upgrading to version 1.1 (from 1.0) I get a weird behavior: Two of my sub-pages ("about" and "station") are not generated. The respective folders get generated, but the folders are empty and the index.html file is missing.

Manfred,

I had the same issue with my about.inc site. After comparing the template about.inc with my backup version, I realized that the new file starts with
#encoding UTF-8
After adding this to my about.inc, it started to be generated. Maybe you have a similar issue...

Manfred Maier

unread,
Apr 18, 2020, 5:56:39 AM4/18/20
to weewx-user
Hi Jan,
you are my hero! That did the job.

I guess that some of my files implicitly had a wrong text coding. The 1.1 version seems to be a bit more sensible to text encodings.
Some of my .inc files work without the explicit #encoding line, some don't.

Anyway, now everything is working again.

Danke Dir!
Manfred 

Manfred Maier

unread,
Apr 18, 2020, 2:53:24 PM4/18/20
to weewx-user
Another issue after switching to version 1.1:
On my "station" page I used to have an embedded Highchart. But now it's not produced anymore :(

In the graphs.conf I have:

[station]
    show_button
= false
    time_length
= 259200 # 72 hours in seconds
    aggregate_type
= last
    aggregate_interval
= 300 # 5 min
    gapsize
= 300000 # 5 min
   
   
[[rxchart]]
        title
= ISS Empfangsstärke
       
[[[rxCheckPercent]]]
            name
= Stärke des Funksignals
            color
= "#e5544e"
            lineWidth
= 1
            yaxis_min
= 20
            yaxis_max
= 100


My station.inc begins with:

#encoding UTF-8
<script type='text/javascript'>showChart("station");</script>

... and later on there is the line
<div id="rxchart" style="margin-top:20px;"></div>

On my website the chart still is not visible (but it had been with version 1.0).


Again some encoding issue?

Any hints are highly welcome.

Best regards,
Manfred

Pat

unread,
Apr 18, 2020, 3:06:47 PM4/18/20
to weewx-user
For some reason the station.json isn't being generated. Check to make sure the station.json file exists in your json folder in public_html

Manfred Maier

unread,
Apr 18, 2020, 3:17:29 PM4/18/20
to weewx-user
The station.json is stored at:

So it searches for the file in the wrong folder.

Pat

unread,
Apr 18, 2020, 3:21:41 PM4/18/20
to weewx-user
That's weird. Why would it be looking for it in the wrong spot? If your front page graphs are working this one should be too. Can you share your configs?

Manfred Maier

unread,
Apr 18, 2020, 3:27:42 PM4/18/20
to weewx-user
Here you go
graphs.conf
skin.conf

Pat

unread,
Apr 18, 2020, 3:30:29 PM4/18/20
to weewx-user
Can you share the weewx.conf [Belchertown] section too? Make sure to omit passwords and sensitive data.

Manfred Maier

unread,
Apr 18, 2020, 3:42:14 PM4/18/20
to weewx-user
weewx.conf

Pat

unread,
Apr 18, 2020, 3:49:56 PM4/18/20
to weewx-user
Found it - it has to do with your relative url. It's not defined correctly since this is a custom page. 

Open the skins/Belchertown/js/belchertown.js.tmpl file, and find this line:

var pages = ["graphs", "records", "reports", "about"];

Then make it look like

var pages = ["graphs", "records", "reports", "about", "station"];

Then see if it gets updated on next archive interval. If not, restart weewx and see if that fixes it

Manfred Maier

unread,
Apr 18, 2020, 4:12:57 PM4/18/20
to weewx-user
This has fixed it. Thanks so much!

Manfred Maier

unread,
Apr 18, 2020, 5:47:15 PM4/18/20
to weewx-user
Sorry, Pat. One last question (for today ;)) - and definitely not an urgent one.

I've noticed that my page isn't up to date. It's 5 minutes behind.
When it's 8:58, the data of the website is from 8:50 (and not from 8:55).

Is that likely to be a weewx or a belchertown issue?
(just noticed that the standard skin in up-to-date)


Manfred 


Manfred Maier

unread,
Apr 19, 2020, 9:42:34 AM4/19/20
to weewx-user
Oh, how embarrassing. 

I've asked the same question about a year ago, already.
The issue was (once more) the order of the Belchertown section and the SFTP section in the weewx.conf file.

Manfred Maier

unread,
Apr 19, 2020, 11:28:11 AM4/19/20
to weewx-user
Apologies for being a pain in the neck.

How does your graphs.conf look like for this chart?

Bildschirmfoto 2020-04-19 um 17.17.33.png

When I try to replicate the chart, only the timespan from January to the current day is displayed.

And a second question ... Is there a way to plot (on one chart):

1) TotalRain (aggregated up until the respective day) - like on your annual Total Rain chart

2) The 'Daily Rain' - instead of the 'Daily Rain Rate' as it is currently plotted on your chart



Manfred  


Xant

unread,
Apr 20, 2020, 4:10:56 PM4/20/20
to weewx-user

Pat

Suggestion to you, or someone with development skills.

What about a small "widget" to place in personal or starter homepage. Think just the Temperature cell of Belchertown webpage would be interesting.

Xant

Manfred Maier

unread,
Apr 23, 2020, 3:44:28 PM4/23/20
to weewx-user
Hi Pat,
adding another question. Might be an issue since version 1.1, but I'm not sure.

My database contains data since July 2019 (so 6 months).
My charts for 2019 now look like this:

Bildschirmfoto 2020-04-23 um 21.32.52.png

As you can see, there's a 7th category.
Actually, the 6 categories to the right are the correct ones (with wrong labels on the x-axis). The one most left shouldn't be there.

I've already figured out that this most left category obviously is based on just one line of my database. It's the data for 2020-Jan-01 00:00 (local time).

Is that a weewx issue, a skin issue or did I do anything wrong?

Thanks, 
Manfred


Manfred Maier

unread,
Apr 25, 2020, 1:57:16 PM4/25/20
to weewx-user
Hi,
there really is/was an issue with the database entry from "01/01/2020 00:00:00 (local time)". For all charts with "group_by = month", Belchertown / Weewx obviously interpreted this entry as Jan/2019. 

I've now changed the dateTime value of this entry (shifted it back by 100 seconds) and now all charts work perfectly well.

Manfred 

Greg from Oz

unread,
May 1, 2020, 10:11:20 PM5/1/20
to weewx-user
Hi Pat,

I am using the 1.1 skin works great.
I was wondering if you implemented the moon icons for the southern hemisphere? I think you added it to the to do list.
The moon today is first quarter but the lit side of the moon on the web page is on the right down here in Oz it should be on the left.
I know you are busy with more important things but keep it on the to do list. 

Thanks for the effort in the skin
Message has been deleted

G Hammer

unread,
May 8, 2020, 4:56:13 PM5/8/20
to weewx-user
Just saw my first alert and wanted to say I like the new appearance of the full alert.
Plus, with this alert source, I no longer get alerts from two or more areas. I'm on the boundary for a couple of zones it seems.


Maarten van der Hoeven

unread,
May 9, 2020, 11:01:54 AM5/9/20
to weewx-user
Hi,

I have a general question about the skin. I calculate myself (using a php-script that reads mysql-data and write the output to a txt-file) the amount of lack of rain. It's a sum of daily Evapotranspìration (ET) minus the amounted precipitation. 

So I have this value inside a single TXT-file. What is the best way to display this value on the main belchertown-page? I can hack around, and I am sure I will succeeed :), but I want to do it the belchertown-skin-way, not to break it with future updates.

Anyone?

Op woensdag 8 april 2020 20:26:33 UTC+2 schreef Pat:

Colin Larsen

unread,
May 9, 2020, 4:13:38 PM5/9/20
to weewx-user
I have logged an issue in GitHub for the update error.

--
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.

Keimpe Bleeker

unread,
May 11, 2020, 5:12:35 AM5/11/20
to weewx-user
Hi Pat, thanks for the nice 1.1! Just one minor issue for which I don't know if that comes from Weex or the Belchertown skin: the date / time of receiving the latest data is a mess. I'll asked Tom also. (http://oentsjerk.eu/)

Rolf Zanchettin

unread,
May 15, 2020, 5:07:23 AM5/15/20
to weewx-user
Hi Pat,

first of all a big thanks for your aweseome Belchertown skin.
I have adapted the skin slightly and created a new section to include between the header and the station info. For this i have extended the "index.html.tmpl" and the "skin.conf" accordingly. This works very well so far.

Is there a possibility to reload not only the images (reload_hook_images = 1) that are included in the .inc files, but also the HTML/text contained in the .inc files?

I think i have to modify the function "ajaximages()" in "js/belchertown.js.tmpl" to achieve this?

Thanks in advance
Best regards
Rolf

Juan Antonio Mosquera

unread,
May 16, 2020, 3:34:25 AM5/16/20
to weewx-user
Hello,

thanks, i updated OK.

But... i have a problem with Firefox and Graphs... (www.meteomontaos.es)

Gil Hutcheson

unread,
May 16, 2020, 10:16:18 AM5/16/20
to weewx-user
Since updating weewx and the belchertown skin the latest versions everything seems to be working great except for retrieving the temperature from my BME280 board. Everything else on the board seems to be coming in fine except the inTemp. Anyone had this issue? Anyone know a fix.

Thanks!

Reply all
Reply to author
Forward
0 new messages