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,218 @@
|
||||
<sunSpecModels v="1">
|
||||
<!-- 13: IPv6 protocol -->
|
||||
<model id="13" len="174">
|
||||
<block len="174">
|
||||
<point id="Nam" offset="0" type="string" len="4" access="rw" />
|
||||
<point id="CfgSt" offset="4" type="enum16" mandatory="true" >
|
||||
<symbol id="NOT_CONFIGURED">0</symbol>
|
||||
<symbol id="VALID_SETTING">1</symbol>
|
||||
<symbol id="VALID_HW">2</symbol>
|
||||
</point>
|
||||
<point id="ChgSt" offset="5" type="bitfield16" mandatory="true" >
|
||||
<symbol id="PENDING">0</symbol>
|
||||
</point>
|
||||
<point id="Cap" offset="6" type="bitfield16" mandatory="true" >
|
||||
<symbol id="DHCP">0</symbol>
|
||||
<symbol id="BOOTP">1</symbol>
|
||||
<symbol id="ZEROCONF">2</symbol>
|
||||
<symbol id="DNS">3</symbol>
|
||||
<symbol id="CFG_SETTABLE">4</symbol>
|
||||
<symbol id="HW_CONFIG">5</symbol>
|
||||
<symbol id="NTP_CLIENT">6</symbol>
|
||||
<symbol id="RESET_REQUIRED">7</symbol>
|
||||
</point>
|
||||
<point id="Cfg" offset="7" type="enum16" mandatory="true" access="rw" >
|
||||
<symbol id="STATIC">0</symbol>
|
||||
<symbol id="DHCP">1</symbol>
|
||||
<symbol id="BOOTP">2</symbol>
|
||||
<symbol id="ZEROCONF">3</symbol>
|
||||
</point>
|
||||
<point id="Ctl" offset="8" type="enum16" mandatory="true" access="rw" >
|
||||
<symbol id="ENABLE_DNS">0</symbol>
|
||||
<symbol id="ENABLE_NTP">1</symbol>
|
||||
</point>
|
||||
<point id="Addr" offset="9" type="string" len="20" mandatory="true" access="rw" />
|
||||
<point id="CIDR" offset="29" type="string" len="20" access="rw" />
|
||||
<point id="Gw" offset="49" type="string" len="20" access="rw" />
|
||||
<point id="DNS1" offset="69" type="string" len="20" access="rw" />
|
||||
<point id="DNS2" offset="89" type="string" len="20" access="rw" />
|
||||
<point id="NTP1" offset="109" type="string" len="20" access="rw" />
|
||||
<point id="NTP2" offset="129" type="string" len="20" access="rw" />
|
||||
<point id="DomNam" offset="149" type="string" len="12" access="rw" />
|
||||
<point id="HostNam" offset="161" type="string" len="12" access="rw" />
|
||||
<point id="Pad" offset="173" type="pad" />
|
||||
</block>
|
||||
</model>
|
||||
<strings id="13" locale="en">
|
||||
<model>
|
||||
<label>IPv6</label>
|
||||
<description>Include to support an IPv6 protocol stack on this interface</description>
|
||||
<notes></notes>
|
||||
</model>
|
||||
<point id="Nam">
|
||||
<label>Name</label>
|
||||
<description>Interface name</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="CfgSt">
|
||||
<label>Config Status</label>
|
||||
<description>Enumerated value. Configuration status</description>
|
||||
<notes></notes>
|
||||
<symbol id="NOT_CONFIGURED">
|
||||
<label>not configured</label>
|
||||
<description>the stack is not configured</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="VALID_SETTING">
|
||||
<label>valid setting</label>
|
||||
<description>a valid configuration from BOOTP, DHCP, or NV mem</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="VALID_HW">
|
||||
<label>valid hardware</label>
|
||||
<description>a valid configuration from hardware settings</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
</point>
|
||||
<point id="ChgSt">
|
||||
<label>Change Status</label>
|
||||
<description>Bitmask value. A configuration change is pending</description>
|
||||
<notes></notes>
|
||||
<symbol id="PENDING">
|
||||
<label>pending</label>
|
||||
<description>a configuration change is pending</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
</point>
|
||||
<point id="Cap">
|
||||
<label>Config Capability</label>
|
||||
<description>Bitmask value. Identify capable sources of configuration</description>
|
||||
<notes></notes>
|
||||
<symbol id="DHCP">
|
||||
<label>DHCP</label>
|
||||
<description>DHCP Client capable</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="BOOTP">
|
||||
<label>BOOTP</label>
|
||||
<description>BOOTP client capable</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="ZEROCONF">
|
||||
<label>zeroconf</label>
|
||||
<description>Zeroconf capable</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="DNS">
|
||||
<label>DNS</label>
|
||||
<description>DNS Client capable</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="CFG_SETTABLE">
|
||||
<label>configurable</label>
|
||||
<description>Settable configuration capable</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="HW_CONFIG">
|
||||
<label>hw</label>
|
||||
<description>Hardware configuration capable</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="NTP_CLIENT">
|
||||
<label>ntp</label>
|
||||
<description>NTP Client capable</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESET_REQUIRED">
|
||||
<label>reset required</label>
|
||||
<description>configuration change requires reset</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
</point>
|
||||
<point id="Cfg">
|
||||
<label>IPv6 Config</label>
|
||||
<description>Enumerated value. Configuration method used.</description>
|
||||
<notes></notes>
|
||||
<symbol id="STATIC">
|
||||
<label>static</label>
|
||||
<description>Use static IP</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="DHCP">
|
||||
<label>DHCP</label>
|
||||
<description>Use DHCP</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="BOOTP">
|
||||
<label>BOOTP</label>
|
||||
<description>Use BOOTP</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="ZEROCONF">
|
||||
<label>zeroconf</label>
|
||||
<description>Use Zeroconf</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
</point>
|
||||
<point id="Ctl">
|
||||
<label>Control</label>
|
||||
<description>Bitmask value. Configure use of services</description>
|
||||
<notes></notes>
|
||||
<symbol id="ENABLE_DNS">
|
||||
<label>DNS</label>
|
||||
<description>Enable DNS</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="ENABLE_NTP">
|
||||
<label>NTP</label>
|
||||
<description>Enable NTP</description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
</point>
|
||||
<point id="Addr">
|
||||
<label>IP</label>
|
||||
<description>IPv6 numeric address as a dotted string xxxx.xxxx.xxxx.xxxx</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="CIDR">
|
||||
<label>CIDR</label>
|
||||
<description>Classless Inter-Domain Routing Number</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="Gw">
|
||||
<label>Gateway</label>
|
||||
<description>IPv6 numeric address as a dotted string xxxx.xxxx.xxxx.xxxx</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DNS1">
|
||||
<label>DNS1</label>
|
||||
<description>IPv6 numeric DNS address as a dotted string xxxx.xxxx.xxxx.xxxx</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DNS2">
|
||||
<label>DNS2</label>
|
||||
<description>IPv6 numeric DNS address as a dotted string xxxx.xxxx.xxxx.xxxx</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="NTP1">
|
||||
<label>NTP1</label>
|
||||
<description>IPv6 numeric NTP address as a name or dotted string xxxx.xxxx.xxxx.xxxx</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="NTP2">
|
||||
<label>NTP2</label>
|
||||
<description>IPv6 numeric NTP address as a name or dotted string xxxx.xxxx.xxxx.xxxx</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DomNam">
|
||||
<label>Domain</label>
|
||||
<description>Domain name (24 chars max)</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="HostNam">
|
||||
<label>Host Name</label>
|
||||
<description>Host name (24 chars max)</description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
</strings>
|
||||
</sunSpecModels>
|
||||
Reference in New Issue
Block a user