Switch on tcp sent command type and other way of turning the devices on and off

Hi Thomas,

Please check out this new version.

Since the newer versions of open-zwave do not use the Basic Command-Class anymore (or it is not mapped correctly at least), SetNodeOn and SetNodeOff functions will not work.
Therefore I've changed the way the values that are sent through a tcp socket are set for the node.
(See setvalue)

Also I've made a nice switch to check which command is sent over the tcp socket.
This is neater.

I'll keep improving :-)
Hope this gets included in your pi images.

Regards,
Willem