Spaces:
Running
Running
title: Smart Umbrella | |
emoji: 🚀 | |
colorFrom: red | |
colorTo: red | |
sdk: docker | |
app_port: 8501 | |
tags: | |
- streamlit | |
pinned: false | |
short_description: Streamlit template space | |
# AI-Controlled Solar-Powered Smart Umbrella System | |
This Streamlit application simulates an AI-controlled, solar-powered smart umbrella system designed for agricultural technology. The system automatically controls an umbrella to provide optimal conditions for crops based on environmental sensors. | |
## Features | |
- Real-time monitoring of temperature, humidity, soil moisture, and sunlight intensity | |
- Automatic umbrella control based on environmental thresholds | |
- Manual override capability | |
- Historical data visualization | |
- System logs | |
- Simulation mode for testing | |
## Installation | |
1. Clone this repository | |
2. Install the required dependencies: | |
``` | |
pip install -r requirements.txt | |
``` | |
## Usage | |
1. Run the Streamlit application: | |
``` | |
streamlit run smart_umbrella_app.py | |
``` | |
2. Use the sidebar controls to: | |
- Manually update sensor readings | |
- Override umbrella state | |
- Start/stop the simulation | |
## Environmental Thresholds | |
The umbrella system uses the following thresholds: | |
- **Open umbrella when any of these conditions occur**: | |
- Temperature > 32°C | |
- Humidity < 40% | |
- Soil Moisture < 20% | |
- Sunlight > 700 W/m² | |
- **Close umbrella when all of these conditions are met**: | |
- Temperature < 25°C | |
- Humidity > 70% | |
- Soil Moisture > 40% | |
- Sunlight < 400 W/m² |