Just a short feedback: For me this latest snapshot works like a charme!
Runtime version 1.8.3
Thank you very much for your great work!! Harmony binding is an important part of my media setup.
Cheers,
Sebastian
Just a short feedback: For me this latest snapshot works like a charme!
Runtime version 1.8.3
Thank you very much for your great work!! Harmony binding is an important part of my media setup.
Cheers,
Sebastian
Nop, not working
I now have only the latest jar in the addons folder (deleted the other Harmony jars).
I donât understand how these addons work for some of us and doesnât work for the rest! It depends on the OH version? Mine is 1.8.3.
@digitaldan sorry for bothering you but any chance to take a look on this binding this weekend?
@sihui patience is all I have right now just a little bit disappointed that after purchasing the Logitech remote I cannot use it as I want âŠ
Thanks.
itâdoesânt work for me too âŠ
I donât find anything in th log :
18:19:16.076 [INFO ] [c.internal.ModelRepositoryImpl:80 ] - Loading model âharmony.itemsâ
18:19:16.086 [DEBUG] [i.internal.GenericItemProvider:154 ] - Processing binding configs for items from model âharmony.itemsâ
18:19:16.093 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:16.104 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:16.118 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:16.132 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:16.142 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:16.152 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:16.162 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:16.187 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:16.199 [DEBUG] [i.internal.GenericItemProvider:133 ] - Read items from model âharmony.itemsâ
18:19:26.661 [INFO ] [o.harmonyhub.HarmonyHubGateway:88 ] - HarmonyHub gateway activated
18:19:26.675 [DEBUG] [h.internal.HarmonyHubActivator:34 ] - HarmonyHub action has been started.
18:19:38.634 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âharmonyTV (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.635 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âchandelleON (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.636 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âHarmony_Activity (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.637 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âharmonyTVCH (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.638 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âCHLedOn (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.638 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âCHLedOFF (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.639 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âharmonySLed (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.640 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âSLedStrobe (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.640 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âSLedFade (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.641 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âSfc3800 (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.642 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âSff9900 (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.643 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âSffff00 (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.644 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âS00ffff (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.644 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âS0000ff (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.645 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âS0000ff (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.646 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âS9900ff (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.647 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âSff00ff (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.647 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âSff00ff (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.648 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âS00ff00 (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.648 [DEBUG] [i.internal.GenericItemProvider:341 ] - Start processing binding configuration of Item âSffffff (Type=StringItem, State=Uninitialized)â with âHarmonyHubGenericBindingProviderâ reader.
18:19:38.654 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 harmonyTVCH
18:19:38.655 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 SLedFade
18:19:38.655 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 Sfc3800
18:19:38.655 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 Harmony_Activity
18:19:38.655 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 harmonySLed
18:19:38.655 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 S9900ff
18:19:38.655 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 S00ffff
18:19:38.656 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 S00ff00
18:19:38.656 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 chandelleON
18:19:38.656 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 Sffff00
18:19:38.656 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 Sffffff
18:19:38.656 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 CHLedOFF
18:19:38.657 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 Sff00ff
18:19:38.657 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 Sff9900
18:19:38.657 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 CHLedOn
18:19:38.657 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 SLedStrobe
18:19:38.657 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 S0000ff
18:19:38.658 [DEBUG] [b.h.internal.HarmonyHubBinding:62 ] - bindingChanged org.openhab.binding.harmonyhub.internal.HarmonyHubGenericBindingProvider@2aabf779 harmonyTV
18:19:38.658 [DEBUG] [b.h.internal.HarmonyHubBinding:205 ] - addHarmonyHubGateway, configured false
18:19:40.876 [DEBUG] [riptExtensionClassNameProvider:63 ] - Script actions have changed: ExecActionService, TransformationActionService, AudioActionService, HarmonyHubActionService, MqttActionService, PingActionService, HTTPActionService, XBMCActionService,
18:21:45.786 [DEBUG] [c.a.internal.AutoUpdateBinding:112 ] - Received update of a not accepted type (OnOffType) for item harmonyTVCH
18:21:45.787 [DEBUG] [b.h.internal.HarmonyHubBinding:123 ] - internalReceiveCommand(harmonyTVCH,ON) is called!
18:21:45.787 [DEBUG] [b.h.internal.HarmonyHubBinding:140 ] - PressButton command:ON q:null p1:33806617 p2:PowerToggle
18:21:45.790 [DEBUG] [o.harmonyhub.HarmonyHubGateway:342 ] - pressButton for qualifer null deviceId 33806617 and button PowerToggle
I had the same issue (repeating âRead items from âŠâ) at first.
I hab two problems when installing the right addon file.
First my download wasnât complete and I copied a file with just ~ 2mb size, before I realized it should be about 4mb.
My second problem was I downloaded the wrong file, I guess.
I realized there was a difference of 5 bytes betweeen the download from github and the file from jenkins.
This one workes for me in the end:
org.openhab.io.harmonyhub-1.9.0-SNAPSHOT.jar
md5: 1e6be1874d00706d3e93befda06e2950
sha1: b0f4c20b6e2b0ca91af8f4481ae63739e37e35f4
size: 4400300 bytes
It must have been the jenkins download.
But the current jenkins build is 2 bytes smaller and therefore has a diffenrent checksum.
I downloaded the file three days ago (2016-12-06 evening), but donât know how to link to that particular file.
If anybody does, please post the link here and add it to the wiki.
Maybe the current jenkins build works as well.
https://openhab-ci.innoq.io/jenkins/view/openHAB/job/openhab-1/ws/bundles/io/org.openhab.io.harmonyhub/target/
Great work @digitaldan
Sup? As I see in the link you posted the jar file has 4.2mb, did you take it from here?
Yes, but that link directs you to the newest build wich seems slightly different than what I downloded three days ago.
4400300 bytes /1024 / 1024 = 4,19mb
Still not working for me âŠ
Same for me!
Could someone who tried this binding tell us what to change in oh.cfg? Should we delete user/pass/ip? And let only the name as it says on wiki? Or itâs enough to comment these info?
Same for me!
Could someone who tried this binding tell us what to change in oh.cfg? Should we delete user/pass/ip? And let only the name as it says on wiki? Or itâs enough to comment these info?
I have commented all the old statements including IP and just added disoveryName in openhab.cfg. Works for me without issues up to now.
did the same and itâs not working ⊠itâs working on OH2 so iâm planing a migration ⊠but i have a bug in OH2 too itâs not initializing the item when the server restart so i need to delete it and recreate it
What OH are you using and what binding? can you please post the links for download?
Thanks
Iâve already mentioned these information some posts above
https://github.com/digitaldan/openhab/releases/download/harmony-host-fix/org.openhab.io.harmonyhub-1.9.0-SNAPSHOT.jar Just a short feedback: For me this latest snapshot works like a charme! Runtime version 1.8.3 Thank you very much for your great work!! Harmony binding is an important part of my media setup. Cheers, Sebastian
Hi
I currently have a strange problem with this binding (the new 1.9 one): When I restart my OH Server it seems that the discovery of the HUB doesnât work. In the logfile I canât get any information, the only one is
[INFO ] [o.harmonyhub.HarmonyHubGateway] - HarmonyHub gateway activated
...
[DEBUG] [o.harmonyhub.HarmonyHubGateway] - running for qualifier and client null
I canât really reproduce this but now Iâve found out that if I start the system without my item, it seems to work correctly (donât know whether or not this really makes the difference but it worked several times now). After the OH Server is running, i can add my item and everything works fine (until next server restart). Does anyone have an idea???
My (only) item for this binding is
String VAR_Living_Harmony_Activity "AktivitÀt [%s]" (GRP_Living_Media) { harmonyhub="<[currentActivity]" }
Regards
Dieter
Tried this and it finds the hub, but I cannot trigger activities. Could it be that the add-on has trouble with multiple hubs in one account. This is everything I get out of the log if I try to update via sitemap:
12:39:02.186 [DEBUG] [b.h.internal.HarmonyHubBinding:123 ] - internalReceiveCommand(Harmony_Kino_Activity,FireTV) is called!
12:39:02.194 [DEBUG] [o.harmonyhub.HarmonyHubGateway:436 ] - startActivity for qualifer Kino and activity FireTV
12:39:02.206 [DEBUG] [o.harmonyhub.HarmonyHubGateway:317 ] - running for qualifier Kino and client null
And this is the output if I try it via a rule:
12:42:02.530 [ERROR] [o.o.c.s.ScriptExecutionThread :48 ] - Error during the execution of rule 'startcinema'
java.lang.NullPointerException: null
at org.openhab.action.harmonyhub.internal.HarmonyHubActionService.isProperlyConfigured(HarmonyHubActionService.java:47) ~[na:na]
at org.openhab.action.harmonyhub.internal.HarmonyHub.harmonyStartActivity(HarmonyHub.java:93) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.invokeOperation(XbaseInterpreter.java:729) ~[na:na]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._featureCallOperation(XbaseInterpreter.java:713) ~[na:na]
at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291) ~[na:na]
at org.openhab.model.script.interpreter.ScriptInterpreter.internalFeatureCallDispatch(ScriptInterpreter.java:69) ~[na:na]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._evaluateAbstractFeatureCall(XbaseInterpreter.java:658) ~[na:na]
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291) ~[na:na]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:218) ~[na:na]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._evaluateBlockExpression(XbaseInterpreter.java:321) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291) ~[na:na]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:218) ~[na:na]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.evaluate(XbaseInterpreter.java:204) ~[na:na]
at org.openhab.model.script.internal.engine.ScriptImpl.execute(ScriptImpl.java:59) ~[na:na]
at org.openhab.core.scriptengine.ScriptExecutionThread.run(ScriptExecutionThread.java:44) ~[na:na]
I managed to get it working by re-assigning the name in the Harmony Hub App. Before that I had the problem with âCould not find a HarmonyHub with the discovery name LivingRoomâ.
Could you please share your items? i think there might be a problem wit my items configâŠ
Thanks.
I got it!!!
The problem was that i deleted all the harmony jar files from the addons and i had only the io snapshot you have to have also the harmony binding jar 1.8.3 or whatever release!
Now does anyone know how to turn on the tv on a specific chanel? i tried to create an activity in the harmony app tu turn my tv on on a specific channel lets say channel 123 and it turns my tv on the last channel so its not working.
Any help near the new year will be kindly appreciated
Thanks all and HAPPY NEW 2017!!! to all
After substituting org.openhab.io.harmonyhub-1.9.0-SNAPSHOT.jar by above mentioned version https://openhab-ci.innoq.io/jenkins/view/openHAB/job/openhab-1/ws/bundles/io/org.openhab.io.harmonyhub/target/ it works again.
The strange thing is, that the âoldâ binding worked for me for weeks without any change. But suddenly since a few days, the binding stopped working ⊠this new binding now works now again. Hope it runs for mor than some weeks
Thanks @digitaldan for your excellent work!
In general the new addon 1.9.0 SNAPSHOT is working and is able to read values.
But actions seem to be a problem - see the following errors:
#1:
18:48:00.682 [DEBUG] [o.harmonyhub.HarmonyHubGateway:373 ] - pressButton for qualifer Harmony Hub device Telekom DVR and button Play
18:48:00.683 [DEBUG] [o.harmonyhub.HarmonyHubGateway:317 ] - running for qualifier Harmony Hub and client null
18:48:00.686 [ERROR] [o.o.c.s.ScriptExecutionThread :50 ] - Error during the execution of rule âIncoming Call Active - Muteâ: No client âHarmony Hubâ defined
#2:
18:45:24.817 [DEBUG] [o.harmonyhub.HarmonyHubGateway:373 ] - pressButton for qualifer null device Telekom DVR and button Pause
18:45:24.818 [DEBUG] [o.harmonyhub.HarmonyHubGateway:317 ] - running for qualifier and client null
18:45:24.820 [ERROR] [o.o.c.s.ScriptExecutionThread :50 ] - Error during the execution of rule âIncoming Call Active - Muteâ: No client ââ defined
Today I needed to restart my openhab and now the harmony doesnât work again (it run the last 15 days).
[o.harmonyhub.HarmonyHubGateway] - Could not find a HarmonyHub with the discovery name harmonyhub
Iâll give it up now and am going to solder an arduino with IR emitter (MySensors). This should work stable