updated generated content

Signed-off-by: Kai Kreuzer <kai@openhab.org>
pull/126/head
Kai Kreuzer 2016-11-02 09:09:18 +01:00
parent d56e635617
commit d014fa70d1
No known key found for this signature in database
GPG Key ID: 5110767B6248D3C0
5 changed files with 79 additions and 13 deletions

View File

@ -11,6 +11,7 @@ amazondashbutton,Amazon Dash Button,"The Amazon Dash Button is a very cheap devi
astro,Astro,"The Astro binding is used for calculating many DateTime and positional values for sun and moon."
autelis,Autelis Pool Control,"Autelis manufactures a network enabled pool interface for many popular pool systems. See [the Autelis website](http://www.autelis.com) and the [Autelis Command Protocol](http://www.autelis.com/wiki/index.php?title=Pool_Control_(PI)_HTTP_Command_Reference) for more information."
avmfritz,AVM FRITZ!,"The binding integrates the AHA ( [AVM Home Automation](http://avm.de/ratgeber/smart-home/) ) system."
chromecast,Chromecast,"The binding integrates Google Chromecast streaming devices."
dscalarm,DSC Alarm,"This is an OpenHAB binding for a DSC PowerSeries Alarm System utilizing the EyezOn Envisalink 3/2DS interface or the DSC IT-100 RS-232 interface."
feed,Feed,"This binding allows you to integrate feeds in the OpenHAB environment."
freebox,Freebox,"This binding integrates the [Freebox Revolution](http://www.free.fr/adsl/freebox-revolution.html) to your openHab installation."

1 id label description
11 astro Astro The Astro binding is used for calculating many DateTime and positional values for sun and moon.
12 autelis Autelis Pool Control Autelis manufactures a network enabled pool interface for many popular pool systems. See [the Autelis website](http://www.autelis.com) and the [Autelis Command Protocol](http://www.autelis.com/wiki/index.php?title=Pool_Control_(PI)_HTTP_Command_Reference) for more information.
13 avmfritz AVM FRITZ! The binding integrates the AHA ( [AVM Home Automation](http://avm.de/ratgeber/smart-home/) ) system.
14 chromecast Chromecast The binding integrates Google Chromecast streaming devices.
15 dscalarm DSC Alarm This is an OpenHAB binding for a DSC PowerSeries Alarm System utilizing the EyezOn Envisalink 3/2DS interface or the DSC IT-100 RS-232 interface.
16 feed Feed This binding allows you to integrate feeds in the OpenHAB environment.
17 freebox Freebox This binding integrates the [Freebox Revolution](http://www.free.fr/adsl/freebox-revolution.html) to your openHab installation.

View File

@ -3,6 +3,7 @@ action,Ecobee Action
action,Mail Action
action,MiOS Action
action,MQTT Action
action,NotifyMyAndroid Action
action,Pebble Action
action,Prowl Action
action,Pushover Action
@ -18,6 +19,7 @@ binding,CalDAV Binding (personal)
binding,ComfoAir Binding
binding,Denon Binding
binding,DMX OLA Binding
binding,DSMR Binding
binding,eBUS Binding
binding,Ecobee Binding
binding,Energenie Binding

1 category label
3 action Mail Action
4 action MiOS Action
5 action MQTT Action
6 action NotifyMyAndroid Action
7 action Pebble Action
8 action Prowl Action
9 action Pushover Action
19 binding ComfoAir Binding
20 binding Denon Binding
21 binding DMX OLA Binding
22 binding DSMR Binding
23 binding eBUS Binding
24 binding Ecobee Binding
25 binding Energenie Binding

View File

@ -82,16 +82,3 @@ Background discovery is supported. Just press the button in order to put it into
## Channels
* Press: Channel for recognizing presses on the Amazon Dash Button
## Example Use
The binding uses a trigger channel which doesn't have to be linked to an item. You can easily use it in your rules like this:
```
rule "Dash button pressed"
when
Channel "amazondashbutton:dashbutton:ac-63-be-xx-xx-xx:press" triggered
then
println("The Dash button has been pressed")
end
```

View File

@ -0,0 +1,72 @@
---
layout: documentation
---
{% include base.html %}
# Chromecast Binding
The binding integrates Google Chromecast streaming devices.
It not only acts as a typical binding, but also registers each Chromecast device as an audio sink that can be used for playback.
In order play audio streams that are served from the runtime, the binding needs to know the url to access. This can be configured on the binding level:
| Configuration Parameter | Type | Description |
|-------------|--------|-----------------------------|
| callbackUrl | text | optional Callback URL - url to use for playing notification sounds, e.g. http://192.168.0.2:8080 |
## Supported Things
The binding currently supports the "classic" Chromecast that is an HDMI dongle as well as the Chromecast Audio, which only does audio streaming and offers a headphone jack.
## Discovery
Chromecast devices are discovered on the network using UPnP.
No authentication is required for accessing the devices on the network.
## Thing Configuration
Chromecast devices can also be manually added. The only configuration parameter is the `ipAddress`.
## Channels
| Channel Type ID | Item Type | Description |
|-------------|--------|-----------------------------|
| control | Player | Player control; currently only supports play/pause and does not correctly update, if the state changes on the device itself |
| volume | Dimmer | Control the volume, this is also updated if the volume is changed by another app |
| playuri | String | Can be used to tell the Chromecast to play media from a given url |
## Full Example
services.cfg:
```
binding.chromecast:callbackUrl=http://192.168.30.58:8080
```
demo.things:
```
chromecast:audio:myCC [ ipAddress="192.168.xxx.xxx"]
```
demo.items:
```
Dimmer Volume { channel="chromecast:audio:myCC:volume" }
Player Music { channel="chromecast:audio:myCC:control" }
```
demo.sitemap:
```
sitemap demo label="Main Menu"
{
Frame {
Default item=Music
Slider item=Volume icon=soundvolume
}
}
```

View File

@ -43,6 +43,7 @@ This is the case with a lot of devices and operating system (e.g. Windows 10).
Many devices provide services on other TCP ports (web-frontends, streaming servers, ...), which you can use to confirm reachability. Most operating systems have options to list open ports.
From another linux-based system, you may use namp to discover all connectable TCP ports on the device with the specified IP adress:
```
$ sudo nmap -Pn -sT -p- 192.168.0.42
@ -58,6 +59,7 @@ PORT STATE SERVICE
Nmap done: 1 IP address (1 host up) scanned in 106.17 seconds
```
In this example, there are four suitable ports to use.
The port 554 is open on most Windows PCs, providing streaming capabilities, the other three shown ports are provided by a famous media center software installed on this PC.
If your device does not have any open ports, you may open one yourself, for example by installing a [minimal webserver](https://github.com/cesanta/mongoose).
@ -70,7 +72,9 @@ On a standard Linux system, this can be achieved by setting the `cap_net_bind_se
```shell
sudo setcap cap_net_bind_service=+ep `realpath /usr/bin/java`
```
Check if it was successful:
```shell
sudo getcap `realpath /usr/bin/java`
```