diff --git a/Commands.md b/Commands.md index 70a47ec7..eebcbf46 100644 --- a/Commands.md +++ b/Commands.md @@ -423,18 +423,18 @@ See [Linux Infrared Remote Control (LIRC)](http://www.lirc.org/) for more inform 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 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). Use [SetOption66](#setoption66) to set the appropriate dimmer range.
`0..255` = device id +SetOption34|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**
Set [Tuya dimmer device id](https://github.com/arendst/Sonoff-Tasmota/pull/4095). Use [SetOption66](#setoption66) to set the appropriate dimmer range.
`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: SetOption37|Color remapping for led channels, also provides an option for allowing independent handling of RGB and white channels.
`0` = disabled
`1..119` = according to [this table](SetOption37---Color-channel-mapping)
`120..127` = invalid (results in same as `0`)
`128..255` = same as `0..127` but with independent channel handling enabled SetOption38|`6..255 ` = set IRReceive protocol detection sensitivity minimizing UNKNOWN protocols SetOption39|Control handling of invalid power measurements. Power monitoring chips like the HLW8032 (Blitzwolf SHP5) and CSE7766 (Sonoff S31, Sonoff POW R2) occasionally report invalid power measurements for load values below 5W. In these cases, it sometimes reports a valid load.
`0` = reset to default on next restart.
`1..255` = number of invalid power readings before reporting that there is no load *(default = `128`)*. For example, to discard all loads below 6W, set to `1`. Tasmota will report no load if the power draw is below 6W. SetOption40|Stop detecting any input change on the button GPIO.
`0..250` = button hold time in 0.1 seconds *(default = `1`)* after which button functionality is disabled.

This setting is only active when [`SetOption1 1`](#setoption1) AND [`SetOption13 0`](#setoption13) are set. **This disables all long press functionality**.

Example: `Backlog SetOption1 1; SetOption13 0; SetOption40 10` - discard any button press over 1 second

Newer [Sonoff T1](Sonoff-T1) light switches appear to activate the GPIO intermittently for over many seconds without a user touching the button (i.e., [ghost switching](../issues/5449)). -SetOption41|`0..8` = set the number of relays for the Tuya Dimmer (54) module. *(default = `0`)* +SetOption41|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**
`0..8` = set the number of relays for the Tuya Dimmer (54) module. *(default = `0`)* SetOption42|`0..255` = set over-temperature (Celsius only) threshold resulting in power off on all energy monitoring devices *(default = `90`)* SetOption43|`0..255` = set Tuya dimmer maximum value as explained [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer-and-Tuya-Switches-(based-on-serial-MCU))
After Tasmota v6.6.0.7 this is used over [SetOption66](#SetOption66) -SetOption44|`0..255` = set Tuya serial voltage function id as explained [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer-and-Tuya-Switches-(based-on-serial-MCU)) -SetOption45|`0..255` = set Tuya serial current function id as explained [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer-and-Tuya-Switches-(based-on-serial-MCU)) -SetOption46|`0..255` = set Tuya serial power function id as explained [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer-and-Tuya-Switches-(based-on-serial-MCU)) +SetOption44|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**
`0..255` = set Tuya serial voltage function id as explained [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer-and-Tuya-Switches-(based-on-serial-MCU)) +SetOption45|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**
`0..255` = set Tuya serial current function id as explained [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer-and-Tuya-Switches-(based-on-serial-MCU)) +SetOption46|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**
`0..255` = set Tuya serial power function id as explained [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer-and-Tuya-Switches-(based-on-serial-MCU)) SetOption51|View extra pins for ESP8285 in Module Config
**WARNING** Do not use on ESP8266 devices!!!
`0` = disable *(default)*
`1` = enable SetOption52|Control display of optional time offset from UTC in JSON payloads
`0` = disable *(default)*
`1` = enable SetOption53|Display hostname and IP address in GUI
`0` = disable *(default)*
`1` = enable @@ -449,7 +449,7 @@ See [Linux Infrared Remote Control (LIRC)](http://www.lirc.org/) for more inform SetOption62|`0` = disable *(default)*
`1` = don't use retain flag on `HOLD` messages SetOption63|`0` = Scan relay power feedback state at restart *(default)*
`1` = Disable relay power feedback state scanning at restart SetOption64|`0` = sensor name index separator is "-" (hyphen) *(default)*
`1` = sensor name index separator is "_" (underscore)
*Affects sensor names in tele messages* -SetOption65|`0` = enable Tuya Serial dimmer *(default)*
`1` = disable Tuya Serial dimmer and behave as switch. +SetOption65|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**
`0` = enable Tuya Serial dimmer *(default)*
`1` = disable Tuya Serial dimmer and behave as switch. SetOption66|Unused after v6.6.0.7 use [SetOption43](#SetOption43) instead.
`0` = Tuya dimmer range range 1 - 100 *(default)*
`1` = Tuya dimmer range 1 - 255 SetOption67|`0` = disable Sonoff iFan03 buzzer
`1` = enable Sonoff iFan03 buzzer *(default)* SetOption68|`0` = Treat [PWM](#pwm) as a single light *(default)*
`1` = Treat [PWM](#pwm) as separate channels. In this mode, use [`Power`](#power) to turn lights on and off, and [`Channel`](#channel) to change the value of each channel.
[`Color`](#color) still works to set all channels at once.
Note: a change will trigger a restart.