]> git.basschouten.com Git - openhab-addons.git/commitdiff
Update README.md (#10639)
author2wyck3d <23113287+2wyck3d@users.noreply.github.com>
Thu, 6 May 2021 20:23:53 +0000 (13:23 -0700)
committerGitHub <noreply@github.com>
Thu, 6 May 2021 20:23:53 +0000 (22:23 +0200)
Fixed what I believe were typos. Making similar adjustments to my setup allowed the Harmony integration to work for me.

bundles/org.openhab.binding.harmonyhub/README.md

index 01b206d198e282725889e9f327ba40610e67c6dd..7bcf39fb09315679e6b49e9ab1bdddd8d86db344 100644 (file)
@@ -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
 
 ```java
-Bridge harmonyhub:hub:great [ name="Great Room"] {
+Bridge harmonyhub:hub:GreatRoom [ name="Great Room"] {
     device denon [ name="Denon AV Receiver"]
 }
 ```
@@ -55,7 +55,7 @@ Bridge harmonyhub:hub:great [ name="Great Room"] {
 or
 
 ```java
-Bridge harmonyhub:hub:great [ name="Great Room"] {
+Bridge harmonyhub:hub:GreatRoom [ name="Great Room"] {
     device denon [ id=176254]
 }
 ```
@@ -83,10 +83,10 @@ String HarmonyHubGreatButton            { channel="harmonyhub:hub:GreatRoom:butt
 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
-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).