Thom in IRC told me to look at source code in
http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/ZWaveFrom IRC:
"(00:16:48) merkur2k: valentt1: i would dig around in the template for the zwave devices. probably need to create a new template for this switch
(00:18:50) ***possy thinks, programming is needed
(00:27:26) TSCHAKeee: valentt1: DCE is an abstracted messaging system. As such, we try to provide commands common to more than one interface.. Off, On, Set Level, etc..
(00:28:12) TSCHAKeee: valentt1: digging down and providing commands to set individual bytes would only solve problems in the short term...
(00:28:31) TSCHAKeee: valentt1: we try to think of commands in terms of what needs to be accomplished from a user perspective.
(00:29:51) TSCHAKeee: so all the low level bit banging happens inside the ZWave code, and is abstracted from the outside
TSCHAK TSCHAKeee
(00:33:34) valentt1: TSCHAKeee: so I need to edit existing device template and add these commands?
(00:33:46) TSCHAKeee: as a start
(00:33:54) TSCHAKeee: then add code in the ZWave device to deal with those commands
"
Has anybody edited zwave device profiles so that you can give me some pointers how to do this?
So I first need to add commands like "Invert switch" and "Night Light" into device templates (probably easier part) and then add code to zwave device driver so that it knows what to do with those commands (harder part), right?