forked from openhab/openhab-addons
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tapocontrol] included P115 smart-socket (openhab#13225)
* [tapocontrol] added P115 smart socket * [tapocontrol] enabled energy-data for P115 socket Signed-off-by: Christian Wild <christian@wild-bw.de>
- Loading branch information
Showing
4 changed files
with
46 additions
and
20 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
24 changes: 24 additions & 0 deletions
24
bundles/org.openhab.binding.tapocontrol/src/main/resources/OH-INF/thing/P115.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,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<thing:thing-descriptions bindingId="tapocontrol" | ||
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"> | ||
|
||
<!-- P115 THING-TYPE (SOCKET) --> | ||
<thing-type id="P115"> | ||
<supported-bridge-type-refs> | ||
<bridge-type-ref id="bridge"/> | ||
</supported-bridge-type-refs> | ||
|
||
<label>P115 SmartPlug</label> | ||
<description>Tapo Smart Monitoring Wifi Plug</description> | ||
<channel-groups> | ||
<channel-group id="actuator" typeId="smartPlug"/> | ||
<channel-group id="device" typeId="deviceState"/> | ||
<channel-group id="energy" typeId="energyMonitor"/> | ||
</channel-groups> | ||
<representation-property>macAddress</representation-property> | ||
|
||
<config-description-ref uri="thing-type:tapo:device"/> | ||
</thing-type> | ||
</thing:thing-descriptions> |