[wemo] Add missing channel categories and semantic tags (#12411)

* Extract thing descriptions into separate files
* Add missing channel categories
* Add semantic tags for temperature and humidity
* Fix typo

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2022-03-04 08:38:45 +01:00 committed by GitHub
parent fb9f0d8d43
commit d4938a6942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 416 additions and 230 deletions

View File

@ -7,10 +7,18 @@ binding.wemo.description = The WeMo binding integrates Belkin WeMo devices.
thing-type.wemo.CoffeeMaker.label = Mr. Coffee WeMo Enabled Coffeemaker
thing-type.wemo.CoffeeMaker.description = This is a WeMo enabled coffee maker
thing-type.wemo.Crockpot.label = Crock-Pot Slow Cooker
thing-type.wemo.Crockpot.description = Crock-Pot Smart Slow Cooker with WeMo
thing-type.wemo.Heater.label = Holmes Heater
thing-type.wemo.Heater.description = Holmes Smart Heater with WeMo
thing-type.wemo.Humidifier.label = Holmes Humidifier
thing-type.wemo.Humidifier.description = Holmes Smart Humidifier with WeMo
thing-type.wemo.MZ100.label = WeMo LED Light
thing-type.wemo.MZ100.description = This is a standard WeMo light bulb with E27 socket
thing-type.wemo.Maker.label = WeMo Maker
thing-type.wemo.Maker.description = This is a WeMo Maker
thing-type.wemo.Purifier.label = Holmes Air Purifier
thing-type.wemo.Purifier.description = Holmes Smart Air Purifier with WeMo
thing-type.wemo.bridge.label = WeMo Link
thing-type.wemo.bridge.description = The Wemo Link represents the Belkin WeMo Link bridge.
thing-type.wemo.dimmer.label = WeMo DimmerSwitch
@ -39,6 +47,11 @@ thing-type.config.wemo.device.udn.description = The UDN identifies the WeMo Devi
# channel types
channel-type.wemo.airQiality.label = Air Quality
channel-type.wemo.airQiality.description = Shows the air quality measured by a WeMo enabled Holmes Air Purifier
channel-type.wemo.autoOffTime.label = Auto OFF Time
channel-type.wemo.autoOffTime.description = Time when a WeMo enabled Heater should switch off
channel-type.wemo.autoOffTime.state.pattern = %1$tR
channel-type.wemo.averagePower.label = Average Power
channel-type.wemo.averagePower.description = The average power consumption
channel-type.wemo.brewed.label = Brewed
@ -58,8 +71,22 @@ channel-type.wemo.coffeeMode.state.option.Brewed = Brewing Finished
channel-type.wemo.coffeeMode.state.option.CleaningBrewing = Cleaning Coffee Maker
channel-type.wemo.coffeeMode.state.option.CleaningSoaking = Cleaning Filter
channel-type.wemo.coffeeMode.state.option.BrewFailCarafeRemoved = Brewing Failed: Carafe Removed
channel-type.wemo.cookMode.label = Cooking Mode
channel-type.wemo.cookMode.description = Shows the operation mode of a WeMo CrockPot
channel-type.wemo.cookMode.state.option.OFF = Not cooking
channel-type.wemo.cookMode.state.option.WARM = Warming
channel-type.wemo.cookMode.state.option.LOW = Low cooking
channel-type.wemo.cookMode.state.option.HIGH = High cooking
channel-type.wemo.cookedTime.label = CookedTime
channel-type.wemo.cookedTime.description = Shows the elapsed cooking time
channel-type.wemo.currentHumidity.label = Current Humidity
channel-type.wemo.currentHumidity.description = Shows the current humidity of a WeMo enabled Holmes Humidifier
channel-type.wemo.currentPower.label = Power
channel-type.wemo.currentPower.description = The current power consumption
channel-type.wemo.currentTemperature.label = Current Temperature
channel-type.wemo.currentTemperature.description = Shows the current temperature measured by a WeMo enabled Heater
channel-type.wemo.desiredHumidity.label = Target Humidity
channel-type.wemo.desiredHumidity.description = Shows the target humidity of a WeMo enabled Holmes Humidifier
channel-type.wemo.endTime.label = NightMode End Time
channel-type.wemo.endTime.description = Time when the Night Mode ends
channel-type.wemo.endTime.state.pattern = %1$tR
@ -73,6 +100,33 @@ channel-type.wemo.faderEnabled.label = Fader OFF/ON
channel-type.wemo.faderEnabled.description = Allows to switch the fader ON/OFF
channel-type.wemo.filterAdvise.label = FilterAdvise
channel-type.wemo.filterAdvise.description = Indicates if a WeMo Coffee Maker needs to have the filter changed
channel-type.wemo.filterExpired.label = Filter Time expired
channel-type.wemo.filterExpired.description = Indicates whether the air Filter needs to be replaced
channel-type.wemo.filterLife.label = Filter Life
channel-type.wemo.filterLife.description = Shows the remaining lifetime percentage of the air filter
channel-type.wemo.filterPresent.label = Filter is present
channel-type.wemo.filterPresent.description = Indicates whether the air Filter is present
channel-type.wemo.heaterMode.label = Operation Mode
channel-type.wemo.heaterMode.description = Shows the operation mode of a WeMo enabled Heater
channel-type.wemo.heaterMode.state.option.OFF = Not Running
channel-type.wemo.heaterMode.state.option.FROSTPROTECT = Running at FrostProtect
channel-type.wemo.heaterMode.state.option.HIGH = Running at high level
channel-type.wemo.heaterMode.state.option.LOW = Running at low level
channel-type.wemo.heaterMode.state.option.ECO = Running in Eco mode
channel-type.wemo.heatingRemaining.label = Remaining heating time
channel-type.wemo.heatingRemaining.description = Shows the target temperature for a WeMo enabled Heater
channel-type.wemo.highCookTime.label = HighCookTime
channel-type.wemo.highCookTime.description = Shows the timer settings for high cooking mode
channel-type.wemo.humidifierMode.label = Operation Mode
channel-type.wemo.humidifierMode.description = Shows the operation mode of a WeMo enabled Holmes Humidifier
channel-type.wemo.humidifierMode.state.option.OFF = Not Running
channel-type.wemo.humidifierMode.state.option.MIN = Running at min level
channel-type.wemo.humidifierMode.state.option.LOW = Running at low level
channel-type.wemo.humidifierMode.state.option.MED = Running at medium level
channel-type.wemo.humidifierMode.state.option.HIGH = Running at high level
channel-type.wemo.humidifierMode.state.option.MAX = Running in max level
channel-type.wemo.ionizer.label = Ionizer
channel-type.wemo.ionizer.description = Switches ionization ON or OFF
channel-type.wemo.lastChangedAt.label = Last Activity (Date/Time)
channel-type.wemo.lastChangedAt.description = Date/time when the state last changed
channel-type.wemo.lastCleaned.label = LastCleaned
@ -81,6 +135,8 @@ channel-type.wemo.lastMotionDetected.label = Last Activity (Date/Time)
channel-type.wemo.lastMotionDetected.description = Date/time when last motion was detected
channel-type.wemo.lastOnFor.label = Last Activity (s)
channel-type.wemo.lastOnFor.description = Duration the device has been switched on for
channel-type.wemo.lowCookTime.label = LowCookTime
channel-type.wemo.lowCookTime.description = Shows the timer settings for low cooking mode
channel-type.wemo.modeTime.label = ModeTime
channel-type.wemo.modeTime.description = Shows the current amount of time, in minutes, that the Coffee Maker has been in the current mode
channel-type.wemo.motionDetection.label = Motion Status
@ -95,6 +151,13 @@ channel-type.wemo.onToday.label = Today's Activity (s)
channel-type.wemo.onToday.description = How long has the device been switched on today
channel-type.wemo.onTotal.label = Total Activity (s)
channel-type.wemo.onTotal.description = How long has the device been switched on totally
channel-type.wemo.purifierMode.label = Operation Mode
channel-type.wemo.purifierMode.description = Shows the operation mode of a WeMo enabled Holmes Air Purifier
channel-type.wemo.purifierMode.state.option.OFF = Not Running
channel-type.wemo.purifierMode.state.option.LOW = Running at low level
channel-type.wemo.purifierMode.state.option.MED = Running at medium level
channel-type.wemo.purifierMode.state.option.HIGH = Running at high level
channel-type.wemo.purifierMode.state.option.AUTO = Running in auto mode
channel-type.wemo.relay.label = Relay
channel-type.wemo.relay.description = Switches the integrated relay contact close/open
channel-type.wemo.sensor.label = Sensor
@ -106,16 +169,23 @@ channel-type.wemo.startTime.description = Time when the Night Mode starts
channel-type.wemo.startTime.state.pattern = %1$tR
channel-type.wemo.state.label = Switch
channel-type.wemo.state.description = Turns the power on or off
channel-type.wemo.targetTemperature.label = Target Temperature
channel-type.wemo.targetTemperature.description = Shows the target temperature for a WeMo enabled Heater
channel-type.wemo.timeRemaining.label = TimeRemaining
channel-type.wemo.timeRemaining.description = Shows the remaining brewing time of a WeMo Coffee Maker
channel-type.wemo.timerStart.label = Timer OFF/ON
channel-type.wemo.timerStart.description = Allows to switch the timer ON/OFF
channel-type.wemo.timespan.label = Usage Timespan (s)
channel-type.wemo.timespan.description = Time used to measure average usage
channel-type.wemo.warmCookTime.label = WarmCookTime
channel-type.wemo.warmCookTime.description = Shows the timer settings for warm cooking mode
channel-type.wemo.waterLevel.label = Water Level
channel-type.wemo.waterLevel.description = Shows the water level of a WeMo enabled Holmes Humidifier
channel-type.wemo.waterLevelReached.label = WaterLevelReached
channel-type.wemo.waterLevelReached.description = Indicates if the WeMo Coffee Maker needs to be refilled
# Config status messages
# config status messages
config-status.pending.device-not-registered = UPnP device is not registered yet.
config-status.error.missing-udn = UDN of the WeMo device is missing.
config-status.error.missing-ip = IP address of the WeMo device is missing.

View File

@ -4,232 +4,6 @@
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="socket">
<label>WeMo Switch</label>
<description>This is a standard WeMo Switch</description>
<channels>
<channel id="state" typeId="state"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<thing-type id="insight">
<label>WeMo Insight Switch</label>
<description>This is a WeMo Insight Switch with energy measurement</description>
<channels>
<channel id="state" typeId="state"/>
<channel id="lastChangedAt" typeId="lastChangedAt"/>
<channel id="lastOnFor" typeId="lastOnFor"/>
<channel id="onToday" typeId="onToday"/>
<channel id="onTotal" typeId="onTotal"/>
<channel id="timespan" typeId="timespan"/>
<channel id="averagePower" typeId="averagePower"/>
<channel id="currentPower" typeId="currentPower"/>
<channel id="energyToday" typeId="energyToday"/>
<channel id="energyTotal" typeId="energyTotal"/>
<channel id="standByLimit" typeId="standByLimit"/>
<channel id="onStandBy" typeId="onStandBy"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<thing-type id="lightswitch">
<label>WeMo Light Switch</label>
<description>This is a WeMo LightSwitch</description>
<channels>
<channel id="state" typeId="state"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<thing-type id="motion">
<label>WeMo Motion</label>
<description>This is a WeMo MotionSensor</description>
<channels>
<channel id="motionDetection" typeId="motionDetection"/>
<channel id="lastMotionDetected" typeId="lastMotionDetected"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<!-- Standard WeMo Bulb with E27 socket -->
<thing-type id="MZ100">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>WeMo LED Light</label>
<description>This is a standard WeMo light bulb with E27 socket </description>
<channels>
<channel id="state" typeId="state"/>
<channel id="brightness" typeId="brightness"/>
</channels>
<properties>
<property name="vendor">MRVL</property>
<property name="modelId">MZ100</property>
</properties>
<config-description>
<parameter name="deviceID" type="text" required="true">
<label>Device ID</label>
<description>The device ID identifies one certain WeMo light.</description>
</parameter>
</config-description>
</thing-type>
<thing-type id="Maker">
<label>WeMo Maker</label>
<description>This is a WeMo Maker</description>
<channels>
<channel id="relay" typeId="relay"/>
<channel id="sensor" typeId="sensor"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<thing-type id="CoffeeMaker">
<label>Mr. Coffee WeMo Enabled Coffeemaker</label>
<description>This is a WeMo enabled coffee maker</description>
<channels>
<channel id="state" typeId="state"/>
<channel id="coffeeMode" typeId="coffeeMode"/>
<channel id="modeTime" typeId="modeTime"/>
<channel id="timeRemaining" typeId="timeRemaining"/>
<channel id="waterLevelReached" typeId="waterLevelReached"/>
<channel id="cleanAdvise" typeId="cleanAdvise"/>
<channel id="filterAdvise" typeId="filterAdvise"/>
<channel id="brewed" typeId="brewed"/>
<channel id="lastCleaned" typeId="lastCleaned"/>
</channels>
<representation-property>udn</representation-property>
<config-description>
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
</parameter>
<parameter name="pollingInterval" type="integer" required="false" min="15" max="180">
<label>Polling Interval</label>
<description>Interval polling the WeMo Coffee Maker.</description>
<default>60</default>
</parameter>
</config-description>
</thing-type>
<thing-type id="dimmer">
<label>WeMo DimmerSwitch</label>
<description>This is a WeMo DimmerSwitch</description>
<channels>
<channel id="brightness" typeId="brightness"/>
<channel id="faderCountDownTime" typeId="faderCountDownTime"/>
<channel id="faderEnabled" typeId="faderEnabled"/>
<channel id="timerStart" typeId="timerStart"/>
<channel id="nightMode" typeId="nightMode"/>
<channel id="startTime" typeId="startTime"/>
<channel id="endTime" typeId="endTime"/>
<channel id="nightModeBrightness" typeId="nightModeBrightness"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<thing-type id="Crockpot">
<label>Crock-Pot Slow Cooker</label>
<description>Crock-Pot Smart Slow Cooker with WeMo</description>
<channels>
<channel id="cookMode" typeId="cookMode"/>
<channel id="warmCookTime" typeId="warmCookTime"/>
<channel id="lowCookTime" typeId="lowCookTime"/>
<channel id="highCookTime" typeId="highCookTime"/>
<channel id="cookedTime" typeId="cookedTime"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<thing-type id="Purifier">
<label>Holmes Air Purifier</label>
<description>Holmes Smart Air Purifier with WeMo</description>
<channels>
<channel id="purifierMode" typeId="purifierMode"/>
<channel id="airQuality" typeId="airQuality"/>
<channel id="ionizer" typeId="ionizer"/>
<channel id="filterLife" typeId="filterLife"/>
<channel id="expiredFilterTime" typeId="expiredFilterTime"/>
<channel id="filterPresent" typeId="filterPresent"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<thing-type id="Humidifier">
<label>Holmes Humidifier</label>
<description>Holmes Smart Humidifier with WeMo</description>
<channels>
<channel id="humidifierMode" typeId="humidifierMode"/>
<channel id="desiredHumidity" typeId="desiredHumidity"/>
<channel id="currentHumidity" typeId="currentHumidity"/>
<channel id="waterLEvel" typeId="waterLEvel"/>
<channel id="filterLife" typeId="filterLife"/>
<channel id="expiredFilterTime" typeId="expiredFilterTime"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<thing-type id="Heater">
<label>Holmes Heater</label>
<description>Holmes Smart Heater with WeMo</description>
<channels>
<channel id="heaterMode" typeId="heaterMode"/>
<channel id="currentTemperature" typeId="currentTemperature"/>
<channel id="targetTemperature" typeId="targetTemperature"/>
<channel id="autoOffTime" typeId="autoOffTime"/>
<channel id="heatingRemaining" typeId="heatingRemaining"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
<channel-type id="state">
<item-type>Switch</item-type>
<label>Switch</label>
@ -241,7 +15,7 @@
<item-type>Switch</item-type>
<label>Motion Status</label>
<description>Indicates whether motion is detected or not</description>
<category>Switch</category>
<category>Motion</category>
<state readOnly="true"></state>
</channel-type>
@ -249,12 +23,14 @@
<item-type>DateTime</item-type>
<label>Last Activity (Date/Time)</label>
<description>Date/time when last motion was detected</description>
<category>Time</category>
</channel-type>
<channel-type id="lastChangedAt" advanced="true">
<item-type>DateTime</item-type>
<label>Last Activity (Date/Time)</label>
<description>Date/time when the state last changed</description>
<category>Time</category>
</channel-type>
<channel-type id="lastOnFor" advanced="true">
@ -268,6 +44,7 @@
<item-type>Number</item-type>
<label>Today's Activity (s)</label>
<description>How long has the device been switched on today</description>
<category>Time</category>
<state pattern="%.1f s"/>
</channel-type>
@ -275,6 +52,7 @@
<item-type>Number</item-type>
<label>Total Activity (s)</label>
<description>How long has the device been switched on totally</description>
<category>Time</category>
<state pattern="%.1f s"/>
</channel-type>
@ -282,6 +60,7 @@
<item-type>Number</item-type>
<label>Usage Timespan (s)</label>
<description>Time used to measure average usage</description>
<category>Time</category>
<state pattern="%.1f s"/>
</channel-type>
@ -331,7 +110,6 @@
<description>Appliance on standby</description>
<category>Energy</category>
<state readOnly="true"/>
</channel-type>
<!-- Brightness Channel -->
@ -382,12 +160,14 @@
<item-type>Number</item-type>
<label>ModeTime</label>
<description>Shows the current amount of time, in minutes, that the Coffee Maker has been in the current mode</description>
<category>Time</category>
</channel-type>
<channel-type id="timeRemaining">
<item-type>Number</item-type>
<label>TimeRemaining</label>
<description>Shows the remaining brewing time of a WeMo Coffee Maker</description>
<category>Time</category>
</channel-type>
<channel-type id="waterLevelReached" advanced="true">
@ -415,18 +195,21 @@
<item-type>DateTime</item-type>
<label>Brewed</label>
<description>Date/time the coffee maker last completed brewing coffee</description>
<category>Time</category>
</channel-type>
<channel-type id="lastCleaned" advanced="true">
<item-type>DateTime</item-type>
<label>LastCleaned</label>
<description>Date/time the coffee maker last completed cleaning</description>
<category>Time</category>
</channel-type>
<channel-type id="faderCountDownTime" advanced="true">
<item-type>Number</item-type>
<label>Fader CountDown Time</label>
<description>The fading duration time in minutes</description>
<category>Time</category>
<state min="1" max="30" step="1.0" pattern="%d min" readOnly="false"/>
</channel-type>
@ -452,6 +235,7 @@
<item-type>DateTime</item-type>
<label>NightMode Start Time</label>
<description>Time when the Night Mode starts</description>
<category>Time</category>
<state pattern="%1$tR" readOnly="true"/>
</channel-type>
@ -459,6 +243,7 @@
<item-type>DateTime</item-type>
<label>NightMode End Time</label>
<description>Time when the Night Mode ends</description>
<category>Time</category>
<state pattern="%1$tR" readOnly="true"/>
</channel-type>
@ -580,12 +365,22 @@
<item-type>Number</item-type>
<label>Current Humidity</label>
<description>Shows the current humidity of a WeMo enabled Holmes Humidifier</description>
<category>Humidity</category>
<tags>
<tag>Measurement</tag>
<tag>Humidity</tag>
</tags>
</channel-type>
<channel-type id="desiredHumidity">
<item-type>Number</item-type>
<label>Target Humidity</label>
<description>Shows the target humidity of a WeMo enabled Holmes Humidifier</description>
<category>Humidity</category>
<tags>
<tag>Setpoint</tag>
<tag>Humidity</tag>
</tags>
<state readOnly="false">
<options>
<option value="45"></option>
@ -600,7 +395,7 @@
<channel-type id="waterLevel">
<item-type>String</item-type>
<label>Water Level</label>
<description>Shows the water levele of a WeMo enabled Holmes Humidifier</description>
<description>Shows the water level of a WeMo enabled Holmes Humidifier</description>
<state readOnly="true">
<options>
<option value="EMPTY"></option>
@ -629,18 +424,29 @@
<item-type>Number</item-type>
<label>Current Temperature</label>
<description>Shows the current temperature measured by a WeMo enabled Heater</description>
<category>Temperature</category>
<tags>
<tag>Measurement</tag>
<tag>Temperature</tag>
</tags>
</channel-type>
<channel-type id="targetTemperature">
<item-type>Number</item-type>
<label>Target Temperature</label>
<description>Shows the target temperature for a WeMo enabled Heater</description>
<category>Temperature</category>
<tags>
<tag>Setpoint</tag>
<tag>Temperature</tag>
</tags>
</channel-type>
<channel-type id="autoOffTime">
<item-type>DateTime</item-type>
<label>Auto OFF Time</label>
<description>Time when a WeMo enabled Heater should switch off</description>
<category>Time</category>
<state pattern="%1$tR" readOnly="false"/>
</channel-type>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="CoffeeMaker">
<label>Mr. Coffee WeMo Enabled Coffeemaker</label>
<description>This is a WeMo enabled coffee maker</description>
<channels>
<channel id="state" typeId="state"/>
<channel id="coffeeMode" typeId="coffeeMode"/>
<channel id="modeTime" typeId="modeTime"/>
<channel id="timeRemaining" typeId="timeRemaining"/>
<channel id="waterLevelReached" typeId="waterLevelReached"/>
<channel id="cleanAdvise" typeId="cleanAdvise"/>
<channel id="filterAdvise" typeId="filterAdvise"/>
<channel id="brewed" typeId="brewed"/>
<channel id="lastCleaned" typeId="lastCleaned"/>
</channels>
<representation-property>udn</representation-property>
<config-description>
<parameter name="udn" type="text" required="true">
<label>Unique Device Name</label>
<description>The UDN identifies the WeMo Device</description>
</parameter>
<parameter name="pollingInterval" type="integer" required="false" min="15" max="180">
<label>Polling Interval</label>
<description>Interval polling the WeMo Coffee Maker.</description>
<default>60</default>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="Crockpot">
<label>Crock-Pot Slow Cooker</label>
<description>Crock-Pot Smart Slow Cooker with WeMo</description>
<channels>
<channel id="cookMode" typeId="cookMode"/>
<channel id="warmCookTime" typeId="warmCookTime"/>
<channel id="lowCookTime" typeId="lowCookTime"/>
<channel id="highCookTime" typeId="highCookTime"/>
<channel id="cookedTime" typeId="cookedTime"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="dimmer">
<label>WeMo DimmerSwitch</label>
<description>This is a WeMo DimmerSwitch</description>
<channels>
<channel id="brightness" typeId="brightness"/>
<channel id="faderCountDownTime" typeId="faderCountDownTime"/>
<channel id="faderEnabled" typeId="faderEnabled"/>
<channel id="timerStart" typeId="timerStart"/>
<channel id="nightMode" typeId="nightMode"/>
<channel id="startTime" typeId="startTime"/>
<channel id="endTime" typeId="endTime"/>
<channel id="nightModeBrightness" typeId="nightModeBrightness"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="Heater">
<label>Holmes Heater</label>
<description>Holmes Smart Heater with WeMo</description>
<channels>
<channel id="heaterMode" typeId="heaterMode"/>
<channel id="currentTemperature" typeId="currentTemperature"/>
<channel id="targetTemperature" typeId="targetTemperature"/>
<channel id="autoOffTime" typeId="autoOffTime"/>
<channel id="heatingRemaining" typeId="heatingRemaining"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="Humidifier">
<label>Holmes Humidifier</label>
<description>Holmes Smart Humidifier with WeMo</description>
<channels>
<channel id="humidifierMode" typeId="humidifierMode"/>
<channel id="desiredHumidity" typeId="desiredHumidity"/>
<channel id="currentHumidity" typeId="currentHumidity"/>
<channel id="waterLEvel" typeId="waterLEvel"/>
<channel id="filterLife" typeId="filterLife"/>
<channel id="expiredFilterTime" typeId="expiredFilterTime"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="insight">
<label>WeMo Insight Switch</label>
<description>This is a WeMo Insight Switch with energy measurement</description>
<channels>
<channel id="state" typeId="state"/>
<channel id="lastChangedAt" typeId="lastChangedAt"/>
<channel id="lastOnFor" typeId="lastOnFor"/>
<channel id="onToday" typeId="onToday"/>
<channel id="onTotal" typeId="onTotal"/>
<channel id="timespan" typeId="timespan"/>
<channel id="averagePower" typeId="averagePower"/>
<channel id="currentPower" typeId="currentPower"/>
<channel id="energyToday" typeId="energyToday"/>
<channel id="energyTotal" typeId="energyTotal"/>
<channel id="standByLimit" typeId="standByLimit"/>
<channel id="onStandBy" typeId="onStandBy"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="lightswitch">
<label>WeMo Light Switch</label>
<description>This is a WeMo LightSwitch</description>
<channels>
<channel id="state" typeId="state"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="Maker">
<label>WeMo Maker</label>
<description>This is a WeMo Maker</description>
<channels>
<channel id="relay" typeId="relay"/>
<channel id="sensor" typeId="sensor"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="motion">
<label>WeMo Motion</label>
<description>This is a WeMo MotionSensor</description>
<channels>
<channel id="motionDetection" typeId="motionDetection"/>
<channel id="lastMotionDetected" typeId="lastMotionDetected"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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">
<!-- Standard WeMo Bulb with E27 socket -->
<thing-type id="MZ100">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>WeMo LED Light</label>
<description>This is a standard WeMo light bulb with E27 socket </description>
<channels>
<channel id="state" typeId="state"/>
<channel id="brightness" typeId="brightness"/>
</channels>
<properties>
<property name="vendor">MRVL</property>
<property name="modelId">MZ100</property>
</properties>
<config-description>
<parameter name="deviceID" type="text" required="true">
<label>Device ID</label>
<description>The device ID identifies one certain WeMo light.</description>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="Purifier">
<label>Holmes Air Purifier</label>
<description>Holmes Smart Air Purifier with WeMo</description>
<channels>
<channel id="purifierMode" typeId="purifierMode"/>
<channel id="airQuality" typeId="airQuality"/>
<channel id="ionizer" typeId="ionizer"/>
<channel id="filterLife" typeId="filterLife"/>
<channel id="expiredFilterTime" typeId="expiredFilterTime"/>
<channel id="filterPresent" typeId="filterPresent"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wemo"
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="socket">
<label>WeMo Switch</label>
<description>This is a standard WeMo Switch</description>
<channels>
<channel id="state" typeId="state"/>
</channels>
<representation-property>udn</representation-property>
<config-description-ref uri="thing-type:wemo:device"/>
</thing-type>
</thing:thing-descriptions>