tuck182 / openhab-harmony-binding

openHAB Binding for the Logitech Harmony Hub
GNU General Public License v3.0
9 stars 2 forks source link

Help on dev integration #3

Open iw65ihg opened 9 years ago

iw65ihg commented 9 years ago

It would super helpful if you can outline the integration steps into a openhab dev environment, at least roughly. Thx, Martin

Ma-580 commented 9 years ago

Hi,

thanks for creating the binding. :)

I would apprechiate to get it integrated into openHab fully via pull request. I can assist with working on the wiki pages.

Just tested the binding and it does not work in my configuration. Assuming the items need to be switches and not strings exept for the first one my items look like this. (also tried the switch as a string item) items: String Harmony_Activity "activity [%s]" { harmonyhub="<[currentActivity]" } String HarmonyHubPowerOff "powerOff" { harmonyhub=">[start:PowerOff]" } Switch HarmonyHubWatchTV "watchTV" { harmonyhub=">[start:Fernsehen]" } String HarmonyHubMute "mute" { harmonyhub=">[press:Denon AV Receiver:Mute]" }

sitemap: Text item=Harmony_Activity label="activity [%s]" Switch item=HarmonyHubPowerOff label="TV powerOff"
Switch item=HarmonyHubWatchTV label="watchTV"
Switch item=HarmonyHubMute label="mute"

Also its not clear whether you have to use the plain text labels used in the myharmony app and if it would work with spaces and german letters like "ö".

Whatever I can do to support this binding I will do it. Just let me know please.

Kind regards, Maximilian