I'm interested how to send some specific commands to tune and setup zwave devices.

I have HomePro ZDW232 [1] dimmable wall switch that has some interesting features I would like to play with.

First I would like to use it's Night Light feature that turns on LED light on when switch is OFF. By default LED is ON when light is also ON.

I read in ZDW232 installation manual [2] that I can turn on Night Light set it like this:

Night Light • Parameter No: 3 • Length: 1 Byte • Valid Values = 0 or 1 (default value is 0)The LED on the ZDW232 will by default, turn ON when the load attached is turned ON. To make the LED turn ONwhen the load attached is turned OFF instead, set parameter 3 to a value of 1.

I looked via LinuxMCE webhttp://wiki.linuxmce.org/index.php/ACT_Homepro_ZDW232ui and in Lighting and Advanced options for this device in Send Command there are only commands for ON, OFF and LEVEL.

Can I send these specific commands via Linux CLI? Is there a way to send these specific commands via webUI? How?

I have looked on WIKI pages, programming guide, ZWave API and other pages but didn't see the needed info. If I missed it please point me in the right direction.

From 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 outsideTSCHAK 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?

From what you write, it seems that this is a configuration option you can set on your device. In that case, you can use the "Set configuration" command from the web admin. You can send this command to the ZWave controller; open the advanced page of the controller and click "send command", iirc.