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,459 @@
|
||||
<sunSpecModels v="1">
|
||||
|
||||
<!-- 160: Multiple MPPT Inverter Extension Model -->
|
||||
<model id="160" len="28" name="mppt">
|
||||
<block len="8">
|
||||
<point id="DCA_SF" offset="0" type="sunssf" />
|
||||
<point id="DCV_SF" offset="1" type="sunssf" />
|
||||
<point id="DCW_SF" offset="2" type="sunssf" />
|
||||
<point id="DCWH_SF" offset="3" type="sunssf" />
|
||||
<point id="Evt" offset="4" type="bitfield32" >
|
||||
<symbol id="GROUND_FAULT">0</symbol>
|
||||
<symbol id="INPUT_OVER_VOLTAGE">1</symbol>
|
||||
<symbol id="RESERVED_2">2</symbol>
|
||||
<symbol id="DC_DISCONNECT">3</symbol>
|
||||
<symbol id="RESERVED_4">4</symbol>
|
||||
<symbol id="CABINET_OPEN">5</symbol>
|
||||
<symbol id="MANUAL_SHUTDOWN">6</symbol>
|
||||
<symbol id="OVER_TEMP">7</symbol>
|
||||
<symbol id="RESERVED_8">8</symbol>
|
||||
<symbol id="RESERVED_9">9</symbol>
|
||||
<symbol id="RESERVED_10">10</symbol>
|
||||
<symbol id="RESERVED_11">11</symbol>
|
||||
<symbol id="BLOWN_FUSE">12</symbol>
|
||||
<symbol id="UNDER_TEMP">13</symbol>
|
||||
<symbol id="MEMORY_LOSS">14</symbol>
|
||||
<symbol id="ARC_DETECTION">15</symbol>
|
||||
<symbol id="RESERVED_16">16</symbol>
|
||||
<symbol id="RESERVED_17">17</symbol>
|
||||
<symbol id="RESERVED_18">18</symbol>
|
||||
<symbol id="RESERVED_19">19</symbol>
|
||||
<symbol id="TEST_FAILED">20</symbol>
|
||||
<symbol id="INPUT_UNDER_VOLTAGE">21</symbol>
|
||||
<symbol id="INPUT_OVER_CURRENT">22</symbol>
|
||||
</point>
|
||||
<point id="N" offset="6" type="count" />
|
||||
<point id="TmsPer" offset="7" type="uint16" />
|
||||
</block>
|
||||
<block type="repeating" len="20" name="module">
|
||||
<point id="ID" offset="0" type="uint16" />
|
||||
<point id="IDStr" offset="1" type="string" len="8" />
|
||||
<point id="DCA" offset="9" type="uint16" sf="DCA_SF" units="A"/>
|
||||
<point id="DCV" offset="10" type="uint16" sf="DCV_SF" units="V"/>
|
||||
<point id="DCW" offset="11" type="uint16" sf="DCW_SF" units="W"/>
|
||||
<point id="DCWH" offset="12" type="acc32" sf="DCWH_SF" units="Wh"/>
|
||||
<point id="Tms" offset="14" type="uint32" units="Secs" />
|
||||
<point id="Tmp" offset="16" type="int16" units="C"/>
|
||||
|
||||
<point id="DCSt" offset="17" type="enum16" >
|
||||
<symbol id="OFF">1</symbol>
|
||||
<symbol id="SLEEPING">2</symbol>
|
||||
<symbol id="STARTING">3</symbol>
|
||||
<symbol id="MPPT">4</symbol>
|
||||
<symbol id="THROTTLED">5</symbol>
|
||||
<symbol id="SHUTTING_DOWN">6</symbol>
|
||||
<symbol id="FAULT">7</symbol>
|
||||
<symbol id="STANDBY">8</symbol>
|
||||
<symbol id="TEST">9</symbol>
|
||||
<symbol id="RESERVED_10">10</symbol>
|
||||
</point>
|
||||
<point id="DCEvt" offset="18" type="bitfield32" >
|
||||
<symbol id="GROUND_FAULT">0</symbol>
|
||||
<symbol id="INPUT_OVER_VOLTAGE">1</symbol>
|
||||
<symbol id="RESERVED_2">2</symbol>
|
||||
<symbol id="DC_DISCONNECT">3</symbol>
|
||||
<symbol id="RESERVED_4">4</symbol>
|
||||
<symbol id="CABINET_OPEN">5</symbol>
|
||||
<symbol id="MANUAL_SHUTDOWN">6</symbol>
|
||||
<symbol id="OVER_TEMP">7</symbol>
|
||||
<symbol id="RESERVED_8">8</symbol>
|
||||
<symbol id="RESERVED_9">9</symbol>
|
||||
<symbol id="RESERVED_10">10</symbol>
|
||||
<symbol id="RESERVED_11">11</symbol>
|
||||
<symbol id="BLOWN_FUSE">12</symbol>
|
||||
<symbol id="UNDER_TEMP">13</symbol>
|
||||
<symbol id="MEMORY_LOSS">14</symbol>
|
||||
<symbol id="ARC_DETECTION">15</symbol>
|
||||
<symbol id="RESERVED_16">16</symbol>
|
||||
<symbol id="RESERVED_17">17</symbol>
|
||||
<symbol id="RESERVED_18">18</symbol>
|
||||
<symbol id="RESERVED_19">19</symbol>
|
||||
<symbol id="TEST_FAILED">20</symbol>
|
||||
<symbol id="INPUT_UNDER_VOLTAGE">21</symbol>
|
||||
<symbol id="INPUT_OVER_CURRENT">22</symbol>
|
||||
</point>
|
||||
</block>
|
||||
</model>
|
||||
<strings id="160" locale="en">
|
||||
<model>
|
||||
<label>Multiple MPPT Inverter Extension Model</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</model>
|
||||
<point id="DCA_SF">
|
||||
<label>Current Scale Factor</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DCV_SF">
|
||||
<label>Voltage Scale Factor</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DCW_SF">
|
||||
<label>Power Scale Factor</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DCWH_SF">
|
||||
<label>Energy Scale Factor</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="Evt">
|
||||
<label>Global Events</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
<symbol id="GROUND_FAULT">
|
||||
<label>Ground Fault</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="INPUT_OVER_VOLTAGE">
|
||||
<label>Input Over Voltage</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="DC_DISCONNECT">
|
||||
<label>DC Disconnect</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="CABINET_OPEN">
|
||||
<label>Cabinet Open</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="MANUAL_SHUTDOWN">
|
||||
<label>Manual Shutdown</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="OVER_TEMP">
|
||||
<label>Over Temperature</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="BLOWN_FUSE">
|
||||
<label>Blown Fuse</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="UNDER_TEMP">
|
||||
<label>Under Temperature</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="MEMORY_LOSS">
|
||||
<label>Memory Loss</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="ARC_DETECTION">
|
||||
<label>Arc Detection</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="TEST_FAILED">
|
||||
<label>Test Failed</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="INPUT_UNDER_VOLTAGE">
|
||||
<label>Under Voltage</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="INPUT_OVER_CURRENT">
|
||||
<label>Over Current</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
</point>
|
||||
<point id="N">
|
||||
<label>Number of Modules</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="ID">
|
||||
<label>Input ID</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="IDStr">
|
||||
<label>Input ID Sting</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DCA">
|
||||
<label>DC Current</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DCV">
|
||||
<label>DC Voltage</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DCW">
|
||||
<label>DC Power</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DCWH">
|
||||
<label>Lifetime Energy</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="Tms">
|
||||
<label>Timestamp</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="TmsPer">
|
||||
<label>Timestamp Period</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="Tmp">
|
||||
<label>Temperature</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</point>
|
||||
<point id="DCSt">
|
||||
<label>Operating State</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
<symbol id="OFF">
|
||||
<label>Off</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="SLEEPING">
|
||||
<label>Sleeping</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="STARTING">
|
||||
<label>Starting</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="MPPT">
|
||||
<label>MPPT</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="THROTTLED">
|
||||
<label>Throttled</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="SHUTTING_DOWN">
|
||||
<label>Shutting Down</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="FAULT">
|
||||
<label>Fault</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="STANDBY">
|
||||
<label>Standby</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="TEST">
|
||||
<label>Test</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
</point>
|
||||
<point id="DCEvt">
|
||||
<label>Module Events</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
<symbol id="GROUND_FAULT">
|
||||
<label>Ground Fault</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="INPUT_OVER_VOLTAGE">
|
||||
<label>Input Over Voltage</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="DC_DISCONNECT">
|
||||
<label>DC Disconnect</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="CABINET_OPEN">
|
||||
<label>Cabinet Open</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="MANUAL_SHUTDOWN">
|
||||
<label>Manual Shutdown</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="OVER_TEMP">
|
||||
<label>Over Temperature</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="BLOWN_FUSE">
|
||||
<label>Blown Fuse</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="UNDER_TEMP">
|
||||
<label>Under Temperature</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="MEMORY_LOSS">
|
||||
<label>Memory Loss</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="ARC_DETECTION">
|
||||
<label>Arc Detection</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="RESERVED">
|
||||
<label>Reserved</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="TEST_FAILED">
|
||||
<label>Test Failed</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="INPUT_UNDER_VOLTAGE">
|
||||
<label>Under Voltage</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
<symbol id="INPUT_OVER_CURRENT">
|
||||
<label>Over Current</label>
|
||||
<description></description>
|
||||
<notes></notes>
|
||||
</symbol>
|
||||
</point>
|
||||
</strings>
|
||||
</sunSpecModels>
|
||||
Reference in New Issue
Block a user