Re: [weewx-user] Re: Which way to make progress ?

2019-10-10 Thread Andrew Milner
that is not being transferred using ftp - it is a restful service.




On Thursday, 10 October 2019 10:59:32 UTC+3, Steve Shuff wrote:
>
> Hello Vince 
> Thanks for the reply
>
> The CR1000 based weather station ftp the data to Weather Underground in 
> the following format,
>
>  
> https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw
>  
>
> As your probably aware WU has been having several issues recently and I 
> fear that one day soon they will cease to offer their service.
> My station (CR1000) has many sensors which currently WU no longer support 
> ie soil temp, leaf wetness and others.
>
> This is why I would like to develop a system whereby the CR1000  (based in 
> a remote location) will ftp the data to an FTP server on the Pi via the WWW 
> , then customise Weewx to suite my needs. An Apache2 webserver would then 
> display the data for interested parties to view.
> I already have an Apache2 server on the Pi but i'm not sure if you can FTP 
> into that ?
> The point of my first email was to see if anyone had done something 
> similar and if they were in a position to offer any advice as to how to go 
> about the project.
>
> Best regards.
>
>
>
> https:/
>
> /weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windsp
>
> eedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw
>
>
> On Wed, Oct 9, 2019 at 5:04 PM vince > 
> wrote:
>
>> On Wednesday, October 9, 2019 at 2:54:00 AM UTC-7, Steve Shuff wrote:
>>
>>>  CR1000 is already doing an FTP upload to the Weather Underground server 
>>> every 10 minutes (and I can add a bit of code so the station will FTP data 
>>> to a server on my Raspberry Pi)
>>> then get Weewx to interpret the FTP file and display the data.
>>>
>>>
>> If you're ftp'ing pre-computed HTML files then weewx has nothing to do 
>> with it, the webserver would display whatever you upload.
>>
>> Or you could write something to read your file and write to a weewx db 
>> and 'then' have weewx generate the HTML files.
>>
>> But if all you want to do is cook up static HTML, I'd probably not 
>> include weewx at all.  I'd read the FTP'd fine and generate HTML via a 
>> python script run via cron.
>>
>> -- 
>> 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 weewx...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/a283f467-0ac1-4af1-9fe2-93948523cba0%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Steve Shuff.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5320e80a-2849-4264-95dc-2a1867e3b593%40googlegroups.com.


Re: [weewx-user] Re: Which way to make progress ?

2019-10-10 Thread Steve Shuff
Hello Vince
Thanks for the reply

The CR1000 based weather station ftp the data to Weather Underground in the
following format,


https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw

As your probably aware WU has been having several issues recently and I
fear that one day soon they will cease to offer their service.
My station (CR1000) has many sensors which currently WU no longer support
ie soil temp, leaf wetness and others.

This is why I would like to develop a system whereby the CR1000  (based in
a remote location) will ftp the data to an FTP server on the Pi via the WWW
, then customise Weewx to suite my needs. An Apache2 webserver would then
display the data for interested parties to view.
I already have an Apache2 server on the Pi but i'm not sure if you can FTP
into that ?
The point of my first email was to see if anyone had done something similar
and if they were in a position to offer any advice as to how to go about
the project.

Best regards.



https:/

/weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windsp

eedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw


On Wed, Oct 9, 2019 at 5:04 PM vince  wrote:

> On Wednesday, October 9, 2019 at 2:54:00 AM UTC-7, Steve Shuff wrote:
>
>>  CR1000 is already doing an FTP upload to the Weather Underground server
>> every 10 minutes (and I can add a bit of code so the station will FTP data
>> to a server on my Raspberry Pi)
>> then get Weewx to interpret the FTP file and display the data.
>>
>>
> If you're ftp'ing pre-computed HTML files then weewx has nothing to do
> with it, the webserver would display whatever you upload.
>
> Or you could write something to read your file and write to a weewx db and
> 'then' have weewx generate the HTML files.
>
> But if all you want to do is cook up static HTML, I'd probably not include
> weewx at all.  I'd read the FTP'd fine and generate HTML via a python
> script run via cron.
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/a283f467-0ac1-4af1-9fe2-93948523cba0%40googlegroups.com
> 
> .
>


-- 
Steve Shuff.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADNpUBGwH9Eu_8wOmyqJn34vVO5Wwq70P5gftAfFiJk38vb_Ww%40mail.gmail.com.


[weewx-user] Re: Which way to make progress ?

2019-10-09 Thread vince
On Wednesday, October 9, 2019 at 2:54:00 AM UTC-7, Steve Shuff wrote:

>  CR1000 is already doing an FTP upload to the Weather Underground server 
> every 10 minutes (and I can add a bit of code so the station will FTP data 
> to a server on my Raspberry Pi)
> then get Weewx to interpret the FTP file and display the data.
>
>
If you're ftp'ing pre-computed HTML files then weewx has nothing to do with 
it, the webserver would display whatever you upload.

Or you could write something to read your file and write to a weewx db and 
'then' have weewx generate the HTML files.

But if all you want to do is cook up static HTML, I'd probably not include 
weewx at all.  I'd read the FTP'd fine and generate HTML via a python 
script run via cron.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a283f467-0ac1-4af1-9fe2-93948523cba0%40googlegroups.com.