Odd-Henrik / IndigoDomotics_SmartDevices

Indigo Domotics Smart/Virtual Devices Plugin
0 stars 1 forks source link

One Trigger for any Command except Battery Update on z-wave devices #17

Open Odd-Henrik opened 10 years ago

Odd-Henrik commented 10 years ago

The situation: I have a bunch of "scene controllers" or Remote Double/Single Switche's controlling lights etc. But I also have a lot of automated lighting control. I want to make a trigger that sets a variable for manual light control when any button or action is done from one or several of these scene controllers. So making a Trigger of Type Z-Wave Event and the Event Recived = Any Command if perfect. Except that it also triggers on any "Battery Level Update". This is not a bug but just very inconvenient, because then it means I have to make a trigger for each Command, and that is a bunch...!

Is there a clever way of doing this and excluding the trigger from triggering on the Battery Level Update, but react to all the others? E.g. some kind of Condition script I can apply? I have not fully grasped the concept, if any, on how to pick up the trigger event Z-Wave Command Received inside the condition script and test on it. Whatever I try fails.

http://forums.indigodomo.com/viewtopic.php?f=78&t=12753

Odd-Henrik commented 10 years ago

There seems to be now clever way of doing this consistently at the moment. Need a way to subscribe to z-wave events this: http://forums.indigodomo.com/viewtopic.php?f=108&t=12794