Restauration des fichiers de develop depuis sauvegarde Synology
This commit is contained in:
52
Fichiers restaurés/README.md
Normal file
52
Fichiers restaurés/README.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# 🌡️ Gestion des sondes domotiques
|
||||
|
||||
[](https://python.org)
|
||||
[](https://mj91.fr:448/michel/Gestion_sondes)
|
||||
[](https://mj91.fr:448)
|
||||
|
||||
Application de **surveillance des températures** avec alertes, visualisation Streamlit, et déploiement automatisé via Gitea + Supervisor.
|
||||
|
||||
---
|
||||
|
||||
## 🧩 Fonctionnalités principales
|
||||
|
||||
- 🔍 Lecture de capteurs **DS18B20** et **DHT22**
|
||||
- 📨 Transmission via **MQTT**
|
||||
- 📊 Interface **Streamlit** (app.domo91.fr)
|
||||
- 🔔 Alertes **email / Telegram** si dépassement > 30 minutes
|
||||
- 🧠 Déploiement auto avec **`deploy.sh`**
|
||||
- 🧾 Stockage SQL sur **MySQL (VPS)**
|
||||
|
||||
---
|
||||
|
||||
## 📊 Exemple de visualisation
|
||||
|
||||
Voici un aperçu d’un graphique dans l’interface Streamlit :
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## 🗂️ Structure du projet
|
||||
|
||||
| Fichier | Description |
|
||||
|-----------------------------|---------------------------------------------------------------------|
|
||||
| `Monitor.py` | Analyse de température et alertes |
|
||||
| `Streamlit.py` | Interface graphique web |
|
||||
| `Cuisine_saclay.py` | Script capteur pour le site de Saclay |
|
||||
| `Cuisine_meudon.py` | Script capteur pour Meudon |
|
||||
| `check_supervisor.py` | Vérifie l’état des scripts supervisés |
|
||||
| `deploy.sh` | Déploiement auto depuis Gitea (branche `product`) |
|
||||
| `requirements.txt` | Dépendances Python |
|
||||
|
||||
---
|
||||
|
||||
## 🧪 Installation locale
|
||||
|
||||
```bash
|
||||
git clone https://mj91.fr:448/michel/Gestion_sondes.git
|
||||
cd Gestion_sondes
|
||||
python -m venv .venv
|
||||
source .venv/bin/activate # Linux/macOS
|
||||
.venv\Scripts\activate # Windows
|
||||
pip install -r requirements.txt
|
||||
Reference in New Issue
Block a user