Good work, I must admit I had been stuck in the 'file transfer' paradigm 
rather than 'data transfer' and whilst I have had loop based RSYNC working 
on my LAN there was too much contention for my liking. I will have have a 
look at this and see how your approach works for me.

Gary

On Tuesday, 21 March 2017 04:41:49 UTC+10, Alec Bennett wrote:
>
> The short answer to your question is no, nothing like that exists at the 
>> moment. If you have your web server (or process that wil use 
>> gauge-data.txt) on your weeWX machine then it is a simple matter for the 
>> generated file to be saved wherever you want, but if you need to transfer 
>> the file in near realtime to another machine then no that capability does 
>> not exist at the moment.
>>
>
> I added the ability to post live_data.json to a remote webserver, if 
> anyone needs the ability, it's here:
>
> https://github.com/wrybread/weewx-realtime_gauge-data
>
> It works by posting all the data it writes to live_data.json to a PHP 
> script on a remote webserver using a GET statement. Note the PHP script 
> here, that receives the data:
>
>
> https://github.com/wrybread/weewx-realtime_gauge-data/tree/master/PHP%20Script
>
> If anyone wants me to convert it to Python for consistency, let me know.
>
> To use, set the following value in the RealtimeGaugeData section of your 
> weewx config file:
>
> remote_server_url = http://yourwebsite.com/path_to/receive_conditions.php
>
> It's my first time posting a fork to github, so please let me know if I 
> did anything dumb. And let me know if anyone wants me to change anything.
>
>

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