/MyPi-GrowBox

Log sensors datas of a GrowBox (growing plants indoor) and supervise these growth conditions.

GNU Affero General Public License v3.0AGPL-3.0

MyPi-GrowBox

It does not any need internet connection. No online dependencies in .php.

How / Comment

[EN] Based on sensors, the main program witten in python, will write/append in a file all sensors datas with date and time. index.php will read the file and explodes the values to fill a table with dates and datas. No automation involved and won't be added. (For watering, there are nice products existing that dont need power to water plants - ceramic is the best.) I'm not working with hydroponic systems.

[FR] En utilisant les données de différents capteurs, pour renseigner un fichier de données avec horodatage. La partie PHP exploite ces données pour remplir un tablea de suivi.

Why / Pourquoi

[EN] Log all sensors datas of a GrowBox (growing plants indoor) and then having charts or tables to supervise the growth conditions. [FR] Enregistrer les données des capteurs placés dans une GrowBox (espace de culture en intérieur) et en sortir des tableaux, des statistiques etc.

What

  • temperature and humidity from DHT11 sensor
  • light sensor
  • UV sensor
  • hall effect sensor
  • PHP server (i'm using a raspberry zero for MyPi-GrowBox)
    Le Pi zéro étant peu puissant, j'ai choisi de n'utiliser que du .php et des fichiers .txt pour traiter les données.
    Il suffit d'un serveur http type apache.
    Un programme en python écrit les données des capteurs, et prend des photos à intervalles réguliers.
    La partie php permet l'exploitation des données, et l'enregistrement de notes horodatées pour un journal de culture.

Python

dependances

-git clone http://github.com/adafruit/Adafruit_Python_DHT.git

PHP

  • Bootstrap 4
  • Font Awesome
  • mypigrowbox.css

License

MyPi-GrowBox is published under the GNU Affero 3.0 because I believe in open development. It comes with both rights and obligations. Whether you use this GrowBox firmware as the driver for your open or closed-source product, you must keep it open, and you must provide your compatible source code to end users upon request. The most straightforward way to comply with the license is to make a fork of this project on Github, perform your modifications, and direct users to your modified fork.

While we can't prevent the use of this code in products that are closed source or crippled by a patent, we would prefer that you choose another firmware or, better yet, make your own.

Future

  • camera for timelapse
  • separate by months
  • show 'last 50 measures' / 'last 30 days'
  • use of charts
  • use of Bootstrap/Dashboard
  • separate .php pages/codes
  • add raspberry system ressources dashboard
  • button or movement detection, to mark watering
  • from file to MySQL and then
    • dynamic possibilities like adding new sensor/new label

favico

https://gauger.io/fonticon/ to create favicon.ico with FontAwesome