Hi,

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

Cheers!

---
pablo


On 2026-07-17 08:14, [email protected] wrote:
Right now, the icons are working without me having to make any changes—thank you very much.

Colin Larsen schrieb am Dienstag, 14. Juli 2026 um 00:41:18 UTC+2:

    Oh sorry yes, got you confused. Early here, need coffee!

    On Tue, 14 Jul 2026, 09:59 Pablo Sanchez,
    <[email protected]> wrote:

        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


        On 2026-07-13 17:10, Colin Larsen wrote:
        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!

        On Tue, 14 Jul 2026, 02:19 Pablo Sanchez,
        <[email protected]> wrote:

            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


            On 2026-07-13 06:10, [email protected] wrote:
            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.
            Live page: https://wetter.affolter.familyds.net/
-- 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 [email protected].
            To view this discussion visit
            
https://groups.google.com/d/msgid/weewx-user/e3a5fbb8-7663-4a21-be19-580a88debc51n%40googlegroups.com
            
<https://groups.google.com/d/msgid/weewx-user/e3a5fbb8-7663-4a21-be19-580a88debc51n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 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 [email protected].
            To view this discussion visit
            
https://groups.google.com/d/msgid/weewx-user/ae504adf-7584-4633-99c9-647b1083ac8a%40hillsandlakes.com
            
<https://groups.google.com/d/msgid/weewx-user/ae504adf-7584-4633-99c9-647b1083ac8a%40hillsandlakes.com?utm_medium=email&utm_source=footer>.

-- 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 [email protected].
        To view this discussion visit
        
https://groups.google.com/d/msgid/weewx-user/CACjxfUtQ396Wkw_BZ9buKV%2Bo8DLjYPn-v%3DzpKJpb%3D7_ghZ2gsA%40mail.gmail.com
        
<https://groups.google.com/d/msgid/weewx-user/CACjxfUtQ396Wkw_BZ9buKV%2Bo8DLjYPn-v%3DzpKJpb%3D7_ghZ2gsA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 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 [email protected].

        To view this discussion visit
        
https://groups.google.com/d/msgid/weewx-user/c4ad378d-564d-40aa-9b29-0896a42e3e56%40hillsandlakes.com
        
<https://groups.google.com/d/msgid/weewx-user/c4ad378d-564d-40aa-9b29-0896a42e3e56%40hillsandlakes.com?utm_medium=email&utm_source=footer>.

--
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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/387b222c-4076-44bc-ad8c-287572ccbe22n%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/387b222c-4076-44bc-ad8c-287572ccbe22n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/e2258a52-677a-4d27-89f4-832e429c15b1%40hillsandlakes.com.

Reply via email to