GroveWeatherPi Libraries and Example for Raspberry Pi Solar Powered Weather Station
Supports SwitchDoc Labs WeatherRack WeatherBoard (WeatherPiArduino V2 and above)
Version 2.4
October 26, 2016 - Support added for Grove Sunlight/IR/UV SI1145 sensor
October 24, 2016 - Improved WXLink Error Checking
October 3, 2016 - Added CRC Check to WXLink support, changed Barometric report on WU to Sea Level, added Altitude configuration in confif.py
September 9, 2016 - Added WeatherUnderground Support - see Blog article on www.switchdoc.com for instructions. The summary of the instructions are:
-
sign up for a personal weather station on weatherunderground.com
-
Get your station name and key and put them in your config.py file, and then setting the WeatherUnderground_Present to True
August 30, 2016 - Improved WXLink support reliablity - now detects and adjusts for missing records from WXLink reads
August 26, 2016 - Added Support for WXLink Wireless Weather Connector
August 17, 2016 - Added support back in for RasPiConnect
August 16, 2016 - Support for Weather Board and improved device detection without exceptions
March 28, 2015 - added subdirectories
May 9, 2015 - Updated software for WatchDog Timer and Email
May 10, 2015 - Added mysql table SQL files for database building
Install this for smbus:
sudo apt-get install python-smbus
Other installations required for AM2315:
sudo apt-get install python-pip sudo apt-get install libi2c-dev sudo pip install tentacle_pi
SwitchDocLabs Documentation for WeatherRack/WeatherPiArduino under products on: store.switchdoc.com
Read the GroveWeatherPi Instructable on instructables.com for more software installation instructions
or
Read the tutorial on GroveWeatherPi on http://www.switchdoc.com/2016/08/tutorial-part-1-building-a-solar-powered-raspberry-pi-weather-station-groveweatherpi/ for more software installation instructions.
Use phpmyadmin or sql command lines to add the included SQL file to your MySQL databases.
example: mysql -u root -p GroveWeatherPi< GroveWeatherPi.sql
user: root
password: password
Obviously with these credentials, don't connect port 3306 to the Internet. Change them if you aren't sure.
NOTE:
If you have a WXLink wireless transmitter installed, the software assumes you have connected your AM2315 outdoor temp/humidity sensor to the WXLink. If you put another AM2315 on your local system, it will use those values instead of the WXLink values