Spaces:
Running
Running
File size: 1,482 Bytes
276f260 a9b1685 276f260 a9b1685 276f260 09ed580 276f260 09ed580 276f260 09ed580 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
---
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² |