Files
SolarManager/sunspec2/models/smdx/smdx_00103.xml
T
adminandClaude Opus 5 79843aa2ae 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>
2026-09-02 20:46:59 +02:00

359 lines
13 KiB
XML

<sunSpecModels v="1">
<!-- 103: inverter -->
<model id="103" len="50" name="inverter">
<block len="50">
<point id="A" offset="0" type="uint16" sf="A_SF" units="A" mandatory="true" />
<point id="AphA" offset="1" type="uint16" sf="A_SF" units="A" mandatory="true" />
<point id="AphB" offset="2" type="uint16" sf="A_SF" units="A" mandatory="true" />
<point id="AphC" offset="3" type="uint16" sf="A_SF" units="A" mandatory="true" />
<point id="A_SF" offset="4" type="sunssf" mandatory="true" />
<point id="PPVphAB" offset="5" type="uint16" sf="V_SF" units="V" />
<point id="PPVphBC" offset="6" type="uint16" sf="V_SF" units="V" />
<point id="PPVphCA" offset="7" type="uint16" sf="V_SF" units="V" />
<point id="PhVphA" offset="8" type="uint16" sf="V_SF" units="V" mandatory="true" />
<point id="PhVphB" offset="9" type="uint16" sf="V_SF" units="V" mandatory="true" />
<point id="PhVphC" offset="10" type="uint16" sf="V_SF" units="V" mandatory="true" />
<point id="V_SF" offset="11" type="sunssf" mandatory="true" />
<point id="W" offset="12" type="int16" sf="W_SF" units="W" mandatory="true" />
<point id="W_SF" offset="13" type="sunssf" mandatory="true" />
<point id="Hz" offset="14" type="uint16" sf="Hz_SF" units="Hz" mandatory="true" />
<point id="Hz_SF" offset="15" type="sunssf" mandatory="true" />
<point id="VA" offset="16" type="int16" sf="VA_SF" units="VA" />
<point id="VA_SF" offset="17" type="sunssf" />
<point id="VAr" offset="18" type="int16" sf="VAr_SF" units="var" />
<point id="VAr_SF" offset="19" type="sunssf" />
<point id="PF" offset="20" type="int16" sf="PF_SF" units="Pct" />
<point id="PF_SF" offset="21" type="sunssf" />
<point id="WH" offset="22" type="acc32" sf="WH_SF" units="Wh" mandatory="true" />
<point id="WH_SF" offset="24" type="sunssf" mandatory="true" />
<point id="DCA" offset="25" type="uint16" sf="DCA_SF" units="A" />
<point id="DCA_SF" offset="26" type="sunssf" />
<point id="DCV" offset="27" type="uint16" sf="DCV_SF" units="V" />
<point id="DCV_SF" offset="28" type="sunssf" />
<point id="DCW" offset="29" type="int16" sf="DCW_SF" units="W" />
<point id="DCW_SF" offset="30" type="sunssf" />
<point id="TmpCab" offset="31" type="int16" sf="Tmp_SF" units="C" mandatory="true" />
<point id="TmpSnk" offset="32" type="int16" sf="Tmp_SF" units="C" />
<point id="TmpTrns" offset="33" type="int16" sf="Tmp_SF" units="C" />
<point id="TmpOt" offset="34" type="int16" sf="Tmp_SF" units="C" />
<point id="Tmp_SF" offset="35" type="sunssf" mandatory="true" />
<point id="St" offset="36" type="enum16" mandatory="true" >
<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>
</point>
<point id="StVnd" offset="37" type="enum16" />
<point id="Evt1" offset="38" type="bitfield32" mandatory="true" >
<symbol id="GROUND_FAULT">0</symbol>
<symbol id="DC_OVER_VOLT">1</symbol>
<symbol id="AC_DISCONNECT">2</symbol>
<symbol id="DC_DISCONNECT">3</symbol>
<symbol id="GRID_DISCONNECT">4</symbol>
<symbol id="CABINET_OPEN">5</symbol>
<symbol id="MANUAL_SHUTDOWN">6</symbol>
<symbol id="OVER_TEMP">7</symbol>
<symbol id="OVER_FREQUENCY">8</symbol>
<symbol id="UNDER_FREQUENCY">9</symbol>
<symbol id="AC_OVER_VOLT">10</symbol>
<symbol id="AC_UNDER_VOLT">11</symbol>
<symbol id="BLOWN_STRING_FUSE">12</symbol>
<symbol id="UNDER_TEMP">13</symbol>
<symbol id="MEMORY_LOSS">14</symbol>
<symbol id="HW_TEST_FAILURE">15</symbol>
</point>
<point id="Evt2" offset="40" type="bitfield32" mandatory="true" />
<point id="EvtVnd1" offset="42" type="bitfield32" />
<point id="EvtVnd2" offset="44" type="bitfield32" />
<point id="EvtVnd3" offset="46" type="bitfield32" />
<point id="EvtVnd4" offset="48" type="bitfield32" />
</block>
</model>
<strings id="103" locale="en">
<model>
<label>Inverter (Three Phase)</label>
<description>Include this model for three phase inverter monitoring</description>
<notes></notes>
</model>
<point id="A">
<label>Amps</label>
<description>AC Current</description>
<notes>Sum of active phases</notes>
</point>
<point id="AphA">
<label>Amps PhaseA</label>
<description>Phase A Current</description>
<notes>Connected Phase</notes>
</point>
<point id="AphB">
<label>Amps PhaseB</label>
<description>Phase B Current</description>
<notes>Connected Phase</notes>
</point>
<point id="AphC">
<label>Amps PhaseC</label>
<description>Phase C Current</description>
<notes>Connected Phase</notes>
</point>
<point id="PPVphAB">
<label>Phase Voltage AB</label>
<description>Phase Voltage AB</description>
<notes></notes>
</point>
<point id="PPVphBC">
<label>Phase Voltage BC</label>
<description>Phase Voltage BC</description>
<notes></notes>
</point>
<point id="PPVphCA">
<label>Phase Voltage CA</label>
<description>Phase Voltage CA</description>
<notes></notes>
</point>
<point id="PhVphA">
<label>Phase Voltage AN</label>
<description>Phase Voltage AN</description>
<notes></notes>
</point>
<point id="PhVphB">
<label>Phase Voltage BN</label>
<description>Phase Voltage BN</description>
<notes></notes>
</point>
<point id="PhVphC">
<label>Phase Voltage CN</label>
<description>Phase Voltage CN</description>
<notes></notes>
</point>
<point id="W">
<label>Watts</label>
<description>AC Power</description>
<notes></notes>
</point>
<point id="Hz">
<label>Hz</label>
<description>Line Frequency</description>
<notes></notes>
</point>
<point id="VA">
<label>VA</label>
<description>AC Apparent Power</description>
<notes></notes>
</point>
<point id="VAr">
<label>VAr</label>
<description>AC Reactive Power</description>
<notes></notes>
</point>
<point id="PF">
<label>PF</label>
<description>AC Power Factor</description>
<notes></notes>
</point>
<point id="WH">
<label>WattHours</label>
<description>AC Energy</description>
<notes></notes>
</point>
<point id="DCA">
<label>DC Amps</label>
<description>DC Current</description>
<notes></notes>
</point>
<point id="DCV">
<label>DC Voltage</label>
<description>DC Voltage</description>
<notes></notes>
</point>
<point id="DCW">
<label>DC Watts</label>
<description>DC Power</description>
<notes></notes>
</point>
<point id="TmpCab">
<label>Cabinet Temperature</label>
<description>Cabinet Temperature</description>
<notes></notes>
</point>
<point id="TmpSnk">
<label>Heat Sink Temperature</label>
<description>Heat Sink Temperature</description>
<notes></notes>
</point>
<point id="TmpTrns">
<label>Transformer Temperature</label>
<description>Transformer Temperature</description>
<notes></notes>
</point>
<point id="TmpOt">
<label>Other Temperature</label>
<description>Other Temperature</description>
<notes></notes>
</point>
<point id="St">
<label>Operating State</label>
<description>Enumerated value. Operating state</description>
<notes></notes>
<symbol id="OFF">
<label>Off</label>
<description>Device is not operating</description>
<notes></notes>
</symbol>
<symbol id="SLEEPING">
<label>Sleeping</label>
<description>Device is sleeping / auto-shutdown</description>
<notes></notes>
</symbol>
<symbol id="STARTING">
<label>Starting</label>
<description>Device is staring up</description>
<notes></notes>
</symbol>
<symbol id="MPPT">
<label>MPPT</label>
<description>Device is auto tracking maximum power point</description>
<notes></notes>
</symbol>
<symbol id="THROTTLED">
<label>Throttled</label>
<description>Device is operating at reduced power output</description>
<notes></notes>
</symbol>
<symbol id="SHUTTING_DOWN">
<label>Shutting down</label>
<description>Device is shutting down</description>
<notes></notes>
</symbol>
<symbol id="FAULT">
<label>Fault</label>
<description>One or more faults exist</description>
<notes></notes>
</symbol>
<symbol id="STANDBY">
<label>Standby</label>
<description>Device is in standby mode</description>
<notes></notes>
</symbol>
</point>
<point id="StVnd">
<label>Vendor Operating State</label>
<description>Vendor specific operating state code</description>
<notes></notes>
</point>
<point id="Evt1">
<label>Event1</label>
<description>Bitmask value. Event fields</description>
<notes></notes>
<symbol id="GROUND_FAULT">
<label>Ground fault</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="DC_OVER_VOLT">
<label>DC over voltage</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="AC_DISCONNECT">
<label>AC disconnect open</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="DC_DISCONNECT">
<label>DC disconnect open</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="GRID_DISCONNECT">
<label>Grid shutdown</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="OVER_FREQUENCY">
<label>Frequency above limit</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="UNDER_FREQUENCY">
<label>Frequency under limit</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="AC_OVER_VOLT">
<label>AC Voltage above limit</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="AC_UNDER_VOLT">
<label>AC Voltage under limit</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="BLOWN_STRING_FUSE">
<label>Blown String fuse on input</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="UNDER_TEMP">
<label>Under temperature</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="MEMORY_LOSS">
<label>Generic Memory or Communication error (internal)</label>
<description></description>
<notes></notes>
</symbol>
<symbol id="HW_TEST_FAILURE">
<label>Hardware test failure</label>
<description></description>
<notes></notes>
</symbol>
</point>
<point id="Evt2">
<label>Event Bitfield 2</label>
<description>Reserved for future use</description>
<notes></notes>
</point>
<point id="EvtVnd1">
<label>Vendor Event Bitfield 1</label>
<description>Vendor defined events</description>
<notes></notes>
</point>
<point id="EvtVnd2">
<label>Vendor Event Bitfield 2</label>
<description>Vendor defined events</description>
<notes></notes>
</point>
<point id="EvtVnd3">
<label>Vendor Event Bitfield 3</label>
<description>Vendor defined events</description>
<notes></notes>
</point>
<point id="EvtVnd4">
<label>Vendor Event Bitfield 4</label>
<description>Vendor defined events</description>
<notes></notes>
</point>
</strings>
</sunSpecModels>