Here I come in 5 years latter. I have been staying over at their place for the last week while my grandpa is recovering from surgery. I thought I would take a crack at the system. If you don't know, while you can download the Intelfile3 from the Niles website, you cannot use it as it says "You are not authorized". You have to have this IR capture device that dealers have to get passed that annoyance. What they do have is the firmware images for the IR Capture Station in that download from Intelfile3. After a bit of reverse engineering I found its off an older LPC2300 arm chip. Since the software looks for a comport, I figured its using one of those USB-to-Serial adapters. It also looks like when the capture station receives an escape (27) it immediately does some reset stuff and sends this string.
"# Bam IR Capture Unit 0.36 15Apr06\r\n"
I plugged in one of those duel USB serial port adapters I had around, connected them with a loop back adapter and fed a simple program that every time it received an escape, it would send that string.
EUREKA! I am now able to configure both the HT-MSU as well as the the GX2's. It just gets though the software part and doesn't help you if you need to have it learn a new remote, but at least you can update the firmware and change some devices around. I plan to build a Arduino device try to mimic it.
All in all, all this Niles stuff looks really hack-able. The Display wall panels run an ATMEGA128 with a DM9000 ethernet controler and 32k of static ram. I haven't popped open the Display's yet but might do it in the morning.
I'm going to try your hack. What terminal program did you use to send the strings?
I used a program called "TeraTerm" Its a dead simple terminal program. I then hooked up two usb serial adapters together with a null modem adapter. Set TeraTerm on one port and tell Intelfile3 to use the other. I then ran a simple script. I don't have it handy but here is what I think I remember it as.
if result=1 goto ok
send '# Bam IR Capture Unit 0.36 15Apr06'#13#10
It sends the escape character somewhat randomly so you kind of need a script. But its enough for you to change the configs. After digging in the DLL it looks like the IR capture protocol is somewhat simple and could possibly be made from arduino, but to be honest I just wanted a way to add a new panel so I haven't gone that far yet.
Ok, so I had a chance to try it today and this is what I did to make it work... (A little spelled out because I was guessing at a lot and figure many of you maybe as well)
Bought a loop back serial adapter on ebay. (could have made one simple enough with some research)
Downloaded TerraTerm (http://en.sourceforge.jp/projects/ttssh2/releases/)
Downloaded free trial of a serial port splitter (http://www.fabulatech.com/serial-port-splitter.html)
Split the serial port that the loop back adapter was connected to into 2 virtual ports. Had TerraTerm use 1 and Niles use the other.
I made a text file and put the following in the body.
sendln '# Bam IR Capture Unit 0.36 15Apr06'#13#10
I edited this from what WarlockD did above because I kept getting errors with his script. I was hoping that the Niles didn't care if it kept getting the string so I tried it.
Then I changed the .txt file to a .ttl file.
Opened ttermpro.exe and clicked Control then Macro and opened the file. When the script is running, it just keeps sending the signal until you hit pause or end.
Then I opened Niles and tried to do the programming again and bingo!
WD and KK - You rule!!!
One quick improvement; instead of buying/installing serial com ports and looping them, I've installed com0com Null-modem emulator, which created two virtual com ports., rest per Kevin's description.
Thanks for sharing
This allowed you to program the system? I'm trying to buy a used unit
I was able to set this up with the combination of the attached script file detailed above (the short version) along with com0com to configure two fake ports and TeraTerm to fire off the macro script. After that, IntelliFile 3 worked without issue.
Thank you all again. This saved me time and money! And shame on you Niles for A - making your dealers buy an expensive box and B - preventing anyone else from programming something they purchased from you with money! I get it, it's good for your relationship with dealers but what about when I just need to change one little source? I have to get you dealer out to my house? What if they live 500 miles away? Terrible.
If I could get a walk through that would help a lot.
I have a used GXR2, 1 standard audio in module, 1 net interface card, 1 HD tuner, and 1 basic single gang zone controller on the way for like ~$300 with shipping so I have a few questions:
1. I bought the cheapest single gang controller to control one zone. In the end i'll buy the iRemote to control all zones. Does each zone need a controller for it to work? For example, could a single RCA input module, an iRemote, and 6 zones / 12 speakers be enough to control a single sound source to all 6 zones?
2. How do you configure the GXR2? Reading PDFs from Niles it appears it wanted a USB dongle (and shown from here it was just a USB to serial with a character escape to challenge answer dongle), but how do i talk to the GXR2? From the PDFs I connect an Ethernet cable from my NIC to the expansion port to talk to it. Does it need to be crossover or just straight through? What OS works best with the old Niles IntelliFile3 software?
3. The best setup would be getting the iRemote TS. When you say you can't teach it new IR codes, does that include the theater mode on the iRemote TS?
4. Niles has labels saying it must be 568A terminated. 568B is still the same on both ends. Does it really matter? I can follow 568A for this equipment since its 1 to 1 direct, just curious with field experience.
Again, thank you!
2) simply go from your computer Ethernet port to the gxr2 expansion port. Normal Ethernet cable direct. I use Windows XP.
3) you can set up theater mode (I have not, mine is driving six zones in the house only). You have access to all the program functions. The IR codes for many components are included with the Niles Intellifile3 download, but it is old and not updated in a long time. As such newer components are not in the library. With the factory IR connection box you can teach it new codes but not with the method described here.
4) I only have used standard pre-made Ethernet on this system but yes it would matter.
Make sure you update the bios on all your hardware before embarking on your setup. Most of my insert cards were out of date. The intellifile3 software will do this for you.
I hope this helps. If you need a walk through it may be possible with time.
I haven't messed with IR at all. What are some of the capabilities there? For example one of my zones is preamp out to a home theater. Right now, I manually change inputs on the receiver from TV to CD when I want to listen to a GXR2 source.
I m using IntelliFile 3 Build 143, Firmware Update 188.8.131.52
Following the instructions above longer get the "Unauthorized" message. I can the configurations, etc. but I get a FAIL message when trying to load the firmware update.
UPDATING Contact [.....]
Verifying bin file...PASS
Transferring Program ... FAIL
RETRY load program ... FAIL
RETRY load program ... FAIL
Then it tries the next contact and fails again.
Has any one experienced this and found a solution?
In the frustration of the failures to update the firmware, I made a mistake and on the transfer data window, I clicked to transfer data to the device. The data was empty. The GRX2 stopped working. All the screens went black. I turned it off, waited 1 min, turned it back on. Nothing. Tried again, the same. Pretty scary. When trying to use the software to connect, I would get a msg saying that no Master device was found, that perhaps there was a problem with the connection setup and to try to upgrade the firmware using the Upgrade Firmware program from the Niles ICS directory.
There are 2 executables there. Tried both and they failed to connect to the device. But then I saw a readme file. I read it and it says to kill your WiFi and to turn off the firewall of the system. There were no comments on this on the forum so I had not done it. I had kept the Terraterm macro running and I run IntelliFile3 from my desktop (not the executable in the ICS directory) and clicked the Optimization button to reestablish communication with my system. This time I left it open and run the Update Firmware executable in the ICS directory. It opened without complaints and, alas, the upgrade started and completed without any problems. In a few minutes, the main system and all the screens and components were updated to the latest firmware. The system came back to life and so did I.
Great job to the guys that figured out the hack.
Hope this helps someone.
Is it about not knowing what to buy / use?
Or the challenge in reverse engineering the Niles system?
I somewhat understand if the system is already in place like the OP, but I don't understand buying a used system on eBay and going through all of this.
BTW, I would just replace the Niles system and move on.
IMHO, there is no "deal" when you factor in the effort, time and result. Unless it's a hobby. But then again...the same hobby applies to the more modern replacements.
While we?re on the subject though - aside from wireless systems like Sonos, are there any systems that work well with existing speakers and ethernet for control? What would you recommend to replace the Niles entirely when the receiver kicks out?
Before I start on this want to make sure I understood above. If I use com0com I do not need to buy a serial connector and can make this work through just a Cat5 cable from my PC to the GXR2 unit?
I also bought on eBay a iRemote and connected it via Cat to the GXR2 (I only have one unit so I assume I am using it as the master remote). Once IntelliFile3 is setup, will it help setup my iRemote to use with my system?
Anyone up for giving this newbie a bit more of a detailed step by step walk through of the process?
As for a walk through, here is what worked for me. I did it originally a few months ago, and again this morning, so the very early prep/configure stuff may not be 100% captured below.
- Download/Install IntelliFile
- Download/Install TeraTerm
- Download/Install com0com
- Find a standard ethernet cable
Edit Text File to have these contents:
:goober sendln '# Bam IR Capture Unit 0.36 15Apr06'#13#10 goto goober
rename file so it has a ".ttl" extension. Note that my code above is a copy of another post above.
- Disable WiFi
- Connect Computer to GRX2 Expansion Port via Ethernet cable. Wait "a bit" (30 seconds?) for computer to get a new DHCP address from the GRX2. You can verify with 'ipconfig' and the CMD prompt - you should see a 10.x.x.x IP address.
- Start com0com
- Start TeraTerm, choose one of the COM ports (COM4 in my case) shown in com0com, pick Control from the Menu, then Macro, then choose the .ttl file you created earlier
- Launch IntelliFile
I was able to do this and see my new IM-NET from ebay. I had already updated all other firmware and it seems my IM-NET already had the latest. So far, I have Internet Radio running but it doesn't like authentication to Pandora. Maybe I need a 'paid' account there. :shrug:
P.S. I get that this isn't the way to go if you are starting from scratch - in my case, I've had this system for 10 years now and can't get excited about ripping it out and starting over.