mirror of https://github.com/arendst/Tasmota.git
Updated Rules (markdown)
parent
308b41fd2c
commit
cf1998aeb6
4
Rules.md
4
Rules.md
|
@ -76,9 +76,9 @@ Mqtt#Disconnected<a id="MqttDisconnected"></a>|when MQTT is disconnected
|
||||||
Power1#Boot<a id="PowerBoot"></a>|`Relay1` state before Wi-Fi and MQTT are connected and before Time sync but after `PowerOnState` is executed. Power#Boot triggers before System#Boot.<BR>This trigger's value will be the last state of `Relay1` if [`PowerOnState`](Commands#poweronstate) is set to its default value (`3`).
|
Power1#Boot<a id="PowerBoot"></a>|`Relay1` state before Wi-Fi and MQTT are connected and before Time sync but after `PowerOnState` is executed. Power#Boot triggers before System#Boot.<BR>This trigger's value will be the last state of `Relay1` if [`PowerOnState`](Commands#poweronstate) is set to its default value (`3`).
|
||||||
Power1#State<a id="PowerState"></a>|when a power output is changed<br>use `Power1#state=0` and `Power1#state=1` for comparison, not =off or =on<br>Power2 for Relay2, etc.
|
Power1#State<a id="PowerState"></a>|when a power output is changed<br>use `Power1#state=0` and `Power1#state=1` for comparison, not =off or =on<br>Power2 for Relay2, etc.
|
||||||
Rules#Timer=1<a id="RulesTimer"></a>|when countdown `RuleTimer1` expires
|
Rules#Timer=1<a id="RulesTimer"></a>|when countdown `RuleTimer1` expires
|
||||||
Switch1#Boot<a id="SwitchBoot"></a>|occurs after Tasmota starts
|
Switch1#Boot<a id="SwitchBoot"></a>|occurs after Tasmota starts before it is initializated.
|
||||||
Switch1#State<a id="SwitchState"></a>|when a switch changes state:<br>`0` = OFF<BR>`1` = ON<BR>`2` = TOGGLE<BR>`3` = HOLD<BR>(`SwitchTopic 0` must be set for this to trigger)
|
Switch1#State<a id="SwitchState"></a>|when a switch changes state:<br>`0` = OFF<BR>`1` = ON<BR>`2` = TOGGLE<BR>`3` = HOLD<BR>(`SwitchTopic 0` must be set for this to trigger)
|
||||||
System#Boot<a id="SystemBoot"></a>|occurs once after MQTT is initialized. Due to the command execution order it cannot occur earlier than that.
|
System#Boot<a id="SystemBoot"></a>|occurs once after TASMOTA is initializated after it starts.
|
||||||
System#Save<a id="SystemSave"></a>|executed just before a planned restart
|
System#Save<a id="SystemSave"></a>|executed just before a planned restart
|
||||||
Time#Initialized<a id="TimeInitialized"></a>|once when NTP is initialized and time is in sync
|
Time#Initialized<a id="TimeInitialized"></a>|once when NTP is initialized and time is in sync
|
||||||
Time#Initialized>120|once, 120 seconds after NTP is initialized and time is in sync
|
Time#Initialized>120|once, 120 seconds after NTP is initialized and time is in sync
|
||||||
|
|
Loading…
Reference in New Issue