added migrated 2.x add-ons

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer
2020-09-21 01:58:32 +02:00
parent bbf1a7fd29
commit 6df6783b60
11662 changed files with 1302875 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding:binding id="windcentrale" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
<name>Windcentrale Binding</name>
<description>Binding for Windcentrale windmills</description>
<author>Marcel Verpaalen</author>
</binding:binding>

View File

@@ -0,0 +1,25 @@
# binding
binding.windcentrale.name = Windcentrale Binding
binding.windcentrale.description = Binding voor Windcentrale windmolens
# thing types
thing-type.windcentrale.mill.label = Windcentrale windmolen
thing-type.config.windcentrale.mill.millId.label = Windmolen
thing-type.config.windcentrale.mill.wd.label = Aantal Winddelen
thing-type.config.windcentrale.mill.wd.description = Aantal Winddelen in bezit
thing-type.config.windcentrale.mill.refreshInterval.label = Ververs interval
thing-type.config.windcentrale.mill.refreshInterval.description = Ververs interval in seconden
# channels
channel.windcentrale.windSpeed.label = Windsnelheid (Bft)
channel.windcentrale.windDirection.label = Windrichting
channel.windcentrale.powerAbsTot.label = Productie vermogen molen
channel.windcentrale.powerAbsWd.label = Vermogen van de Winddelen
channel.windcentrale.powerRel.label = Relatief vermogen
channel.windcentrale.kwh.label = Productie
channel.windcentrale.kwhForecast.label = Verwachte productie
channel.windcentrale.runPercentage.label = Molen productie percentage
channel.windcentrale.runPercentage.description = Molen productie percentage dit jaar
channel.windcentrale.runTime.label = Molen productietijd
channel.windcentrale.runTime.description = Molen productietijd dit jaar
channel.windcentrale.timestamp.label = Ververs tijdstip

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="windcentrale"
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">
<thing-type id="mill">
<label>Windcentrale Windmill</label>
<channels>
<channel id="windSpeed" typeId="windSpeed"/>
<channel id="windDirection" typeId="windDirection"/>
<channel id="powerAbsTot" typeId="powerAbsTot"/>
<channel id="powerAbsWd" typeId="powerAbsWd"/>
<channel id="powerRel" typeId="powerRel"/>
<channel id="kwh" typeId="kwh"/>
<channel id="kwhForecast" typeId="kwhForecast"/>
<channel id="runPercentage" typeId="runPercentage"/>
<channel id="runTime" typeId="runTime"/>
<channel id="timestamp" typeId="timestamp"/>
</channels>
<properties>
<property name="vendor">Windcentrale</property>
</properties>
<config-description>
<parameter name="millId" type="integer" required="true">
<label>Windmill</label>
<options>
<option value="1">De Grote Geert</option>
<option value="2">De Jonge Held</option>
<option value="31">Het Rode Hert</option>
<option value="41">De Ranke Zwaan</option>
<option value="51">De Witte Juffer</option>
<option value="111">De Bonte Hen</option>
<option value="121">De Trouwe Wachter</option>
<option value="131">De Blauwe Reiger</option>
<option value="141">De Vier Winden</option>
<option value="201">De Boerenzwaluw</option>
</options>
<default>131</default>
</parameter>
<parameter name="wd" type="integer" required="false">
<label>Wind Shares</label>
<description>Number of wind shares ("Winddelen")</description>
<default>1</default>
</parameter>
<parameter name="refreshInterval" type="integer" min="1" max="9999" required="false">
<label>Refresh Interval</label>
<description>Refresh interval for refreshing the data in seconds</description>
<default>30</default>
<advanced>true</advanced>
</parameter>
</config-description>
</thing-type>
<channel-type id="windSpeed">
<item-type>Number</item-type>
<label>Wind Speed</label>
<category>Wind</category>
<state pattern="%d Bft" readOnly="true"/>
</channel-type>
<channel-type id="windDirection">
<item-type>String</item-type>
<label>Wind Direction</label>
<state pattern="%s" readOnly="true"/>
</channel-type>
<channel-type id="powerRel">
<item-type>Number:Dimensionless</item-type>
<label>Relative Power</label>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="runPercentage">
<item-type>Number:Dimensionless</item-type>
<label>Run Percentage</label>
<description>Run percentage this year</description>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="runTime">
<item-type>Number:Time</item-type>
<label>Run Time</label>
<description>Run time this year</description>
<state pattern="%.0f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="powerAbsWd">
<item-type>Number:Power</item-type>
<label>Wind Shares Power</label>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="powerAbsTot">
<item-type>Number:Power</item-type>
<label>Total Power</label>
<category>Energy</category>
<state pattern="%.1f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="kwh">
<item-type>Number:Energy</item-type>
<label>Energy</label>
<category>Energy</category>
<state pattern="%.0f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="kwhForecast">
<item-type>Number:Energy</item-type>
<label>Energy Forecast</label>
<category>Energy</category>
<state pattern="%.0f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="timestamp">
<item-type>DateTime</item-type>
<label>Last Updated</label>
<state readOnly="true"/>
</channel-type>
</thing:thing-descriptions>