mhgui: Make dialog box resizable
Show throbber while loading WSDL. Add message boxes for WSDL exceptions. Fall back to local WSDL if we can't load WSDL fron Internet. (#11)
GIRR test cases
mhgui: Add GIRR Import
Fix progress gauge with Python 3.10+
Show file open dialog if congruity is opened without a provided filename (#10)
Set minimum page height in MHGUI to ensure new buttons are visible
Fix --use-local-wsdl option on Windows
Add comment to clarify frequency override
Implement support for loading Pronto Hex codes
Change max remotes from 6 to 15
Number each remote in list
Update README with latest tested versions
New release 21
Support wxPython >= 4.1.0
On logging in with Google and Facebook, yes I could probably implement that (possibly using a webview) but it may take some work. On the Edit Favorite Channels issue, yes, that's unfortunately known work that needs to be done for certain remotes: https://sourceforge.net/p/congruity/issues/37/ On version numbers, yes, I should probably do a new release with the login changes.
Also should the version number be incremented?
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)
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. Web service reported a SOAP processing fault using an unexpected HTTP status code 200. Reporting as an internal server error. Exception in thread Thread-4: 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,...
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. [code] Web service reported a SOAP processing fault using an unexpected HTTP status code 200. Reporting as an internal server error. Exception in thread Thread-4: 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,...
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...
You are awesome and fast. Yes I can login now. 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...
Handle invalid credentials and members.harmonyremote.com accounts
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. When using the official software, you're using "Login with Email" and not "Login with Google" or "Login with Facebook" right? In other words, you're using a Logitech account, not a Google or Facebook account. If you're still getting that "Not Found" error, let me know.
Update login process to match latest official software
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.
Oooh, nice, I may be able to do a MITM I'll experiment. Nice to know you have some other ways.
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.
I can take wireshark recordings of the communications if that would be helpful?
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.
It did allow me to reset my password through an email link but I am still getting the same error message.
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.
Seems if you change your password using their site you can never login this way 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?
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.
Hold on my second account is working again. Odd how do I change my password for the login? Maybe I could change my password for my primary email?
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.
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.
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.
Fix account creation on Python 3.9
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",...
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...
MHGUI version 20, Login failed. Not found
Actually, there may be some remotes for which it is possible to convert from using members.harmony to myharmony.com. The 650 might be one of those. However, I don't think MHGUI would be able to handle transitioning a remote (at least not as currently implemented). You would probably have to use the official software to transition it, after which you could probably use MHGUI.
Do any remotes work with both web sites (members.harmony AND myharmony)? Thanks for your prompt response to my question. I do think that mhGui is a great application even though it does not work with my two Harmony 650 remotes. Keep on improving the application, I am sure it is helping lots of people. John Hart On 8/30/20 23:05, Scott Talbert wrote: If your remote works with members.harmonyremote.com, then it won't work with MHGUI. It's an either-or thing. It's mainly the newer remotes that work...
If your remote works with members.harmonyremote.com, then it won't work with MHGUI. It's an either-or thing. It's mainly the newer remotes that work with MHGUI (remotes that use the myharmony.com website).
mhGui (the one for Harmony remotes not the onefor GPS)
So, it seems clear to me that the problem is in concordance (or lower in the stack). Would you be up for building a debug version of concordance?
Actually, yes you are right. The "concordance -r" does ignore the result of the reboot so given that it is waiting for ~60 seconds it does appear that it is just waiting for the maximum number of retries before giving up.
Okay, so it sounds like that's roughly Debian Stable, minus udev of course. The "concordance -r" test should actually be useful because it should be waiting for the remote to come back after rebooting. The fact that it seems to be able to talk to the remote fine is interesting. It is a little suspicious that it took ~60 seconds though.
I should have done this to begin with -- here is the error message. (I had forgotten that you can click on "Details" to reveal it.) Error connecting or finding the remote NOTE: if you recently plugged in your remote and you have a newer remote, you may need to wait a few additional seconds for your remote to be fully connected. (libconcord function update_configuration error 11) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/congruity/congruity.py", line 720, in _WorkerFunction...
I'm using Devuan, the stable or "beowulf" release. My versions of concordance and libconcordance show as 1.3-1 in the package manager. The version of hidapi-libusb is 0.8.0 and libusb is 1.0-0. The remote is a Harmony 525 . I thought the test of "concordance -r" wasn't going to tell me much, since the reboot isn't the problem, it's accessing the remote after a reboot. However, what actually happens with that command is that the remote reboots immediately, going to "Welcome to your remote" but concordance...
My first thought is that this situation should probably work, although I don't know if anyone has ever tested concordance/congruity with mdev before. What model of remote are you using? Also, what Linux distribution are you using? And can you tell me the versions of concordance/libconcord, hidapi, and libusb that you're using? Also, just to simplify the problem, can you plug in your remote and try just a reboot from concordance with "concordance -r" and see if that works or fails?
Reboot of remote changes USB address
I was talking about in your first reply where you said you ran 'concordance -i'. :P Can you also try running 'concordance -iv' several times repeatedly and see if it works sometimes and sometimes not?
Sounds like a permissions issue and that your udev rule is not working.
You didn't perhaps run 'concorcordance -i' as root, did you? Well, I didn't start concordance, but congruity, and started it as non-root. You could try running the connectivity test with the concordance binary and see what happens. For example 'concordance -v Connectivity.EZHex' If I do that non-root, I get concordance -v Connectivity.EZHex Concordance 1.4 Copyright 2007 Kevin Timmerman and Phil Dibowitz This software is distributed under the GPLv3. ERROR: Couldn't initializing libconcord: Error...
You didn't perhaps run 'concorcordance -i' as root, did you? You could try running the connectivity test with the concordance binary and see what happens. For example 'concordance -v Connectivity.EZHex'
To be sure, I entered concordance -i, which sees the remote too: Requesting identity: 100% done Model: Logitech Harmony 525 (Mocha Decaf) Firmware Version: 3.0 Hardware Version: 3.0.0 Config Flash Used: 25% (100 of 384 KiB) Success!
Cannot connect to Marmony 525
Add ButtonClientAction which is needed for Harmony 950
mhgui crasher after login(Type not found: 'a:Sub')
Thanks for the report. Should be fixed now.
Update to match latest website changes
mhgui crasher after login(Type not found: 'a:Sub')
My Harmony 350, I don't save my activity.
Yes, 18-4 is quite old.
Exactly. I'm just install Congruity 20. All is wright ! Again, thank a lot.
Does the Harmony 350 even have Activities? From looking at a picture of it, it doesn't appear to have Activities, only a Watch TV button. So, MHGUI shouldn't be allowing you to add activities, but it does?
thank a lot
OK, I'll have a look later.
I got that No handlers could be found for logger "suds.client" Unhandled exception in thread started by <bound method BackgroundTask.ThreadFunction of <__main__.BackgroundTask instance at 0x7f46b9186a70>> Traceback (most recent call last): File "/usr/bin/mhgui", line 124, in ThreadFunction result = self.backgroundFunction(*self.backgroundFunctionArgs) File "/usr/bin/mhgui", line 2322, in DoSave mhMgr.SaveActivityByTemplate(self.remote.Id, template, self.activity) File "/usr/share/congruity/mhmanager.py",...
Hello Scott Thank You. I got that : <<<no be="" exception="" thread="" for="" handlers="" started="" of="" could="" backgroundtask.threadfunction="" 0x7f46b9186a70="" method="" instance="" <bound="" "suds.client"="" at="" in="" unhandled="" found="" logger="" <__main__.backgroundtask="" by="">> Traceback (most recent call last): File "/usr/bin/mhgui", line 124, in ThreadFunction result = self.backgroundFunction(*self.backgroundFunctionArgs) File "/usr/bin/mhgui", line 2322, in DoSave mhMgr.SaveActivityByTemplate(self.remote.Id,...
Do you get a traceback when this happens? You may need to run mhgui from terminal, if you are not doing this already.
My Harmony 350, I don't save my activity.
Cool I see your code merged in. Thanks this project was a lifesaver.
Fix #68 -- add `PrioritizedDeviceCapabilityList` to XSD
suds.TypeNotFound: Type not found: 'b:PrioritizedDeviceCapabilityList'
Thanks for your MR. I didn't see it until I had already fixed it in a slightly different way.
Update to match latest website changes
see https://sourceforge.net/p/congruity/code/merge-requests/4/
Fix #68 -- add `PrioritizedDeviceCapabilityList` to XSD
suds.TypeNotFound: Type not found: 'b:PrioritizedDeviceCapabilityList'
Yes. Logitech change his website, there aren't any old account connection now. I use : Login = me@gmail.com If I try to create a new account with "me@gmail.com", I have error message "account already exist". May be I do something wrong with this new authentification protocol. But I don't understand what ?
So, you are trying to log into mhgui with a Google account, is that correct?
cannot connect (18.4)
Yes, I am talking about buttons like "TV" and "DVD", but I don't want to have more than one TV assigned to those buttons. Rather, I'd like to have my TV, Odroid C2, Roku, and DVD player assigned to each of those buttons. I've actually already assigned them to those buttons using the official Logitech MyHarmony application on my Mac, but I was really hoping to be able to do that in Congruity instead, especially because I've been experimenting with different remote "profiles" on my Harmony remote in...
Just to make sure I understand what you're requesting... You are talking about buttons like "TV" and "DVD" correct? And you want to have more than one TV assigned to a remote, and you want to be able to choose which TV the remote will send commands to when you press TV?
Save All Changes to Config VS One-by-one
MHGUI - No Way to Modify "Device Buttons"
mhgui:Login failed:sslv3 alert handshake failure
mhgui error
Closing due to no further response from reporter.
trying to make congruity work
Closing due to lack of response from reporter.
Update schema
Thanks for the report. Done.
Fixes to match latest website changes