Updated Commands (markdown)

Shantur Rathore 2019-09-05 11:20:07 +01:00
parent 0f7af0442a
commit 2abe3ac13f
1 changed files with 6 additions and 6 deletions

@ -423,18 +423,18 @@ See [Linux Infrared Remote Control (LIRC)](http://www.lirc.org/) for more inform
<a id="SetOption31"></a>SetOption31|Disable status LED blinking during Wi-Fi and MQTT connection problems.[`LedPower`](#LedPower) must be set to `0` for this feature to work.<BR>`0` = LED blinking enabled *(default)*<BR> `1` = LED blinking disabled <a id="SetOption31"></a>SetOption31|Disable status LED blinking during Wi-Fi and MQTT connection problems.[`LedPower`](#LedPower) must be set to `0` for this feature to work.<BR>`0` = LED blinking enabled *(default)*<BR> `1` = LED blinking disabled
<a id="SetOption32"></a>SetOption32|Number of 0.1 seconds to hold button before sending `HOLD` action message.<BR> `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) <a id="SetOption32"></a>SetOption32|Number of 0.1 seconds to hold button before sending `HOLD` action message.<BR> `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)
<a id="SetOption33"></a>SetOption33|Max power limit can be exceeded by number of seconds before the relay is turned off<BR> `1..250` = set number of seconds *(default = `5`)* <a id="SetOption33"></a>SetOption33|Max power limit can be exceeded by number of seconds before the relay is turned off<BR> `1..250` = set number of seconds *(default = `5`)*
<a id="SetOption34"></a>SetOption34|Set [Tuya dimmer device id](https://github.com/arendst/Sonoff-Tasmota/pull/4095). Use [SetOption66](#setoption66) to set the appropriate dimmer range.<BR> `0..255` = device id <a id="SetOption34"></a>SetOption34|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**<BR>Set [Tuya dimmer device id](https://github.com/arendst/Sonoff-Tasmota/pull/4095). Use [SetOption66](#setoption66) to set the appropriate dimmer range.<BR> `0..255` = device id
<a id="SetOption36"></a>SetOption36|Boot loop defaults restoration control.<BR>`0` = disable boot loop control<BR> `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:<ul><li>1<sup>st</sup> restart: disable ESP8285 generic GPIOs interfering with flash SPI</li><li>2<sup>nd</sup> restart: disable rules causing boot loop</li><li>3<sup>rd</sup> restart: disable all rules</li><li>4<sup>th</sup> restart: reset user defined GPIOs to disable any attached peripherals</li><li>5<sup>th</sup> restart: reset module to Sonoff Basic (1)</li></ul> <a id="SetOption36"></a>SetOption36|Boot loop defaults restoration control.<BR>`0` = disable boot loop control<BR> `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:<ul><li>1<sup>st</sup> restart: disable ESP8285 generic GPIOs interfering with flash SPI</li><li>2<sup>nd</sup> restart: disable rules causing boot loop</li><li>3<sup>rd</sup> restart: disable all rules</li><li>4<sup>th</sup> restart: reset user defined GPIOs to disable any attached peripherals</li><li>5<sup>th</sup> restart: reset module to Sonoff Basic (1)</li></ul>
<a id="SetOption37"></a>SetOption37|Color remapping for led channels, also provides an option for allowing independent handling of RGB and white channels.<BR>`0` = disabled<br>`1..119` = according to [this table](SetOption37---Color-channel-mapping)<br>`120..127` = invalid (results in same as `0`)<br>`128..255` = same as `0..127` but with independent channel handling enabled <a id="SetOption37"></a>SetOption37|Color remapping for led channels, also provides an option for allowing independent handling of RGB and white channels.<BR>`0` = disabled<br>`1..119` = according to [this table](SetOption37---Color-channel-mapping)<br>`120..127` = invalid (results in same as `0`)<br>`128..255` = same as `0..127` but with independent channel handling enabled
<a id="SetOption38"></a>SetOption38|`6..255 ` = set IRReceive protocol detection sensitivity minimizing UNKNOWN protocols <a id="SetOption38"></a>SetOption38|`6..255 ` = set IRReceive protocol detection sensitivity minimizing UNKNOWN protocols
<a id="SetOption39"></a>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.<BR>`0` = reset to default on next restart.<BR>`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. <a id="SetOption39"></a>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.<BR>`0` = reset to default on next restart.<BR>`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.
<a id="SetOption40"></a>SetOption40|Stop detecting any input change on the button GPIO.<BR>`0..250` = button hold time in 0.1 seconds *(default = `1`)* after which button functionality is disabled.<BR><BR>This setting is only active when [`SetOption1 1`](#setoption1) AND [`SetOption13 0`](#setoption13) are set. **This disables all long press functionality**.<BR><BR>Example: `Backlog SetOption1 1; SetOption13 0; SetOption40 10` - discard any button press over 1 second<BR><BR>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)). <a id="SetOption40"></a>SetOption40|Stop detecting any input change on the button GPIO.<BR>`0..250` = button hold time in 0.1 seconds *(default = `1`)* after which button functionality is disabled.<BR><BR>This setting is only active when [`SetOption1 1`](#setoption1) AND [`SetOption13 0`](#setoption13) are set. **This disables all long press functionality**.<BR><BR>Example: `Backlog SetOption1 1; SetOption13 0; SetOption40 10` - discard any button press over 1 second<BR><BR>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)).
<a id="SetOption41"></a>SetOption41|`0..8` = set the number of relays for the Tuya Dimmer (54) module. *(default = `0`)* <a id="SetOption41"></a>SetOption41|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**<BR>`0..8` = set the number of relays for the Tuya Dimmer (54) module. *(default = `0`)*
<a id="SetOption42"></a>SetOption42|`0..255` = set over-temperature (Celsius only) threshold resulting in power off on all energy monitoring devices *(default = `90`)* <a id="SetOption42"></a>SetOption42|`0..255` = set over-temperature (Celsius only) threshold resulting in power off on all energy monitoring devices *(default = `90`)*
<a id="SetOption43"></a>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))<BR>After Tasmota v6.6.0.7 this is used over [SetOption66](#SetOption66) <a id="SetOption43"></a>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))<BR>After Tasmota v6.6.0.7 this is used over [SetOption66](#SetOption66)
<a id="SetOption44"></a>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)) <a id="SetOption44"></a>SetOption44|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**<BR>`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))
<a id="SetOption45"></a>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)) <a id="SetOption45"></a>SetOption45|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**<BR>`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))
<a id="SetOption46"></a>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)) <a id="SetOption46"></a>SetOption46|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**<BR>`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))
<a id="SetOption51"></a>SetOption51|View extra pins for ESP8285 in Module Config<BR>**WARNING** Do not use on ESP8266 devices!!!<BR>`0` = disable *(default)*<BR> `1` = enable <a id="SetOption51"></a>SetOption51|View extra pins for ESP8285 in Module Config<BR>**WARNING** Do not use on ESP8266 devices!!!<BR>`0` = disable *(default)*<BR> `1` = enable
<a id="SetOption52"></a>SetOption52|Control display of optional time offset from UTC in JSON payloads<BR>`0` = disable *(default)*<BR> `1` = enable <a id="SetOption52"></a>SetOption52|Control display of optional time offset from UTC in JSON payloads<BR>`0` = disable *(default)*<BR> `1` = enable
<a id="SetOption53"></a>SetOption53|Display hostname and IP address in GUI<BR>`0` = disable *(default)*<BR> `1` = enable <a id="SetOption53"></a>SetOption53|Display hostname and IP address in GUI<BR>`0` = disable *(default)*<BR> `1` = enable
@ -449,7 +449,7 @@ See [Linux Infrared Remote Control (LIRC)](http://www.lirc.org/) for more inform
<a id="SetOption62"></a>SetOption62|`0` = disable *(default)*<BR> `1` = don't use retain flag on `HOLD` messages <a id="SetOption62"></a>SetOption62|`0` = disable *(default)*<BR> `1` = don't use retain flag on `HOLD` messages
<a id="SetOption63"></a>SetOption63|`0` = Scan relay power feedback state at restart *(default)*<BR> `1` = Disable relay power feedback state scanning at restart <a id="SetOption63"></a>SetOption63|`0` = Scan relay power feedback state at restart *(default)*<BR> `1` = Disable relay power feedback state scanning at restart
<a id="SetOption64"></a>SetOption64|`0` = sensor name index separator is "-" (hyphen) *(default)*<BR> `1` = sensor name index separator is "_" (underscore)<br>*Affects sensor names in tele messages* <a id="SetOption64"></a>SetOption64|`0` = sensor name index separator is "-" (hyphen) *(default)*<BR> `1` = sensor name index separator is "_" (underscore)<br>*Affects sensor names in tele messages*
<a id="SetOption65"></a>SetOption65|`0` = enable Tuya Serial dimmer *(default)*<BR>`1` = disable Tuya Serial dimmer and behave as switch. <a id="SetOption65"></a>SetOption65|**Unused from v6.6.0.10. Use [TuyaMCU](#TuyaMCU) command.**<BR>`0` = enable Tuya Serial dimmer *(default)*<BR>`1` = disable Tuya Serial dimmer and behave as switch.
<a id="SetOption66"></a>SetOption66|Unused after v6.6.0.7 use [SetOption43](#SetOption43) instead.<BR>`0` = Tuya dimmer range range 1 - 100 *(default)*<BR>`1` = Tuya dimmer range 1 - 255 <a id="SetOption66"></a>SetOption66|Unused after v6.6.0.7 use [SetOption43](#SetOption43) instead.<BR>`0` = Tuya dimmer range range 1 - 100 *(default)*<BR>`1` = Tuya dimmer range 1 - 255
<a id="SetOption67"></a>SetOption67|`0` = disable Sonoff iFan03 buzzer<BR>`1` = enable Sonoff iFan03 buzzer *(default)* <a id="SetOption67"></a>SetOption67|`0` = disable Sonoff iFan03 buzzer<BR>`1` = enable Sonoff iFan03 buzzer *(default)*
<a id="SetOption68"></a>SetOption68|`0` = Treat [PWM](#pwm) as a single light *(default)*<BR>`1` = Treat [PWM](#pwm) as separate channels. In this mode, use [`Power<x>`](#power) to turn lights on and off, and [`Channel<x>`](#channel) to change the value of each channel.<BR>[`Color`](#color) still works to set all channels at once.<BR>Note: a change will trigger a restart. <a id="SetOption68"></a>SetOption68|`0` = Treat [PWM](#pwm) as a single light *(default)*<BR>`1` = Treat [PWM](#pwm) as separate channels. In this mode, use [`Power<x>`](#power) to turn lights on and off, and [`Channel<x>`](#channel) to change the value of each channel.<BR>[`Color`](#color) still works to set all channels at once.<BR>Note: a change will trigger a restart.