This project is designed to automate various greenhouse operations, providing a web interface to control and monitor environmental conditions.
- Web Interface: Control and monitor your greenhouse environment through a user-friendly web interface.
- Real-Time Updates: Using WebSocket for real-time communication between the client and server.
- Environmental Monitoring: Track temperature, humidity, and other environmental factors.
- Motor Controls: Manage greenhouse motors for functions like rolling up and down sidewalls.
Before installing the project, ensure you have the following installed:
- Python 3
- Node.js (for managing Bootstrap and other front-end dependencies)
To set up the project, follow these steps:
-
Clone the repository:
git clone [https://gitlab.com/dev8292144/greenhouse_automation/]
-
Install dependencies:
pip install -r requirements.txt
-
sudo apt-get update sudo apt-get install nodejs npm cd greenhouse_automation npm install npm install socket.io-client ## cp to static/js
-
install the database: sudo apt-get install mariadb
configure the database by running setup_config.py
To run the application:
-
Start the server:
python3 main.py
-
Access the web interface at [http://localhost:5000] (or your configured address).
Contributions to the project are welcome. Please follow standard coding conventions and add unit tests for new features.
This project is licensed under the MIT License.