Hi,
if I try to sync my harmony touh the program gives me the following error:
chris@chris-VirtualBox:~$ mhgui
Unhandled exception in thread started by <bound method BackgroundTask.ThreadFunction of <main.BackgroundTask instance at 0x7ff056601440>>
Traceback (most recent call last):
File "/usr/local/bin/mhgui", line 128, in ThreadFunction
result = self.backgroundFunction(*self.backgroundFunctionArgs)
File "/usr/local/bin/mhgui", line 824, in SyncHarmonyTouch
uris = mhMgr.GetJson2Uris("HarmonyTouch")
File "/usr/local/share/congruity/mhmanager.py", line 984, in GetJson2Uris
return self.client.service['Discovery'].GetJson2Uris(clientTypeId, \
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 403, in getattr
return getattr(m, name)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 494, in getattr
return self[name]
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 507, in getitem
raise MethodNotFound, qn
suds.MethodNotFound: Method not found: 'Discovery.DiscoveryPortType.GetJson2Uris'
Hi, so the Harmony Touch support is currently a work in progress. I don't have a Harmony Touch myself, and the person who was helping me test hasn't replied in several months. If you are willing to help debug, I would very much appreciate it. In order to test the support, you will need to use the harmony_touch branch from MHGUI git. Also, you will need to use a patch for concordance as well - the latest version is attached. In theory, I had made some changes that have never been tested, so it might be working at this point.
When you run the git version of mhgui, you'll need to run it with the --use-local-wsdl option.
Last edit: Scott Talbert 2014-11-21
Tried both the master and the harmony_touch branch.
mhgui starts, login works, lists both 'Harmony Ultimate' and 'Harmony Ultimate Hub'.
After selecting 'Harmony Ultimate' remote, mhgui crashes with:
I needed to include 'Manufacturer' and 'Model' as members of the AutoDetectedDevice type to get mhgui to work with my Harmony Ultimate.
mhgui was barfing on an autodetected Chromecast device, which looks like:
Last edit: Ivo Clarysse 2015-04-14
Ivo, thanks for your patch. I have applied it. I think you are the first person to contribute a patch to MHGUI, so thanks. :-)
Were you actually able to sync successfully after that?
BTW, I do plan to eventually merge the devices (ie, eliminate the fact that you see both the 'Harmony Ultimate' and the 'Harmony Ultimate Hub' within MHGUI) like the official software does.
No, sync fails with
(full concordance debug output attached)
Tested on master branch.
On the harmony_touch branch, sync causes the following exception:
Note that Logitech's MyHarmony doesn't seem to support USB-based sync any more. Pressing the 'Sync' button in Logitech's desktop app triggers a message requesting the user to initiate sync from the remote. (I'm guessing the remote then uses RF to trigger the Hub to sync over TCP/IP).
Maybe the XMPP service running on the Hub, as in https://github.com/jterrace/pyharmony, can be used to trigger sync ?
Last edit: Ivo Clarysse 2015-04-14
It definitely won't work on master - all of the Harmony Touch and related work (Ultimate, Hub, etc.) has been done on harmony_touch.
That's an odd error that you're seeing on harmony_touch. Are you using concordance 1.2 (or master)?
The official software has to still support USB sync, as the Touch doesn't have any other kind of connectivity, as far as I'm aware.
I'm using concordance 1.2 / master. On the harmony_touch branch, mhgui crashes at startup with the following error on my system (MacPorts-based Python 2.7 installation on OS X 10.10.3):
After commenting the 'self.sizer_top_right.Add(..' line, mhgui does start up and I got the ctypes.ArgumentError reported earlier.
When changing the invocation of libconcord.mh_read_file(..) in MHReadFile to use ctypes.c_uint() instead of ctypes.c_int(), the Harmony Ultimate remote does indicate 'Syncing config' on its display, but mhgui crashes with:
Last edit: Ivo Clarysse 2015-04-15
Well, I just bought a Harmony Touch (I really need to stop doing that) on eBay, so I'll be able to work on this easily myself shortly.