From: 2wyck3d <23113287+2wyck3d@users.noreply.github.com> Date: Thu, 6 May 2021 20:23:53 +0000 (-0700) Subject: Update README.md (#10639) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=0b630bed2d5d797cd092da294c214d4ebd0f591c;p=openhab-addons.git Update README.md (#10639) Fixed what I believe were typos. Making similar adjustments to my setup allowed the Harmony integration to work for me. --- diff --git a/bundles/org.openhab.binding.harmonyhub/README.md b/bundles/org.openhab.binding.harmonyhub/README.md index 01b206d198..7bcf39fb09 100644 --- a/bundles/org.openhab.binding.harmonyhub/README.md +++ b/bundles/org.openhab.binding.harmonyhub/README.md @@ -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).