Initial commit ESP32 Feuchtigkeit Sensor Projekt

This commit is contained in:
Ismail Ali
2026-03-11 21:40:51 +01:00
commit 10bfd3075a
11 changed files with 503 additions and 0 deletions

29
docs/01_installation.md Normal file
View File

@@ -0,0 +1,29 @@
# 🧩 Installation
## Voraussetzungen
- Visual Studio Code mit PlatformIO
- WLAN und Home Assistant im gleichen Netzwerk
- MQTT-Broker (z. B. Mosquitto) aktiv
- Benutzername und Passwort für MQTT vorhanden
## Schritte
1. **Projekt klonen oder entpacken**
```bash
git clone https://github.com/deinuser/esp32-feuchtesensor.git
```
2. **In VS Code öffnen**
Öffne den Projektordner in Visual Studio Code → PlatformIO wird automatisch aktiv.
3. **WLAN- und MQTT-Zugangsdaten anpassen**
In `src/main.cpp` bearbeiten:
```cpp
const char* ssid = "DEIN_WLAN";
const char* password = "DEIN_PASSWORT";
const char* mqtt_server = "192.168.x.x";
const char* mqtt_user = "mqttuser";
const char* mqtt_pass = "mqttpasswort";
```
4. **ESP32 anschließen und flashen**
Über **PlatformIO → Upload** kompilieren und auf den ESP32 hochladen.
Serielle Ausgabe mit `PlatformIO → Monitor` prüfen (Baudrate 115200).
5. **Verbindung prüfen**
Nach dem Neustart sollte der ESP32 die MQTT-Themen automatisch an den Broker senden.