sickel / GardenController

Using to take various input and control a watering system in my greenhouse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GardenController

Using to take various input and control a watering system in my greenhouse

For lcd, using library mikezlcd.py from https://www.mikronauts.com/raspberry-pi/raspberry-pi-1602-and-2004-lcd-interfacing/

sudo apt install python3-rpi.gpio python3-setuptools python3-dev python3-psycopg2

git clone https://github.com/adafruit/Adafruit_Python_DHT.git cd Adafruit_Python_DHT.git sudo python3 setup.py install

make /etc/dbconn.txt:

dbname= user= password= hostaddr= port=

or, to not use a database to store measurements

NODB

chmod +x controller.py chmod +x gc.sh

To set it up to start as a daeamon:

sudo cp gc.sh /etc/init.d sudo update-rc.d gc.sh defaults

About

Using to take various input and control a watering system in my greenhouse

License:MIT License


Languages

Language:Python 83.8%Language:Shell 16.2%