Update documentation to include SetOption4

This commit is contained in:
Mike Geppert 2025-08-06 21:28:19 -05:00
parent 3e6001568f
commit 2345184a76
2 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ SetOptions are special commands that control various aspects of Tasmota device b
|---------|--------|-------------|
| `SetOption1` | `0`, `1` | Controls whether a button press toggles power or sends a MQTT message:<br>`0` = toggle power (default)<br>`1` = send MQTT message |
| `SetOption3` | `0`, `1` | Controls MQTT enabled/disabled:<br>`0` = disable MQTT<br>`1` = enable MQTT (default) |
| `SetOption4` | `0`, `1` | Return MQTT response as RESULT or %COMMAND%:<br>`0` = RESULT (default)<br>`1` = %COMMAND% |
| `SetOption13` | `0`, `1` | Controls whether a button press clears retained messages:<br>`0` = disable (default)<br>`1` = enable |
| `SetOption19` | `0`, `1` | Controls Home Assistant auto-discovery:<br>`0` = disable (default)<br>`1` = enable |
| `SetOption32` | `1` to `250` | Time in minutes to hold relay latching power before reset. Default: `1` |
@ -68,7 +69,6 @@ Here are some other useful SetOptions that can be added to the configuration:
| Command | Values | Description |
|---------|--------|-------------|
| `SetOption0` | `0`, `1` | Save power state and use after restart:<br>`0` = disable<br>`1` = enable (default) |
| `SetOption4` | `0`, `1` | Return MQTT response as RESULT or %COMMAND%:<br>`0` = RESULT (default)<br>`1` = %COMMAND% |
| `SetOption8` | `0`, `1` | Show temperature in Celsius or Fahrenheit:<br>`0` = Celsius (default)<br>`1` = Fahrenheit |
| `SetOption10` | `0`, `1` | When the device restarts, the LWT message is sent:<br>`0` = disable (default)<br>`1` = enable |
| `SetOption11` | `0`, `1` | Swap button single and double press functionality:<br>`0` = disable (default)<br>`1` = enable |

View File

@ -71,6 +71,7 @@ Create a `network_configuration.json` file with the following structure:
"PowerRetain": "On",
"SetOption1": "0",
"SetOption3": "1",
"SetOption4": "1",
"SetOption13": "0",
"SetOption19": "0",
"SetOption32": "8",