-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 22 May 2025 18:53:00 -0700 (PDT)
gjr80 <gjroder...@gmail.com> wrote:

> If you have installed both the weewx-steelseries and
> weewx-realtime_gauge-data extensions you should disable the
> weewx-steelseries generation of gauge-data.txt and delete from your
> web server and WeeWX machine any gauge-data.txt files previously
> generated by weewx-steelseries.

This can be achieved by commenting out the [[[data]]] stanza in
weewx-data/skins/ss/skin.conf:

> [CheetahGenerator]
>     encoding = html_entities
>     [[ToDate]]
>         [[[index]]]
>             template = index.html.tmpl
> #        [[[data]]]  # 2025 May 23
> #            template = gauge-data.txt.tmpl

I feel it's better to put the RTGD gauge-data.txt file closer to the
*.html files, so I modify the [RealtimeGaugeData] stanza in
weewx-data/weewx.conf, too:

> [RealtimeGaugeData]  # 2025 May 22
> 
>     # Path to gauge-data.txt. Relative paths are relative to HTML_ROOT. If
>     # empty HTML_ROOT is used, if setting omitted altogether /var/tmp is used.
>     rtgd_path = ss  # 2025 May 22

Then, the default setting for realTimeUrlWeewx in
weewx-data/skins/ss/scripts/gauges.js is correct:

>                                      // The realtime files should be absolute 
> paths,
>                                      // "/xxx.txt" refers to the public root 
> of your web server.
> realTimeUrlWeewx : 'gauge-data.txt', // *** WeeWX Users: Change to your 
> location of the gauge data file ***

In spite of the bogus comment above, the gauge-data.txt file is loaded
from the same folder as index.html.

I receive a working page of gauges from my Web site at
https://lacusveris.com/Weather/ss/index.html even though the rsync
doesn't happen very often.

Bringing up a local copy
file:///home/ccrhode/weewx-data/public_html/ss/index.html in my
browser doesn't work at all, though.  Apparently, this is due to
jquery.ajax's mistrust of local data.  But wait!  Hammering at the
Gates of Google yields this tidbit:

> chromium --allow-file-access-from-files 
> /home/ccrhode/weewx-data/public_html/ss/index.html

... which sidesteps the issue.  Firefox solutions involve relaxing
security policies with (for me) uncertain consequences.

Hooray!  It appears to me that I'm able to browse a realtime local gauge
page and use that in place of a weather station console.

Finally, I am convicted to say that the SteelSeries Gauges are
heartbreakingly beautiful to look at and legible, too.  And they have
tons of configurable options.  I think something could be done with
providing a set of themes for users to play with in
weewx-data/skins/ss/skin.conf — much like what I've done for the
Seasons skin in my WeeWX Phenology extension:

https://lacusveris.com/Phenology/phenology_image_generator.shtml

- -- 
.. Be Seeing You,
.. Chuck Rhode, Sheboygan, WI, USA
.. Weather:  https://LacusVeris.com/Wx
.. 53° — Wind NW at 9 mph. Sky overcast.
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaDC4LgAKCRBg2/xipKOW
UoB9AJ0W99M54VVq1oojbnuoTJBIJ2h8QACfahggFmdDt4932lbkiulnJrz6fB8=
=0J7E
-----END PGP SIGNATURE-----

-- 
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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/20250523130222.7c913811%40BigTimber.LacusVeris.com.

Reply via email to