I have an account on myharmony.com
I can login to the website with my email address and a password I had set.
however when trying to use my email address as the Username in mhgui and the password that I use to login to the website
I get the error dialog with the titlebar "Login Failed" with the message "Login Failed. Not Found"
If I run in debug
mhgui -d
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/harmony.wsdl)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/data.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/discovery.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/search_match.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/operation.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/dm_operation.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/account.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/button_mapping.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/ir_data.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/arrays.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/am_data.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/activity.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/user_feature.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/product.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/dm_data.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/user_button_mapping.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/serialization.xsd)
The gui is started and I attempt to login
No extra output.
Interesting behaviors. I thought maybe it wants my sourceforge login? So I tried my sourceforge credentials (Same email address as I use for myharmony with a different password) and I get the following error message "You appear to have used a members.harmonyremote.com account. Please create a myharmony.com account or login with an existing one."
I though well maybe if I type in a bogus password I will get a message like one of the other cases either a "Login Failed. Not Found" or that message again but it results in an expected third message "Login failed. Username or password incorrect." So now I am all confused.
I decided to try the create account and the following is displayed on the command prompt
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib64/python3.9/threading.py", line 950, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.9/threading.py", line 888, in run
self._target(self._args, self._kwargs)
File "/usr/local/lib/python3.9/site-packages/congruity/mhgui.py", line 144, in ThreadFunction
result = self.backgroundFunction(self.backgroundFunctionArgs)
File "/usr/local/lib/python3.9/site-packages/congruity/mhgui.py", line 1120, in LoadData
self.countryLists = mhMgr.GetCountryLists()
File "/usr/local/lib/python3.9/site-packages/congruity/mhmanager.py", line 580, in GetCountryLists
parser.feed(parser.unescape(data))
AttributeError: 'CountryListHTMLParser' object has no attribute 'unescape'
Okay, so I'm not sure why you're having trouble logging in. I'm able to log in fine. Are you sure you have a myharmony.com account?
I was able to reproduce the issue with creating a new account - it turns out that is an issue with Python 3.9+. I fixed it in git. If you want, you can pull the latest code from git or patch your local copy with the change I made. Then you should be able to try creating a new account.
If you're definitely sure that you have a valid myharmony.com username and password (and can log in using the official software), then there may be some case that I'm not handling. Let me know.
I was able to create an account with my second email and started setting it up. Then when I closed it I could not login again. I went to the logitech site to change my password and I get the "Login Failed. Not Found" message again.
Hold on my second account is working again. Odd how do I change my password (without knowing it send to email or something) for the login? Maybe I could change my password for my primary email?
Last edit: jeff.sadowski 2020-12-12
Hmm seem not to be able to edit buttons in mhgui. For the Xbox One they defaultly set exit key to something other than back which is irritating.
Seems if you change your password using their site you can never login this way again. :-(
How I messed up my login:
I went to https://www.myharmony.com/en-us/
then I selected "products"
Took me to https://www.logitech.com/en-us/my-account.html
selected "my account"
Login
I used google autheticator and I think that screwed up my account.
It did allow me to reset my password through an email link but I am still getting the same error message.
Okay, I will try to reproduce the problem by using the official software. Also, I noticed that the official software seems to be using a different method for logging in now. I will try to convert mhgui over to use that. Probably won't be able to look into this until Sunday or Monday though.
I can take wireshark recordings of the communications if that would be helpful?
Wireshark won't help as the communications will be encrypted. Unless there is a way to inject your own root certificate and MITM yourself with Wireshark? But I have a way to do it using Fiddler. I was able to capture the new communications. I just need to find some time to work on it more. Maybe tonight.
Oooh, nice, I may be able to do a MITM I'll experiment. Nice to know you have some other ways.
If it uses the system root certificate setup like "it should" I can add my own certificate server and setup a replicated inside site to sniff what is going on.
Okay, I've updated mhgui's login process to match the latest official software. Please pull the latest from git and give it a try.
If it still doesn't work, I have some additional ideas/questions.
With the Official I could login any of those ways Login with email and a password or use google authentication or use facebook authentication all 3 seem to bring up the same account.
You took care of the "Not Found" error. Curious if you could have setup mhgui to launch a page login via xdg-open
You are awesome and fast. Yes I can login now with my primary account. I configured the buttons on the device. A bit different because in the logitech interface I could configure buttons per the activity. I will try it out when I get home and can plug into the remote. I like it better programming buttons for the device if it works because I have two activities for my xbox one with the tv volume the other with my receiver volume and in Logitech's interface I had to program them separately in the activities or maybe I could have programmed it on the device I don't know I will try some things when I get home.
Last edit: jeff.sadowski 2020-12-16
Looks like you missed a update similar to the first one. When I click on edit favorites on any of the devices I get the following command line errors.
Last edit: jeff.sadowski 2020-12-17
Wrote device and it works perfect. I can even press device and xbox and the exit button works as I desire as a back button. (was the change I made)
Also should the version number be incremented?