|This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.|
On the Device Template, add the command group 'Internal Ruby Commands'. Choose 'Advanced, Devices' from the menu, and select the PC on which you want to run your device--whatever PC the external hardware is connected to. Choose 'Create child device', and add an instance of your new device template. Choose 'Wizard, Devices, Generic Serial Device' from the menu, select your device, and choose 'Edit Ruby Code'. Fill in the blanks for implementing each command, and also for how to handle incoming data, process idle messages and so on.
The documentation for how to do this with GSD is here (todo)