mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Update README.md (#10639)
Fixed what I believe were typos. Making similar adjustments to my setup allowed the Harmony integration to work for me.
This commit is contained in:
parent
f907bf37f9
commit
0b630bed2d
@ -47,7 +47,7 @@ Note that this is prefixed by the hub the device is controlled from.
|
|||||||
In the thing file, this looks e.g. like
|
In the thing file, this looks e.g. like
|
||||||
|
|
||||||
```java
|
```java
|
||||||
Bridge harmonyhub:hub:great [ name="Great Room"] {
|
Bridge harmonyhub:hub:GreatRoom [ name="Great Room"] {
|
||||||
device denon [ name="Denon AV Receiver"]
|
device denon [ name="Denon AV Receiver"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -55,7 +55,7 @@ Bridge harmonyhub:hub:great [ name="Great Room"] {
|
|||||||
or
|
or
|
||||||
|
|
||||||
```java
|
```java
|
||||||
Bridge harmonyhub:hub:great [ name="Great Room"] {
|
Bridge harmonyhub:hub:GreatRoom [ name="Great Room"] {
|
||||||
device denon [ id=176254]
|
device denon [ id=176254]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -83,10 +83,10 @@ String HarmonyHubGreatButton { channel="harmonyhub:hub:GreatRoom:butt
|
|||||||
Player HarmonyHubGreatPlayer { channel="harmonyhub:hub:GreatRoom:player" }
|
Player HarmonyHubGreatPlayer { channel="harmonyhub:hub:GreatRoom:player" }
|
||||||
```
|
```
|
||||||
|
|
||||||
Devices can be sent button commands directly, regardless if they are part of the current running activity or not.
|
Devices can be sent button commands directly, regardless if they are part of the current running activity or not. Note that you must define a Harmony device thing for this to work.
|
||||||
|
|
||||||
```java
|
```java
|
||||||
String HarmonyGreatRoomDenon "Denon Button Press" (gMain) { channel="harmonyhub:device:GreatRoom:29529817:buttonPress" }
|
String HarmonyGreatRoomDenon "Denon Button Press" (gMain) { channel="harmonyhub:device:GreatRoom:denon:buttonPress" }
|
||||||
```
|
```
|
||||||
|
|
||||||
Hubs can also trigger events when a new activity is starting (activityStarting channel) and after it is started (activityStarted channel).
|
Hubs can also trigger events when a new activity is starting (activityStarting channel) and after it is started (activityStarted channel).
|
||||||
|
Loading…
Reference in New Issue
Block a user