added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding:binding id="melcloud" 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>MELCloud Binding</name>
|
||||
<description>Binding for Mitsubishi MELCloud connected A.C. devices.</description>
|
||||
<author>Luca Calcaterra, Pauli Anttila, Wietse van Buitenen</author>
|
||||
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="melcloud"
|
||||
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="acdevice">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="melcloudaccount"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>A.C. Device</label>
|
||||
<description>Air conditioning device</description>
|
||||
|
||||
<channels>
|
||||
<channel id="hasPendingCommand" typeId="hasPendingCommand-channel"/>
|
||||
<channel id="offline" typeId="offline-channel"/>
|
||||
<channel id="power" typeId="power-channel"/>
|
||||
<channel id="operationMode" typeId="operationMode-channel"/>
|
||||
<channel id="setTemperature" typeId="setTemperature-channel"/>
|
||||
<channel id="fanSpeed" typeId="fanSpeed-channel"/>
|
||||
<channel id="vaneHorizontal" typeId="vaneHorizontal-channel"/>
|
||||
<channel id="vaneVertical" typeId="vaneVertical-channel"/>
|
||||
<channel id="roomTemperature" typeId="roomTemperature-channel"/>
|
||||
<channel id="lastCommunication" typeId="lastCommunication-channel"/>
|
||||
<channel id="nextCommunication" typeId="nextCommunication-channel"/>
|
||||
</channels>
|
||||
|
||||
<config-description>
|
||||
<parameter name="deviceID" type="integer" required="true">
|
||||
<label>Device ID</label>
|
||||
<description>Device ID of the A.C. device</description>
|
||||
</parameter>
|
||||
<parameter name="buildingID" type="integer">
|
||||
<label>Building ID</label>
|
||||
<description>Building ID of the A.C. device.</description>
|
||||
</parameter>
|
||||
<parameter name="pollingInterval" type="integer" required="true">
|
||||
<label>Polling Interval</label>
|
||||
<description>Time interval how often poll data from MELCloud</description>
|
||||
<default>60</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,150 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="melcloud"
|
||||
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">
|
||||
|
||||
<!-- Common channels -->
|
||||
<channel-type id="power-channel">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Power</label>
|
||||
<description>Power status of device</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="hasPendingCommand-channel">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Pending Command</label>
|
||||
<description>Device has a pending command(s)</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="offline-channel">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Is Offline</label>
|
||||
<description>Is device in offline state.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="lastCommunication-channel">
|
||||
<item-type>DateTime</item-type>
|
||||
<label>Last Communication</label>
|
||||
<description>Last communication time between device and MELCloud</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="nextCommunication-channel">
|
||||
<item-type>DateTime</item-type>
|
||||
<label>Next Communication</label>
|
||||
<description>Next communication time between device and MELCloud</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<!-- A.C. Device Channels -->
|
||||
<channel-type id="operationMode-channel">
|
||||
<item-type>String</item-type>
|
||||
<label>Operation Mode</label>
|
||||
<description>Operation mode</description>
|
||||
<state readOnly="false">
|
||||
<options>
|
||||
<option value="1">Heat</option>
|
||||
<option value="2">Dry</option>
|
||||
<option value="3">Cool</option>
|
||||
<option value="7">Fan</option>
|
||||
<option value="8">Auto</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="setTemperature-channel">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Set Temperature</label>
|
||||
<description>Set temperature</description>
|
||||
<state min="10" max="40" step="0.5" pattern="%.1f %unit%" readOnly="false"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="fanSpeed-channel">
|
||||
<item-type>String</item-type>
|
||||
<label>Fan Speed</label>
|
||||
<description>Fan speed</description>
|
||||
<state readOnly="false">
|
||||
<options>
|
||||
<option value="0">Auto</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<option value="5">5</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="vaneHorizontal-channel">
|
||||
<item-type>String</item-type>
|
||||
<label>Vane Horizontal</label>
|
||||
<description>Vane horizontal</description>
|
||||
<state readOnly="false">
|
||||
<options>
|
||||
<option value="0">Auto</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<option value="5">5</option>
|
||||
<option value="12">Swing</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="vaneVertical-channel">
|
||||
<item-type>String</item-type>
|
||||
<label>Vane Vertical</label>
|
||||
<description>Vane vertical</description>
|
||||
<state readOnly="false">
|
||||
<options>
|
||||
<option value="0">Auto</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<option value="5">5</option>
|
||||
<option value="7">Swing</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="roomTemperature-channel">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Room Temperature</label>
|
||||
<description>Room temperature</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<!-- Heatpump Device Channels -->
|
||||
<channel-type id="tankWaterTemperature-channel">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Tank Temperature</label>
|
||||
<description>Temperature of water i</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forcedHotWaterMode-channel">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Forced Hot Water Mode</label>
|
||||
<description>If water mode is Heat Now (true) or Auto (false)</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="roomTemperatureZone1-channel">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Room Temperature Zone 1</label>
|
||||
<description>Room temperature for zone 1</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="setTemperatureZone1-channel">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Set Temperature Zone 1</label>
|
||||
<description>Set temperature for zone 1</description>
|
||||
<state min="10" max="30" step="0.5" pattern="%.1f %unit%" readOnly="false"/>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="melcloud"
|
||||
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="heatpumpdevice">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="melcloudaccount"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>Heatpump Device</label>
|
||||
<description>Heatpump device</description>
|
||||
|
||||
<channels>
|
||||
<channel id="power" typeId="power-channel"/>
|
||||
<channel id="tankWaterTemperature" typeId="tankWaterTemperature-channel"/>
|
||||
<channel id="forcedHotWaterMode" typeId="forcedHotWaterMode-channel"/>
|
||||
<channel id="roomTemperatureZone1" typeId="roomTemperatureZone1-channel"/>
|
||||
<channel id="setTemperatureZone1" typeId="setTemperatureZone1-channel"/>
|
||||
<channel id="hasPendingCommand" typeId="hasPendingCommand-channel"/>
|
||||
<channel id="offline" typeId="offline-channel"/>
|
||||
<channel id="lastCommunication" typeId="lastCommunication-channel"/>
|
||||
<channel id="nextCommunication" typeId="nextCommunication-channel"/>
|
||||
</channels>
|
||||
|
||||
<config-description>
|
||||
<parameter name="deviceID" type="integer" required="true">
|
||||
<label>Device ID</label>
|
||||
<description>Device ID of the Heatpump device</description>
|
||||
</parameter>
|
||||
<parameter name="buildingID" type="integer">
|
||||
<label>Building ID</label>
|
||||
<description>Building ID of the Heatpump device.</description>
|
||||
</parameter>
|
||||
<parameter name="pollingInterval" type="integer" required="true">
|
||||
<label>Polling Interval</label>
|
||||
<description>Time interval how often poll data from MELCloud</description>
|
||||
<default>60</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="melcloud"
|
||||
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">
|
||||
|
||||
<bridge-type id="melcloudaccount">
|
||||
<label>MELCloud Account</label>
|
||||
<description>MELCloud cloud service account</description>
|
||||
|
||||
<config-description>
|
||||
<parameter name="username" type="text" required="true">
|
||||
<label>Username</label>
|
||||
<description>MELCloud email address</description>
|
||||
</parameter>
|
||||
<parameter name="password" type="text" required="true">
|
||||
<context>password</context>
|
||||
<label>Password</label>
|
||||
<description>MELCloud password</description>
|
||||
</parameter>
|
||||
<parameter name="language" type="text" required="true">
|
||||
<label>Language</label>
|
||||
<description>Language</description>
|
||||
<options>
|
||||
<option value="0">English</option>
|
||||
<option value="1">Bulgarian</option>
|
||||
<option value="2">Czech</option>
|
||||
<option value="3">Danish</option>
|
||||
<option value="4">German</option>
|
||||
<option value="5">Estonian</option>
|
||||
<option value="6">Spanish</option>
|
||||
<option value="7">French</option>
|
||||
<option value="8">Armenian</option>
|
||||
<option value="9">Latvian</option>
|
||||
<option value="10">Lithuanian</option>
|
||||
<option value="11">Hungarian</option>
|
||||
<option value="12">Dutch</option>
|
||||
<option value="13">Norwegian</option>
|
||||
<option value="14">Polish</option>
|
||||
<option value="15">Portuguese</option>
|
||||
<option value="16">Russian</option>
|
||||
<option value="17">Finnish</option>
|
||||
<option value="18">Swedish</option>
|
||||
<option value="19">Italian</option>
|
||||
<option value="20">Ukrainian</option>
|
||||
<option value="21">Turkish</option>
|
||||
<option value="22">Greek</option>
|
||||
<option value="23">Croatian</option>
|
||||
<option value="24">Romanian</option>
|
||||
<option value="25">Slovenian</option>
|
||||
</options>
|
||||
<default>0</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</bridge-type>
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user