Belchertown Weather Status Icon

104 views
Skip to first unread message

Johannes Ebner

unread,
Jan 2, 2020, 3:13:53 AM1/2/20
to weewx-user
Hi,

I have a funny issue with Weex and the Belchertown Skin.

I had the following Setup:
*) RPi Zero W
*) Raspbian Jessy Lite
*) Weewx 3.9.2
*) Belchertown Skin latest Beta

So far everything works fine, but I noticed from time to time that the current weather status icon is not shown.
Normaly you see the icon and if you check the link it looks like "/images/clear-day.png"

But from time to time I see no icon and on the default browser error icon I can see the following url: "/images/"

First I thought it is maybe due to the RPi Zero and to low performance so I took out the CFCard and moved it to a RPi 3 B+.
As this didnt solve the issue I cleaned up the Weewx Config (removed some extensions which I didnt need anymore). Now I have only the MQTT and Belchertown Extension installed.
Also the cleanup of the config didnt solve my issue. I was also not able to see any error messages in the logs.

Now I have setup a complete new installation on a RPi 4+. I only took over the settings for Belchertown to weewx.conf and the graphs.conf for the Skin. At the moment I am using this setup with the simulator driver.
The setup works basically except again the Weather Icon. This time it is never aperaing correctly... 

Any ideas or hints?

Best Regards,
Johannes

Johannes Ebner

unread,
Jan 3, 2020, 3:13:07 AM1/3/20
to weewx-user
I have now setup a second system.

*) RPi 4 B+
*) Weewx 4.0.6b
*) Belchertown 1.1b8

no other extensions and kept all configs default.

Skin is up and running, but still no icon:

weewx.JPG

vince

unread,
Jan 3, 2020, 10:12:28 AM1/3/20
to weewx-user
On Friday, January 3, 2020 at 12:13:07 AM UTC-8, Johannes Ebner wrote:
I have now setup a second system.

*) RPi 4 B+
*) Weewx 4.0.6b
*) Belchertown 1.1b8

no other extensions and kept all configs default.

Skin is up and running, but still no icon:


I have seen this with the same versions of software if forecast was 'disabled' for Belchertown.

Johannes Ebner

unread,
Jan 3, 2020, 10:22:11 AM1/3/20
to weewx-user
This was a very good hint!!!

I am checking now again if it stays persistant now or if it is disapearing and aperaing again from time to time.

Br,
Johannes

Patrick Tranchant

unread,
Jan 3, 2020, 11:43:25 AM1/3/20
to weewx-user

hello Johannes
did you can run Weewx 4.0b6 with skin Belchertown ?
tk

patrick

Johannes Ebner

unread,
Jan 3, 2020, 12:28:04 PM1/3/20
to weewx-user
Yes, but I used the development version, not the stable.

Patrick Tranchant

unread,
Jan 3, 2020, 12:31:36 PM1/3/20
to weewx-user
thanks ok me too

but I have more errors

Jan  3 18:30:23 raspberrypi weewx[8593] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/belchertown
Jan  3 18:30:24 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:24 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:25 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:25 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:26 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:26 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:27 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:27 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:28 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:28 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:28 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:28 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:29 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:29 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:30 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:30 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:30 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:30 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:31 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:31 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:31 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Error downloading GitHub Version data. The error is: the JSON object must be str, not 'bytes'
Jan  3 18:30:31 raspberrypi weewx[8593] ERROR user.belchertown: Update Checker: Unable to open /var/www/html/weewx/belchertown/json/github_version.json. Reason: [Errno 2] Aucun fichier ou dossier de ce type: '/var/www/html/weewx/belchertown/json/github_version.json'
Jan  3 18:30:31 raspberrypi weewx[8593] INFO weewx.cheetahgenerator: Generated 11 files for report Belchertown in 8.27 seconds
Jan  3 18:30:31 raspberrypi weewx[8593] INFO weewx.reportengine: Copied 2 files to /var/www/html/weewx/belchertown



On Thursday, January 2, 2020 at 9:13:53 AM UTC+1, Johannes Ebner wrote:

Johannes Ebner

unread,
Jan 3, 2020, 12:38:58 PM1/3/20
to weewx...@googlegroups.com
Ok, this is the update checker. This error I got too. but the skin itself did work.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/770JWtxzvV4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d88cf362-07a0-49fd-b0db-8860e434e4d6%40googlegroups.com.

Johannes Ebner

unread,
Jan 3, 2020, 12:41:12 PM1/3/20
to weewx-user
I think I am now also 1 step ahead with my issue with the Weather Icon:

It seems that sometimes my RPi is not able to retreive the infos from Darksky. Because when the Icon is missing, I am also missing the forecast info.

Patrick Tranchant

unread,
Jan 3, 2020, 12:50:03 PM1/3/20
to weewx-user
ok, now it is good the skin works fine and also weather icon !!


On Thursday, January 2, 2020 at 9:13:53 AM UTC+1, Johannes Ebner wrote:

Patrick Tranchant

unread,
Jan 3, 2020, 1:01:38 PM1/3/20
to weewx-user
I wait for tomorrow and I put my stable version ( for statistics )

bye
patrick

On Thursday, January 2, 2020 at 9:13:53 AM UTC+1, Johannes Ebner wrote:
Reply all
Reply to author
Forward
0 new messages