added migrated 2.x add-ons

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer
2020-09-21 01:58:32 +02:00
parent bbf1a7fd29
commit 6df6783b60
11662 changed files with 1302875 additions and 11 deletions

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding:binding id="chromecast" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
<name>Chromecast Binding</name>
<description>This is the binding for Google Chromecast devices.</description>
<author>Kai Kreuzer</author>
<config-description>
<parameter name="callbackUrl" type="text">
<label>Callback URL</label>
<description>url to use for playing notification sounds, e.g. http://192.168.0.2:8080</description>
<required>false</required>
</parameter>
</config-description>
</binding:binding>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<config-description:config-descriptions
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="thing-type:chromecast:device">
<parameter name="ipAddress" type="text">
<context>network-address</context>
<label>Network Address</label>
<description>Network address of the Chromecast device.</description>
<required>true</required>
</parameter>
<parameter name="port" type="integer">
<label>Network Port</label>
<description>Network port of the Chromecast device.</description>
<advanced>true</advanced>
<default>8009</default>
</parameter>
<parameter name="refreshRate" type="integer">
<label>Refresh Rate</label>
<description>
How often the chromecast should schedule a refresh. The chromecast should notify the binding when
something changes, but if you want to track duration you'll need to schedule a refresh more often.
</description>
<advanced>true</advanced>
<default>10</default>
</parameter>
</config-description>
</config-description:config-descriptions>

View File

@@ -0,0 +1,39 @@
# binding
binding.chromecast.name = Chromecast Binding
binding.chromecast.description = Dieses Binding integriert Chromecast Geräte (z.B. Chromecast, Chromecast Audio oder Chromecast Ultra).
# thing types
thing-type.chromecast.audiogroup.label = Chromecast Audiogruppe
thing-type.chromecast.audiogroup.description = Audiogruppe aus mehreren Chromecast Audio oder Media Playern.
thing-type.chromecast.audio.label = Chromecast Audio
thing-type.chromecast.audio.description = Chromecast Audio Player
thing-type.chromecast.chromecast.label = Chromecast
thing-type.chromecast.chromecast.description = Chromecast Media Player
# thing types config
thing-type.config.chromecast.device.ipAddress.label = IP-Adresse
thing-type.config.chromecast.device.ipAddress.description = Lokale IP-Adresse oder Hostname des Chromecast Gerätes.
thing-type.config.chromecast.device.port.label = Port
thing-type.config.chromecast.device.port.description = Port des Chromecast Gerätes.
thing-type.config.chromecast.device.refreshRate.label = Aktualisierungsintervall
thing-type.config.chromecast.device.refreshRate.description = Intervall zur Aktualisierung des Chromecast Gerätes.
# channel types
channel-type.chromecast.stop.label = Stop
channel-type.chromecast.stop.description = Ermöglicht das Stoppen der Wiedergabe.
channel-type.chromecast.playuri.label = URI abspielen
channel-type.chromecast.playuri.description = Ermöglicht das Abspielen einer URI.
channel-type.chromecast.metadataType.label = Medientyp
channel-type.chromecast.metadataType.description = Zeigt den Medientyp des aktuellen Stücks oder Films (z. B. MOVIE, AUDIO_TRACK) an.
channel-type.chromecast.albumName.label = Album
channel-type.chromecast.albumName.description = Zeigt das Album des aktuellen Stücks an.
channel-type.chromecast.metadataType.label = Medientyp
channel-type.chromecast.metadataType.description = Zeigt den Medientyp des aktuellen Stücks oder Films (z. B. movie, song) an.
channel-type.chromecast.image.label = Thumbnail
channel-type.chromecast.image.description = Zeigt das Thumbnail des aktuellen Stücks oder Films an.
channel-type.chromecast.currentTime.label = Laufzeit
channel-type.chromecast.currentTime.description = Zeigt die Laufzeit des aktuellen Stücks oder Films an.
channel-type.chromecast.duration.label = Dauer
channel-type.chromecast.duration.description = Zeigt die Dauer des aktuellen Stücks oder Films an.

View File

