Which way to make progress ?

102 views
Skip to first unread message

Steve Shuff

unread,
Oct 9, 2019, 5:54:00 AM10/9/19
to weewx-user
Hello Folks,
Hoping someone can help me out on this one please, 
I have a Davis Vantage Pro station sending data to the Davis Envoy which is plugged in to the Raspberry Pi running Weewx all is good and no problems there !
Also I have access to a Campbell Scientific CR1000 system, uploading data to Weather Underground, Which I am thinking about moving away from because of their recent issues.

The CR1000 station has many sensors and I am of the opinion that it would be well suited to Weewx although I may have to  develop a driver for it .
 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.
Has anyone been down this road already ? I did read recently this article https://itsmereal.com/raspberry-pi-web-server-apache-php-mysql-phpmyadmin-ftp/ which seemed relevant or can it be made simpler than this ?
Thanks for any help.

vince

unread,
Oct 9, 2019, 12:04:10 PM10/9/19
to weewx-user
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.

Steve Shuff

unread,
Oct 10, 2019, 3:59:32 AM10/10/19
to weewx...@googlegroups.com
Hello Vince 
Thanks for the reply

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


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=XXXXXX&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

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

Andrew Milner

unread,
Oct 10, 2019, 5:26:30 AM10/10/19
to weewx-user
that is not being transferred using ftp - it is a restful service.


To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.


--
Steve Shuff.
Reply all
Reply to author
Forward
0 new messages