Please see the detailed report from here and cite the work for future use.
- AI PLAN contains all the Domain and Problem files for the AI Planning.
smartGarden_domain.pddl, smartGarden_problem - The domain and sample problem file to automate watering of multiple plants.
smartGardenlighting_domain.pddl, smartGardenlighting_problem - The domain and sample problem file to turn on/off lamp in the garden area based on present luminance level.
- CONTROLLER contains all the .py files for controlling the Telegram bot and automating the AI planning problems.
telegramapp.py, iotcontrol.py - These files controls the telegram bot.
lampplanner.py, waterplanner.py- automates the optimum usage of water and light(generates problem files and execute the planner).
water.py, lamp.py- handles the output of the planner turn on/off the plugwise connected to motor/lamp
publish.py- publish to cloudmqtt broker
subscribe.py-subscribe to cloudmqtt broker
storeindb.py-store the subscribed data in the AWS RDS for monitoring and planning purpose.
- DL MODEL contains all the files related to training the model for plant identification and health info.
cnn.py- This script is used for training a CNN-based Machine Learning Model and the model can be saved as .h5 file PlantIdentification.py - This script is used for predicting the plant name and health status using the deployed ML model. The model can be downloaded from here
-
Install all the necessary packages mentioned in the respective script.
-
The folder structures shown here were not maintained during the project. These are shown here for better understanding about the code. After cloning the repo, please paste all the files in a common folder.