— WELCOME —
Plan
Read an Oregon Scientific WMR-968 Weather Station using Python on the Raspberry Pi computer.
Display charts of history of measured weather data.
Weather Related Projects
- Load NOAA NWS Forecast (XML), compare with actual local data and develop a corrected forecast.
- Use corrected forecast to alert various predicted events: e.g. Email Freeze warning to cover plants.
- For the Irrigation System
- Load University of Arizona (UofA) Turf Water Use Report (or possibly raw data that has Evapotranspiration (ETo) from Mesa Station Data Reports) to modify sprinkler run time.
- Use measured rain data to disable and modify run times.
Updates
- Wed 21-Oct-2015
- Was sending data from Raspberry Pi directly to server using MySQL connection. But dynamic DNS and issues on server required different approach. Now sending json formatted data to server via http post. A PHP script on the server inserts data into the database.
- Wed 26-Nov-2014
- Updated Wx Charts. Reset Zoom buttons are now positioned above the data areas. Was covering most recent data when zoomed in.
- Mon 10-Feb-2014
- Created Forecast Analysis Charts. See the Forecast Analysis Project for further details.
- Thu 30-Jan-2014
- Have started analysis of actual local data versus NWS Forecast to develop a corrected forecast.
- Tue 28-Jan-2014
- Created nws_forecast.py to download XML of NWS Forecast. When an updated forecast is available, append data to forecast.csv.
- Tue 21-Jan-2014
- If DB is unreachable, now save data to local temp file. Upon next connection insert all data from the temporary file.
- Sun 19-Jan-2014
- Now save data to MySQL DB on public server.
- Changed wxlog to wxlog.html. Use jQuery get and update table to selectable time range.
- Sun 12-Jan-2014
- Created wxlog.php to read the wxdata.log file.
- Created wxchart.html to display weather charts.
- Sat 11-Jan-2014
- On the pi :
- Modified weather.py (by J.R. Casey Bralla) and created wmr968_get.py.
- Changed ftpLog.py to a module and import it from the src package.
- Now push wxdata.log file to the public www server.
- Created /etc/init.d/wmr968get to automatically start wmr968_get.py on boot up.
- On the pi :