New Belchertown 2, Icon Not Found

98 views
Skip to first unread message

geni08...@gmail.com

unread,
Jul 13, 2026, 6:10:05 AM (9 days ago) Jul 13
to weewx-user
The icon cannot be found and is replaced with “../images/unknown.png.” All icons on the home page are correct.
Screenshot 2026-07-13 114731.png
Affected Menu Items
Screenshot 2026-07-13 114826.png
The problem does not occur for all items; ./images/mostly-clear-day.png is OK.

Pablo Sanchez

unread,
Jul 13, 2026, 10:19:53 AM (8 days ago) Jul 13
to weewx...@googlegroups.com
Hi,

This is a slightly lengthy response but it should be a quick read.

Since v2.0, I do not see any Issues with missing icons. I checked the git logs for the repo and nothing in the text. It may be possible that the issue was resolved and as it was minor, it did not make it in the git log.

On your main page, when the problem happens, is the Icon also not found?  Here?



Background

I believe the code uses the data from https://wetter.affolter.familyds.net/json/current_conditions.json, in particular the icon element, to look up the image: icon element + '.png'

In the example below, it would display the "partly-cloudy-day.png" icon.



Given the above, here are some options.

Next time it happens, check the current_conditions.json file and see what the value is for the icon element. Do you find a .png in .../images?

If so, you could submit an Issue - https://github.com/uajqq/weewx-belchertown-new/issues

If not, well, you could submit an Issue as well. :)

In both cases, include the current_conditions.json file.

The other thing that you can do is upgrade from 2.0v to 2.1v beta 3 - see https://github.com/uajqq/weewx-belchertown-new/releases - or you could try the development branch and see if it is resolved.

I hope the above helps.
---
pablo

--
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 visit https://groups.google.com/d/msgid/weewx-user/e3a5fbb8-7663-4a21-be19-580a88debc51n%40googlegroups.com.

Colin Larsen

unread,
Jul 13, 2026, 5:10:42 PM (8 days ago) Jul 13
to weewx-user
I haven't been following the rest of this discussion, but the partly cloudy icon on my original BT system is missing at times too. It never happened or worried me enough to chase it down.

Colin

P.s going to do a rebuild to your version soon, thanks for keeping BT alive!

FzTQd7b62K0A0EtF.png
CYrIH5svVj85kUhm.png

Pablo Sanchez

unread,
Jul 13, 2026, 5:59:54 PM (8 days ago) Jul 13
to weewx...@googlegroups.com
Hi Colin,

When you say "my original BT system", are you referring to the original, Belchertown or the New Belchertown  ?

You can check in .../public_html/images to see if all the necessary .png's are there:

# ls -la part*                             
-rw-r--r--. 1 root root 3374 2026-07-12 17:19 partly-cloudy-day.png
-rw-r--r--. 1 root root 3165 2026-07-12 17:19 partly-cloudy-night.png


P.s going to do a rebuild to your version soon, thanks for keeping BT alive!

Ah, the above may answer my question. You are referring to the original Belchertown.

btw, I am not the one keeping BT alive. all credit goes to uajqq!

---
pablo

Colin Larsen

unread,
Jul 13, 2026, 6:41:18 PM (8 days ago) Jul 13
to weewx-user
Oh sorry yes, got you confused. Early here, need coffee!

geni08...@gmail.com

unread,
Jul 17, 2026, 8:14:00 AM (4 days ago) Jul 17
to weewx-user
Right now, the icons are working without me having to make any changes—thank you very much.

Pablo Sanchez

unread,
Jul 17, 2026, 8:36:49 AM (4 days ago) Jul 17
to weewx...@googlegroups.com
Hi,

The issue is data dependent. If certain values are not set, the entire processing of the JSON file upends. 

Cheers!
---
pablo

Reply all
Reply to author
Forward
0 new messages