I thought I added a note to the effect, but it seems I have not. 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. Whilst the presence of gauge-data.txt from two different sources will not cause any WeeWX or web server errors per se, many users have experienced some weird/unexpected effects if the 'wrong' file is used by the SteelSeries gauges or the files overwrite each other on the WeeWX machine or web server. In my experience it is better to only have one gauge-data.txt source active at any one time.
Gary On Friday, 23 May 2025 at 09:55:19 UTC+10 charlescu...@gmail.com wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I've installed two extensions: SteelSeries Weather Gauges > (https://github.com/gjr80/weewx-steelseries) and Rtgd > (https://github.com/gjr80/weewx-realtime_gauge-data). A frequently > updated gauges-data.txt file is found at public_html/. A > less-frequently updated gauges-data.txt file is found at > public_html/ss/. > > Both files are ftp'd to my web server, and — in fact — the page at > https://lacusveris.com/Weather/ss/index.html does find the frequently > updated gauges-data.txt file. > > The SteelSeries Weather Gauges Extension specifies (in > ss/scripts/gauges.js) that, "The realtime files should be absolute > paths, "/xxx.txt" refers to the public root of your web server," but > the nearby specification: > > > realTimeUrlWeewx : 'gauge-data.txt' > > ... does not appear to be an absolute path. I suppose IT IS though. > > Of course, in weewx.conf [RealtimeGaugeData], rtgd_path is "Path to > gauge-data.txt. Relative paths are relative to HTML_ROOT. If empty[,] > HTML_ROOT is used." > > In summary, each of the two extensions has a specification for the > path to the gauge-data.txt file, but one is absolute and one is > relative. Is there some way I can write the ss/scripts/gauges.js > specification so that gauge-data.txt can be found relative to > HTML_ROOT? It doesn't look like it. > > I don't really want to hit my web server. Instead, I want to browse > locally to file:///home/ccrhode/weewx-data/public_html/ss/index.html > so that I can do away with my old Ambient USB console in favor of a > new console-less Ecowitt WiFi gateway and still see near realtime > indicators. Please tell me I'm being unreasonable. > > - -- > .. Be Seeing You, > .. Chuck Rhode, Sheboygan, WI, USA > .. Weather: https://LacusVeris.com/Wx > .. 55° — Wind WNW at 13 mph. Sky overcast. > -----BEGIN PGP SIGNATURE----- > > iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaC+5VAAKCRBg2/xipKOW > UqhyAJ9awNSwF3BcMUb2ov/bD6YyXpItqACdG5assettwh4uO+7kz5dWwlil6EI= > =QzFE > -----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/2235e277-4d67-4b59-aa4c-817f69983791n%40googlegroups.com.