Skip to content
Pure Python software for the Smart Garden System from SwitchDoc Labs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Adafruit_Python_GPIO
Adafruit_Python_SSD1306
SDL_Pi_8PixelStrip
SDL_Pi_AirQualitySensor
SDL_Pi_Grove4Ch16BitADC
SDL_Pi_GroveDigitalExtender
SDL_Pi_HDC1000
SDL_Pi_SI1145
SDL_Pi_SSD1306 prerelease commit V005P Oct 3, 2018
SDL_Pi_SX1502
roboto
.gitignore 005p more Oct 6, 2018
AirQualitySensorLibrary.py
CalibrateWaterTank.py
README.md
SGS.py
Scroll_SSD1306.py
SmartPlantPiSquare128x64.ppm
TankCalibration
config.py
extendedPlants.py
index.html
listen.py
pixelDriver.py
state.py
testAllSensors.py 005p more Oct 6, 2018
testBlynk.py
testMoistureSensors.py
ultrasonicRanger.py
updateBlynk.py
util.py

README.md

Smart Garden System Raspberry Pi Software

SDL_Pi_SmartGardenSystem

SwitchDoc Labs September 2018

all SmartGardenSystem Documentation on shop.switchdoc.com under Smart Garden System

December 27, 2018 - Version 009 - Fixed problem with PubNub library update
October 28, 2018 - Version 008 - Fixed OLED Display, Blynk lock, disable manual water option, select non-existant plant water
October 14, 2018 - Version 007 - Initial Release plus Plant 6-9 support
October 11, 2018 - Version 006 - Initial Release minus Plant 6-9 support

basic install instructions for supporting libraries

sudo apt-get update
sudo apt-get dist-upgrade

sudo apt-get install build-essential python-pip python-dev python-smbus git

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

Make sure you installed I2C as in this link:

https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c

#Installing apscheduler and pil

sudo apt-get install python-pip

sudo apt-get install python-pil

sudo pip install --upgrade setuptools pip

sudo pip install setuptools --upgrade
sudo pip install apscheduler

#Installing PubNub

sudo pip install 'pubnub>=4.0.5'

#Installing Pixel Support

cd
cd SDL_Pi_SmartGardenSystem
cd SDL_Pi_8PixelStrip
follow the installation directions in README.md

Make sure you go down into the python directory and follow the README.md in that directory
use "sudo" if you run into permissions problems with the python installation

final thoughts

Note: state.py contains initial constants for running SmartPlantPi (Alarms, etc.) that you may want to change

config.py contains constants for hook up and other things you may want to change.

You can’t perform that action at this time.