Rule could be rewritten in a more efficient way?

There’s several features that could help simplify the creation and maintenance of this rule. In no particular order…

  1. Use Multi Device Triggers to select all of the devices with the same type of trigger
    • For example, you could combine your Home Door Sensor and Far Door Sensor together
  2. Use the new generic ‘update’ or ‘change’ trigger
    • So you don’t have to create separate open & closed or locked & unlocked triggers
  3. Use a Scene or SharpTools Rule for ‘groups’ of actions
    • You can call a SmartThings Scene directly
    • For a rule, you would need some way to trigger it. For example, you could create a true/false variable to go along with your separate rule. Then control the variable from your main rule and your secondary rule would react to that and update the Inovelli indicators as needed.
  4. Check if the Inovelli devices have a method to create a notification in one command

For item 4, I couldn’t find the source code for the Inovelli SmartThings drivers, but I wonder if they have any convenience methods where you could create the ‘LED notification’ with a single command.

I would be surprised if they don’t have some sort of setNotification() type of command that let you pass in all the features you wanted to set all at once. You might ask in their community - feel free to tag me using @josh over there as well if you need me. :slight_smile:

1 Like