Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-12-01 Thread Scott Talbert
Just test a sync. Scott On Mon, 1 Dec 2014, Cédric de Launois wrote: Hi Scott, Seems I forgot to test something. Could you remind me what I need to test exactly ? Cedric 2014-12-01 1:58 GMT+01:00 Scott Talbert : Hi Cedric, It has been quite a while.  Any chance you will ever hav

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-11-30 Thread Cédric de Launois
Hi Scott, Seems I forgot to test something. Could you remind me what I need to test exactly ? Cedric 2014-12-01 1:58 GMT+01:00 Scott Talbert : > Hi Cedric, > > It has been quite a while. Any chance you will ever have time to try my > latest Harmony Touch fixes? > > Sadly, I think it is getting

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-11-30 Thread Scott Talbert
Hi Cedric, It has been quite a while. Any chance you will ever have time to try my latest Harmony Touch fixes? Sadly, I think it is getting close to a year since we started working on this. :-) Scott On Fri, 25 Jul 2014, Cédric de Launois wrote: Hi Scott, Thanks again for your work. FY

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-25 Thread Scott Talbert
Yes, I saw they have a standalone application now, but I haven't tried running it yet. I've been able to find my way back into the Silverlight version for now. I'll have to figure out some way that we can use Fiddler with the standalone application. Scott On Fri, 25 Jul 2014, Cédric de Laun

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-25 Thread Cédric de Launois
Hi Scott, Thanks again for your work. FYI, since a couple of months, the logitech sw is no longer running inside a browser. It is now a standard .Net application. In order to capture the HTTP traffic using fiddler, I had to switch back to the 'online' application running within the browser. I had

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-23 Thread Scott Talbert
OK, I pushed some new fixes for Touch synching. Hopefully this may get us there? :-) I am able to match the Wireshark capture 100% except it looked like one of the requests had changed - did you change your account since the capture? Also, in the July 6 capture, there were some requests for

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-23 Thread Cédric de Launois
Great ! Regarding the language, fr-BE indeed probably comes from the IE browser that I use in my Windows VM. It is configured to use only fr-BE. FYI, there is almost no difference between fr-FR and fr-BE. Using the logitech account language is probably the right choice. I'll never notice the differ

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-22 Thread Scott Talbert
Thanks! I did make some progress last night thanks to your Fiddler capture. It turns out the web server was wanting me to set a language header, so I am able to get a response for that request now. I just need to figure out where to get the language from. It looks like your Logitech account

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-22 Thread Cédric de Launois
Scott, A hint for you : I received two protocol violations warnings from fiddler. Unfortunately I didn't check at that time what happened exactly. I remember however it was related to request #178 (in my trace) and another one nearby. I guess the logitech software was making an HTTP GET with a bod

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-21 Thread Scott Talbert
Received, thanks! I'll run it through my analysis process as soon as possible. On Mon, 21 Jul 2014, Cédric de Launois wrote: New fiddler & usb captures sent ;-) 2014-07-21 21:50 GMT+02:00 Scott Talbert : I hate to say it, but yeah, probably best if you remove everything and re-ad

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-21 Thread Cédric de Launois
New fiddler & usb captures sent ;-) 2014-07-21 21:50 GMT+02:00 Scott Talbert : > I hate to say it, but yeah, probably best if you remove everything and > re-add it. Either that, or be prepared for me to come back and as for > another capture when I can't find a problem with just the partial upd

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-21 Thread Scott Talbert
I hate to say it, but yeah, probably best if you remove everything and re-add it. Either that, or be prepared for me to come back and as for another capture when I can't find a problem with just the partial update. :-) On Mon, 21 Jul 2014, Cédric de Launois wrote: > I was hoping that I coul

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-21 Thread Cédric de Launois
> I was hoping that I could use a Smart Control to debug the sync process (would be way easier to have the hardware on hand), but unfortunately it does not do the sync over USB like the Touch does. Yeah, I read that ;-) For the Fiddler capture, do I still need to remove all my devices/activities,

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-21 Thread Scott Talbert
Hi Cedric, Well, I did find some more issues with the time zone handling that I was doing - the existing implementation did not handle DST correctly. However, I kind of doubt this was causing the sync operation to fail. After resolving that, I was able to get the MHGUI sync to match the offi

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-07-21 Thread Cédric de Launois
Any news about my latest capture ? Is there anything I can do ? -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the s

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-05-06 Thread Scott Talbert
OK - thanks for testing the SetTime. I added that to the sync process. Whenever you have time to try a sync again, be sure to pull fresh congruity as I had to make some more fixes for Logitech changes yesterday. On Mon, 5 May 2014, Cédric de Launois wrote: > The time was set correctly on the

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-05-04 Thread Scott Talbert
The time was set correctly on the remote, as displayed on the screen of the remote? (I am just making sure you're not passing this based on what concordance printed out.) Yes, I think we tried previously to get the "get time" function working and it didn't seem to work. Also, let me know if

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-05-03 Thread Cédric de Launois
Hi Scott, Here is the result of the concordance -K : Setting time: 100% done Remote time has been set to 2014/05/03 Sat 18:35:02 +0 Success! Time is correctly set on the remote. Well done ! Note that a concordance -k (to get the time) does not work : Remote time is /00/0

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-05-02 Thread Scott Talbert
No problem. I was also making sure the mailing list still works. It's been awfully quiet lately. :-) On Fri, 2 May 2014, Cédric de Launois wrote: Hi Scott, No, won't give up so early ;-) Just lack of free time. I managed to successfully compile the code with your patch. Dunno what I misse

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-05-02 Thread Cédric de Launois
Hi Scott, No, won't give up so early ;-) Just lack of free time. I managed to successfully compile the code with your patch. Dunno what I missed last time. Will try to test it this evening. Cedric 2014-05-01 22:57 GMT+02:00 Scott Talbert : > Did you give up? > > > On Tue, 1 Apr 2014, Scott Ta

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-05-01 Thread Scott Talbert
Did you give up? On Tue, 1 Apr 2014, Scott Talbert wrote: I just checked out a fresh copy from git, applied the patch, and it compiled fine. So, it looks like your source tree might have gotten out of whack somehow. I'd suggest just checking out a fresh copy? Scott On Tue, 1 Apr 2014, Céd

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-04-01 Thread Scott Talbert
I just checked out a fresh copy from git, applied the patch, and it compiled fine. So, it looks like your source tree might have gotten out of whack somehow. I'd suggest just checking out a fresh copy? Scott On Tue, 1 Apr 2014, Cédric de Launois wrote: Hi Scott, I get compile errors after

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-04-01 Thread Cédric de Launois
Hi Scott, I get compile errors after applying your patch : gcc -DHAVE_CONFIG_H -I.-Wall -ansi -pedantic-errors -g -O2 -MT concordance-concordance.o -MD -MP -MF .deps/concordance-concordance.Tpo -c -o concordance-concordance.o `test -f 'concordance.c' || echo './'`concordance.c concordance.c: I

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-31 Thread Scott Talbert
Hi Cedric, Some other news - I think I finally reverse engineered the format that the Touch uses for setting the time. I've got a new patch for concordance (attached) that hopefully implements the time setting properly. If you can also test this when you get a chance, that would be much appr

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-31 Thread Cédric de Launois
Great. I'll take a look. Regarding the complete sync failure last time, I agree it is certainly not related to your latest changes. It may be related to the firmware upgrade that logitech forced during the last config sync. Hope my remote won't crash every next failed sync ;-) Thx again, Cedric

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-23 Thread Scott Talbert
Did you do a fresh git pull? I thought I fixed that error a few days ago. On March 23, 2014 5:07:29 PM EDT, "Cédric de Launois" wrote: >Hi Scott, > >I got an error at login, using mhgui. >See attached log. > >Regards, >Cédric > > >2014-03-20 14:27 GMT+01:00 Cédric de Launois >: > >> Hi Scott, >

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-23 Thread Cédric de Launois
Hi Scott, I got an error at login, using mhgui. See attached log. Regards, Cédric 2014-03-20 14:27 GMT+01:00 Cédric de Launois : > Hi Scott, > > Thanks. I'll test the changes. I hope to do that this WE... > > Cedric > > > 2014-03-20 14:13 GMT+01:00 Scott Talbert : > >> Cedric, >> >> Logitech m

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-20 Thread Cédric de Launois
Hi Scott, Thanks. I'll test the changes. I hope to do that this WE... Cedric 2014-03-20 14:13 GMT+01:00 Scott Talbert : > Cedric, > > Logitech made some more changes to the web service recently, so I had to > push some fixes yesterday. Make sure to do another git pull before you run > any mor

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-20 Thread Scott Talbert
Cedric, Logitech made some more changes to the web service recently, so I had to push some fixes yesterday. Make sure to do another git pull before you run any more tests. Thanks, Scott On Mon, 10 Mar 2014, Cédric de Launois wrote: Hi Scott, I'm using Ubuntu 12.04 LTS, with LANGUAGE=en,

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-10 Thread Scott Talbert
OK. That would probably explain why the config appeared smaller when I was looking at it yesterday. :-) On Mon, 10 Mar 2014, Cédric de Launois wrote: Oups, sorry. Yes, after the try, I removed the device and activity I added. 2014-03-10 16:23 GMT+01:00 Scott Talbert : No, I mean - d

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-10 Thread Cédric de Launois
Oups, sorry. Yes, after the try, I removed the device and activity I added. 2014-03-10 16:23 GMT+01:00 Scott Talbert : > No, I mean - did you make any changes *after* those changes? > > > On Mon, 10 Mar 2014, Cédric de Launois wrote: > > Yes, I made various changes, as written in my mail : I a

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-10 Thread Scott Talbert
No, I mean - did you make any changes *after* those changes? On Mon, 10 Mar 2014, Cédric de Launois wrote: Yes, I made various changes, as written in my mail : I added a device, created an activity, added a preferred channel, and changed the background. 2014-03-10 14:14 GMT+01:00 Scott Talber

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-10 Thread Cédric de Launois
Yes, I made various changes, as written in my mail : I added a device, created an activity, added a preferred channel, and changed the background. 2014-03-10 14:14 GMT+01:00 Scott Talbert : > OK, that's a pretty standard setup. :-) > > BTW, did you make changes to the config (on the website) si

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-10 Thread Scott Talbert
OK, that's a pretty standard setup. :-) BTW, did you make changes to the config (on the website) since you made the last set of captures? Scott On Mon, 10 Mar 2014, Cédric de Launois wrote: Hi Scott, I'm using Ubuntu 12.04 LTS, with LANGUAGE=en, LANG=en_US.UTF-8, LC_TIME=en_GB.UTF-8, Pyth

