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
+564
View File
@@ -0,0 +1,564 @@
{
"group": {
"desc": "HVRT must remain connected",
"groups": [
{
"count": 0,
"name": "curve",
"points": [
{
"access": "RW",
"desc": "Number of active points in array.",
"label": "ActPt",
"mandatory": "M",
"name": "ActPt",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "Point 1 must remain connected duration.",
"label": "Tms1",
"mandatory": "M",
"name": "Tms1",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 1 must remain connected voltage.",
"label": "V1",
"mandatory": "M",
"name": "V1",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 2 must remain connected duration.",
"label": "Tms2",
"name": "Tms2",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 2 must remain connected voltage.",
"label": "V2",
"name": "V2",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 3 must remain connected duration.",
"label": "Tms3",
"name": "Tms3",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 3 must remain connected voltage.",
"label": "V3",
"name": "V3",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 4 must remain connected duration.",
"label": "Tms4",
"name": "Tms4",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 4 must remain connected voltage.",
"label": "V4",
"name": "V4",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 5 must remain connected duration.",
"label": "Tms5",
"name": "Tms5",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 5 must remain connected voltage.",
"label": "V5",
"name": "V5",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 6 must remain connected duration.",
"label": "Tms6",
"name": "Tms6",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 6 must remain connected voltage.",
"label": "V6",
"name": "V6",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 7 must remain connected duration.",
"label": "Tms7",
"name": "Tms7",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 7 must remain connected voltage.",
"label": "V7",
"name": "V7",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 8 must remain connected duration.",
"label": "Tms8",
"name": "Tms8",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 8 must remain connected voltage.",
"label": "V8",
"name": "V8",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 9 must remain connected duration.",
"label": "Tms9",
"name": "Tms9",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 9 must remain connected voltage.",
"label": "V9",
"name": "V9",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 10 must remain connected duration.",
"label": "Tms10",
"name": "Tms10",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 10 must remain connected voltage.",
"label": "V10",
"name": "V10",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 11 must remain connected duration.",
"label": "Tms11",
"name": "Tms11",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 11 must remain connected voltage.",
"label": "V11",
"name": "V11",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 12 must remain connected duration.",
"label": "Tms12",
"name": "Tms12",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 12 must remain connected voltage.",
"label": "V12",
"name": "V12",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 13 must remain connected duration.",
"label": "Tms13",
"name": "Tms13",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 13 must remain connected voltage.",
"label": "V13",
"name": "V13",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 14 must remain connected duration.",
"label": "Tms14",
"name": "Tms14",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 14 must remain connected voltage.",
"label": "V14",
"name": "V14",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 15 must remain connected duration.",
"label": "Tms15",
"name": "Tms15",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 15 must remain connected voltage.",
"label": "V15",
"name": "V15",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 16 must remain connected duration.",
"label": "Tms16",
"name": "Tms16",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 16 must remain connected voltage.",
"label": "V16",
"name": "V16",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 17 must remain connected duration.",
"label": "Tms17",
"name": "Tms17",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 17 must remain connected voltage.",
"label": "V17",
"name": "V17",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 18 must remain connected duration.",
"label": "Tms18",
"name": "Tms18",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 18 must remain connected voltage.",
"label": "V18",
"name": "V18",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 19 must remain connected duration.",
"label": "Tms19",
"name": "Tms19",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 19 must remain connected voltage.",
"label": "V19",
"name": "V19",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Point 20 must remain connected duration.",
"label": "Tms20",
"name": "Tms20",
"sf": "Tms_SF",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Point 20 must remain connected voltage.",
"label": "V20",
"name": "V20",
"sf": "V_SF",
"size": 1,
"type": "uint16",
"units": "% VRef"
},
{
"access": "RW",
"desc": "Optional description for curve.",
"label": "CrvNam",
"name": "CrvNam",
"size": 8,
"type": "string"
},
{
"desc": "Enumerated value indicates if curve is read-only or can be modified.",
"label": "ReadOnly",
"mandatory": "M",
"name": "ReadOnly",
"size": 1,
"symbols": [
{
"name": "READWRITE",
"value": 0
},
{
"name": "READONLY",
"value": 1
}
],
"type": "enum16"
}
],
"type": "group"
}
],
"label": "HVRTC",
"name": "hvrtc",
"points": [
{
"desc": "Model identifier",
"label": "Model ID",
"mandatory": "M",
"name": "ID",
"size": 1,
"static": "S",
"type": "uint16",
"value": 138
},
{
"desc": "Model length",
"label": "Model Length",
"mandatory": "M",
"name": "L",
"size": 1,
"static": "S",
"type": "uint16"
},
{
"access": "RW",
"desc": "Index of active curve. 0=no active curve.",
"label": "ActCrv",
"mandatory": "M",
"name": "ActCrv",
"size": 1,
"type": "uint16"
},
{
"access": "RW",
"desc": "HVRT control mode. Enable active curve. Bitfield value.",
"label": "ModEna",
"mandatory": "M",
"name": "ModEna",
"size": 1,
"symbols": [
{
"name": "ENABLED",
"value": 0
}
],
"type": "bitfield16"
},
{
"access": "RW",
"desc": "Time window for HVRT change.",
"label": "WinTms",
"name": "WinTms",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Timeout period for HVRT curve selection.",
"label": "RvrtTms",
"name": "RvrtTms",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"access": "RW",
"desc": "Ramp time for moving from current mode to new mode.",
"label": "RmpTms",
"name": "RmpTms",
"size": 1,
"type": "uint16",
"units": "Secs"
},
{
"desc": "Number of curves supported (recommend 4).",
"label": "NCrv",
"mandatory": "M",
"name": "NCrv",
"size": 1,
"type": "uint16"
},
{
"desc": "Number of curve points supported (maximum of 20).",
"label": "NPt",
"mandatory": "M",
"name": "NPt",
"size": 1,
"type": "uint16"
},
{
"desc": "Scale factor for duration.",
"label": "Tms_SF",
"mandatory": "M",
"name": "Tms_SF",
"size": 1,
"type": "sunssf"
},
{
"desc": "Scale factor for percent VRef.",
"label": "V_SF",
"mandatory": "M",
"name": "V_SF",
"size": 1,
"type": "sunssf"
},
{
"name": "Pad",
"size": 1,
"type": "pad"
}
],
"type": "group"
},
"id": 138
}