Skip to content

Software for the new GroveWeatherPI Solar Powered Weather Station with Grove Connections

Notifications You must be signed in to change notification settings

switchdoclabs/SDL_Pi_GroveWeatherPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroveWeatherPi Libraries and Example for Raspberry Pi Solar Powered Weather Station

Supports SwitchDoc Labs WeatherRack WeatherBoard (WeatherPiArduino V2 and above)

Version 3.17

http://www.switchdoc.com/

June 7, 2019 - Version 3.17 Improved AM2315 reliablity - fixed 0 CRC error

March 30, 2019 - Version 3.16 Improved AM2315 reliablity - added support for Grove PowerSave

February 8, 2019 - Version 3.15 Increase Max Retries on AM2315 to 10 per suggestion

January 12, 2019 - Version 3.14 Fixed am2315 not assigned error

January 10, 2019 - Version 3.13 Added "None" detection to AM2315, added Try, Except loop on AM2315 read

December 19, 2018 - Version 3.12 Improved Blynk reliability

November 28, 2018 - Version 3.11 Further improved AM2315, fixed startup glitch with English/Metric units, fixed Rain Status

November 26, 2018 - Version 3.10 Added Blynk App support and changed sampling method to remove I2C errors - fixed AM2315 humidity/temperature mixup

November 14, 2018 - Version 3.04 Added CRC checking to the AM2315 Python Driver.

November 14, 2018 - Version 3.03 Added New AM2315 Python Driver. removed tentacle_pi

October 1, 2018 - Improved README.md install instructions

June 19, 2018 - Version 3.02 Fixed SI1145 Gain (made for outdoors) Adjusted Lux readings for outdoor sunlight rough calibration

May 30, 2018 - Version 3.01 Fixed MySQL Garding, bad read issues with SI1145, gave fix for Mising BBIO Library in README.md

November 18, 2017 - Version 2.99 Adjusted Lightning Detector detection for 0x02 or 0x03

November 16, 2017 - Version 2.98 Fixed name clash with latest OS version

October 2, 2017 - Version 2.97 Fixed SI1145 issues with reading

August 24, 2017 - Fixed AS3935 Missing issue with Interrupt variable

July 20, 2017 - Fixed Rainfall 2X inaccuracy and 60 minute and midnight issues

July 17, 2017 - Updated Bounce Times to fix wind speed issues - This probably fixes the Wind Gust problem too. Not conclusive.

June 19, 2017 - Fixed uninitialized variable errors

June 17, 2017 - Changed the README.md to require the installation of the software suporting SI1145 detection

May 5, 2017 - Commented out 48 Reboot add_job (uncomment to add back in), Fixed SI1145 bad installation detection

May 4, 2017 - Fixed problem with inside temperature being zero when you have an HTU rather than a HDC1080

March 9, 2017 - Added time based scheduler into the main loop instead of polling (APscheduler). Added support for Grove HDC1000

October 26, 2016 - Support added for Grove Sunlight/IR/UV SI1145 sensor. Database updated. Run mysql as below

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:

  1. sign up for a personal weather station on weatherunderground.com

  2. 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

Install this next:

git clone https://github.com/adafruit/Adafruit_Python_PureIO.git
cd Adafruit_Python_PureIO
sudo python setup.py install

Other installations required for AM2315:

sudo apt-get install python-pip

sudo apt-get install libi2c-dev

#Installing apscheduler

sudo pip install --upgrade setuptools pip

sudo pip install setuptools --upgrade
sudo pip install apscheduler

----------------
Note some configurations of Raspberry Pi software requres the following:
It won't hurt to do this in any case.
----------------

sudo apt-get update
sudo apt-get install build-essential python-pip python-dev python-smbus git
git clone https://github.com/adafruit/Adafruit_Python_GPIO.git
cd Adafruit_Python_GPIO
sudo python setup.py install
cd ..
cd SDL_Pi_GroveWeatherPi
cd Adafruit_Python_SSD1306
sudo python setup.py install

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.


setup your configuration variables in config.py!


Add SQL instructions

Use phpmyadmin or sql command lines to add the included SQL file to your MySQL databases.
Note: If the database has been updated, run the example below to update your database. The current contents will not be lost.

example: sudo 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

About

Software for the new GroveWeatherPI Solar Powered Weather Station with Grove Connections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published