Aub_C
(Aubrey Caudle)
November 25, 2015, 12:58am
1
Hello,
As a last resort, I’m hoping someone can help me with my connection to my Harmony hub. I’ve gone through a ton of configurations and I just cant seem to control my TV.
Here are a few Items I have from my configuration:
LOGITECH WEB SERVICE LOGIN : BYPASSED
HARMONY COMMUNICATION LOGIN : SUCCESS
HARMONY COMMAND SUBMISSION : SUCCESS
PARSE ACTIVITIES AND DEVICES : SUCCESS
Activities Available via Harmony :
-1 - PowerOff
16726529 - Watch TV
16767816 - Watch Fire TV
openhab.cfg
harmonyhub:family.host=192.168.1.56
harmonyhub:family.username=a*****@gmail.com
harmonyhub:family.password=**********
Addons:
org.openhab.action.harmonyhub-1.7.1.jar
org.openhab.binding.harmonyhub-1.7.1.jar
org.openhab.io.harmonyhub-1.7.1.jar
My items, rules, and sitemaps are a mess so I haven’t added them. I would appreciate if anyone could tell me exactly what I need.
Thanks,
Aub
lfs_alp5
(Alpoy)
November 25, 2015, 9:22am
2
Anything in the logs when you launch a harmony scene(power on tv)?
The problem might also be in your harmony item definitions, so you should consider posting them as well.
Aub_C
(Aubrey Caudle)
November 25, 2015, 8:01pm
3
Items:
String Harmony_Activity “activity [%s]” { harmonyhub="*[currentActivity]" }
Sitemap:
sitemap beesnest label=“Aub”
{
Switch item=Harmony_Activity mappings=[PowerOff=‘PowerOff’, “Watch TV”=‘TV’,FireTV=‘FireTV’]
}
Logs:
2015-11-25 20:00:28.371 [INFO ] [b.s.i.n.typicals.RefreshHEALTY] - sendHEALTY_REQUESTframe
2015-11-25 20:00:29.085 [INFO ] [runtime.busevents ] - Harmony_Activity received command PowerOff
2015-11-25 20:00:29.380 [INFO ] [b.s.i.n.typicals.RefreshHEALTY] - sendHEALTY_REQUESTframe
I also removed the qualifier from the login since its not needed. I only have one hub.
Aub_C
(Aubrey Caudle)
November 26, 2015, 2:17am
4
I finally figured it out and its working. Seems like the issue had to due with the quote placement and the spaces.
Here is the config I’m using:
Sitemap:
sitemap aub label=“Aub”
{
Switch item=Harmony_Activity mappings=[PowerOff=‘PowerOff’, ‘Watch TV’=‘TV’, ‘Watch Fire TV’=‘FireTV’]
}
items:
String Harmony_Activity “activity [%s]” { harmonyhub="*[currentActivity]" }
rules:
no rules used
openhab.cfg:
harmonyhub:family.host=192.168.1.56
harmonyhub:family.username=a*****@gmail.com
harmonyhub:family.password=**********
addons:
org.openhab.action.harmonyhub-1.7.1.jar
org.openhab.binding.harmonyhub-1.7.1.jar
org.openhab.io.harmonyhub-1.7.1.jar
used this to check harmony login and get activities:
https://www.domoticz.com/wiki/Harmony_Hub_Control
device: rasberry pi