Updated external content (Jenkins build 107)
parent
f25ed56161
commit
27adb1d78a
|
@ -25,8 +25,8 @@ This binding can be configured in the file `services/vdr.cfg`.
|
|||
|
||||
| Property | Default | Required | Description |
|
||||
|----------|---------|:--------:|-------------|
|
||||
| TBD | TBD | TBD | TBD |
|
||||
|
||||
| host | none | yes | VDR's IP address or name |
|
||||
| port | 6419 | no | The port SVDRP is listening |
|
||||
|
||||
## Item Configuration
|
||||
|
||||
|
@ -46,17 +46,18 @@ Command must be one of the following:
|
|||
- `channel`: channel up / down; can be bound to a Switch item(ON=increase, OFF=decrease) or a number item
|
||||
- `volume`: volume up / down; can be bound to a Switch item (ON=increase, OFF=decrease) or a number item (value between 0 and 255)
|
||||
|
||||
The VDR-Id corresponds to the configuration in openhab.cfg where one has to configure the VDRs. Which looks like this
|
||||
|
||||
```
|
||||
vdr:<id>.host=[host]
|
||||
vdr:<id>.port=[port]
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
### Basic Examples
|
||||
|
||||
Binding Configuration:
|
||||
|
||||
```
|
||||
vdr:LivingRoom.host=vdr.local
|
||||
vdr:LivingRoom.port=6419
|
||||
```
|
||||
The VDR-ID defined here, e.g. `LivingRoom`, shall be used in all items configurations and rules.
|
||||
|
||||
Here are some examples for valid binding configuration strings:
|
||||
|
||||
For Switch items:
|
||||
|
@ -76,12 +77,12 @@ As a result, your lines in the items file might look like the following:
|
|||
|
||||
```
|
||||
Switch VDR_LivingroomPower "VDR (livingroom) Power" (VDR) {vdr="LivingRoom:powerOff",wol="192.168.1.2#F4:6D:15:32:F3:F7" }
|
||||
String VDR_LivingroomOSDMessage "VDR (livingroom) OSD message" {vdr="LivingRoom:message"}
|
||||
Switch VDR_LivingroomChannelUpDown "VDR Livingroom Channel Up/Down" (VDR) {vdr="LivingRoom:channel"}
|
||||
Number VDR_LivingroomChannel "VDR Livingroom Channel" (VDR) {vdr="LivingRoom:channel"}
|
||||
Switch VDR_LivingroomVolumeUpDown "VDR Livingroom Volume Up/Down" (VDR) {vdr="LivingRoom:volume"}
|
||||
Number VDR_LivingroomVolume "VDR Livingroom Volume" (VDR) {vdr="LivingRoom:volume"}
|
||||
Switch VDR_LivingroomRecording "VDR (livingroom) Recording" (VDR) {vdr="LivingRoom:recording"}
|
||||
String VDR_LivingroomOSDMessage "VDR (livingroom) OSD message" {vdr="LivingRoom:message"}
|
||||
Switch VDR_LivingroomChannelUpDown "VDR Livingroom Channel Up/Down" (VDR) {vdr="LivingRoom:channel"}
|
||||
Number VDR_LivingroomChannel "VDR Livingroom Channel" (VDR) {vdr="LivingRoom:channel"}
|
||||
Switch VDR_LivingroomVolumeUpDown "VDR Livingroom Volume Up/Down" (VDR) {vdr="LivingRoom:volume"}
|
||||
Number VDR_LivingroomVolume "VDR Livingroom Volume" (VDR) {vdr="LivingRoom:volume"}
|
||||
Switch VDR_LivingroomRecording "VDR (livingroom) Recording" (VDR) {vdr="LivingRoom:recording"}
|
||||
```
|
||||
|
||||
### Switch VDR PC on if TV switch on:
|
||||
|
|
Loading…
Reference in New Issue