Good question. I'm not sure that'll work either unless you're able to
inject that data into your MQTT broker since the station observation table
is updated by MQTT payloads that match the observation's name.
What would be idea is a way to have a folder called "hooks", and have weewx
generate
So a better strategy for me would be to try to include the hours of
sunshine in the station observations?
Pat schrieb am Mittwoch, 24. Juni 2020 um 20:37:13 UTC+2:
> Ok that makes more sense. Right now the reloads are only for images, not
> text.
>
> I'm not sure how I'd be able to reliably
Ok that makes more sense. Right now the reloads are only for images, not
text.
I'm not sure how I'd be able to reliably reload the hook area text. Those
.inc files are only called when the skin is generated, and when the page is
reloaded. The AJAX portion does not reload them (since they're
It's text.
I'm displaying the amount of sunshine hours on that day. In a somewhat
dynamic way.
Here's the index_hook_after_station_info I'm using.
#set sunshinetime = $day.sunshineTime.sum.raw
#set sunshinetheoretical = $day.sunshineTheoretical.sum.raw
#set ratio = 0
#set
Do you have images in your after station info hook? Or just text.
Right now it's only going to reload images - but I wonder if it should
reload the entire hook?
On Wednesday, June 24, 2020 at 11:41:37 AM UTC-4, Pat wrote:
>
> I'll look into this
>
> On Wednesday, June 24, 2020 at 4:03:18 AM
I'll look into this
On Wednesday, June 24, 2020 at 4:03:18 AM UTC-4, Manfred Maier wrote:
>
> Hi Pat,
> there might be a possible issue with the reload functionality of the
> additional index_hook section on the front-page of the skin.
>
> I have the following settings in the weewx.conf
>
>