Updated Commands (markdown)

Michael Ingraham 2019-03-13 10:04:10 -04:00
parent 249b030a82
commit 77627950e1
1 changed files with 5 additions and 7 deletions

@ -50,13 +50,7 @@ If you flashed the device via serial method you can connect to it with a termina
*The serial interface is set to 115200 bps except for Sonoff Dual and the [Sonoff RF Bridge](Sonoff-RF-Bridge-433) where it is set to 19200 bps.* *The serial interface is set to 115200 bps except for Sonoff Dual and the [Sonoff RF Bridge](Sonoff-RF-Bridge-433) where it is set to 19200 bps.*
## Using Backlog ## Using Backlog
`Backlog` command allows executing up to 30 consecutive commands with a single command line. Each command is separated by a ;. A Backlog command with no following argument clears the existing Backlog queue. Therefore, if a Backlog command was sent with a Delay in it and a subsequent, empty, Backlog command was sent before the Delay expired any commands after the Delay would be cancelled. `Backlog` command allows executing up to 30 consecutive commands with a single command line. Each command is separated by a semicolon (";"). `Backlog` is a useful feature to avoid numerous restarts when setting up a new device. You can use it to:
So in the case of
_Backlog Power1 OFF; Delay 3600; Power1 ON_
if a Backlog was sent after 1 minute the Power1 ON command would be cleared and the Relay would remain off.
It is a useful feature to avoid numerous resets when setting up a new device. You can use it to:
Set up both Wi-Fi AP's Set up both Wi-Fi AP's
``` ```
@ -75,6 +69,10 @@ When using [web](#web) requests *(You have to encode "space" as '%20' and ";" as
http://sonoff/cm?user=admin&password=joker&cmnd=Backlog%20Power%20Toggle%3BPower1%20ff http://sonoff/cm?user=admin&password=joker&cmnd=Backlog%20Power%20Toggle%3BPower1%20ff
``` ```
A `Backlog` command with no following argument clears the existing `Backlog` queue. Therefore, if a `Backlog` command was sent with a `Delay` in it and a subsequent, empty, `Backlog` command is sent before the `Delay` expired any commands after the `Delay` will be cancelled. So in the case of
_`Backlog Power1 OFF; Delay 3600; Power1 ON`_
if a `Backlog` was sent after 1 minute the `Power1 ON` command would be cleared and the relay would remain off.
# How to Use Commands # How to Use Commands
**Commands listed are available from version 6.3.0.** Later introduced commands have their minimum version noted. If you're using an older Tasmota version some of the commands might not work. **Commands listed are available from version 6.3.0.** Later introduced commands have their minimum version noted. If you're using an older Tasmota version some of the commands might not work.