added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="modbus"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<!-- Power Channel Type -->
|
||||
<channel-type id="Pbat">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Power</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- State of charge Channel Type -->
|
||||
<channel-type id="SOC">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>State of Charge</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Battery temperature Channel Type -->
|
||||
<channel-type id="Tbat">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Battery Temperature</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="modbus"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<!-- Battery voltage Channel Type -->
|
||||
<channel-type id="Ubat">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>Battery Voltage</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Battery current Channel Type -->
|
||||
<channel-type id="Ibat">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Battery Current</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="modbus"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<!-- Model of VarioTrack Channel Type -->
|
||||
<channel-type id="Type">
|
||||
<item-type>String</item-type>
|
||||
<label>Model of VarioTrack</label>
|
||||
<state readOnly="true">
|
||||
<options>
|
||||
<option value="VT80">VT-80</option>
|
||||
<option value="VT65">VT-65</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<!-- Voltage of the PV generator Channel Type -->
|
||||
<channel-type id="Upv">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>PV Generator Voltage</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Power of the PV generator Channel Type -->
|
||||
<channel-type id="Psol">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Power of the PV Generator</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Production in (kWh) for the current day Channel Type -->
|
||||
<channel-type id="Ed">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Current Day Production</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Operating state Channel Type -->
|
||||
<channel-type id="Mode">
|
||||
<item-type>String</item-type>
|
||||
<label>Operating Mode</label>
|
||||
<state readOnly="true">
|
||||
<options>
|
||||
<option value="NIGHT">Night</option>
|
||||
<option value="STARTUP">StartUp</option>
|
||||
<option value="UNKNOWN">---</option>
|
||||
<option value="CHARGER">Charger</option>
|
||||
<option value="SECURITY">Security</option>
|
||||
<option value="OFF">OFF</option>
|
||||
<option value="CHARGE">Charge</option>
|
||||
<option value="CHARGEV">Charge V</option>
|
||||
<option value="CHARGEI">Charge I</option>
|
||||
<option value="CHARGET">Charge T</option>
|
||||
<option value="CHIBSP">Ch. Ibsp</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<!-- State of the VarioTrack Channel Type -->
|
||||
<channel-type id="VTstate">
|
||||
<item-type>Switch</item-type>
|
||||
<label>State of the VarioTrack</label>
|
||||
<state readOnly="true"></state>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="modbus"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<!-- PV voltage Channel Type -->
|
||||
<channel-type id="Upv0">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>PV Voltage</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV current Channel Type -->
|
||||
<channel-type id="Ipv0">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>PV Current</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV Power Channel Type -->
|
||||
<channel-type id="Ppv0">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>PV Power</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Production PV in (kWh) for the current day Channel Type -->
|
||||
<channel-type id="Ed0">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>PV Current Day Production</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV operating mode Channel Type -->
|
||||
<channel-type id="Mod0">
|
||||
<item-type>String</item-type>
|
||||
<label>PV Operating State</label>
|
||||
<state readOnly="true">
|
||||
<options>
|
||||
<option value="NIGHT">Night</option>
|
||||
<option value="SECURITY">Security</option>
|
||||
<option value="OFF">OFF</option>
|
||||
<option value="CHARGE">Charge</option>
|
||||
<option value="CHARGEV">Charge V</option>
|
||||
<option value="CHARGEI">Charge I</option>
|
||||
<option value="CHARGEP">Charge P</option>
|
||||
<option value="CHARGEIPV">Charge Ipv</option>
|
||||
<option value="CHARGET">Charge T</option>
|
||||
<option value="UNKNOWN">---</option>
|
||||
<option value="CHIBSP">Ch. Ibsp</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<!-- PV1 voltage Channel Type -->
|
||||
<channel-type id="Upv1">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>PV1 Voltage</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV1 current Channel Type -->
|
||||
<channel-type id="Ipv1">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>PV1 Current</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV1 Power Channel Type -->
|
||||
<channel-type id="Ppv1">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>PV1 Power</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Production PV1 in (kWh) for the current day Channel Type -->
|
||||
<channel-type id="Ed1">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>PV1 Current Day Production</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV1 operating mode Channel Type -->
|
||||
<channel-type id="Mod1">
|
||||
<item-type>String</item-type>
|
||||
<label>PV1 Operating State</label>
|
||||
<state readOnly="true">
|
||||
<options>
|
||||
<option value="NIGHT">Night</option>
|
||||
<option value="SECURITY">Security</option>
|
||||
<option value="OFF">OFF</option>
|
||||
<option value="CHARGE">Charge</option>
|
||||
<option value="CHARGEV">Charge V</option>
|
||||
<option value="CHARGEI">Charge I</option>
|
||||
<option value="CHARGEP">Charge P</option>
|
||||
<option value="CHARGEIPV">Charge Ipv</option>
|
||||
<option value="CHARGET">Charge T</option>
|
||||
<option value="UNKNOWN">---</option>
|
||||
<option value="CHIBSP">Ch. Ibsp</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<!-- PV2 voltage Channel Type -->
|
||||
<channel-type id="Upv2">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>PV2 Voltage</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV2 current Channel Type -->
|
||||
<channel-type id="Ipv2">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>PV2 Current</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV2 Power Channel Type -->
|
||||
<channel-type id="Ppv2">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>PV2 Power</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Production PV2 in (kWh) for the current day Channel Type -->
|
||||
<channel-type id="Ed2">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>PV2 Current Day Production</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- PV operating mode Channel Type -->
|
||||
<channel-type id="Mod2">
|
||||
<item-type>String</item-type>
|
||||
<label>PV2 Operating State</label>
|
||||
<state readOnly="true">
|
||||
<options>
|
||||
<option value="NIGHT">Night</option>
|
||||
<option value="SECURITY">Security</option>
|
||||
<option value="OFF">OFF</option>
|
||||
<option value="CHARGE">Charge</option>
|
||||
<option value="CHARGEV">Charge V</option>
|
||||
<option value="CHARGEI">Charge I</option>
|
||||
<option value="CHARGEP">Charge P</option>
|
||||
<option value="CHARGEIPV">Charge Ipv</option>
|
||||
<option value="CHARGET">Charge T</option>
|
||||
<option value="UNKNOWN">---</option>
|
||||
<option value="CHIBSP">Ch. Ibsp</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<!-- State of the VarioString Channel Type -->
|
||||
<channel-type id="VSstate">
|
||||
<item-type>Switch</item-type>
|
||||
<label>State of the VarioString</label>
|
||||
<state readOnly="true"></state>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="modbus"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<!-- Input voltage Channel Type -->
|
||||
<channel-type id="Uin">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>Input Voltage</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Input current Channel Type -->
|
||||
<channel-type id="Iin">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Input Current</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Input active power Channel Type -->
|
||||
<channel-type id="Pina">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Input Active Power</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Input frequency Channel Type -->
|
||||
<channel-type id="Fin">
|
||||
<item-type>Number:Frequency</item-type>
|
||||
<label>Input Frequency</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Output voltage Channel Type -->
|
||||
<channel-type id="Uout">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>Output Voltage</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Output current Channel Type -->
|
||||
<channel-type id="Iout">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Output Current</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Output active power Channel Type -->
|
||||
<channel-type id="Pouta">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Output Active Power</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Output frequency Channel Type -->
|
||||
<channel-type id="Fout">
|
||||
<item-type>Number:Frequency</item-type>
|
||||
<label>Output Frequency</label>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<!-- Operating state Channel Type -->
|
||||
<channel-type id="Mode">
|
||||
<item-type>String</item-type>
|
||||
<label>Operating State</label>
|
||||
<state readOnly="true">
|
||||
<options>
|
||||
<option value="INVALID">Invalid value</option>
|
||||
<option value="INVERTER">Inverter</option>
|
||||
<option value="CHARGER">Charger</option>
|
||||
<option value="BOOST">Boost</option>
|
||||
<option value="INJECTION">Injection</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<!-- State of the inverter Channel Type -->
|
||||
<channel-type id="XTstate">
|
||||
<item-type>String</item-type>
|
||||
<label>State of the Inverter</label>
|
||||
<state readOnly="true">
|
||||
<options>
|
||||
<option value="OFF">OFF</option>
|
||||
<option value="ON">ON</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="modbus"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<!-- BSP Thing Type -->
|
||||
<thing-type id="bsp">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="serial"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>BSP Studer</label>
|
||||
<description>Thing for Studer BSP Device</description>
|
||||
<channels>
|
||||
<channel id="batteryVoltage" typeId="Ubat"/>
|
||||
<channel id="batteryCurrent" typeId="Ibat"/>
|
||||
<channel id="power" typeId="Pbat"/>
|
||||
<channel id="stateOfCharge" typeId="SOC"/>
|
||||
<channel id="batteryTemperature" typeId="Tbat"/>
|
||||
</channels>
|
||||
<config-description>
|
||||
<parameter name="slaveAddress" type="integer" min="60" max="61">
|
||||
<label>Slave Address</label>
|
||||
<description>Slave address of BSP device</description>
|
||||
<default>60</default>
|
||||
</parameter>
|
||||
<parameter name="refresh" type="integer" min="1" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<description>Poll interval</description>
|
||||
<default>5</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
<!-- Xtender Thing Type -->
|
||||
<thing-type id="xtender">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="serial"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>Xtender Studer</label>
|
||||
<description>Thing for Studer Xtender Device</description>
|
||||
<channels>
|
||||
<channel id="inputVoltage" typeId="Uin"/>
|
||||
<channel id="inputCurrent" typeId="Iin"/>
|
||||
<channel id="inputActivePower" typeId="Pina"/>
|
||||
<channel id="inputFrequency" typeId="Fin"/>
|
||||
<channel id="outputVoltage" typeId="Uout"/>
|
||||
<channel id="outputCurrent" typeId="Iout"/>
|
||||
<channel id="outputActivePower" typeId="Pouta"/>
|
||||
<channel id="outputFrequency" typeId="Fout"/>
|
||||
<channel id="operatingState" typeId="Mode"/>
|
||||
<channel id="stateInverter" typeId="XTstate"/>
|
||||
</channels>
|
||||
<config-description>
|
||||
<parameter name="slaveAddress" type="integer" min="10" max="19">
|
||||
<label>Slave Address</label>
|
||||
<description>Slave address of Xtender device</description>
|
||||
<default>10</default>
|
||||
</parameter>
|
||||
<parameter name="refresh" type="integer" min="1" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<description>Poll interval</description>
|
||||
<default>5</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
<!-- VarioTrack Thing Type -->
|
||||
<thing-type id="variotrack">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="serial"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>VarioTrack Studer</label>
|
||||
<description>Thing for Studer VarioTrack Device</description>
|
||||
<channels>
|
||||
<channel id="batteryVoltage" typeId="Ubat"/>
|
||||
<channel id="batteryCurrent" typeId="Ibat"/>
|
||||
<channel id="modelVarioTrack" typeId="Type"/>
|
||||
<channel id="voltagePVGenerator" typeId="Upv"/>
|
||||
<channel id="powerPVGenerator" typeId="Psol"/>
|
||||
<channel id="productionCurrentDay" typeId="Ed"/>
|
||||
<channel id="operatingMode" typeId="Mode"/>
|
||||
<channel id="stateVarioTrack" typeId="VTstate"/>
|
||||
</channels>
|
||||
<config-description>
|
||||
<parameter name="slaveAddress" type="integer" min="20" max="35">
|
||||
<label>Slave Address</label>
|
||||
<description>Slave address of VarioTrack device</description>
|
||||
<default>20</default>
|
||||
</parameter>
|
||||
<parameter name="refresh" type="integer" min="1" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<description>Poll interval</description>
|
||||
<default>5</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
<!-- VarioString Thing Type -->
|
||||
<thing-type id="variostring">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="serial"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>VarioString Studer</label>
|
||||
<description>Thing for Studer VarioString Device</description>
|
||||
<channels>
|
||||
<channel id="batteryVoltage" typeId="Ubat"/>
|
||||
<channel id="batteryCurrent" typeId="Ibat"/>
|
||||
<channel id="PVVoltage" typeId="Upv0"/>
|
||||
<channel id="PVCurrent" typeId="Ipv0"/>
|
||||
<channel id="PVPower" typeId="Ppv0"/>
|
||||
<channel id="ProductionPVCurrentDay" typeId="Ed0"/>
|
||||
<channel id="PVMode" typeId="Mod0"/>
|
||||
<channel id="PV1Voltage" typeId="Upv1"/>
|
||||
<channel id="PV1Current" typeId="Ipv1"/>
|
||||
<channel id="PV1Power" typeId="Ppv1"/>
|
||||
<channel id="ProductionPV1CurrentDay" typeId="Ed1"/>
|
||||
<channel id="PV1Mode" typeId="Mod1"/>
|
||||
<channel id="PV2Voltage" typeId="Upv2"/>
|
||||
<channel id="PV2Current" typeId="Ipv2"/>
|
||||
<channel id="PV2Power" typeId="Ppv2"/>
|
||||
<channel id="ProductionPV2CurrentDay" typeId="Ed2"/>
|
||||
<channel id="PV2Mode" typeId="Mod2"/>
|
||||
<channel id="stateVarioString" typeId="VSstate"/>
|
||||
</channels>
|
||||
<config-description>
|
||||
<parameter name="slaveAddress" type="integer" min="40" max="55">
|
||||
<label>Slave Address</label>
|
||||
<description>Slave address of VarioString device</description>
|
||||
<default>40</default>
|
||||
</parameter>
|
||||
<parameter name="refresh" type="integer" min="1" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<description>Poll interval</description>
|
||||
<default>5</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user