AutoGros Docs
  • πŸ‘‹AutoGro Official Documentation
  • Overview
    • πŸ’‘About AutoGro
    • ✨Getting Started
      • πŸ›œ Setting up a static IP (Optional)
  • Setup Instructions
    • πŸ“ͺRunning the code
      • πŸ₯¬ Auto pH balance
    • πŸ“ŽFile Index
      • πŸ“’AutoGro Logs
  • ⚑Wiring Schematics
    • πŸ”‘Power Evaluation
  • πŸ› οΈParts List & Hardware
    • πŸ—οΈ3D Models
    • πŸ““Part List
  • πŸ’»Backend Data Solutions
    • πŸ”΅Discord Bot Development
    • πŸ“²Web App & API Development
    • πŸ€–Ai Development
  • 🌐Join Our Community
    • Discord
    • LinkedIn
    • Twitter
    • AutoGro Github
  • πŸ‘·β€β™‚οΈMeet the Team
Powered by GitBook
On this page
  1. Setup Instructions

File Index

Here you will find documentation that explains what each file does

Description of AutoGro running logs (these are wrapped at midnight with default install)

AGerror.log - All AutoGro runtime errors
AGpump.log - Detailed pump status
AGsensors.log - Detailed sensor status
(TimeStamp, SoilSensor Raw Value, SoilSensor Percent….Water Quality pH)
AGsys.log - Main AutoGro log with brief logging
AutoGroStart.log - By default a copy of AGsys.log via stdout redirect)
sensor_json.log - JSON values being passed to sensor web API

AGpump.csv - CSV file with pump details AGsensors.csv - CSV file with sensor details last_start_time - the timestamp on this file indicates when AutoGro was auto startedDescription of the Scripts Folder

clean - ran by user to cleanup / delete all logs
crontab.pi - this is the crontab entry to schedule cleanup of AutoGro logs
go - run by user to start AutoGro in foreground
rc.local - copied to /etc/ to start AutoGro automatically at Pi boot time
start - used by rc.local to start AutoGro automatically
start2 - used by start to restart AutoGro if the main Python task fails
wrap -  used to wrap all running logs by crontab (at midnight by default)

Description of the Python source files

This is where the magic happens. Below is a brief description of each files purpose.

AutoGro.py - main AutoGro file, this is the python file that starts AutoGro
AGconfig.py - common functions and configuration parameters
AGsensors.py - main sensor routines.  This is started as a thread by AutoGro.py

AutoGro has no protection from multiple copies running at one time. Unpredictable results will result if more than one copy is running. ps -ef | grep AutoGro - should only list one running AutoGro

PreviousπŸ₯¬ Auto pH balanceNextAutoGro Logs

Last updated 1 year ago

πŸ“Ž