From 77627950e12318d1c4700d0182055f7184ea6c59 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Wed, 13 Mar 2019 10:04:10 -0400 Subject: [PATCH] Updated Commands (markdown) --- Commands.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Commands.md b/Commands.md index c820c381..94c1cd25 100644 --- a/Commands.md +++ b/Commands.md @@ -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.* ## 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. - -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: +`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: 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 ``` +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 **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.