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,62 @@
|
||||
<sunSpecModels v="1">
|
||||
<!-- 145: Extended Inverter Controls Basic Settings -->
|
||||
<model id="145" len="8" name="ext_settings" status="test">
|
||||
<block len="8" type="fixed">
|
||||
<point id="NomRmpUpRte" offset="0" access="rw" type="uint16" len="1" mandatory="false" units="Pct" sf="Rmp_SF"/>
|
||||
<point id="NomRmpDnRte" offset="1" access="rw" type="uint16" len="1" mandatory="false" units="Pct" sf="Rmp_SF"/>
|
||||
<point id="EmgRmpUpRte" offset="2" access="rw" type="uint16" len="1" mandatory="false" units="Pct" sf="Rmp_SF"/>
|
||||
<point id="EmgRmpDnRte" offset="3" access="rw" type="uint16" len="1" mandatory="false" units="Pct" sf="Rmp_SF"/>
|
||||
<point id="ConnRmpUpRte" offset="4" access="rw" type="uint16" len="1" mandatory="false" units="Pct" sf="Rmp_SF"/>
|
||||
<point id="ConnRmpDnRte" offset="5" access="rw" type="uint16" len="1" mandatory="false" units="Pct" sf="Rmp_SF"/>
|
||||
<point id="AGra" offset="6" access="rw" type="uint16" len="1" mandatory="false" units="Pct" sf="Rmp_SF"/>
|
||||
<point id="Rmp_SF" offset="7" access="r" type="sunssf" len="1" mandatory="false" />
|
||||
</block>
|
||||
</model>
|
||||
<strings id="145" locale="en">
|
||||
<model>
|
||||
<label>Extended Settings</label>
|
||||
<description>Inverter controls extended settings </description>
|
||||
<notes></notes>
|
||||
</model>
|
||||
<point id="NomRmpUpRte">
|
||||
<label>Ramp Up Rate</label>
|
||||
<description>Ramp up rate as a percentage of max current.</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="NomRmpDnRte">
|
||||
<label>NomRmpDnRte</label>
|
||||
<description>Ramp down rate as a percentage of max current.</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="EmgRmpUpRte">
|
||||
<label>Emergency Ramp Up Rate</label>
|
||||
<description>Emergency ramp up rate as a percentage of max current.</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="EmgRmpDnRte">
|
||||
<label>Emergency Ramp Down Rate</label>
|
||||
<description>Emergency ramp down rate as a percentage of max current.</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="ConnRmpUpRte">
|
||||
<label>Connect Ramp Up Rate</label>
|
||||
<description>Connect ramp up rate as a percentage of max current.</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="ConnRmpDnRte">
|
||||
<label>Connect Ramp Down Rate</label>
|
||||
<description>Connect ramp down rate as a percentage of max current.</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="AGra">
|
||||
<label>Default Ramp Rate</label>
|
||||
<description>Ramp rate specified in percent of max current.</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="Rmp_SF">
|
||||
<label>Ramp Rate Scale Factor</label>
|
||||
<description>Ramp Rate Scale Factor</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
</strings>
|
||||
</sunSpecModels>
|
||||
Reference in New Issue
Block a user