Rule Machine Version 1.7 Released

Rule Machine Version 1.7.13 Released

This release also entails a new version of Rule Machine parent app (1.7.5).

This release improves the Custom Commands feature in Expert Features. I intend to write up a post today to explain Custom Commands in more detail. It is no longer necessary that a device to be tested for commands have capability.actuator. Instead, now you can select the capability of the device to be tested, and then select from devices that have that capability.

Suppose you have a thermostat with many more commands than the basics already supported by Rule Machine. When you test it for Custom Commands, it will show you all of those commands, and you can save the ones you want to use, and then use them in a rule, trigger or actions.

Another cool use is with virtual presence and virtual contact sensors (or simulated presence, simulated contact). By testing one of these you would expose its command, e.g., open and close for the simulated contact sensor. These commands can be saved, and then used in a rule action. This could be very handy for managing SHM, and introducing delays.

Rule Machine github: https://github.com/bravenel/Rule-Trigger/blob/master/smartapps/bravenel/rule-machine.src/rule-machine.groovy. Save and Publish for me.

Rule github: https://github.com/bravenel/Rule-Trigger/blob/master/smartapps/bravenel/rule.src/rule.groovy. Save and Publish for me.

4 Likes