The Events interface provides access to the rules. All the rules are specified into the rule file : /etc/freesmartphone/oevents/rules.yaml. See the file itself for more information about the syntax of the rules.
Description: Parse a rule string and add it into the rule list.
The rule in the same format used by the rules file.
Description: Remove a rule by name.
The name of the rule, as specified by the 'name' attribute of the rule.
Description: Trigger or untrigger all the 'Test' triggers with matching names.
the name of the Test triggers to trigger/untrigger.b: value
True to trigger, False to untrigger.