Having set up a Global Caché itach IP to IR device recently, I thought a few notes may useful. Here’s the itach device:
Started by installing the GC100 plugin, which works well with the IP2IR. It started to get tricky when it became time to record a few IR commands using iLearn. The itach tutorial is not particularly clear but eventually a few codes were learnt that looked like they may work.
http://www.globalcache.com/support/ilearntutorial/
Much time was spent reading through this thread, which discusses how IR command codes can be integrated into Vera:
http://forum.micasaverde.com/index.php/topic,10886.0.html
These files were used as templates - they’re U14 but appear to work on U15:
I_SkyHDDVR1.xml
D_SkyHDDVR1.xml
Edit: Use the Yamaha or Daikin files posted further below.
Nothing worked till I determined the magic steps to produce a viable device from these files - the steps are reproduced below. The trick is that everything has to be reloaded multiple times before Vera is ready to use the IR command files. If those files aren’t right you can waste a lot of time working out where the problem resides.
Maybe I missed something and my whole approach is wrong. Regardless, happy to hear any criticisms, shortcuts or alternatives.
Installing an IR device:
Using U15 and firmware version: 1.5.408
-
Upload your “D_xyz.xml” and “I_xyz.xml” containing your Device description and IR codes - some users may also decide to use their own “S_xyz.xml” file.
-
Start with U15–>APPS–>Develop Apps–>Create device:
Insert file name “D_xyz.xml” into “Upnp Device Filename” entry box
Click “Create Device” button.
There are no checks on what the file contains or what entry field you used. So it’s fairly easy to accidentally use the wrong field ie “Upnp Implementation Filename”.
- Go to the “Devices” tab. The created device is shown as a blank untitled device. Operate the spanner icon.
Look at the Settings tab: note that there is no mention of “Infrared transmitter”.
Look at the Advanced Tab: the device_type field says “generic_device” and there is no mention of a field called “IODevice”.
It appears that at this point the “D_xyz.xml” file has not yet been read.
- Operate the main “Reload” button at top right of screen - wait till it’s done.
The device you created is now titled whatever you called it in the tag in the “D_xyz.xml” file.
Look at the “Settings” tab: there is no mention of “Infrared transmitter”.
Look at the “Advanced” tab: the “device_type” field is now loaded with “urn:schemas-micasaverde-com:device:ABC:1” and there is no mention of a field called “IODevice”.
It appears that the last Reload resulted in the “D_xyz.xml” file being read.
Note that the ABC in “urn:schemas-micasaverde-com:device:ABC:1” should be taken from this list - “IrDevice” is a useful generic value:
http://wiki.micasaverde.com/index.php/Luup_UPNP_Files#IR_Device_Types
- Operate the main “Reload” button at top right of screen - wait till it’s done.
The “Settings” tab now has a pull down list allowing you to select the “Infrared transmitter”
Look at the “Advanced” tab: There is still no mention of a field called “IODevice”.
Now that the “D_xyz.xml” file has been read, the software has now determined the device will make use of infrared I/O.
- Select your infrared I/O device from the pull down list and save using the red Save button at top right of screen. Look at the device’s Advanced Tab: There is now a field called “IODevice”.
At this point you are ready to go!!
You can now find your device in this list:
http://VERAs_IP_address:3480/data_request?id=lu_invoke
Click on the links for your IR codes to test them. Note that digital cameras can see infrared, so you can look at your IR emitter via the camera’s LCD screen in order to determine if your emitter is in fact radiating infrared commands.
Note that deleting a device does not update this URL:
http://VERAs_IP_address:3480/data_request?id=lu_invoke
You need to “Reload” to update the page.
During the set up procedure above, the above link will refer to your device but will not work correctly till the whole procedure has been completed up to step 6 above.
If you discover your “D_xyz.xml” file contains errors, you may need to delete your device and recreate it right from the beginning to ensure any changes to the “D_xyz.xml” file are read.
If you see “no implementation” errors, have a look at the linkage from the “D_xyz.xml” file to the “I_xyz.xml” file and check that the internals of the “I_xyz.xml” file are correct.
Some of the generic command naming as found in the following work well:
S_DiscretePower1.xml
S_TogglePower1.xml
S_Volume1.xml
However if you don’t like the generic lists of remote control buttons provided as per these examples:
S_InputSelection1.xml
S_Misc1.xml
S_Misc1.xml
Then you can make your own “S_xyz.xml” file to suit your command set; ensuring that “D_xyz.xml” links to “S_xyz.xml” and that in turn links to "I_xyz.xml