All On & All Off Commands

Hi Richard,

Do you happen to know how can I send an All On or All Off command through PLEG? I have followed this thread where it says how to do it from luup, but netiher of those is working for me:

http://forum.micasaverde.com/index.php/topic,9034.0.html

Option 1:

luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Data='0 0x19 0xff 2 0x27 5'},1) - All Off luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Data='0 0x19 0xff 2 0x27 4'},1) - All On

Option 2:

luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Data='0-0x19-0xff-2-0x27-5'},1) - All Off luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Data='0-0x19-0xff-2-0x27-4'},1) - All On

Option 3:

luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Data='0 0x19 0xff 2 0x27 5'},0) - All Off luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Data='0 0x19 0xff 2 0x27 4'},1) - All On

Option 4:

luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Data='0-0x19-0xff-2-0x27-5'},0) - All Off luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Data='0-0x19-0xff-2-0x27-4'},1) - All On
I think it would be interesting, because when having many devices, turning all on or off one by one through an all of scene, has a lot of delay!!

Thanks!!

someone just wrote a plugin for all-on/all-off commands: http://forum.micasaverde.com/index.php/topic,16190.0.html

@Vreo
I can’t help you with why the LUUP code does not run. I have not looked into it.

The reason the SendData action is not available in the Advanced tab for PLEG Actions or Scenes is because the ZWave Device (ID #1) is a hidden device.

A clever person would find a way to make it visible :slight_smile:

Thank you Richard, I will play around with this plugin, looks nice!