Thanks, it helped quite a bit.
Can you tell me how can I determine the name of the input and output parameters of a command?
The "View Parameters" button of a command makes it easy to see the parameters, but it does not show what their name in the ruby scripting would be.
(I thought that it is always the parameter name in lower case, but what would be the name of the "On/Off" parameter of the "Set Fan" command of the thermostat then? I'm pretty sure the slash is a special character in ruby

)
I was attempting to experiment to find out, but apparently the device isn't registering:
01 04/01/10 22:12:19.186 Climate_Plugin: COMMAND_Set_Fan_CONST ! <0x75947b90>
08 04/01/10 22:12:19.187 Received Message from 0 (unknown / ) to 75 (Proliphix NT series thermostat / Living Room), type 1 id 279 Command:Set Fan, retry none, parameters: <0x75947b90>
08 04/01/10 22:12:19.187 Parameter 8(On/Off): 1 <0x75947b90>
05 04/01/10 22:12:19.196 The target device 75 (routed to 75) has not registered. <0xb6d33b90>
05 04/01/10 22:12:19.237 Socket::ReceiveData 0x94e96b0 failed, bytes left 0 start: 1010000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 151 Incoming_Conn Socket 151 127.0.0.1 <0x75947b90>
05 04/01/10 22:12:19.237 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 151 127.0.0.1 <0x75947b90>
05 04/01/10 22:12:19.237 TCPIP: Closing connection to -1003 (Router Dev #0) 0x94e96b0 m_Socket: -1 <0x75947b90>
05 04/01/10 22:12:19.237 Router::RemoveAndDeleteSocket 0x94e96b0 -1003 <0x75947b90>
I found on the forum that a reboot of the core might help (
http://forum.linuxmce.org/index.php?topic=8746.0), but after a reboot there are still not processes containing "Generic_Serial_Device" (as per
http://wiki.linuxmce.org/index.php/How_to_add_your_own_GSD_device). Is there something more I need to do to make the device register?
There's probably an error in a log somewhere describing what went wrong, but I can't find any mention of the device in the Spawn_Device.log or the DCErouter.log (until the above error that is), and I don't know where else to look. Any directions would be appreciated.
The auto-detection seems to work perfectly though. I filled in the appropriate data in the template and the thermostat was detected and added automatically.
Anyway, it's getting late. I'll take another look at it tomorrow.