<https://lh3.googleusercontent.com/-pQAdBtszCiY/WX6ZwokdquI/AAAAAAAAPTo/tRZgrNvWBvEcL-eosbBBMI-eh16Yj6ypwCLcBGAs/s1600/IMG_20170730_193713.jpg>
<https://lh3.googleusercontent.com/-uOB2NJd6P28/WX6ZsZfEZfI/AAAAAAAAPTk/N1NhwtTx8B4Z8BpVlruSJ10X9BaHl4l1QCLcBGAs/s1600/IMG_20170729_132413.jpg> <https://lh3.googleusercontent.com/-pQAdBtszCiY/WX6ZwokdquI/AAAAAAAAPTo/tRZgrNvWBvEcL-eosbBBMI-eh16Yj6ypwCLcBGAs/s1600/IMG_20170730_193713.jpg> <https://lh3.googleusercontent.com/-fSEelTs-rws/WX6ZpaYXDtI/AAAAAAAAPTg/9F_SeW63i_w1q_FaClCqmnFxvGBPaW1aQCLcBGAs/s1600/IMG_20170416_094426.jpg> <https://lh3.googleusercontent.com/-uOB2NJd6P28/WX6ZsZfEZfI/AAAAAAAAPTk/N1NhwtTx8B4Z8BpVlruSJ10X9BaHl4l1QCLcBGAs/s1600/IMG_20170729_132413.jpg> <https://lh3.googleusercontent.com/-lSWvylOYxXQ/WX6ZndjOMAI/AAAAAAAAPTc/3do7mz7g_x8ZRrOKzh9T7j4rX-rdD8XDwCLcBGAs/s1600/IMG_20170730_181123.jpg> <https://lh3.googleusercontent.com/-fSEelTs-rws/WX6ZpaYXDtI/AAAAAAAAPTg/9F_SeW63i_w1q_FaClCqmnFxvGBPaW1aQCLcBGAs/s1600/IMG_20170416_094426.jpg> <https://lh3.googleusercontent.com/-uXHysQsxix0/WX6ZkhMdqlI/AAAAAAAAPTY/LfiTAFNpwAQJRFrkaCWwGFjaB1w4Fl1rQCLcBGAs/s1600/IMG_20170730_181024.jpg> <https://lh3.googleusercontent.com/-lSWvylOYxXQ/WX6ZndjOMAI/AAAAAAAAPTc/3do7mz7g_x8ZRrOKzh9T7j4rX-rdD8XDwCLcBGAs/s1600/IMG_20170730_181123.jpg> <https://lh3.googleusercontent.com/-lPSk5OJK_yU/WX6Zg-MInLI/AAAAAAAAPTU/WmDDjBcrl_UPNxbWfS6LbXEpWMRkvn9AACLcBGAs/s1600/IMG_20170730_200932.jpg> <https://lh3.googleusercontent.com/-uXHysQsxix0/WX6ZkhMdqlI/AAAAAAAAPTY/LfiTAFNpwAQJRFrkaCWwGFjaB1w4Fl1rQCLcBGAs/s1600/IMG_20170730_181024.jpg> <https://lh3.googleusercontent.com/-h1Q5MAXBP7c/WX6ZaY2qYhI/AAAAAAAAPTQ/eKQXJRf7SBATgCJy4IbeM9eJGy-ZjFx7ACLcBGAs/s1600/solar%2Bshield.jpg> <https://lh3.googleusercontent.com/-lPSk5OJK_yU/WX6Zg-MInLI/AAAAAAAAPTU/WmDDjBcrl_UPNxbWfS6LbXEpWMRkvn9AACLcBGAs/s1600/IMG_20170730_200932.jpg> <https://lh3.googleusercontent.com/-jELmRlNqchc/WX6ZVunZPpI/AAAAAAAAPTM/S5lVktHXxtAi3Z262Qjsr-R5OKaulDidQCLcBGAs/s1600/WxStation_prototyping.jpg> <https://lh3.googleusercontent.com/-h1Q5MAXBP7c/WX6ZaY2qYhI/AAAAAAAAPTQ/eKQXJRf7SBATgCJy4IbeM9eJGy-ZjFx7ACLcBGAs/s1600/solar%2Bshield.jpg> <https://lh3.googleusercontent.com/-jELmRlNqchc/WX6ZVunZPpI/AAAAAAAAPTM/S5lVktHXxtAi3Z262Qjsr-R5OKaulDidQCLcBGAs/s1600/WxStation_prototyping.jpg> On Sunday, July 30, 2017 at 7:38:04 AM UTC-6, Tom Keffer wrote: > > Hello, Sean > > That's quite an ambitious project you're doing! Sounds like fun. > > To start, make sure you take a look at the Weewx Customizing Guide > <http://weewx.com/docs/customizing.htm>. It explains how weewx works > under the hood. > > Weewx expects a stream of raw sensor data, while your raw data seems to be > a mix of sensor data plus aggregates and historical data. I don't know how > wedded you are to your data stream (and underlying MySQL model), but if you > are, it could be very difficult to adapt the weewx reporting machinery to > it. > > Alternatively, you could keep your database schema, and run weewx in > parallel with it. Don't know why you'd want two different databases holding > what is essentially the same data, but that would work. > > Another approach would be to do ditch your database and PHP script and > substitute weewx's logging capability in their place. > > The last two alternatives would require that you either write a custom > driver, or adapt an existing driver, to log the data coming off the > Arduino. See the Customizing Guide for instructions on how to write a custom > driver <http://weewx.com/docs/customizing.htm#porting>. > > Give the Customizing Guide a read and think this over. Once you decide > what approach you want to take we can discuss the details. > > Would love to see some pictures of the hardware you built! > > -tk > > > On Sat, Jul 29, 2017 at 2:55 PM, Sean Coston <[email protected] > <javascript:>> wrote: > >> Hi all. First post here. >> >> I have been on a several month journey of building my own weather station >> using an Arduino Mega and an ESP8266 wifi communications module along with >> a number of sensors. >> I have 3-D printed anenometer, wind-vane, and rain-meter parts of my own >> design and have calibrated these instruments. The data I am getting from my >> set up seems to be reliable compared to readings from a nearby weather >> station posted on WU. >> Right now, I have the data from the weather station being sent to a very >> simple web server that I built on a Linux 16.04 virtual machine running on >> my FreeNAS11 box. I've written a php script that accepts posts from the >> ESP8266 (data passed to it from the Arduino) and the php script takes live >> data and constructs a web page that I can access from any browser. The php >> script also writes posted sensor data to a MySQL database on the Linux >> server, and queries the same database to receive conditioned data like >> max/min temps, averaged data, etc. The php script also writes to a "|" >> (vertical bar) delimited raw data file (similar to that used by WD, and >> others) that is constantly updated and can be read by any program with >> simple parsing techniques. >> >> Attached are a screen shot of my webpage, and a copy of my raw data file >> with some data in it. >> My question to this group is, is there any way to "show" custom weather >> station data to weewx so the robust data display tools can be used? I have >> had fun up to now, but really don't want to reinvent the wheel when it >> comes to data display. >> >> >> <https://lh3.googleusercontent.com/-9p-EklsKpuM/WX0CugJz2aI/AAAAAAAAPRk/Q_WgyNoFyN4Y2p_bV9ngzqn3tq0J8ncTACLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-29%2B15-48-02.png> >> >> >> >> I'm not looking for anyone to hold my hand, just to maybe explain how >> WeeWx gets its data so maybe I can mimic that and thus "present" my data to >> WeeWx as if it were coming from an already developed weather station >> platform. >> >> Thanks to anyone responding to this. >> >> Sean >> >> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.
