mirror of https://github.com/arendst/Tasmota.git
Updated Rules (markdown)
parent
6725b0424c
commit
082d78285e
16
Rules.md
16
Rules.md
|
@ -53,14 +53,16 @@ Tele-<SensorName>#<ValueName>
|
|||
|
||||
Available triggers are:
|
||||
|
||||
- ``System#Boot`` occurs once after mqtt is initialized. Due to command execution it cannot be made available earlier.
|
||||
- ``Mqtt#Connected`` when MQTT is connected.
|
||||
- ``Mqtt#Disconnected`` when MQTT is disconnected.
|
||||
- ``System#Boot`` occurs once after mqtt is initialized. Due to command execution it cannot be made available earlier
|
||||
- ``Mqtt#Connected`` when MQTT is connected
|
||||
- ``Mqtt#Disconnected`` when MQTT is disconnected
|
||||
- ``Wifi#Connected`` when Wifi is connected (v6.1.1c)
|
||||
- ``Wifi#Disconnected`` when Wifi is disconnected (v6.1.1c)
|
||||
- ``Time#Initialized`` once when NTP is initialized and time is in sync
|
||||
- ``Time#Initialized>120`` once when NTP is initialized and time is in sync after 02:00
|
||||
- ``Time#Initialized>120`` once when NTP is initialized and time is in sync after 02:00 (v6.1.0)
|
||||
- ``Time#Set`` every hour when NTP makes time in sync
|
||||
- ``Time#Minute`` every minute
|
||||
- ``Time#Minute=241`` every day once at 04:01
|
||||
- ``Time#Minute=241`` every day once at 04:01 (v6.1.0)
|
||||
- ``Clock#Timer=3`` when global Timer3 is activated
|
||||
- ``Rules#Timer=1`` when countdown RuleTimer1 expires
|
||||
- ``Event#Anyname`` when command ``Event Anyname`` is executed
|
||||
|
@ -78,8 +80,8 @@ All connected sensors can be a trigger in the form as they are represented in th
|
|||
|
||||
Devices using RfReceived (Sonoff Bridge) or IrReceived are also supported based on their JSON message like:
|
||||
|
||||
- ``IrReceived#Data=801`` whenever an IR signal for a RC5 remote control button 1 is received
|
||||
- ``RfReceived#RfKey=4`` whenever the Sonoff Bridge receives a recognized Rf signal
|
||||
- ``IrReceived#Data=801`` whenever an IR signal for a RC5 remote control button 1 is received (v6.1.0)
|
||||
- ``RfReceived#RfKey=4`` whenever the Sonoff Bridge receives a recognized Rf signal (v6.1.0)
|
||||
|
||||
To trigger on a sensor at Teleperiod time only you may prefix the sensor with the word ``tele-`` to distinguish it from the above shown trigger. See example 5 below.
|
||||
|
||||
|
|
Loading…
Reference in New Issue