I downloaded the latest congruity from sourceforge; I'm running Debian Stable (Jessie, 8).
Using mhgui I created a new account, added my new Harmony 650 remote and all my devices.
I tried to add activity "Watch TV."
I left alone the default values for devices to change channels and control volume, and set the correct values for the TV and Receiver input (channels).
I clicked Save Changes and got an exception. Using ./mhgui --suds-debug I get this output when clicking Save:
DEBUG:suds.transport.http:sending:
URL:https://svcs.myharmony.com/ActivityPlatform/ActivityManager.svc
HEADERS: {'SOAPAction': '"http://tempuri.org/IActivityManager/SaveActivities"', 'Content-Type': 'text/xml; charset=utf-8', 'Content-type': 'text/xml; charset=utf-8', 'Soapaction': '"http://tempuri.org/IActivityManager/SaveActivities"'}
MESSAGE:
<soap-env:envelope xmlns:ns3="http://schemas.datacontract.org/2004/07/Logitech.Harmony.Services.Common.Contracts.Data" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://tempuri.org/" xmlns:ns1="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns4="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns5="http://schemas.datacontract.org/2004/07/Logitech.Harmony.Services.DataContract.Activity" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" soap-env:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"><ns2:body><saveactivities xmlns="http://tempuri.org/"><accountid><ns3:ispersisted>true</ns3:ispersisted><ns3:value xsi:type="ns1:long">9207639</ns3:value></accountid><activities><ns5:activity><ns5:accountid><ns3:ispersisted>true</ns3:ispersisted><ns3:value xsi:type="ns1:long">9207639</ns3:value></ns5:accountid><ns5:activitygroup>VirtualGeneric</ns5:activitygroup><ns5:activityorder>0</ns5:activityorder><ns5:datecreated>0001-01-01T00:00:00</ns5:datecreated><ns5:datemodified>0001-01-01T00:00:00</ns5:datemodified><ns5:isdefault>false</ns5:isdefault><ns5:istuningdefault>false</ns5:istuningdefault><ns5:name>Watch TV</ns5:name><ns5:roles><ns5:abstractactivityrole xsi:type="ns5:DisplayActivityRole"><ns5:deviceid><ns3:ispersisted>true</ns3:ispersisted><ns3:value xsi:type="ns1:long">42226026</ns3:value></ns5:deviceid><ns5:selectedinput><ns5:name>HDMI 1/DVI</ns5:name></ns5:selectedinput></ns5:abstractactivityrole><ns5:abstractactivityrole xsi:type="ns5:ChannelChangingActivityRole"><ns5:deviceid><ns3:ispersisted>true</ns3:ispersisted><ns3:value xsi:type="ns1:long">42226038</ns3:value></ns5:deviceid></ns5:abstractactivityrole><ns5:abstractactivityrole xsi:type="ns5:VolumeActivityRole"><ns5:deviceid><ns3:ispersisted>true</ns3:ispersisted><ns3:value xsi:type="ns1:long">42226039</ns3:value></ns5:deviceid><ns5:selectedinput><ns5:name>HDMI4</ns5:name></ns5:selectedinput></ns5:abstractactivityrole></ns5:roles><ns5:state>Setup</ns5:state><ns5:type>WatchTV</ns5:type></ns5:activity></activities></saveactivities></ns2:body></soap-env:envelope>
DEBUG:suds.transport.http:received:
CODE: 200
HEADERS: {'content-length': '320', 'x-aspnet-version': '4.0.30319', 'x-powered-by': 'ASP.NET', 'server': 'nginx/1.2.4', 'connection': 'close', 'cache-control': 'private', 'date': 'Wed, 25 Jan 2017 06:46:22 GMT', 'content-type': 'text/xml; charset=utf-8'}
MESSAGE:
<s:envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:body><s:fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">Sender</faultstring><detail><guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">d16e568b-532b-4609-9cad-2d38d1b3439e</guid></detail></s:fault></s:body></s:envelope>
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(self.__args, self.__kwargs)
File "./mhgui", line 140, in ThreadFunction
result = self.backgroundFunction(self.backgroundFunctionArgs)
File "./mhgui", line 2385, in DoSave
mhMgr.SaveActivityByTemplate(self.remote.Id, template, self.activity)
File "/home/drewbenn/tmp/congruity-code-f8470db3604cb41a81ade41b7863c6c176bcda23/mhmanager.py", line 847, in SaveActivityByTemplate
return self.SaveActivity(remoteId, activity)
File "/home/drewbenn/tmp/congruity-code-f8470db3604cb41a81ade41b7863c6c176bcda23/mhmanager.py", line 856, in SaveActivity
accountId, activities)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 542, in __call
return client.invoke(args, kwargs)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 602, in invoke
result = self.send(soapenv)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 647, in send
result = self.succeeded(binding, reply.message)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 684, in succeeded
reply, result = binding.get_reply(self.method, reply)
File "/usr/lib/python2.7/dist-packages/suds/bindings/binding.py", line 151, in get_reply
self.detect_fault(soapbody)
File "/usr/lib/python2.7/dist-packages/suds/bindings/binding.py", line 182, in detect_fault
raise WebFault(p, fault)
WebFault: Server raised fault: 'Sender'
<soap-env:header><ns5:activitydisplayname xsi:nil="true"><ns5:alternatives xsi:nil="true"><ns5:baseimageuri xsi:nil="true"><ns5:defaultchannel xsi:nil="true"><ns5:defaultstation xsi:nil="true"><ns5:defaultstationname xsi:nil="true"><ns5:enteractions><ns5:icon xsi:nil="true"><ns5:id xsi:nil="true"><ns5:imagekey xsi:nil="true"><ns5:ismultizone><ns5:leaveactions><ns5:id xsi:nil="true"><ns5:powerofforder xsi:nil="true"><ns5:poweronorder xsi:nil="true"><ns5:channelnumber xsi:nil="true"><ns5:id xsi:nil="true"><ns5:id xsi:nil="true"><ns5:powerofforder xsi:nil="true"><ns5:poweronorder xsi:nil="true"><ns5:selectedinput xsi:nil="true"><ns5:id xsi:nil="true"><ns5:powerofforder xsi:nil="true"><ns5:poweronorder xsi:nil="true"><ns5:channelnumber xsi:nil="true"><ns5:id xsi:nil="true"><ns5:startscreen xsi:nil="true"><ns5:suggesteddisplay xsi:nil="true"><ns5:zones xsi:nil="true"></ns5:zones></ns5:suggesteddisplay></ns5:startscreen></ns5:id></ns5:channelnumber></ns5:poweronorder></ns5:powerofforder></ns5:id></ns5:selectedinput></ns5:poweronorder></ns5:powerofforder></ns5:id></ns5:id></ns5:channelnumber></ns5:poweronorder></ns5:powerofforder></ns5:id></ns5:leaveactions></ns5:ismultizone></ns5:imagekey></ns5:id></ns5:icon></ns5:enteractions></ns5:defaultstationname></ns5:defaultstation></ns5:defaultchannel></ns5:baseimageuri></ns5:alternatives></ns5:activitydisplayname></soap-env:header>
Should be fixed in git. Let me know if you have any further problems.
Thank you! It programmed successfully (and found me a Steve McQueen movie!).