@@ -0,0 +1,340 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="chromecast"
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">
<!-- Chromecast Audio Group Thing Type -->
<thing-type id="audiogroup">
<label>Chromecast Audio Group</label>
<description>A Google Chromecast Audio Group device</description>
<channels>
<channel id="control" typeId="system.media-control"/>
<channel id="stop" typeId="stop"/>
<channel id="volume" typeId="system.volume"/>
<channel id="mute" typeId="system.mute"/>
<channel id="playuri" typeId="playuri"/>
<!-- App Information -->
<channel id="appName" typeId="appName"/>
<channel id="appId" typeId="appId"/>
<channel id="idling" typeId="idling"/>
<channel id="statustext" typeId="statustext"/>
<!-- Media Info -->
<channel id="currentTime" typeId="currentTime"/>
<channel id="duration" typeId="duration"/>
<!-- Metadata Info -->
<channel id="metadataType" typeId="metadataType"/>
<channel id="albumArtist" typeId="albumArtist"/>
<channel id="albumName" typeId="albumName"/>
<channel id="artist" typeId="system.media-artist"/>
<channel id="broadcastDate" typeId="broadcastDate"/>
<channel id="composer" typeId="composer"/>
<channel id="creationDate" typeId="creationDate"/>
<channel id="discNumber" typeId="discNumber"/>
<channel id="episodeNumber" typeId="episodeNumber"/>
<channel id="image" typeId="image"/>
<channel id="imageSrc" typeId="imageSrc"/>
<channel id="locationName" typeId="locationName"/>
<channel id="location" typeId="system.location"/>
<channel id="releaseDate" typeId="releaseDate"/>
<channel id="seasonNumber" typeId="seasonNumber"/>
<channel id="seriesTitle" typeId="seriesTitle"/>
<channel id="studio" typeId="studio"/>
<channel id="subtitle" typeId="subtitle"/>
<channel id="title" typeId="system.media-title"/>
<channel id="trackNumber" typeId="trackNumber"/>
</channels>
<representation-property>deviceId</representation-property>
<config-description-ref uri="thing-type:chromecast:device"/>
</thing-type>
<!-- Chromecast Audio Thing Type -->
<thing-type id="audio">
<label>Chromecast Audio</label>
<description>A Google Chromecast Audio device</description>
<channels>
<channel id="control" typeId="system.media-control"/>
<channel id="stop" typeId="stop"/>
<channel id="volume" typeId="system.volume"/>
<channel id="mute" typeId="system.mute"/>
<channel id="playuri" typeId="playuri"/>
<!-- App Information -->
<channel id="appName" typeId="appName"/>
<channel id="appId" typeId="appId"/>
<channel id="idling" typeId="idling"/>
<channel id="statustext" typeId="statustext"/>
<!-- Media Info -->
<channel id="currentTime" typeId="currentTime"/>
<channel id="duration" typeId="duration"/>
<!-- Metadata Info -->
<channel id="metadataType" typeId="metadataType"/>
<channel id="albumArtist" typeId="albumArtist"/>
<channel id="albumName" typeId="albumName"/>
<channel id="artist" typeId="system.media-artist"/>
<channel id="broadcastDate" typeId="broadcastDate"/>
<channel id="composer" typeId="composer"/>
<channel id="creationDate" typeId="creationDate"/>
<channel id="discNumber" typeId="discNumber"/>
<channel id="episodeNumber" typeId="episodeNumber"/>
<channel id="image" typeId="image"/>
<channel id="imageSrc" typeId="imageSrc"/>
<channel id="locationName" typeId="locationName"/>
<channel id="location" typeId="system.location"/>
<channel id="releaseDate" typeId="releaseDate"/>
<channel id="seasonNumber" typeId="seasonNumber"/>
<channel id="seriesTitle" typeId="seriesTitle"/>
<channel id="studio" typeId="studio"/>
<channel id="subtitle" typeId="subtitle"/>
<channel id="title" typeId="system.media-title"/>
<channel id="trackNumber" typeId="trackNumber"/>
</channels>
<representation-property>deviceId</representation-property>
<config-description-ref uri="thing-type:chromecast:device"/>
</thing-type>
<!-- Chromecast HDMI dongle Thing Type -->
<thing-type id="chromecast">
<label>Chromecast</label>
<description>A Google Chromecast streaming device</description>
<channels>
<channel id="control" typeId="system.media-control"/>
<channel id="stop" typeId="stop"/>
<channel id="volume" typeId="system.volume"/>
<channel id="mute" typeId="system.mute"/>
<channel id="playuri" typeId="playuri"/>
<!-- App Information -->
<channel id="appName" typeId="appName"/>
<channel id="appId" typeId="appId"/>
<channel id="idling" typeId="idling"/>
<channel id="statustext" typeId="statustext"/>
<!-- Media Info -->
<channel id="currentTime" typeId="currentTime"/>
<channel id="duration" typeId="duration"/>
<!-- Metadata Info -->
<channel id="metadataType" typeId="metadataType"/>
<channel id="albumArtist" typeId="albumArtist"/>
<channel id="albumName" typeId="albumName"/>
<channel id="artist" typeId="system.media-artist"/>
<channel id="broadcastDate" typeId="broadcastDate"/>
<channel id="composer" typeId="composer"/>
<channel id="creationDate" typeId="creationDate"/>
<channel id="discNumber" typeId="discNumber"/>
<channel id="episodeNumber" typeId="episodeNumber"/>
<channel id="image" typeId="image"/>
<channel id="imageSrc" typeId="imageSrc"/>
<channel id="locationName" typeId="locationName"/>
<channel id="location" typeId="system.location"/>
<channel id="releaseDate" typeId="releaseDate"/>
<channel id="seasonNumber" typeId="seasonNumber"/>
<channel id="seriesTitle" typeId="seriesTitle"/>
<channel id="studio" typeId="studio"/>
<channel id="subtitle" typeId="subtitle"/>
<channel id="title" typeId="system.media-title"/>
<channel id="trackNumber" typeId="trackNumber"/>
</channels>
<representation-property>deviceId</representation-property>
<config-description-ref uri="thing-type:chromecast:device"/>
</thing-type>
<channel-type id="stop">
<item-type>Switch</item-type>
<label>Stop</label>
<description>Stops the player. ON if the player is stopped.</description>
</channel-type>
<channel-type id="playuri" advanced="true">
<item-type>String</item-type>
<label>Play URI</label>
<description>Plays a given URI</description>
</channel-type>
<!--App Information -->
<channel-type id="idling" advanced="true">
<item-type>Switch</item-type>
<label>Idling</label>
<description>Is Chromecast active or idling</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="appName" advanced="true">
<item-type>String</item-type>
<label>App</label>
<description>Name of the currently running application</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="appId" advanced="true">
<item-type>String</item-type>
<label>App Id</label>
<description>Id of the currently running application</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="statustext" advanced="true">
<item-type>String</item-type>
<label>App Status</label>
<description>Status reported by the current application</description>
<state readOnly="true"/>
</channel-type>
<!-- Media Information -->
<channel-type id="currentTime" advanced="true">
<item-type>Number:Time</item-type>
<label>Current Time</label>
<description>Current time of currently playing media</description>
<state readOnly="true" pattern="%d %unit%"/>
</channel-type>
<channel-type id="duration" advanced="true">
<item-type>Number:Time</item-type>
<label>Duration</label>
<description>Length of currently playing media</description>
<state readOnly="true" pattern="%d %unit%"/>
</channel-type>
<!-- Metadata Information -->
<channel-type id="metadataType" advanced="true">
<item-type>String</item-type>
<label>Media Type</label>
<description>The type of the currently playing media. One of GENERIC, MOVIE, TV_SHOW, AUDIO_TRACK, PHOTO</description>
<state readOnly="true">
<options>
<option value="GENERIC"/>
<option value="MOVIE"/>
<option value="TV_SHOW"/>
<option value="AUDIO_TRACK"/>
<option value="PHOTO"/>
</options>
</state>
</channel-type>
<channel-type id="albumArtist" advanced="true">
<item-type>String</item-type>
<label>Album Artist</label>
<description>The name of the album's artist</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="albumName" advanced="true">
<item-type>String</item-type>
<label>Album Name</label>
<description>The name of the album</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="broadcastDate" advanced="true">
<item-type>DateTime</item-type>
<label>Broadcast Date</label>
<description>The broadcast date of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="composer" advanced="true">
<item-type>String</item-type>
<label>Composer</label>
<description>The composer of the current track</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="creationDate" advanced="true">
<item-type>DateTime</item-type>
<label>Creation Date</label>
<description>The creation date of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="discNumber" advanced="true">
<item-type>Number</item-type>
<label>Disc Number</label>
<description>The disc number of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="episodeNumber" advanced="true">
<item-type>Number</item-type>
<label>Episode Number</label>
<description>The episode number of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="imageSrc" advanced="true">
<item-type>String</item-type>
<label>Image URL</label>
<description>The image URL that represents this media. Normally cover-art or scene from a movie</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="image" advanced="true">
<item-type>Image</item-type>
<label>Image</label>
<description>The image that represents this media. Normally cover-art or scene from a movie</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="locationName" advanced="true">
<item-type>String</item-type>
<label>Location Name</label>
<description>The location of where the current media was taken</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="releaseDate" advanced="true">
<item-type>DateTime</item-type>
<label>Release Date</label>
<description>The release date of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="seasonNumber" advanced="true">
<item-type>Number</item-type>
<label>Season Number</label>
<description>The season number of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="seriesTitle" advanced="true">
<item-type>String</item-type>
<label>Series Title</label>
<description>The series title of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="studio" advanced="true">
<item-type>String</item-type>
<label>Studio</label>
<description>The studio of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="subtitle" advanced="true">
<item-type>String</item-type>
<label>Subtitle</label>
<description>The subtitle of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="trackNumber" advanced="true">
<item-type>Number</item-type>
<label>Track Number</label>
<description>The track number of the currently playing media</description>
<state readOnly="true"/>
</channel-type>
</thing:thing-descriptions>