Question about Belchertown script (index_hook_after_station_info.inc)

46 views
Skip to first unread message

Maarten van der Hoeven

unread,
May 22, 2020, 4:58:12 AM5/22/20
to weewx-user
I know, it not really the place to ask something about Belchertown in this weewx-group. My apologies...

Fairly easy question, I've added custom text at my website using index-Hook_after_station.inc. Working okay when watching the website on my computer. However, the custom text is not shown using a mobile phone. 

Is this by design, that index_hook_after_station_info.inc is only working on a PC/desktop/laptop/whatever, and not working on a browser on a mobile phone?

See http://www.weerinwelsum.nl, added text just below the station info. It's in Dutch, showing the lack of rain this year, datetime of last rain and lowest grass temperature today with timestamp.


Manfred Maier

unread,
May 22, 2020, 5:56:37 AM5/22/20
to weewx-user
On my phone (iPhone) the text is visible. 
It's located beneath your webcam picture.

Manfred 

Maarten van der Hoeven

unread,
May 22, 2020, 6:03:41 AM5/22/20
to weewx-user
Thanks Manfred. I also have an iPhone, but am using the webbrowser Edge. Doesnt show up there. Never occured to me to test with safari, there it shows. Thanks for letting me know, it's a browser thing and not something with the Belchertown skin.

Op vrijdag 22 mei 2020 11:56:37 UTC+2 schreef Manfred Maier:

Manfred Maier

unread,
May 22, 2020, 6:16:25 AM5/22/20
to weewx-user
Hmm .. it also shows up in the Edge browser on my iPhone.

Maarten van der Hoeven

unread,
May 22, 2020, 6:24:48 AM5/22/20
to weewx-user
Now I am confused...

20200522_102025000_iOS.png



Op vrijdag 22 mei 2020 12:16:25 UTC+2 schreef Manfred Maier:

Keimpe Bleeker

unread,
May 22, 2020, 6:52:11 AM5/22/20
to weewx-user
Hoi Maarten,

Both on PC (Chrome) and mobiel (Huawei, ANdroid, Chrome) there is no index_hook_after_station_info.inc text. In my case it works perfectly from the first minute. Have you restarted Weewx after making the changes? 

Regards, Keimpe



Op vrijdag 22 mei 2020 10:58:12 UTC+2 schreef Maarten van der Hoeven:

Keimpe Bleeker

unread,
May 22, 2020, 6:55:26 AM5/22/20
to weewx-user
Aand now it's there: Doorlopend neerslagtekort (apr t/m sept) 149mm         Laatste keer geregend op 03:45, 04-05-2020         Laagste grasminimum vandaag 8.3℃ om 03:55 uur
:)

Op vrijdag 22 mei 2020 12:52:11 UTC+2 schreef Keimpe Bleeker:

Maarten van der Hoeven

unread,
May 22, 2020, 8:37:39 AM5/22/20
to weewx-user
Thanks for testing, guys. I have restarted Weewx 1 day and 14 minutes ago, so that's not the point. All that time (since restart), it showed okay on my website, and never on my mobile phone (Edge). Strangely, it shows at Safari.

Anyway, I am now sure and convinced that nothing is wrong with the skin or the inc-file. It must be something on my side, as it is working without problems at Manfred and Keimpke. Thanks again, I'll dig into it.

Op vrijdag 22 mei 2020 12:55:26 UTC+2 schreef Keimpe Bleeker:

Maarten van der Hoeven

unread,
May 22, 2020, 9:14:37 AM5/22/20
to weewx-user
Sorry, it is Keimpe

Op vrijdag 22 mei 2020 14:37:39 UTC+2 schreef Maarten van der Hoeven:
Reply all
Reply to author
Forward
0 new messages