added mqtt connection logik

This commit is contained in:
2026-03-26 16:55:27 +01:00
parent 12d6d0b1e7
commit 2de5d25cea
7 changed files with 116 additions and 41 deletions

View File

@@ -1,20 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Konfiguration</title>
</head>
<body>
<h1>WLAN Einstellungen</h1>
<form action="/config" method="post">
<label>SSID:</label>
<input type="text" name="ssid">
<br>
<label>Passwort:</label>
<input type="password" name="password">
<br>
<input type="submit" value="Speichern">
</form>
</body>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Config</title>
</head>
<body>
<h1>Sensor Pico</h1>
<br>
<a href="live_stats.html">Live Daten</a>
<br>
<a href="wlan_config.html">WLAN Config</a>
<br>
<a href="mqtt_config.html">MQTT und Messungs Config</a>
</body>
</html>