SolarManager unter Versionsverwaltung

Erster Stand der Hintergrundprozesse, die auf der Synology unter
/volume1/homes/wagner/SolarManager laufen: der Manager selbst, die Sammler
je Geraet, die MQTT-Bruecke, der Wecker und - neu hinzugezogen - der
AutoAction-Runner, der als Hintergrundprozess hierher gehoert und nicht ins
Web-Verzeichnis.

Zugangsdaten stehen nicht mehr im Quelltext, sondern in config.ini, die
nicht mit eingecheckt wird. Vorlage ist config.ini.example, gelesen wird sie
von konfig.py. Betroffen waren solarManager.py (Datenbank und Wattpilot),
zeit.py, gatherWaterData.py, wecker.py und skoda_testdaten.py, das sich das
Passwort bisher aus dem Quelltext eines anderen Moduls herausgesucht hat.

Die Kia-Anbindung ist mit dem Fahrzeug entfallen: kiaTest.py,
gatherCarData.py und hyundai_kia_connect_api sind nicht mehr dabei, ebenso
gatherInverterData.py, auf das nur noch eine auskommentierte Zeile zeigte.

Die mitgelieferten Bibliotheken bleiben im Repository - die NAS hat kein
pip, sie muessen neben den Skripten liegen.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-02 20:46:59 +02:00
co-authored by Claude Opus 5
commit 79843aa2ae
968 changed files with 261182 additions and 0 deletions
+474
View File
@@ -0,0 +1,474 @@
{
"group": {
"desc": "Request a digital signature over a specified set of data registers",
"groups": [
{
"count": 0,
"name": "repeating",
"points": [
{
"desc": "Digital Signature",
"label": "DS",
"mandatory": "M",
"name": "DS",
"size": 1,
"type": "uint16"
}
],
"type": "group"
}
],
"label": "Secure Dataset Read Request",
"name": "model_3",
"points": [
{
"desc": "Model identifier",
"label": "Model ID",
"mandatory": "M",
"name": "ID",
"size": 1,
"static": "S",
"type": "uint16",
"value": 3
},
{
"desc": "Model length",
"label": "Model Length",
"mandatory": "M",
"name": "L",
"size": 1,
"static": "S",
"type": "uint16"
},
{
"access": "RW",
"desc": "Number of registers being requested",
"label": "X",
"mandatory": "M",
"name": "X",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Offset of value to read",
"label": "Offset1",
"mandatory": "M",
"name": "Off1",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off2",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off3",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off4",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off5",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off6",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off7",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off8",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off9",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off10",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off11",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off12",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off13",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off14",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off15",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off16",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off17",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off18",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off19",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off20",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off21",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off22",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off23",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off24",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off25",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off26",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off27",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off28",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off29",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off30",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off31",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off32",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off33",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off34",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off35",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off36",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off37",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off38",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off39",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off40",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off41",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off42",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off43",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off44",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off45",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off46",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off47",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off48",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off49",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"mandatory": "M",
"name": "Off50",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Timestamp value is the number of seconds since January 1, 2000",
"label": "Timestamp",
"mandatory": "M",
"name": "Ts",
"size": 2,
"type": "uint32"
},
{
"access": "RW",
"desc": "Millisecond counter 0-999",
"label": "Milliseconds",
"mandatory": "M",
"name": "Ms",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Sequence number of request",
"label": "Sequence",
"mandatory": "M",
"name": "Seq",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Digital Signature ID",
"label": "Role",
"mandatory": "M",
"name": "Role",
"size": 1,
"type": "uint16"
},
{
"desc": "Algorithm used to compute the digital signature",
"label": "Algorithm",
"mandatory": "M",
"name": "Alg",
"size": 1,
"symbols": [
{
"name": "NONE",
"value": 0
},
{
"name": "AES-GMAC-64",
"value": 1
},
{
"name": "ECC-256",
"value": 2
}
],
"type": "enum16"
},
{
"desc": "Number of registers comprising the digital signature.",
"label": "N",
"mandatory": "M",
"name": "N",
"size": 1,
"type": "uint16"
}
],
"type": "group"
},
"id": 3
}