Skip to content

Script to make a dashboard with Raspberry Pi + 2.8" TFT screen to show pH, EC and Temperature values (read from file)

Notifications You must be signed in to change notification settings

pbieberstein/Aquaponics-Monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hydrook (Hydroponics Monitoring)

ABOUT

Hydrook is a lightweight script that uses a Raspberry Pi with 2.8" TFT Resistive touch screen to display real-time values of pH, EC & Temperature values of a hydroponic or aquaponic system via a sqlite database.

Stable Photo Unstable Photo

Prerequisites

(This is what we used - it may work with other specs too)

Its easiest if its in the same format as in /dashboard/data/sql_www_ap.sqlite >(use http://inloop.github.io/sqlite-viewer/ to display format)

Quickstart

git clone https://github.com/pbieberstein/dashboard.git
  • Set up Cron job to continually update database (see our way below)
  • Set up Cron job to start script at reboot (see our way below)
  • Set up ssh keys between raspberry pi and computer where database is stored to prevent the need to enter password for every update

Schema

Modify

You can modify which pH, EC and Temperature values are acceptable inside the /scripts/monitor.py script. In the 'setup variables' section, simply insert the range of values you see as Stable or Unstable.

Our Crontab Jobs

sudo crontab -e

add the line (our script needs to be run as root)

@reboot cd /home/pi/dashboard/scripts && python monitor.py &

crontab -e

add the line (update of database doesn't have to be root)

*/1 * * * * cd /home/pi/dashboard/scripts && scp [email protected]:/path/to/database

Author

Philipp v. Bieberstein ([email protected])

  • Built during Summer School project at Institute of Complex Systems in Nové Hrady, Czech Republic

References

About

Script to make a dashboard with Raspberry Pi + 2.8" TFT screen to show pH, EC and Temperature values (read from file)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages