Updated external content (Jenkins build 720)

pull/1839/head
openHAB Build Server 2022-01-07 03:37:26 +00:00
parent 7596dc812b
commit bbf12069fd
21 changed files with 516 additions and 40 deletions

File diff suppressed because one or more lines are too long

View File

@ -41,6 +41,7 @@ These sensors are supported:
| Vibration Sensor | ZHAVibration | `vibrationsensor` |
| deCONZ Artificial Daylight Sensor | deCONZ specific: simulated sensor | `daylightsensor` |
| Carbon-Monoxide Sensor | ZHACarbonmonoxide | `carbonmonoxide` |
| Air quality Sensor | ZHAAirQuality | `airqualitysensor` |
| Color Controller | ZBT-Remote-ALL-RGBW | `colorcontrol` |
@ -165,6 +166,8 @@ The sensor devices support some of the following channels:
| battery_level | Number | R | Battery level (in %) | any battery-powered sensor |
| battery_low | Switch | R | Battery level low: `ON`; `OFF` | any battery-powered sensor |
| carbonmonoxide | Switch | R | `ON` = carbon monoxide detected | carbonmonoxide |
| airquality | String | R | Current air quality level | airqualitysensor |
| airqualityppb | Number:Dimensionless | R | Current air quality ppb (parts per billion) | airqualitysensor |
| color | Color | R | Color set by remote | colorcontrol |
| windowopen | Contact | R | `windowopen` status is reported by some thermostats | thermostat |
@ -233,6 +236,7 @@ Bridge deconz:deconz:homeserver [ host="192.168.0.10", apikey="ABCDEFGHIJ" ] {
presencesensor livingroom-presence "Livingroom Presence" [ id="1" ]
temperaturesensor livingroom-temperature "Livingroom Temperature" [ id="2" ]
humiditysensor livingroom-humidity "Livingroom Humidity" [ id="3" ]
airqualitysensor livingroom-voc "Livingroom Voc" [ id="9" ]
pressuresensor livingroom-pressure "Livingroom Pressure" [ id="4" ]
openclosesensor livingroom-window "Livingroom Window" [ id="5" ]
switch livingroom-hue-tap "Livingroom Hue Tap" [ id="6" ]
@ -250,6 +254,8 @@ Bridge deconz:deconz:homeserver [ host="192.168.0.10", apikey="ABCDEFGHIJ" ] {
Switch Livingroom_Presence "Presence Livingroom [%s]" <motion> { channel="deconz:presencesensor:homeserver:livingroom-presence:presence" }
Number:Temperature Livingroom_Temperature "Temperature Livingroom [%.1f °C]" <temperature> { channel="deconz:temperaturesensor:homeserver:livingroom-temperature:temperature" }
Number:Dimensionless Livingroom_Humidity "Humidity Livingroom [%.1f %%]" <humidity> { channel="deconz:humiditysensor:homeserver:livingroom-humidity:humidity" }
String Livingroom_voc_label "Air quality Livingroom [%s]" { channel="deconz:airqualitysensor:homeserver:livingroom-voc:airquality" }
Number:Dimensionless Livingroom_voc "Air quality [%d ppb]" { channel="deconz:airqualitysensor:homeserver:livingroom-voc:airqualityppb" }
Number:Pressure Livingroom_Pressure "Pressure Livingroom [%.1f hPa]" <pressure> { channel="deconz:pressuresensor:homeserver:livingroom-pressure:pressure" }
Contact Livingroom_Window "Window Livingroom [%s]" <door> { channel="deconz:openclosesensor:homeserver:livingroom-window:open" }
Switch Basement_Water_Leakage "Basement Water Leakage [%s]" { channel="deconz:waterleakagesensor:homeserver:basement-water-leakage:waterleakage" }

View File

@ -19,7 +19,7 @@ The DSC PowerSeries Alarm System is a popular do-it-yourself home security syste
This is the binding for the DSC PowerSeries Alarm System, utilizing either the EyezOn Envisalink 4/3/2DS interface or the DSC IT-100 RS-232 interface.
It provides connectivity to the DSC Alarm panel via a TCP socket connection to the EyesOn Envisalink 4/3/2DS interface or a RS-232 serial connection to the DSC IT-100 interface.
Additionally, their is provision to connect to the DSC IT-100 interface through a TCP serial server.
Additionally, there is provision to connect to the DSC IT-100 interface through a TCP serial server.
## Supported Things
@ -101,8 +101,8 @@ DSC Alarm things support a variety of channels as seen below in the following ta
<table>
<tr><td><b>Channel</b></td><td><b>Item Type</b></td><td><b>Description</b></td></tr>
<tr><td>bridge_reset</td><td>Switch</td><td>Reset the bridge connection.</td></tr>
<tr><td>send_command</td><td>Switch</td><td>Send a DSC Alarm command.</td></tr>
<tr><td>bridge_reset</td><td>Switch</td><td>(Writable) Reset the bridge connection.</td></tr>
<tr><td>send_command</td><td>Switch</td><td>(Writable) Send a DSC Alarm command. See <a href="http://forum.eyez-on.com/FORUM/download/file.php?id=223&sid=e146abb17dbccca14f19d6b50cbe8379">here</a> for a list of commands.</td></tr>
<tr><td>panel_message</td><td>String</td><td>Event messages received from the DSC Alarm system.</td></tr>
<tr><td>panel_system_error</td><td>String</td><td>DSC Alarm system error.</td></tr>
<tr><td>panel_trouble_message</td><td>String</td><td>Displays any trouble messages the panel might send.</td></tr>
@ -116,14 +116,14 @@ DSC Alarm things support a variety of channels as seen below in the following ta
<tr><td>panel_zone_low_battery</td><td>Switch</td><td>There is a low battery condition on a zone/sensor.</td></tr>
<tr><td>panel_time_loss</td><td>Switch</td><td>Loss of time on the panel.</td></tr>
<tr><td>panel_time</td><td>DateTime</td><td>DSC Alarm system time and date.</td></tr>
<tr><td>panel_time_stamp</td><td>Switch</td><td>Turn DSC Alarm message time stamping ON/OFF.</td></tr>
<tr><td>panel_time_broadcast</td><td>Switch</td><td>Turn DSC Alarm time broadcasting ON/OFF.</td></tr>
<tr><td>panel_time_stamp</td><td>Switch</td><td>(Writable) Turn DSC Alarm message time stamping ON/OFF.</td></tr>
<tr><td>panel_time_broadcast</td><td>Switch</td><td>(Writable) Turn DSC Alarm time broadcasting ON/OFF.</td></tr>
<tr><td>panel_fire_key_alarm</td><td>Switch</td><td>A fire key alarm has happened.</td></tr>
<tr><td>panel_panic_key_alarm</td><td>Switch</td><td>A panic key alarm has happened.</td></tr>
<tr><td>panel_aux_key_alarm</td><td>Switch</td><td>An auxiliary key alarm has happened.</td></tr>
<tr><td>panel_aux_input_alarm</td><td>Switch</td><td>An auxiliary input alarm has happened.</td></tr>
<tr><td>partition_status</td><td>String</td><td>A partitions current status.</td></tr>
<tr><td>partition_arm_mode</td><td>Number</td><td>A partitions current arm mode. The possible values are:
<tr><td>partition_arm_mode</td><td>Number</td><td>(Writable) A partitions current arm mode. The possible values are:
<br/>
0=disarmed<br/>
1=armed away<br/>

View File

@ -21,13 +21,13 @@ This binding adds support to control Tapo (Copyright © TP-Link Corporation Limi
The following Tapo-Devices are supported
### P100/P105 SmartPlug (WiFi)
### P100/P105/P110 SmartPlug (WiFi)
* Power On/Off
* Wi-Fi signal (SignalStrength)
* On-Time (Time in seconds device is switched on)
### L510_Series dimmable SmartBulb (WiFi)
### L510(Series) dimmable SmartBulb (WiFi)
* Light On/Off
* Brightnes (Dimmer) 0-100 %
@ -35,7 +35,7 @@ The following Tapo-Devices are supported
* Wi-Fi signal (SignalStrength)
* On-Time (Time in seconds device is switched on)
### L530_Series MultiColor SmartBulb (WiFi)
### L530(Series) MultiColor SmartBulb (WiFi)
* Light On/Off
* Brightnes (Dimmer) 0-100 %
@ -44,7 +44,7 @@ The following Tapo-Devices are supported
* Wi-Fi signal (SignalStrength)
* On-Time (Time in seconds device is switched on)
### L900 MultiColor LightStrip (WiFi)
### L900/L920 LED-LightStrip (WiFi)
* Light On/Off
* Brightnes (Dimmer) 0-100 %
@ -94,14 +94,14 @@ 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,L510, L530, L900 |
| | 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, L510, L530, L900 |
| | onTime | Number:Time | seconds output is on | P100, P105, L510, L530, L900 |
| group | channel |type | description | things supporting this channel |
|-----------|----------------- |------------------------|------------------------------|---------------------------------------------|
| actuator | output | Switch | Power device on or off | P100, P105, P110, 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, L510, L530, L900, L920 |
| | onTime | Number:Time | seconds output is on | P100, P105, P110, L510, L530, L900, L920 |
## Channel Refresh
@ -117,8 +117,8 @@ To minimize network traffic the default refresh-rate is set to 30 seconds. This
```
tapocontrol:bridge:myTapoBridge "Cloud-Login" [ username="you@yourpovider.com", password="verysecret" ]
tapocontrol:P100:myTapoBridge:mySocket "My-Socket" [ ipAddress="192.168.178.150", pollingInterval=30 ]
tapocontrol:L510_Series:myTapoBridge:whiteBulb "white-light" [ ipAddress="192.168.178.151", pollingInterval=30 ]
tapocontrol:L530_Series:myTapoBridge:colorBulb "color-light" [ ipAddress="192.168.178.152", pollingInterval=30 ]
tapocontrol:L510:myTapoBridge:whiteBulb "white-light" [ ipAddress="192.168.178.151", pollingInterval=30 ]
tapocontrol:L530:myTapoBridge:colorBulb "color-light" [ ipAddress="192.168.178.152", pollingInterval=30 ]
tapocontrol:L900:myTapoBridge:myLightStrip "light-strip" [ ipAddress="192.168.178.153", pollingInterval=30 ]
```

View File

@ -1,6 +1,6 @@
/**
*
* Copyright (c) 2010-2021 Contributors to the openHAB project
* Copyright (c) 2010-2022 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.

View File

@ -1,6 +1,6 @@
/**
*
* Copyright (c) 2010-2021 Contributors to the openHAB project
* Copyright (c) 2010-2022 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.

View File

@ -1,6 +1,6 @@
/**
*
* Copyright (c) 2010-2021 Contributors to the openHAB project
* Copyright (c) 2010-2022 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.

View File

@ -1,6 +1,6 @@
/**
*
* Copyright (c) 2010-2021 Contributors to the openHAB project
* Copyright (c) 2010-2022 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.

View File

@ -1,6 +1,6 @@
/**
*
* Copyright (c) 2010-2021 Contributors to the openHAB project
* Copyright (c) 2010-2022 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.

View File

@ -1,6 +1,6 @@
/**
*
* Copyright (c) 2010-2021 Contributors to the openHAB project
* Copyright (c) 2010-2022 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.

View File

@ -0,0 +1,183 @@
---
id: yamahamusiccast
label: Yamaha MusicCast
title: Yamaha MusicCast - Bindings
type: binding
description: "Binding to control Yamaha models via their MusicCast protocol (aka Yamaha Extended Control)."
since: 3x
logo: images/addons/yamahamusiccast.png
install: manual
---
<!-- Attention authors: Do not edit directly. Please add your changes to the appropriate source repository -->
{% include base.html %}
# Yamaha MusicCast Binding
Binding to control Yamaha models via their MusicCast protocol (aka Yamaha Extended Control).
With support for 4 zones : main, zone2, zone3, zone4. Main is always present. Zone2, Zone3, Zone4 are read from the model.
UDP events are captured to reflect changes in the binding for
- Power
- Mute
- Volume
- Input
- Presets
- Sleep
- Artist
- Track
- Album
- Album Art
- Repeat
- Shuffle
- Play Time
- Total Time
- Musiccast Link
## Supported Things
Each model (AV Receiver, ...) is a Thing (Thing Type ID: yamahamusiccast:device). Things are linked to a Bridge (Thing Type ID: yamahamusiccast:bridge) for receiving UDP events.
## Discovery
No auto discovery
## Thing Configuration
| Parameter | Type | Description | Advanced | Required |
|--------------------|---------|---------------------------------------------------------|----------|---------------|
| host | String | IP address of the Yamaha model (AVR, ...) | false | true |
| syncVolume | Boolean | Sync volume across linked models (default=false) | false | false |
| defaultAfterMCLink | String | Default Input value for client when MC Link is broken | false | false |
Default value for *defaultAfterMCLink* is *NET RADIO* as most of the models have this on board.
## Channels
| channel | type | description |
|----------------|--------|---------------------------------------------------------------------|
| power | Switch | Power ON/OFF |
| mute | Switch | Mute ON/OFF |
| volume | Dimmer | Volume as % (recalculated based on Max Volume Model) |
| volumeAbs | Number | Volume as absolute value |
| input | String | See below for list |
| soundProgram | String | See below for list |
| selectPreset | String | Select Netradio/USB preset (fetched from Model) |
| sleep | Number | Fixed values for Sleep : 0/30/60/90/120 in minutes |
| recallScene | Number | Select a scene (8 defaults scenes are foreseen) |
| player | Player | PLAY/PAUSE/NEXT/PREVIOUS/REWIND/FASTFORWARD |
| artist | String | Artist |
| track | String | Track |
| album | String | Album |
| albumArt | Image | Album Art |
| repeat | String | Toggle Repeat. Available values: Off, One, All |
| shuffle | String | Toggle Shuffle. Available values: Off, On, Songs, Album |
| playTime | String | Play time of current selection: radio, song, track, ... |
| totalTime | String | Total time of current selection: radio, song, track, ... |
| mclinkStatus | String | Select your Musiccast Server or set to Standalone, Server or Client |
| Zones | description |
|----------------------|------------------------------------------------------|
| zone1-4 | Zone 1 to 4 to control Power, Volume, ... |
| playerControls | Separate zone for Play, Pause, ... |
## Input List
Firmware v1
cd / tuner / multi_ch / phono / hdmi1 / hdmi2 / hdmi3 / hdmi4 / hdmi5 / hdmi6 / hdmi7 /
hdmi8 / hdmi / av1 / av2 / av3 / av4 / av5 / av6 / av7 / v_aux / aux1 / aux2 / aux / audio1 /
audio2 / audio3 / audio4 / audio_cd / audio / optical1 / optical2 / optical / coaxial1 / coaxial2 /
coaxial / digital1 / digital2 / digital / line1 / line2 / line3 / line_cd / analog / tv / bd_dvd /
usb_dac / usb / bluetooth / server / net_radio / rhapsody / napster / pandora / siriusxm /
spotify / juke / airplay / radiko / qobuz / mc_link / main_sync / none
Firmware v2
cd / tuner / multi_ch / phono / hdmi1 / hdmi2 / hdmi3 / hdmi4 / hdmi5 / hdmi6 / hdmi7 /
hdmi8 / hdmi / av1 / av2 / av3 / av4 / av5 / av6 / av7 / v_aux / aux1 / aux2 / aux / audio1 /
audio2 / audio3 / audio4 / **audio5** / audio_cd / audio / optical1 / optical2 / optical / coaxial1 / coaxial2 /
coaxial / digital1 / digital2 / digital / line1 / line2 / line3 / line_cd / analog / tv / bd_dvd /
usb_dac / usb / bluetooth / server / net_radio / ~~rhapsody~~ /napster / pandora / siriusxm /
spotify / juke / airplay / radiko / qobuz / **tidal** / **deezer** / mc_link / main_sync / none
## Sound Program
munich_a / munich_b / munich / frankfurt / stuttgart / vienna / amsterdam / usa_a / usa_b /
tokyo / freiburg / royaumont / chamber / concert / village_gate / village_vanguard /
warehouse_loft / cellar_club / jazz_club / roxy_theatre / bottom_line / arena / sports /
action_game / roleplaying_game / game / music_video / music / recital_opera / pavilion /
disco / standard / spectacle / sci-fi / adventure / drama / talk_show / tv_program /
mono_movie / movie / enhanced / 2ch_stereo / 5ch_stereo / 7ch_stereo / 9ch_stereo /
11ch_stereo / stereo / surr_decoder / my_surround / target / straight / off
## Full Example
### Bridge & Thing(s)
```
Bridge yamahamusiccast:bridge:virtual "YXC Bridge" {
Thing yamahamusiccast:device:Living "YXC Living" [host="1.2.3.4"]
}
```
### Basic setup
```
Switch YamahaPower "" {channel="yamahamusiccast:device:Living:main#power"}
Switch YamahaMute "" {channel="yamahamusiccast:device:Living:main#mute"}
Dimmer YamahaVolume "" {channel="yamahamusiccast:device:Living:main#volume"}
Number YamahaVolumeAbs "" {channel="yamahamusiccast:device:Living:main#volumeAbs"}
String YamahaInput "" {channel="yamahamusiccast:device:Living:main#input"}
String YamahaSelectPreset "" {channel="yamahamusiccast:device:Living:main#selectPreset"}
String YamahaSoundProgram "" {channel="yamahamusiccast:device:Living:main#soundProgram"}
```
### Player controls
```
Player YamahaPlayer "" {channel="yamahamusiccast:device:Living:playerControls#player"}
String YamahaArt "" {channel="yamahamusiccast:device:Living:playerControls#albumArt"}
String YamahaArtist "" {channel="yamahamusiccast:device:Living:playerControls#artist"}
String YamahaTrack "" {channel="yamahamusiccast:device:Living:playerControls#track"}
String YamahaAlbum "" {channel="yamahamusiccast:device:Living:playerControls#album"}
```
### MusicCast setup
The idea here is to select what device/model will be the master. This needs to be done per device/model which will then be the slave.
If you want the *Living* to be the master for the *Kitchen*, select *Living - zone (IP)* from the thing *Kitchen*.
The binding will check if there is already a group active for which *Living* is the master. If yes, this group will be used and *Kitchen* will be added.
If not, a new group will be created.
*Device A*: Living with IP 192.168.1.1
*Device B*: Kitchen with IP 192.168.1.2
Set **mclinkStatus** to *Standalone* to remove the device/model from the current active group. The group will keep on exist with other devices/models.
If the device/model is the server, the group will be disbanded.
```
String YamahaMCLinkStatus "" {channel="yamahamusiccast:device:Living:main#mclinkStatus"}
```
During testing with the Yamaha Musiccast app, when removing a slave from the group, the status of the client remained *client* and **input** stayed on *mclink*. Only when changing input, the slave was set to *standalone*. Therefor you can set the parameter **defaultAfterMCLink** to an input value supported by your device to break the whole Musiccast Link in OH.
#### How to use this in a rule?
The label uses the format _Thinglabel - zone (IP)_.
The value which is sent to OH uses the format _IP***zone_.
```
sendCommand(Kitchen_YamahaMCServer, "192.168.1.1***main")
sendCommand(Kitchen_YamahaMCServer, "")
sendCommand(Kitchen_YamahaMCServer, "server")
sendCommand(Kitchen_YamahaMCServer, "client")
```
## Tested Models
RX-D485 / WX-010 / WX-030 / ISX-80 / YSP-1600 / RX-A860 / R-N303D / EX-A1080 / WXA-050 / HTR-4068 (RX-V479)
MusicCast 20 / WCX-50 / RX-V6A / YAS-306 / ISX-18D / WX-021 / YAS-408

View File

@ -735,7 +735,7 @@ If paired with [`PositionState`](#positionstate), the primary controls (open/clo
#### `Channel`
Items that represent a channel. It is important to note only well-known channel names can be used as these are validated against a database on the Alexa side when requested. Unfortunately, Amazon doesn't provide a list of supported channel names. For String, only channel requests by name are supported. For channel up/down keys support on adjustment requests, add [`ChannelKey`](#channelkey) to your entertainment group endpoint.
Items that represent a channel. It is important to note only well-known channel names can be used as these are validated against a database on the Alexa side when requested. Unfortunately, Amazon doesn't provide a list of supported channel names. For String, only channel requests by name are supported. For adjustment requests, by default, the increment is linear within the `range` parameter for Number, or the `channelMappings` parameter for String, based on the current state. For channel up/down keys support instead on these requests, add [`ChannelKey`](#channelkey) to your entertainment group endpoint.
* Supported item types:
* Number
@ -751,14 +751,14 @@ Items that represent a channel. It is important to note only well-known channel
* Utterance examples:
* *Alexa, change the channel to `<channel number>` on the `<device name>`.* (Number only)
* *Alexa, change the channel to `<channel name>` on the `<device name>`.*
* *Alexa, next channel on the `<device name>`.*
* *Alexa, previous channel on the `<device name>`.*
* *Alexa, channel up on the `<device name>`.*
* *Alexa, channel down on the `<device name>`.*
* *Alexa, next channel on the `<device name>`.* (if [`ChannelKey`](#channelkey) not defined)
* *Alexa, previous channel on the `<device name>`.* (if [`ChannelKey`](#channelkey) not defined)
* *Alexa, channel up on the `<device name>`.* (if [`ChannelKey`](#channelkey) not defined)
* *Alexa, channel down on the `<device name>`.* (if [`ChannelKey`](#channelkey) not defined)
#### `ChannelKey`
Items that represent channel up/down keys that change a channel incrementally in discrete steps.
Items that represent channel up/down keys that change a channel incrementally in discrete steps. For change requests by number or by name support, add [`Channel`](#channel) to your entertainment group endpoint.
* Supported item types:
* String

View File

@ -491,6 +491,41 @@
<state readOnly="true"/>
</channel-type>
<thing-type id="airqualitysensor">
<supported-bridge-type-refs>
<bridge-type-ref id="deconz"/>
</supported-bridge-type-refs>
<label>Air quality Sensor</label>
<description>An air quality sensor</description>
<channels>
<channel typeId="airquality" id="airquality"/>
<channel typeId="airqualityppb" id="airqualityppb"/>
<channel typeId="last_updated" id="last_updated"/>
</channels>
<representation-property>uid</representation-property>
<config-description-ref uri="thing-type:deconz:sensor"/>
</thing-type>
<channel-type id="airquality">
<item-type>String</item-type>
<label>Air quality level</label>
<description>Current air quality level based on volatile organic compounds (VOCs) measurement. Example: good or poor,
...</description>
<state readOnly="true" pattern="%s"></state>
</channel-type>
<channel-type id="airqualityppb">
<item-type>Number:Dimensionless</item-type>
<label>Air quality in ppb</label>
<description>Current air quality based on measurements of volatile organic compounds (VOCs). The measured value is
specified in ppb (parts per billion).</description>
<state readOnly="true" pattern="%d"></state>
</channel-type>
<thing-type id="thermostat">
<supported-bridge-type-refs>
<bridge-type-ref id="deconz"/>

View File

@ -4,8 +4,8 @@
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">
<!-- L510E THING-TYPE (WHITE-LIGHT-BULB) -->
<thing-type id="L510_Series">
<!-- L510 THING-TYPE (WHITE-LIGHT-BULB) -->
<thing-type id="L510">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>

View File

@ -4,8 +4,8 @@
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">
<!-- L530 Series THING-TYPE (COLOR-LIGHT-BULB) -->
<thing-type id="L530_Series">
<!-- L530 THING-TYPE (COLOR-LIGHT-BULB) -->
<thing-type id="L530">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>

View File

@ -4,14 +4,14 @@
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">
<!-- L530 Series THING-TYPE (COLOR-LIGHT-BULB) -->
<!-- L900 Series THING-TYPE (COLOR-LED-Lightstrip) -->
<thing-type id="L900">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>L900 LightStrip</label>
<description>Tapo Smart Multicolor Light-Lightstrip</description>
<description>Tapo Smart LED-Lightstrip</description>
<channel-groups>
<channel-group id="actuator" typeId="lightStrip"/>
<channel-group id="device" typeId="deviceState"/>

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">
<!-- L920 THING-TYPE (Multicolor LED-Lightstrip) -->
<thing-type id="L920">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>L920 LightStrip</label>
<description>Tapo Smart Multicolor LED-Lightstrip</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

@ -4,7 +4,7 @@
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">
<!-- P100 THING-TYPE (SOCKET) -->
<!-- P105 THING-TYPE (SOCKET) -->
<thing-type id="P105">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>

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">
<!-- P110 THING-TYPE (SOCKET) -->
<thing-type id="P110">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>P110 SmartPlug</label>
<description>Tapo Smart Monitoring Wifi Plug</description>
<channel-groups>
<channel-group id="actuator" typeId="smartPlug"/>
<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

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="yamahamusiccast"
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">
<!-- Bridge -->
<bridge-type id="bridge">
<label>Virtual Bridge</label>
<description>Virtual Bridge to receive updates</description>
</bridge-type>
</thing:thing-descriptions>

View File

@ -0,0 +1,193 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="yamahamusiccast"
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="device">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge"/>
</supported-bridge-type-refs>
<label>Yamaha MusicCast Model</label>
<description>Your Yamaha model with MusicCast functionality</description>
<channel-groups>
<channel-group id="main" typeId="mainControls"/>
<channel-group id="zone2" typeId="zone2Controls"/>
<channel-group id="zone3" typeId="zone3Controls"/>
<channel-group id="zone4" typeId="zone4Controls"/>
<channel-group id="playerControls" typeId="playerControls"/>
</channel-groups>
<config-description>
<parameter name="host" type="text" required="true">
<label>Address</label>
<context>network-address</context>
<description>The IP address of the AVR to control.</description>
</parameter>
<parameter name="syncVolume" type="boolean">
<label>Sync Volume</label>
<description>Sync Volume across linked Music Cast models</description>
<default>true</default>
</parameter>
<parameter name="defaultAfterMCLink" type="text">
<label>MC Link Default Value</label>
<description>Default value for client when MC Link is broken</description>
<default>net_radio</default>
<options>
<option value="none">None</option>
<option value="net_radio">Net Radio</option>
</options>
</parameter>
</config-description>
</thing-type>
<channel-group-type id="mainControls">
<label>Main Zone (default)</label>
</channel-group-type>
<channel-group-type id="zone2Controls">
<label>Zone 2</label>
</channel-group-type>
<channel-group-type id="zone3Controls">
<label>Zone 3</label>
</channel-group-type>
<channel-group-type id="zone4Controls">
<label>Zone 4</label>
</channel-group-type>
<channel-group-type id="playerControls">
<label>Player Controls</label>
<channels>
<channel id="player" typeId="player"/>
<channel id="artist" typeId="artist"/>
<channel id="track" typeId="track"/>
<channel id="album" typeId="album"/>
<channel id="albumArt" typeId="albumArt"/>
<channel id="repeat" typeId="repeat"/>
<channel id="shuffle" typeId="shuffle"/>
<channel id="playTime" typeId="playTime"/>
<channel id="totalTime" typeId="totalTime"/>
</channels>
</channel-group-type>
<channel-type id="volumeAbs">
<item-type>Number</item-type>
<label>Volume</label>
<description>Volume channel - Absolute value</description>
</channel-type>
<channel-type id="input">
<item-type>String</item-type>
<label>Input</label>
<description>Input channel</description>
</channel-type>
<channel-type id="soundProgram">
<item-type>String</item-type>
<label>Sound Program</label>
<description>SoundProgram channel</description>
</channel-type>
<channel-type id="selectPreset">
<item-type>String</item-type>
<label>NetRadio/USB Preset</label>
<description>Select Net Radio/USB Preset channel</description>
</channel-type>
<channel-type id="player">
<item-type>Player</item-type>
<label>NetRadio/USB Player</label>
<description>Player for Net Radio/USB channel</description>
</channel-type>
<channel-type id="sleep">
<item-type>Number</item-type>
<label>Sleep</label>
<description>Sleep Time in minutes</description>
<state>
<options>
<option value="0">No Sleep</option>
<option value="30">30 min</option>
<option value="60">60 min</option>
<option value="90">90 min</option>
<option value="120">120 min</option>
</options>
</state>
</channel-type>
<channel-type id="recallScene">
<item-type>Number</item-type>
<label>Scene Selection</label>
<description>Scene selection (if available)</description>
<state>
<options>
<option value="1">Scene 1</option>
<option value="2">Scene 2</option>
<option value="3">Scene 3</option>
<option value="4">Scene 4</option>
<option value="5">Scene 5</option>
<option value="6">Scene 6</option>
<option value="7">Scene 7</option>
<option value="8">Scene 8</option>
</options>
</state>
</channel-type>
<channel-type id="artist">
<item-type>String</item-type>
<label>Artist</label>
<description>Artist</description>
</channel-type>
<channel-type id="track">
<item-type>String</item-type>
<label>Track</label>
<description>Track</description>
</channel-type>
<channel-type id="album">
<item-type>String</item-type>
<label>Album</label>
<description>Album</description>
</channel-type>
<channel-type id="albumArt">
<item-type>Image</item-type>
<label>Album Art</label>
<description>Album Art</description>
</channel-type>
<channel-type id="repeat">
<item-type>String</item-type>
<label>Repeat</label>
<description>Repeat mode</description>
<state>
<options>
<option value="off">Off</option>
<option value="one">One</option>
<option value="all">All</option>
</options>
</state>
</channel-type>
<channel-type id="shuffle">
<item-type>String</item-type>
<label>Shuffle</label>
<description>Shuffle mode</description>
<state>
<options>
<option value="off">Off</option>
<option value="on">On</option>
<option value="songs">Songs</option>
<option value="albums">Albums</option>
</options>
</state>
</channel-type>
<channel-type id="mclinkStatus">
<item-type>String</item-type>
<label>Status MusicCast</label>
<description>MusicCast Status</description>
</channel-type>
<channel-type id="playTime">
<item-type>Number:Time</item-type>
<label>Play Time</label>
<description>Play Time</description>
</channel-type>
<channel-type id="totalTime">
<item-type>String</item-type>
<label>Total Time</label>
<description>Total Time</description>
</channel-type>
</thing:thing-descriptions>