forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tplinksmarthome] Added new devices ES20, KP125, KP405 and KS230 (ope…
…nhab#11771) Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl> Signed-off-by: Michael Schmidt <mi.schmidt.83@gmail.com>
- Loading branch information
1 parent
ee78c14
commit 89db79c
Showing
7 changed files
with
166 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/OH-INF/thing/ES20M.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
26 changes: 26 additions & 0 deletions
26
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/OH-INF/thing/KP125.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
22 changes: 22 additions & 0 deletions
22
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/OH-INF/thing/KP405.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
22 changes: 22 additions & 0 deletions
22
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/OH-INF/thing/KS230.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |