You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"title": "Ultimo-Zählerstände eingeben",
|
|
"fields": [
|
|
{
|
|
"name": "sensor_search",
|
|
"widget": "text_field",
|
|
"label": "Zählernummer (Sensorname)",
|
|
"hint_text": "Geben Sie den Sensornamen oder einen Teil davon ein",
|
|
"validators": [
|
|
{
|
|
"type": "required",
|
|
"error_text": "Zählernummer ist erforderlich"
|
|
},
|
|
{
|
|
"type": "min_length",
|
|
"value": 3,
|
|
"error_text": "Mindestens 3 Zeichen eingeben"
|
|
}
|
|
],
|
|
"prefix_icon": "search"
|
|
},
|
|
{
|
|
"name": "variable_name",
|
|
"widget": "dropdown",
|
|
"label": "Messvariable",
|
|
"initial_value": "ACTIVE_ENERGY_ABSORBED_10",
|
|
"options": [
|
|
{
|
|
"value": "ACTIVE_ENERGY_ABSORBED_10",
|
|
"label": "Aktive Energie Bezug L10 (WH)"
|
|
},
|
|
{
|
|
"value": "ACTIVE_ENERGY_DELIVERED_10",
|
|
"label": "Aktive Energie Abgabe L10 (WH)"
|
|
},
|
|
{
|
|
"value": "ACTIVE_ENERGY_ABSORBED_9",
|
|
"label": "Aktive Energie Bezug L9 (WH)"
|
|
},
|
|
{
|
|
"value": "ACTIVE_ENERGY_DELIVERED_9",
|
|
"label": "Aktive Energie Abgabe L9 (WH)"
|
|
}
|
|
],
|
|
"validators": [
|
|
{
|
|
"type": "required",
|
|
"error_text": "Messvariable auswählen"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "readings_data",
|
|
"widget": "text_field",
|
|
"label": "Ultimo-Stände (JSON Format)",
|
|
"hint_text": "[{\"month\": \"2024-01\", \"meterValue\": 12345.5}, {\"month\": \"2024-02\", \"meterValue\": 12567.8}]",
|
|
"helper_text": "Format: JSON-Array mit Objekten {month: YYYY-MM, meterValue: Zählerstand}",
|
|
"text_field_config": {
|
|
"keyboard_type": "multiline",
|
|
"max_lines": 5
|
|
},
|
|
"validators": [
|
|
{
|
|
"type": "required",
|
|
"error_text": "Ultimo-Daten sind erforderlich"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |