Nigel, I think a more elegant solution is to create a custom Service, bound to NEW_LOOP_PACKET event, that creates the JSON file used by the SteelSeries gauges after every loop packet arrives. I wrote such a service a couple of years back to produce customclientraw.txt on every x'th loop packet, put it away though when tracking down some issues and never got back to it. At the time the SteelSeries gauges did not directly support weewx, now that weewx is supported it would be a simple matter to rework the service to produce gauge-data.txt - its much the same data as customclientraw.txt and still JSON format. The only real issue is to what depth do you to populate the data file, for example, to get the current wind speed is trivial, getting todays max wind speed requires a little more effort, the windrose data a little more complex again and "the 'lowest' clockwise bearing in the last 10 minutes rounded down to nearest 10 degrees" is getting right up there.
Give me a few days to see what I can resurrect. Gary On Monday, 2 January 2017 23:12:43 UTC+10, Devonian wrote: > > I have just invested in a Davis Vantage Pro2, which replaced my WS2300 and > have installed Weewx 3.6.2 on Debian ver8 replacing my previous weewx ver > 2.7 for the WS2300. > > I would like to get the Steel Series gauges performing real time updates > at the Davis loop interval of 2.5 seconds. > I have them installed OK, but it uses my current archive interval of 5 > minutes - not quite real time! > > I tried mesowx, but can't get the data to display - the page appears, but > no graphs. Data is getting saved into my MySQL 'raw' database at regular > 2.5 second loop intervals. I'll continue trying to figure this one out. > > So, my thoughts turned to using the raw database for Steel Series and to > use raw data instead of archive data. > I'm primarily interested in wind speed/direction, so if I could only get > that to update @ 2.5 seconds, I'd be happy with the others at 5 minutes. > > Anyone got any ideas on how to use this raw data instead of archive? > Maybe there's a better/simpler way to achieve this 2.5 second update? > > Regards, > > Nigel. > -- 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.
