dynamic dashboard initial

This commit is contained in:
2025-11-04 19:33:47 +01:00
parent 69e07056a1
commit ca623121a3
15 changed files with 1774 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ BROKER_HOST = os.environ.get("MQTT_HOST", "172.16.2.16")
BROKER_PORT = int(os.environ.get("MQTT_PORT", "1883"))
# Devices to simulate
DEVICES = ["test_lampe_1", "test_lampe_2"]
DEVICES = ["test_lampe_1", "test_lampe_2", "test_lampe_3"]
# Device states (one per device)
device_states = {
@@ -39,6 +39,10 @@ device_states = {
"test_lampe_2": {
"power": "off",
"brightness": 50
},
"test_lampe_3": {
"power": "off",
"brightness": 50
}
}