Updated external content (Jenkins build 1251)

pull/1969/head
openHAB Build Server 2022-12-10 15:57:05 +00:00
parent 27b7cb48ea
commit d1fba04b06
9 changed files with 150 additions and 81 deletions

File diff suppressed because one or more lines are too long

View File

@ -19,49 +19,21 @@ This binding adds support to control Tapo (Copyright © TP-Link Corporation Limi
## Supported Things
The following Tapo-Devices are supported
### P100/P105 SmartPlug (Wi-Fi)
* Power On/Off
* Wi-Fi signal (SignalStrength)
* On-Time (Time in seconds device is switched on)
### P110/P115 EnergyMonitoring SmartPlug (Wi-Fi)
* Power On/Off
* Wi-Fi signal (SignalStrength)
* On-Time (Time in seconds device is switched on)
* actual PowerUsage (Watt)
* today EnergyUsage (Wh)
* today Runtime (Time in seconds device was on today)
### L510(Series) dimmable SmartBulb (Wi-Fi)
* Light On/Off
* Brightnes (Dimmer) 0-100 %
* ColorTemperature (Number) 2500-6500 K
* Wi-Fi signal (SignalStrength)
* On-Time (Time in seconds device is switched on)
### L530(Series) MultiColor SmartBulb (Wi-Fi)
* Light On/Off
* Brightnes (Dimmer) 0-100 %
* ColorTemperature (Number) 2500-6500 K
* Color (Color)
* Wi-Fi signal (SignalStrength)
* On-Time (Time in seconds device is switched on)
### L900/L920 LED-LightStrip (Wi-Fi)
* Light On/Off
* Brightnes (Dimmer) 0-100 %
* ColorTemperature (Number) 2500-6500 K
* Color (Color)
* Wi-Fi signal (SignalStrength)
* On-Time (Time in seconds device is switched on)
The following Tapo-Devices are supported. For precise channel-description look at `channels-table` below
| DeviceType | ThingType | Description |
|------------------------------------|-------------|---------------------------------------------|
| SmartPlug (Wi-Fi) | P100 | Smart Socket |
| | P105 | Smart Mini Socket |
| EnergyMonitoring SmartPlug (Wi-Fi) | P110 | Energy Monitoring Smart Socket |
| | P115 | Energy Monitoring Mini Smart Socket |
| Dimmable SmartBulb (Wi-Fi) | L510 | Dimmable White-Light Smart-Bulb (E27) |
| | L610 | Dimmable White-Light Smart-Spot (GU10) |
| MultiColor SmartBulb (Wi-Fi) | L530 | Multicolor Smart-Bulb (E27) |
| | L630 | Multicolor Smart-Spot (GU10) |
| MultiColor LightStrip (Wi-Fi) | L900 | Multicolor RGB Dimmable LightStrip (5m) |
| | L920 | Multicolor RGB-IC ColorZone LightStrip (5m) |
| | L930 | Multicolor RGBW-IC 50-Zone LightStrip (5m) |
## Prerequisites
@ -106,17 +78,17 @@ The thing has the following configuration parameters:
All devices support some of the following channels:
| group | channel |type | description | things supporting this channel |
|-----------|----------------- |------------------------|------------------------------|------------------------------------------------|
| actuator | output | Switch | Power device on or off | P100, P105, P110, P115, L510, L530, L900, L920 |
| | brightness | Dimmer | Brightness 0-100% | L510, L530, L900 |
| | colorTemperature | Number | White-Color-Temp 2500-6500K | L510, L530, L900 |
| | color | Color | Color | L530, L900 |
| device | wifiSignal | system.signal-strength | WiFi-quality-level | P100, P105, P110, P115, L510, L530, L900, L920 |
| | onTime | Number:Time | seconds output is on | P100, P105, P110, P115, L510, L530, L900, L920 |
| energy | actualPower | Number:Power | actual Power (Watt) | P110, P115 |
| | todayEnergyUsage | Number:Energy | used energy today (Wh) | P110, P115 |
| | todayRuntime | Number:Time | seconds output was on today | P110, P115 |
| group | channel | type | description | things supporting this channel |
|-----------|----------------- |------------------------|------------------------------|------------------------------------------------------------------|
| actuator | output | Switch | Power device on or off | P100, P105, P110, P115, L510, L530, L610, L630, L900, L920, L930 |
| | brightness | Dimmer | Brightness 0-100% | L510, L530, L610, L630, L900 |
| | colorTemperature | Number | White-Color-Temp 2500-6500K | L510, L530, L610, L630, L900 |
| | color | Color | Color | L530, L630, L900 |
| device | wifiSignal | Number | WiFi-quality-level | P100, P105, P110, P115, L510, L530, L610, L630, L900, L920, L930 |
| | onTime | Number:Time | seconds output is on | P100, P105, P110, P115, L510, L530, L900, L920, L930 |
| energy | actualPower | Number:Power | actual Power (Watt) | P110, P115 |
| | todayEnergyUsage | Number:Energy | used energy today (Wh) | P110, P115 |
| | todayRuntime | Number:Time | seconds output was on today | P110, P115 |
## Channel Refresh

View File

@ -115,6 +115,7 @@ The follow channels are implemented:
| flowtemperature | Number | Temperature sensor of the ciruit flow |
| pump | Switch | Pump state |
| operationmode | Number | Operationmode |
| currentmode | Number | Current Mode
| savemode | Switch | Savemode on/off |
| partymode | Switch | Partymode on/off |
| party_temp_setpoint | Number | Party mode temperature setpoint (target) |

View File

@ -0,0 +1,23 @@
<?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">
<!-- L610 THING-TYPE (WHITE-LIGHT-BULB) -->
<thing-type id="L610">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>L610 Series White-Spot</label>
<description>Tapo Smart dimmable White-Light-Spot</description>
<channel-groups>
<channel-group id="actuator" typeId="lightBulb"/>
<channel-group id="device" typeId="deviceStateS"/>
</channel-groups>
<representation-property>macAddress</representation-property>
<config-description-ref uri="thing-type:tapo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,23 @@
<?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">
<!-- L630 THING-TYPE (COLOR-LIGHT-BULB) -->
<thing-type id="L630">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>L630 Series Color-Spot</label>
<description>Tapo Smart Multicolor Light-Spot</description>
<channel-groups>
<channel-group id="actuator" typeId="colorBulb"/>
<channel-group id="device" typeId="deviceStateS"/>
</channel-groups>
<representation-property>macAddress</representation-property>
<config-description-ref uri="thing-type:tapo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,23 @@
<?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">
<!-- L930 THING-TYPE (Multicolor LED-Lightstrip) -->
<thing-type id="L930">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>L930 LightStrip</label>
<description>Tapo Smart Multicolor LED-Lightstrip with ZoneControl</description>
<channel-groups>
<channel-group id="actuator" typeId="lightStrip"/>
<channel-group id="device" typeId="deviceState"/>
</channel-groups>
<representation-property>macAddress</representation-property>
<config-description-ref uri="thing-type:tapo:device"/>
</thing-type>
</thing:thing-descriptions>

View File

@ -7,7 +7,7 @@
<!-- ############################### CHANNEL-GROUPS ############################### -->
<!-- CHANNEL GROUP TYPES -->
<!--Device-Statuss Channel Type -->
<!--Device-Status Channel Type -->
<channel-group-type id="deviceState">
<label>Device State</label>
<description>Information about the device</description>
@ -18,6 +18,16 @@
</channels>
</channel-group-type>
<!--Device-Status Channel Type (Small) -->
<channel-group-type id="deviceStateS">
<label>Device State</label>
<description>Information about the device</description>
<channels>
<channel id="wifiSignal" typeId="system.signal-strength"/>
<channel id="overheated" typeId="overheated"/>
</channels>
</channel-group-type>
<!--Actor Channel Type -->
<channel-group-type id="smartPlug">
<label>SmartPlug</label>

View File

@ -28,7 +28,7 @@
<parameter name="refreshInterval" type="integer" required="false" min="60" max="600">
<context>refresh</context>
<label>Refresh Interval</label>
<description>Refreshtime in seconds.</description>
<description>Refresh interval in seconds.</description>
<default>300</default>
</parameter>
</config-description>

View File

@ -89,7 +89,7 @@
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Hotwater Storagetank</label>
<label>Hot Water Storage Tank</label>
<description>Storage Tank, stores heat in a water tank on 3 levels: bottom, middle, top=hot water</description>
<channels>
@ -114,6 +114,7 @@
<channel id="flowtemperature" typeId="flow_temp"/>
<channel id="pump" typeId="pump"/>
<channel id="operationmode" typeId="operationmode"/>
<channel id="currentmode" typeId="currentmode"/>
<channel id="savemode" typeId="savemode"/>
<channel id="partymode" typeId="partymode"/>
<channel id="party_temp_setpoint" typeId="party_temp_setpoint"/>
@ -310,7 +311,8 @@
<channel-type id="systemtime">
<item-type>DateTime</item-type>
<label>DateTime of the Heating System</label>
<label>DateTime Heating System</label>
<description>Date and time of the Heating System</description>
<state readOnly="true"/>
</channel-type>
@ -372,14 +374,14 @@
<channel-type id="airshutter_prim" advanced="true">
<item-type>Number</item-type>
<label>Primary Airshutter</label>
<label>Primary Air Shutter</label>
<description>Position of the primary air shutter</description>
<state pattern="%d %%" readOnly="true"/>
</channel-type>
<channel-type id="airshutter_sec" advanced="true">
<item-type>Number</item-type>
<label>Secondary Airshutter</label>
<label>Secondary Air Shutter</label>
<description>Position of the secondary air shutter</description>
<state pattern="%d %%" readOnly="true"/>
</channel-type>
@ -394,21 +396,21 @@
<channel-type id="fanspeed">
<item-type>Number</item-type>
<label>Fan Speed</label>
<description>Fan Speed in rpm</description>
<description>Fan speed in rpm</description>
<state pattern="%d rpm" readOnly="true"/>
</channel-type>
<channel-type id="fanspeed_target" advanced="true">
<item-type>Number</item-type>
<label>Target Fan Speed</label>
<description>Fan Speed in rpm</description>
<description>Target fan speed in rpm</description>
<state pattern="%d rpm" readOnly="true"/>
</channel-type>
<channel-type id="ontime" advanced="true">
<item-type>Number</item-type>
<label>On Time</label>
<description>Ontime in hours</description>
<description>On time in hours</description>
<state pattern="%.2f h" readOnly="true"/>
</channel-type>
@ -445,14 +447,14 @@
<channel-type id="ontimelevel1" advanced="true">
<item-type>Number</item-type>
<label>On Time Level 1</label>
<description>Ontime in hours</description>
<description>On time in hours</description>
<state pattern="%.2f h" readOnly="true"/>
</channel-type>
<channel-type id="ontimelevel2" advanced="true">
<item-type>Number</item-type>
<label>On Time Level 2</label>
<description>Ontime in hours</description>
<description>On time in hours</description>
<state pattern="%.2f h" readOnly="true"/>
</channel-type>
@ -498,8 +500,8 @@
<channel-type id="hotwater_temp_setpoint">
<item-type>Number</item-type>
<label>Hotwater TempSet</label>
<description>Set the hot water temperature</description>
<label>Hot Water Set Point</label>
<description>Set the hot water temperature set point</description>
<category>Temperature</category>
<state pattern="%d °C" readOnly="false" max="60" min="30" step="1"/>
</channel-type>
@ -523,28 +525,42 @@
<channel-type id="operationmode">
<item-type>Number</item-type>
<label>Operationmode</label>
<description>Operationmode</description>
<label>Operation Mode</label>
<description>Operation mode</description>
<state pattern="%d" readOnly="false" max="4" min="0" step="1"/>
</channel-type>
<channel-type id="currentmode">
<item-type>Number</item-type>
<label>Current Mode</label>
<description>Current functional mode</description>
<state pattern="%d" readOnly="true">
<options>
<option value="0">Standby Operation</option>
<option value="1">Reduced Operation</option>
<option value="2">Normal Operation</option>
<option value="3">Continuous Normal Operation</option>
</options>
</state>
</channel-type>
<channel-type id="partymode">
<item-type>Switch</item-type>
<label>Partymode</label>
<description>Partymode on/off</description>
<label>Party Mode</label>
<description>Party mode on/off</description>
<state readOnly="false"/>
</channel-type>
<channel-type id="savemode">
<item-type>Switch</item-type>
<label>Savemode</label>
<description>Savemode on/off</description>
<label>Save Mode</label>
<description>Save mode on/off</description>
<state readOnly="false"/>
</channel-type>
<channel-type id="party_temp_setpoint" advanced="true">
<item-type>Number</item-type>
<label>Partymode TempSet</label>
<label>Party Mode Temperature Set Point</label>
<description>Target temperature of party mode</description>
<category>Temperature</category>
<state min="6" step="1" pattern="%.1f °C" readOnly="false"/>
@ -552,7 +568,7 @@
<channel-type id="save_temp_setpoint" advanced="true">
<item-type>Number</item-type>
<label>Savemode TempSet</label>
<label>Save Mode Temperature Set Point</label>
<description>Target temperature of save mode</description>
<category>Temperature</category>
<state min="6" step="1" pattern="%.1f °C" readOnly="false"/>
@ -560,7 +576,7 @@
<channel-type id="room_temp" advanced="true">
<item-type>Number</item-type>
<label>Room Temp</label>
<label>Room Temperature</label>
<description>Temperature of rooms</description>
<category>Temperature</category>
<state pattern="%.1f °C" readOnly="true"/>
@ -568,7 +584,7 @@
<channel-type id="room_temp_setpoint">
<item-type>Number</item-type>
<label>Room TempSet</label>
<label>Room Temperature Set Point</label>
<description>Target temperature of rooms</description>
<category>Temperature</category>
<state min="6" step="1" pattern="%.1f °C" readOnly="false"/>
@ -583,14 +599,15 @@
<channel-type id="niveau" advanced="true">
<item-type>Number</item-type>
<label>Niveau</label>
<description>The niveau relative to outside temperature</description>
<label>Level</label>
<description>The level relative to outside temperature</description>
<state pattern="%.1f" readOnly="true"/>
</channel-type>
<channel-type id="timer" advanced="true">
<item-type>String</item-type>
<label>Timer for Heating or Warm Water</label>
<label>Timer</label>
<description>Timer for Heating or Warm Water</description>
<state pattern="%s" readOnly="true"/>
</channel-type>
@ -606,7 +623,7 @@
<channel-type id="storagetank_temp">
<item-type>Number</item-type>
<label>Storagetank</label>
<label>Storage Tank</label>
<description>Actual temperature of the storage tank (solar sensor)</description>
<category>Temperature</category>
<state pattern="%.1f °C" readOnly="true"/>