On Monday, February 13, 2017 at 11:49:48 AM UTC-5, tempus wrote:
>
> Has there been more progress on your new custom Service bound to the 
> NEW_LOOP_PACKET event?  It would be great to have even a 
> partially-functioning beta-version as a stop-gap solution.
>

bob,

you could install the crt extension (cumulus realtime), and set its binding 
to loop.  then install steel series and configure it to use the cumulus 
realtime file for its input.

https://github.com/weewx/weewx/wiki/crt

this would work if weewx and the web/php server are on the same host.

if they are on different hosts, then you'll need something to get the 
realtime.txt file from the weewx host to the web/php host each time the 
realtime.txt file changes.

unfortunately the ftp and rsync in weewx are designed to run as 'reports' 
on each archive interval, not on loop changes.

someone should write an rsync and an ftp service that can be bound to 
NEW_LOOP_PACKET.  it could use the same code used by the ftp/rsync reports, 
just wrapped in a StdService instead of report generator.

fwiw, a much cleaner way to do this would be to eliminate gauge-data.txt, 
realtime.txt, customraw.txt, and all of the php cruft.  just write a skin 
that uses the javascript gauges directly.

m

-- 
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.

Reply via email to