Thanks for letting me know about that.
I have a Vantage Pro2 Plus interfaced to weewx 3.6.2 via a USB
data-logger. SteelSeries Weather Gauges 2.5.18 was already installed with
the following 'gauges.js' settings:
weatherProgram : 6,
realTimeUrlWeewx : 'gauge-data.txt',
The gauges updated normally at five-minute intervals with that
configuration.
After seeing your post I installed 'weewx-crt-0.18.tgz' and modified
'weewx.conf' to create a realtime.txt file in the /ss/ directory of a test
website, like this:
[CumulusRealTime]
filename = /var/www/www.domain.com/ss/realtime.txt
unit_system = US
binding = loop
When I restarted weewx a 'realtime.txt' file that appeared to contain valid
data was being written to the /ss/ directory at about three second
intervals, as expected. That file can be remotely loaded in web browser,
so the Apache web server obviously has read-access.
I then modified '/etc/weewx/skins/ss/scripts/gauges.js' by setting:
weatherProgram : 0,
realTimeUrlCumulus : 'realtime.txt',
and deleted gauges.js at the website, so it would be replaced by the
modified version after weewx was restarted.
A few minutes after restart I first verified that the modified 'gauges.js'
file had been copied to the website and then loaded the gauges webpage in a
web browser. The gauges displayed, but had no data. Temperatures were -20
degrees, Pressure was 990, and everything else was zero.
'/ss/realtime.txt' still existed and was still updating at about
three-second intervals, but data in that file wasn't making it to the
gauges.
The Apache access.log has '/ss/realtime.txt' successful access records at
about three-second intervals whenever the gauges webpage is loaded in a web
browser, so the file is being successfully accessed by webpage JavaScript
code, but data in the file has no effect on any of the gauges.
Is the Cumulus-style 'realtime.txt' file produced by weewx-crt-0.18 known
to be compatible with SteelSeries Weather Gauges 2.5.18?
Bob
On Monday, February 13, 2017 at 9:16:48 AM UTC-8, mwall wrote:
>
> 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....
>
>
--
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.