Re: [concordance-devel] Reverse engineering the Harmony Touch

2014-03-10 Thread Cédric de Launois
Hi Scott, I'm using Ubuntu 12.04 LTS, with LANGUAGE=en, LANG=en_US.UTF-8, LC_TIME=en_GB.UTF-8, Python 2.7.3. I'll try to find some time this week to re-run your test. Thanks, Cedric -- Learn Graph Databases - Download FR

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-16 Thread Scott Talbert
OK, here's a new patch to try. This might hopefully fix the issue with being able to do repeated GetIdentity calls. I am skipping the read of the /cfg/usercfg which seems to be where things start to go wrong. I also pushed a fix for mhgui for the traceback you were getting (but not that it w

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-13 Thread Scott Talbert
Hi Cedric, Thanks for trying the patches. It looks like the GetIdentity is still not quite right even though it reports success on the first try. The remote is not happy with us at the point when it sends: ff 01 ff 01 01 0b That's not the response I'm expecting, so the remote is confused at

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-13 Thread Cédric de Launois
Hi Scott, The result is quite encouraging. Regarding libconcord, the GetIdentity seems to work : DEBUG (FindRemote): bNumEndpoints 2 DEBUG (check_ep): address 81 attrib 03 max_length 64 DEBUG (check_ep): address 02 attrib 03 max_length 64 DEBUG (GetIdentity): msg_two DEBUG (debug_print_packet):

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-12 Thread Cédric de Launois
I'll try your patch and let you know. Thanks a lot already ! 2013/12/12 Scott Talbert > OK, so I looked more at the serial number thing. As best I can tell, the > Touch uses a completely different serial number than any other remote that > we support (thanks, Logitech!). I queried the MH API

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Scott Talbert
OK, so I looked more at the serial number thing. As best I can tell, the Touch uses a completely different serial number than any other remote that we support (thanks, Logitech!). I queried the MH API for the serial number in your trace, and sure enough, it comes back as valid. So, it looks

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Scott Talbert
OK, I also pushed a fix to MHGUI to fix that traceback below about the ProductSetting not being found. Now, we're still going to have an issue with MHGUI adding the Touch to an account, because doing that requires a serial number. I'll have to think about that some more. On Wed, 11 Dec 2013

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Scott Talbert
OK, can you download the latest source from Concordance git and try the attached patch? I looked at your other changes, and I think I've already addressed those things, so hopefully this should work (at least be able to perform GetIdentity reliably). One thing I noticed...the Touch doesn't se

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Scott Talbert
Yeah, I see a couple of different problems in the logs below. :) I guess let's sort out the problems with Concordance first. Let me take a stab at that first. Scott On Wed, 11 Dec 2013, Cédric de Launois wrote: I tried mhgui, It seems that 2nd calls to GetIdentity always fail (even outsid

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Cédric de Launois
I tried mhgui, It seems that 2nd calls to GetIdentity always fail (even outside mhgui). Instead of getting the following response : DEBUG (debug_print_packet): ff 04 84 02 01 00 01 05 00 00 00 00 00 00 00 00 I get this one : DEBUG (debug_print_packet): ff 04 ff 01 01 04 00 00 00 00 00 00 00 00 00

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Cédric de Launois
ha ok, thanks, missed out this one. Will give it a try. 2013/12/11 Scott Talbert > Yes - for that we created MHGUI, an alternative front end to the > myharmony.com web service. > > It is packaged as part of the Congruity project: > http://sourceforge.net/projects/congruity/ > > It hasn't ever b

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Scott Talbert
Yes - for that we created MHGUI, an alternative front end to the myharmony.com web service. It is packaged as part of the Congruity project: http://sourceforge.net/projects/congruity/ It hasn't ever been used before with the Touch or Ultimate, but it should probably be close. You will definit

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Cédric de Launois
BTW, there is a big problem with Harmony Touch and Harmony Ultimate : the website is different and requires silverlight + a Logitech plugin. There is no way to bypass this check on a Linux host, and thus I can't download any config file. I wonder thus if concordance could be of any help for these

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Cédric de Launois
Hi Scott, I digged a bit since this morning, and actually achieved to get the identity : in libconcord.cpp : by modifying the CRemoteMH::GetIdentity like this : const uint8_t msg_one[MH_MAX_PACKET_SIZE] = { 0xFF, 0x00, 0x00, 0x01, 0x01 }; const uint8_t msg_two[MH_MAX_PACKET_SIZE]

Re: [concordance-devel] Reverse engineering the Harmony Touch

2013-12-11 Thread Scott Talbert
On Wed, 11 Dec 2013, Cédric de Launois wrote: Hi there, Is there any plan to support the new Harmony Touch ? I tried to connect using concordance -i but it fails. Yes, of course we plan to support it, but no one had (yet) stopped by who owns one. I also have a dump of the USB traffic betw