Posts: 6
Joined: Dec 2016
Reputation:
0
Is anyone aware of any documentation for the Harmony Hub Controller Add-On? I can't locate any. I need to know the format or syntax the commands need to be in for Kodi to communicate with my Harmony Hub.
Thanks,
Jeff
Posts: 3,528
Joined: Jan 2011
Reputation:
375
pkscout
Team-Kodi Member
Posts: 3,528
Sorry, the documentation isn't done yet. OK, I haven't started it yet. Let me see if there is a short version I can do here.
With the default settings, if you put in the IP address of your hub, then you can run only pre-defined Harmony Activities. To do that go to the Harmony Hub setting, and then EDIT MAPPINGS, and then type a name for Kodi to use, and then the exact name of the Activity (capitalization will count).
If you enable advanced Harmony hub control, then you can start an activity, or send a string of remote commands to a specific device, or both. The trick here is that you can leave the activity or remote command blank, giving you the three options: activity only, remote commands only, and both. Here's the format for the commands:
<device name>:command|command|command
The device name is whatever name you gave your device in the Harmony hub. There is a pause between each command (250ms by default). If you need more time between commands you can just do two (or more) pipes together ("|||" would be a 500ms delay). The advanced control can be a bit tricker, as you need to know the name of the command you want to send. This should be whatever you see as the command name in the Harmony hub. So, as an example, here's a string that tells my Vero 4K+ to do the Win+2 command:
Vero 4K+:Win+2
I hope that helps get you started. I think you're the first person besides me to actually use this besides me, so I'm happy to help anyway I can. Helping you might actually help me figure out the best way to write the documentation.
Posts: 80
Joined: Nov 2009
Reputation:
0
Hi,
I just tried to use your add on as it seems a very nice idea, however I get an error "Harmony hub controller error", and it says "check the log for more information", but I do not know where to check. I am sure I entered the IP address correctly and I created two of the activities of my Hub with "Edit Mapping" with the same names they have on the Logitech App (Edit Action) and assigned the exact same name. No additional command to run. Any help is much appreciated.