[tplinksmarthome] Added new devices ES20, KP125, KP405 and KS230 (#11771)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
This commit is contained in:
committed by
GitHub
parent
eca8fbccc7
commit
3a913a6e6b
@@ -58,13 +58,17 @@ public enum TPLinkSmartHomeThingType {
|
||||
KP100("kp100", DeviceType.PLUG),
|
||||
KP105("kp105", DeviceType.PLUG),
|
||||
KP115("kp115", DeviceType.PLUG_WITH_ENERGY),
|
||||
KP125("kp125", DeviceType.PLUG_WITH_ENERGY),
|
||||
KP405("kp405", DeviceType.DIMMER),
|
||||
|
||||
// Switch Thing Type UIDs
|
||||
HS200("hs200", DeviceType.SWITCH),
|
||||
HS210("hs210", DeviceType.SWITCH),
|
||||
|
||||
// Dimmer Thing Type UIDs
|
||||
ES20M("es20m", DeviceType.DIMMER),
|
||||
HS220("hs220", DeviceType.DIMMER),
|
||||
KS230("ks230", DeviceType.DIMMER),
|
||||
|
||||
// Power Strip Thing Type UIDs.
|
||||
EP40("ep40", DeviceType.STRIP, 2),
|
||||
|
||||
@@ -11,6 +11,8 @@ thing-type.tplinksmarthome.ep40.label = EP40
|
||||
thing-type.tplinksmarthome.ep40.description = TP-Link EP40 Kasa Smart Wi-Fi Outdoor Plug
|
||||
thing-type.tplinksmarthome.ep40.group.outlet1.label = Outlet 1
|
||||
thing-type.tplinksmarthome.ep40.group.outlet2.label = Outlet 2
|
||||
thing-type.tplinksmarthome.es20m.label = ES20M
|
||||
thing-type.tplinksmarthome.es20m.description = TP-Link ES20M Smart Wi-Fi Light Switch, Motion-Activated
|
||||
thing-type.tplinksmarthome.hs100.label = HS100
|
||||
thing-type.tplinksmarthome.hs100.description = TP-Link HS100 Smart Wi-Fi Plug
|
||||
thing-type.tplinksmarthome.hs103.label = HS103
|
||||
@@ -61,6 +63,8 @@ thing-type.tplinksmarthome.kp105.label = KP105
|
||||
thing-type.tplinksmarthome.kp105.description = TP-Link KP105 Kasa Wi-Fi Smart Plug - Slim Edition
|
||||
thing-type.tplinksmarthome.kp115.label = KP115
|
||||
thing-type.tplinksmarthome.kp115.description = TP-Link KP115 Kasa Wi-Fi Smart Plug with Energy Monitoring - Slim Edition
|
||||
thing-type.tplinksmarthome.kp125.label = KP125
|
||||
thing-type.tplinksmarthome.kp125.description = TP-Link KP125 Kasa Smart WiFi Plug Slim with Energy Monitoring
|
||||
thing-type.tplinksmarthome.kp200.label = KP200
|
||||
thing-type.tplinksmarthome.kp200.description = TP-Link KP200 Smart Wi-Fi Power Outlet, 2-Sockets
|
||||
thing-type.tplinksmarthome.kp200.group.outlet1.label = Outlet 1
|
||||
@@ -74,6 +78,10 @@ thing-type.tplinksmarthome.kp400.label = KP400
|
||||
thing-type.tplinksmarthome.kp400.description = TP-Link KP400 Smart Outdoor Plug
|
||||
thing-type.tplinksmarthome.kp400.group.outlet1.label = Outlet 1
|
||||
thing-type.tplinksmarthome.kp400.group.outlet2.label = Outlet 2
|
||||
thing-type.tplinksmarthome.kp405.label = KP405
|
||||
thing-type.tplinksmarthome.kp405.description = TP-Link KP405 Kasa Smart Wi-Fi Outdoor Plug-In Dimmer
|
||||
thing-type.tplinksmarthome.ks230.label = KS230
|
||||
thing-type.tplinksmarthome.ks230.description = TP-Link KS230 Kasa Smart Wi-Fi Dimmer Switch 3-Way Kit
|
||||
thing-type.tplinksmarthome.lb100.label = LB100
|
||||
thing-type.tplinksmarthome.lb100.description = TP-Link LB100 Smart Wi-Fi LED Bulb with Dimmable Light
|
||||
thing-type.tplinksmarthome.lb110.label = LB110
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="tplinksmarthome"
|
||||
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="es20m">
|
||||
<label>ES20M</label>
|
||||
<description>TP-Link ES20M Smart Wi-Fi Light Switch, Motion-Activated</description>
|
||||
<category>WallSwitch</category>
|
||||
|
||||
<channels>
|
||||
<channel id="brightness" typeId="system.brightness"/>
|
||||
<channel id="led" typeId="led"/>
|
||||
<channel id="rssi" typeId="rssi"/>
|
||||
</channels>
|
||||
|
||||
<representation-property>deviceId</representation-property>
|
||||
|
||||
<config-description-ref uri="thing-type:tplinksmarthome:device-switch"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="tplinksmarthome"
|
||||
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="kp125">
|
||||
<label>KP125</label>
|
||||
<description>TP-Link KP125 Kasa Smart WiFi Plug Slim with Energy Monitoring</description>
|
||||
<category>PowerOutlet</category>
|
||||
|
||||
<channels>
|
||||
<channel id="switch" typeId="system.power"/>
|
||||
<channel id="led" typeId="led"/>
|
||||
<channel id="rssi" typeId="rssi"/>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="energyUsage" typeId="energy-usage"/>
|
||||
<channel id="current" typeId="current"/>
|
||||
<channel id="voltage" typeId="voltage"/>
|
||||
</channels>
|
||||
|
||||
<representation-property>deviceId</representation-property>
|
||||
|
||||
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="tplinksmarthome"
|
||||
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="kp405">
|
||||
<label>KP405</label>
|
||||
<description>TP-Link KP405 Kasa Smart Wi-Fi Outdoor Plug-In Dimmer</description>
|
||||
<category>PowerOutlet</category>
|
||||
|
||||
<channels>
|
||||
<channel id="switch" typeId="system.power"/>
|
||||
<channel id="led" typeId="led"/>
|
||||
<channel id="rssi" typeId="rssi"/>
|
||||
</channels>
|
||||
|
||||
<representation-property>deviceId</representation-property>
|
||||
|
||||
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="tplinksmarthome"
|
||||
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="ks230">
|
||||
<label>KS230</label>
|
||||
<description>TP-Link KS230 Kasa Smart Wi-Fi Dimmer Switch 3-Way Kit</description>
|
||||
<category>WallSwitch</category>
|
||||
|
||||
<channels>
|
||||
<channel id="brightness" typeId="system.brightness"/>
|
||||
<channel id="led" typeId="led"/>
|
||||
<channel id="rssi" typeId="rssi"/>
|
||||
</channels>
|
||||
|
||||
<representation-property>deviceId</representation-property>
|
||||
|
||||
<config-description-ref uri="thing-type:tplinksmarthome:device-switch"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user