Gday Steve, some comments below
Gary On Sunday, 28 October 2018 00:18:16 UTC+10, Steve2Q wrote: > Good Morning, Gary. I implemented your changes from last night, and with > the exception of gauge-data.txt now in /var, there is no other change. Here > are two observations from today: > > 1. With debug = 1 there is no record of any of the charts (such as > dayinouttemp.png) being uploaded to any location on the web server. The > only .png files that are there are those from October 25 located in > Weather/ss. > First we need to determine if weeWX is generating the charts each report cycle, they should be in public_html/ss. If they are not being generated each report cycle then we need to (1) check weewx.conf [StdReport] to make sure the [[SteelSeries]] stanza is fully enabled (ie not commented out) and (2) check the SteelSeries skin.conf to make sure the ImageGenerator is enabled in the generator_list setting under [Generators]. If you have no luck post a log extract covering at least one full report cycle with debug=1. If they are being generated each report cycle then we need to look at why the FtpGenerator is not uploading them. > > 2. This has nothing to do with the aforementioned files, but I made some > changes in gauges.js to try and change the colors on the gauges. I shut > down weewx, made the changes on the weewx machine then restarted weewx. > From your previous note, I expected gauges,js to change on the web server, > but this did not happen. Do I have to manually upload the .js file while > weewx is turned off? I thought the copy once would take care of this on a > restart. > The copying of gauges.js (and for that matter any SteelSeries .js or .css) is controlled by the CopyGenerator in the SteelSeries skin. Earlier I advised you to disable the CopyGenerator and CheetahGenerator in the SteelSeries skin.conf. This has the effect of stopping the SteelSeries skin generating gauge-data.txt and copying the .js and .css files on weeWX startup but allows the ImageGenerator to continue to generate the charts. The net effect of this is that you now need to edit gauges.js on your web server rather than on weeWX because it is no longer copied on weeWX start. Alternatively, you can re-enable CopyGenerator in the generator_list setting in skin.conf (just disable CheetahGenerator) and now you will need to edit gauges.js on your weeWX machine and restart weeWX for gauges.js on your web server to be updated. My apologies I probably did not make this very clear when I advised you to disable CopyGenerator. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
