Use Switch1#state=0 and Switch1#state=1 for comparison, not =off or =onģ = HOLD ( SwitchTopic 0 must be set for this to trigger)Ĥ = INC_DEC (increment or decrement dimmer)ĥ = INV (change from increment to decrement dimmer and vice versa)Ħ = CLEAR (button released for the time set with SetOption32) Occurs after Tasmota starts before it is initializated. When countdown RuleTimer expires (x = 1.8). Use Power1#state=0 and Power1#state=1 for comparison, not =off or =on This trigger's value will be the last state of Relay1 if PowerOnState is set to its default value ( 3). Relay1 state before Wi-Fi and MQTT are connected and before Time sync but after PowerOnState is executed. Example: Command Event speed=2 in rule trigger on event#speed will have the %value% of 2. ![]() An event with a = will provide a %value% to use in the execution part of the rule. You can define your own event values and trigger them with the Event command. When command Event eventName is executed. When Ethernet is disconnected (ESP32 only) When the A0 input changes by more than 1% it provides a value between 0 and 100 This is just a sampling of available triggers to showcase what is possible and not a definitive list Trigger Used for modulo operation with remainder = 0 (exact division) Rule Trigger Comparison Operators ~ Operator This may be required for some cases of using IF/ELSE since an IF statement cannot be used within a Backlog. Same trigger may be used in more than one rule.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |