Files
mosquitto-mqtt-broker/mqtt-panel-config.json
2025-11-03 22:44:47 +00:00

110 lines
2.1 KiB
JSON

{
"broker": "ws://localhost:9001",
"username": "${MQTT_PANEL_USERNAME}",
"password": "${MQTT_PANEL_PASSWORD}",
"title": "MQTT Dashboard",
"theme": {
"primary": "#2196F3",
"accent": "#FF5722"
},
"widgets": [
{
"type": "text",
"title": "Öffentliche Nachricht",
"topic": "public/message",
"suffix": "",
"row": 0,
"col": 0,
"sizeX": 2,
"sizeY": 1
},
{
"type": "toggle",
"title": "Gerät 1 Ein/Aus",
"topic": "devices/device1/power",
"onValue": "ON",
"offValue": "OFF",
"row": 0,
"col": 2,
"sizeX": 1,
"sizeY": 1
},
{
"type": "numeric",
"title": "Temperatur",
"topic": "sensors/temperature",
"suffix": " °C",
"precision": 1,
"row": 1,
"col": 0,
"sizeX": 1,
"sizeY": 1
},
{
"type": "numeric",
"title": "Luftfeuchtigkeit",
"topic": "sensors/humidity",
"suffix": " %",
"precision": 0,
"row": 1,
"col": 1,
"sizeX": 1,
"sizeY": 1
},
{
"type": "gauge",
"title": "CPU Last",
"topic": "system/cpu",
"min": 0,
"max": 100,
"suffix": " %",
"row": 1,
"col": 2,
"sizeX": 1,
"sizeY": 1
},
{
"type": "button",
"title": "Test Nachricht senden",
"topic": "public/test",
"payload": "Hallo MQTT!",
"row": 2,
"col": 0,
"sizeX": 1,
"sizeY": 1
},
{
"type": "chart",
"title": "Sensor Verlauf",
"topics": [
{
"topic": "sensors/temperature",
"label": "Temperatur"
},
{
"topic": "sensors/humidity",
"label": "Feuchtigkeit"
}
],
"history": 20,
"row": 2,
"col": 1,
"sizeX": 2,
"sizeY": 2
},
{
"type": "slider",
"title": "LED Helligkeit",
"topic": "devices/device1/brightness",
"min": 0,
"max": 100,
"step": 1,
"suffix": " %",
"row": 0,
"col": 3,
"sizeX": 1,
"sizeY": 1
}
]
}