Ok, there is a subtle bug in the gauge-data.txt.tmpl template; a variable and a tag both have the same name which was causing problems when the name was used for the 2nd time (which happened to be the tags for wind and gust speeds). The quick fix is to replace your current gauge-data.txt.tmpl with the attached version (out of interest the only change is from lines 278 to 281 incl). To do this:
1. Rename your existing gauge-data.txt.tmpl to gauge-data_orig.txt.tmpl (this way we can revert to the old version is there is a problem later) . 2. Download/copy the attached gauge-data.txt.tmpl in its place. 3. Observe the weewx logs and after the next report cylce is complete check your gauges page, the -9999 (or other obviously wrong) value should be gone. You can also look at your gauge-data.txt file (the generated data) and there should be numeric values against the wspeed and wgustTM field (you can easily look at your gauge-data.txt file in your browser by appending /gauge-data.txt after /ss in the address bar when vieing your gauges page in your browser eg http://address/ss/gauge-date.txt). 4. If the error persists, or something else goes wrong with the gauges, just delete the new gauge-data.txt.tmpl and rename gauge-data_orig.txt.tmpl to gauge-data.txt.tmpl and things should be back the way they were after the next report cycle. If this happens post back here some details of the issue/error message. You may see an error in the logs if you time the changeover of files just as the reports are run, it's nothing to be concerned about though if you want to avoid it stop weewx before replacing gauge-data.txt.tmpl and then start it again after changeover is complete. In tracking this down I have noticed a couple of other issues with the template, I'll look into these and get a change sent to the maintainer of the steel series weather gauges shortly. Gary -- 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.
gauge-data.txt.tmpl
Description: Binary data
