-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 25 May 2025 21:50:16 -0700 (PDT) gjr80 <gjroder...@gmail.com> wrote:
> Probably worth while noting who's who in the zoo here... I find that I've edited the following: > ./weewx.conf > ./skins/ss/scripts/gauges.js > ./skins/ss/skin.conf > ./skins/ss/css/gauges-ss.css ... so, for me, gauges are not as much carefree magic as a couple of WeeWX extensions. The black magic, of course, is in gauges.js and its included javascript libraries. There's no paramaterization of gauges' appearance or even choice of gauges in skin.conf as a WeeWX user might expect there to be. My knee-jerk reaction is that most of the top-level logic of gauges.js ought to be dragged over to ./skins/ss/index.html.tmpl, but, as a Python enthusiast, I'm disgustipated by javascript to the point that reverse-engineering it is a noisome prospect. There may be a half-way measure to be taken. I'm thinking the default gauge appearance parameters structure could be exported from gauges.js as a json file if it doesn't exist and imported to gauges.js to overlay defaults if it does exist. This json file would be edited once, but it could be created by a cheetah tmpl, too, except that means it would be recreated in every report cycle doesn't it? ... which would be stupid. Gauge selection and layout is yet another matter, though, but I'm thinking I'd tackle one or both issues ... in my spare time naturally. Gary, you've been through this rats' maze. Are there blind alleys I should avoid? - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 55° — Wind NE at 9 mph. Sky clear. -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaDR1QgAKCRBg2/xipKOW UhUHAJ9znEUgMC/tC0PfSQOMVMiNaf8TWQCePu/0/0ecindSw4/O4lYNf9oQ6/E= =Czkw -----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/20250526090553.07223480%40BigTimber.LacusVeris.com.