SetOption Overview
Command | Payload | Description |
SetOption0 | Show current Save power changes state | |
SetOption0 | 1 / on | (default) Save power changes and set relay after restart |
SetOption0 | 0 / off | Do not save power changes and do not set relay after restart |
SetOption1 | Show current button multi press mode | |
SetOption1 | 0 / off | (default) Allow all button actions |
SetOption1 | 1 / on | Allow only single, double and hold press button actions |
SetOption2 | Show current Units state | |
SetOption2 | 0 / off | (default) Do not show units to messages |
SetOption2 | 1 / on | Add units to messages |
SetOption3 | Show current MQTT state | |
SetOption3 | 0 / off | Disable MQTT |
SetOption3 | 1 / on | Enable MQTT |
SetOption4 | Show current MQTT response state | |
SetOption4 | 0 / off | Return response as RESULT topic |
SetOption4 | 1 / on | Return response as Command topic |
SetOption8 | Show current Temperature as either Celsius or Fahrenheit | |
SetOption8 | 0 / celsius | Set Temperature to Celsius |
SetOption8 | 1 / fahrenheit | Set Temperature to Fahrenheit |
SetOption10 | Show current LWT action when changing topic | |
SetOption10 | 0 / off | (default) When topic changes drop retained old topic LWT |
SetOption10 | 1 / on | When topic changes send old topic retained LWT offline |
SetOption11 | Show current button single and double press swap state | |
SetOption11 | 0 / off | (default) Legacy button single and double press |
SetOption11 | 1 / on | Button single and double press functionality swapped |
SetOption12 | Show current configuration flash usage option | |
SetOption12 | 0 / off | (default) Use dynamic flash to save configuration lowering flash wear |
SetOption12 | 1 / on | Legacy save configuration in eeprom flash location only |
SetOption13 | Show current button single press only state | |
SetOption13 | 0 / off | (default) Enable button single, multi-press and hold |
SetOption13 | 1 / on | Enable button single press only for immediate response. Disable by holding 4 x SetOption32 |
SetOption14 | Show current relay switch mode | |
SetOption14 | 0 / off | (default) Set self-locking mode for all relays |
SetOption14 | 1 / on | Set interlock mode for all relays |
SetOption15 | 1 / on | Disable Pwm command and allow control by Dimmer or Color commands |
SetOption16 | 1 | Switch Clock scheme leds from clock-wise to counter-clock-wise mode |
SetOption17 | Reserved | |
SetOption18 | 1 / on | Enable signal light currently used with CO2 sensors only |
SetOption19 | 1 / on | Enable Home-Assistant automatic discovery |
SetOption20 | 1 / on | Enable changing Dimmer value without turning power on |
SetOption21 | 1 / on | Enable reporting Energy usage while power off |
SetOption22 | Reserved | |
SetOption23 | Reserved | |
SetOption24 | Reserved | |
SetOption25 | Reserved | |
SetOption26 | 0 / off | (default) Keep using POWER without postfix for single power devices |
SetOption26 | 1 / on | Add postfix to all POWER messages |
SetOption28 | Enable hex (0) or decimal (1) RF signal receive data representation | |
SetOption29 | Enable hex (0) or decimal (1) IR signal receive data representation | |
SetOption30 | 1 / on | Enforce Home-Assistant discovery for light group only |
SetOption31 | 1 / on | Disable wifi (once every second) and mqtt (once every 2 seconds) status information blink of wifi led |
SetOption32 | Show current key hold time in 0.1 seconds | |
SetOption32 | 1..100 | Set key hold time from 0.1 to 10 seconds |
SetOption33 | Show Sonoff Pow Max_Power_Retry value | |
SetOption33 | 1..250 | Set Sonoff Pow Max_Power_Retry from 1 to 250 |