Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Philips Pronto IR codes from XCF files
Pronto has been a popular remote control solution for hobbyists and pro installers for a long time, making a lot of existing IR codes available in their "CCF" format.
Over the years, the Pronto tools have evolved, supporting different file formats : CCF, PCF and XCF. OpenRemote only supports the later.
For older file formats, please use ProntoEdit Professional (available on RemoteCentral) to convert.
The current version of the importer can generate commands for sending IR codes using either a GlobalCaché or IRTrans device.
When in Building Modeler mode, select an existing device that will contain the IR codes, select 'New', then 'import IR Commands from file'.
In the "Import IR Command from file" window, click "Browse...", select an XCF file.
Click "Load", a message indicating file is being uploaded and processed is displayed. Depending on the file size and internet connection speed, this operation can take a while.
IR codes in an XCF files are organized per CodeSet, a CodeSet belonging to a Device, a Device having a Brand. When the file is loaded, a dropdown box asking you to select the Brand is displayed, listing all the brands found in the uploaded file.
Once a Brand is selected, the Device dropdown refreshes and lists all the devices for that Brand. Once a Device is selected, the CodeSet dropdown refreshes and lists all the codesets for that Device. And once a CodeSet is selected, the table below refreshes and lists all IR codes contained in this CodeSet.
Note that some codes (mainly coming from the Pronto database bundled with ProntoEdit) are in an encrypted format and cannot be converted by OR.
Select the codes to bring over to OpenRemote and click "Next". The "New Command" window is displayed. Select the type of device that will be used to send the IR codes: GlobalCaché or IRTrans.
For GlobalCaché, provide the IP address of the device, the TCP port to use for communication (default value is OK unless you changed your GC configuration) and the GC address of the IR port (default is the first port on a GC-100-12 device).
For IRTrans, provide the IP address of the device the UDP port to use for communication (default value is OK unless you changed your IRTrans configuration) and select which IR LEDs to use to send the signal (unless an external IR blaster is connected on the IRTrans jack, leave the default "Internal" value selected).
Once all settings have been entered, click "Submit". The Designer will generate all appropriate commands to send the IR codes with the given device.
Looking at a generated command shows that for GlobalCaché, a standard TCP command is used, as for IRTrans, a UDP command is used. Although generated commands can be edited as any other command, there should generally be very few valid reasons to do so.