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:
@@ -0,0 +1,425 @@
|
||||
{
|
||||
"group": {
|
||||
"desc": "DER Volt-Var model.",
|
||||
"groups": [
|
||||
{
|
||||
"comments": [
|
||||
"Stored Curve Sets - Number of curve sets contained in NCrv - The first set is read-only and indicates the current settings."
|
||||
],
|
||||
"count": "NCrv",
|
||||
"desc": "Stored curve sets.",
|
||||
"groups": [
|
||||
{
|
||||
"comments": [
|
||||
"Stored Curve Sets - Curve points for each stored curve - Number of curve points contained in NPt"
|
||||
],
|
||||
"count": "NPt",
|
||||
"desc": "Stored curve points.",
|
||||
"label": "Stored Curve Points",
|
||||
"name": "Pt",
|
||||
"points": [
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Curve voltage point as percentage.",
|
||||
"label": "Voltage Point",
|
||||
"name": "V",
|
||||
"sf": "V_SF",
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"units": "VNomPct",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
],
|
||||
"detail": "Internal curve conformance checks should be conducted when AdptCrvReq is set to 1, not on point writes."
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Curve reactive power point as set in DeptRef point.",
|
||||
"label": "Reactive Power Point",
|
||||
"name": "Var",
|
||||
"sf": "DeptRef_SF",
|
||||
"size": 1,
|
||||
"type": "int16",
|
||||
"units": "DeptRef",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
],
|
||||
"detail": "Internal curve conformance checks should be conducted when AdptCrvReq is set to 1, not on point writes."
|
||||
}
|
||||
],
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"label": "Stored Curves",
|
||||
"name": "Crv",
|
||||
"points": [
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Number of active points.",
|
||||
"label": "Active Points",
|
||||
"mandatory": "M",
|
||||
"name": "ActPt",
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Curve dependent reference.",
|
||||
"label": "Dependent Reference",
|
||||
"mandatory": "M",
|
||||
"name": "DeptRef",
|
||||
"size": 1,
|
||||
"symbols": [
|
||||
{
|
||||
"label": "Percent Max Watts",
|
||||
"name": "W_MAX_PCT",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"label": "Percent Max Vars",
|
||||
"name": "VAR_MAX_PCT",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"label": "Percent Available Vars",
|
||||
"name": "VAR_AVAL_PCT",
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"label": "Percent Max Apparent Power",
|
||||
"name": "VA_MAX_PCT",
|
||||
"value": 3
|
||||
}
|
||||
],
|
||||
"type": "enum16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Power priority.",
|
||||
"label": "Power Priority",
|
||||
"name": "Pri",
|
||||
"size": 1,
|
||||
"symbols": [
|
||||
{
|
||||
"desc": "Active power priority.",
|
||||
"label": "Active Power Priority",
|
||||
"name": "ACTIVE",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"desc": "Reactive power priority.",
|
||||
"label": "Reactive Power Priority",
|
||||
"name": "REACTIVE",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"desc": "Power priority is vendor specific mode.",
|
||||
"label": "Vendor Power Priority",
|
||||
"name": "VENDOR",
|
||||
"value": 2
|
||||
}
|
||||
],
|
||||
"type": "enum16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Vref adjustment as percentage of nominal voltage.",
|
||||
"label": "Vref Adjustment",
|
||||
"name": "VRef",
|
||||
"sf": "V_SF",
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"units": "VNomPct",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"desc": "Autonomous vref value as a percentage of nominal voltage.",
|
||||
"label": "Current Autonomous Vref",
|
||||
"name": "VRefAuto",
|
||||
"sf": "V_SF",
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"units": "VNomPct",
|
||||
"standards": []
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Enable autonomous vref.",
|
||||
"label": "Autonomous Vref Enable",
|
||||
"name": "VRefAutoEna",
|
||||
"size": 1,
|
||||
"symbols": [
|
||||
{
|
||||
"desc": "Disabled flag (Disabled = 0, Enabled = 1).",
|
||||
"label": "Disabled Flag",
|
||||
"name": "DISABLED",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"desc": "Enabled flag (Disabled = 0, Enabled = 1).",
|
||||
"label": "Enabled Flag",
|
||||
"name": "ENABLED",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"type": "enum16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Autonomous vref time constant.",
|
||||
"label": "Auto Vref Time Constant",
|
||||
"name": "VRefAutoTms",
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"units": "Secs",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Open loop response time.",
|
||||
"label": "Open Loop Response Time",
|
||||
"name": "RspTms",
|
||||
"sf": "RspTms_SF",
|
||||
"size": 2,
|
||||
"type": "uint32",
|
||||
"units": "Secs",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"desc": "Curve read-write access.",
|
||||
"label": "Curve Access",
|
||||
"mandatory": "M",
|
||||
"name": "ReadOnly",
|
||||
"size": 1,
|
||||
"static": "S",
|
||||
"symbols": [
|
||||
{
|
||||
"desc": "Curve has read-write access.",
|
||||
"label": "Read-Write Access",
|
||||
"name": "RW",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"desc": "Curve has read-only access.",
|
||||
"label": "Read-Only Access",
|
||||
"name": "R",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"type": "enum16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
}
|
||||
],
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"label": "DER Volt-Var",
|
||||
"name": "DERVoltVar",
|
||||
"points": [
|
||||
{
|
||||
"desc": "DER Volt-Var model ID.",
|
||||
"label": "Model ID",
|
||||
"mandatory": "M",
|
||||
"name": "ID",
|
||||
"size": 1,
|
||||
"static": "S",
|
||||
"type": "uint16",
|
||||
"value": 705,
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"desc": "DER Volt-Var model length.",
|
||||
"label": "Model Length",
|
||||
"mandatory": "M",
|
||||
"name": "L",
|
||||
"size": 1,
|
||||
"static": "S",
|
||||
"type": "uint16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Volt-Var control enable.",
|
||||
"label": "DER Volt-Var Module Enable",
|
||||
"mandatory": "M",
|
||||
"name": "Ena",
|
||||
"size": 1,
|
||||
"symbols": [
|
||||
{
|
||||
"desc": "Function is disabled.",
|
||||
"label": "Disabled",
|
||||
"name": "DISABLED",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"desc": "Function is enabled.",
|
||||
"label": "Enabled",
|
||||
"name": "ENABLED",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"type": "enum16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Index of curve points to adopt. First curve index is 1.",
|
||||
"label": "Adopt Curve Request",
|
||||
"mandatory": "M",
|
||||
"name": "AdptCrvReq",
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"desc": "Result of last adopt curve operation.",
|
||||
"label": "Adopt Curve Result",
|
||||
"mandatory": "M",
|
||||
"name": "AdptCrvRslt",
|
||||
"size": 1,
|
||||
"symbols": [
|
||||
{
|
||||
"desc": "Curve update in progress.",
|
||||
"label": "Update In Progress",
|
||||
"name": "IN_PROGRESS",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"desc": "Curve update completed successfully.",
|
||||
"label": "Update Complete",
|
||||
"name": "COMPLETED",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"desc": "Curve update failed.",
|
||||
"label": "Update Failed",
|
||||
"name": "FAILED",
|
||||
"value": 2
|
||||
}
|
||||
],
|
||||
"type": "enum16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"desc": "Number of curve points supported.",
|
||||
"label": "Number Of Points",
|
||||
"mandatory": "M",
|
||||
"name": "NPt",
|
||||
"size": 1,
|
||||
"static": "S",
|
||||
"type": "uint16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"desc": "Number of stored curves supported.",
|
||||
"label": "Stored Curve Count",
|
||||
"mandatory": "M",
|
||||
"name": "NCrv",
|
||||
"size": 1,
|
||||
"static": "S",
|
||||
"type": "uint16",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Reversion time in seconds. 0 = No reversion time.",
|
||||
"label": "Reversion Timeout",
|
||||
"name": "RvrtTms",
|
||||
"size": 2,
|
||||
"type": "uint32",
|
||||
"units": "Secs",
|
||||
"standards": []
|
||||
},
|
||||
{
|
||||
"desc": "Reversion time remaining in seconds.",
|
||||
"label": "Reversion Time Remaining",
|
||||
"name": "RvrtRem",
|
||||
"size": 2,
|
||||
"type": "uint32",
|
||||
"units": "Secs",
|
||||
"standards": []
|
||||
},
|
||||
{
|
||||
"access": "RW",
|
||||
"desc": "Default curve after reversion timeout.",
|
||||
"label": "Reversion Curve",
|
||||
"name": "RvrtCrv",
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"standards": []
|
||||
},
|
||||
{
|
||||
"desc": "Scale factor for curve voltage points.",
|
||||
"label": "Voltage Scale Factor",
|
||||
"mandatory": "M",
|
||||
"name": "V_SF",
|
||||
"size": 1,
|
||||
"static": "S",
|
||||
"type": "sunssf",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"desc": "Scale factor for curve var points.",
|
||||
"label": "Var Scale Factor",
|
||||
"mandatory": "M",
|
||||
"name": "DeptRef_SF",
|
||||
"size": 1,
|
||||
"static": "S",
|
||||
"type": "sunssf",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
},
|
||||
{
|
||||
"desc": "Open loop response time scale factor.",
|
||||
"label": "Open-Loop Scale Factor",
|
||||
"mandatory": "M",
|
||||
"name": "RspTms_SF",
|
||||
"size": 1,
|
||||
"static": "S",
|
||||
"type": "sunssf",
|
||||
"standards": [
|
||||
"IEEE 1547-2018"
|
||||
]
|
||||
}
|
||||
],
|
||||
"type": "group"
|
||||
},
|
||||
"id": 705
|
||||
}
|
||||
Reference in New Issue
Block a user