Complete revision of the original uvrdump from @brutella
The new program queries one or more UVRs and writes the results into a json file. An error field is defined within the JSON file to respond to possible error messages in subsequent processes.
Note
In my setup the disconnection does not exit cleanly, and an error message is generated. After multiple tests this message seems to be able to be ignored.
The JSON will look like
{
"Zeitstempel": "2025-03-08T19:12:31.079646288+01:00",
"Fehler": [],
"Knoten": [
{
"Knoten-ID": 1,
"Eingänge": [
{"Eingang-ID": 1, "Bezeichnung": "Kesseltemperatur", "Modus": "Standard", "Wert": 60.7},
{"Eingang-ID": 2, "Bezeichnung": "Ablufttemperatur", "Modus": "Standard", "Wert": 50.1}
],
"Ausgänge": [
{ "Ausgang-ID": 1, "Bezeichnung": "Wasserpumpe", "Modus": "Standard", "Wert": 1 }
]
}
]
}