diff --git a/Commands.md b/Commands.md index 549e2bbf..2a51e1d1 100644 --- a/Commands.md +++ b/Commands.md @@ -116,7 +116,7 @@ PowerOnState | Control relay state after _**powering up**_ the device. [More inf PulseTime\ | Display the amount of `PulseTime` remaining on Relay\
`` Set the duration to keep Relay\ `ON` when `Power ON` command is issued. After this amount of time, the relay will be turned `OFF`.
`0` / `OFF` = disable use of PulseTime for Relay\
`1..111` = set PulseTime for Relay\ in 0.1 second increments
`112..64900` = set PulseTime for Relay\, offset by 100, in 1 second increments. Add 100 to desired interval in seconds, e.g., `PulseTime 113` = 13 seconds and `PulseTime 460` = 6 minutes (i.e., 360 seconds)
SwitchDebounce | User control over switch debounce timing
`40..1000` = set switch debounce time in ms. Default is `40` SwitchMode\ | [Switch mode](Buttons-and-Switches#switchmode)
`0` = toggle *(default)*
`1` = follow (0 = off, 1 = on)
`2` = inverted follow (0 = on, 1 = off)
`3` = pushbutton (default 1, 0 = toggle)
`4` = inverted pushbutton (default 0, 1 = toggle)
`5` = pushbutton with hold (default 1, 0 = toggle, Hold = hold)
`6` = inverted pushbutton with hold (default 0, 1 = toggle, hold = hold)
`7` = pushbutton toggle (0 = toggle, 1 = toggle) -See also | [`SetOption11`](#SetOption11) - Swap pushbutton single and double press functionality
[`SetOption13`](#SetOption13) - Allow immediate action on single button press
[`SetOption26`](#SetOption26) - Use indexes even when only one relay is present
[`SetOption31`](#SetOption31) - Disable Wi-Fi LED status blinking
[`SetOption32`](#SetOption32) - Set hold interval before sending hold action +See also | [`SetOption11`](#SetOption11) - Swap pushbutton single and double press functionality
[`SetOption13`](#SetOption13) - Allow immediate action on single button press
[`SetOption26`](#SetOption26) - Use indexes even when only one relay is present
[`SetOption31`](#SetOption31) - Disable Wi-Fi LED status blinking
[`SetOption32`](#SetOption32) - Set hold interval before sending `HOLD` action ### Management @@ -384,7 +384,7 @@ SetOption8|Show temperature in
`0`= Celsius *(default)*
`1` = Fahrenheit SetOption10|When the device MQTT topic changes
`0` = remove retained message on old topic LWT *(default)*
`1` = send "Offline" to old topic LWT SetOption11|Swap button single and double press [functionality](Control-other-devices#double-press--hold)
`0` = disabled *(default)*
`1` = enabled SetOption12|Configuration saving to flash option
`0` = allow dynamic flash save slot rotation *(default)*
`1` = use fixed eeprom flash slot -SetOption13|Allow immediate action on single button press
`0` = single, multi-press and hold button actions *(default)*
`1` = only single press action for immediate response. Disable by holding for 4 x key hold time (see [`SetOption32`](#setoption32)). +SetOption13|Allow immediate action on single button press
`0` = single, multi-press and hold button actions *(default)*
`1` = only single press action for immediate response. Disable by holding for 4 x button hold time (see [`SetOption32`](#setoption32)). SetOption15|Set PWM control for LED lights
`0` = basic PWM control
`1` = control with [`Color`](#Color) or [`Dimmer`](#Dimmer) commands SetOption16|Set addressable LED Clock scheme parameter
`0` = clock-wise mode *(default)*
`1` = counter-clock-wise mode SetOption17|Show [`Color`](#Color) string as
`0` = hex string *(default)*
`1` = comma-separated decimal string @@ -398,7 +398,7 @@ SetOption28|RF received data format
`0` = hex *(default)*
`1` = decimal SetOption29|IR received data format
`0` = hex *(default)*
`1` = decimal SetOption30|Enforce Home Assistant autodiscovery as light
`0` = relays are announced as a switch and PWM as a light *(default)*
`1` = both relays and PWM are announced as light SetOption31|Disable status LED blinking during Wi-Fi and MQTT connection problems.[`LedPower`](#LedPower) must be set to `0` for this feature to work.
`0` = LED blinking enabled *(default)*
`1` = LED blinking disabled -SetOption32|Number of 0.1 seconds to hold button before sending `hold` action message.
`1..100` to set Key Hold Time from 0.1 seconds to 10 seconds *(default =`40` (4 seconds))* +SetOption32|Number of 0.1 seconds to hold button before sending `HOLD` action message.
`1..100` to set button hold time *(default =`40`)*. This option also affects the time required to perform a firmware defaults reset (10x `HOLD` action time) SetOption33|Max power limit can be exceeded by number of seconds before the relay is turned off
`1..250` = set number of seconds *(default = `5`)* SetOption34|Set [Tuya dimmer device id](https://github.com/arendst/Sonoff-Tasmota/pull/4095)
`0..255` = device id SetOption36|Boot loop defaults restoration control.
`0` = disable boot loop control
`1..200` = set number of boot loops (a restart caused by any exception or watchdog timer within less than `BOOT_LOOP_TIME` (default 10) seconds) before beginning to restore settings *(default = `1`)*. Once this number is reached, subsequent restarts will:
  • 1st restart: disable ESP8285 generic GPIOs interfering with flash SPI
  • 2nd restart: disable rules causing boot loop
  • 3rd restart: disable all rules
  • 4th restart: reset user defined GPIOs to disable any attached peripherals
  • 5th restart: reset module to Sonoff Basic (1)