Tabelle 4: Management
Command | Payload | Description |
Backlog | Abort backlog if active | |
Backlog | <cmnds> | List of commands to be executed in sequence separated by a ; |
ButtonRestrict | Replaced by SetOption1 | |
Delay | Reset backlog delay to 0.2 seconds | |
Delay | 2..3600 | Set delay between two backlog commands with 0.1 seconds increment |
Emulation | Show current emulation state | |
Emulation | 0 / off | Disable emulation |
Emulation | 1 | Enable Belkin WeMo emulation for Alexa |
Emulation | 2 | Enable Hue Bridge emulation for Alexa |
Event | <event> | Execute an event to trigger a rule as documented https://github.com/arendst/Sonoff-Tasmota/wiki/Rules |
FriendlyName | Show friendly name as used by emulation | |
FriendlyName<x> | Show friendly name as used by emulation | |
FriendlyName<x> | 1 | Reset friendly name to user_config(_override).h value (FRIENDLY_NAME) |
FriendlyName<x> | <name> | Set friendly name (32 chars max) |
Gpios | Show available sensors and devices by name and index for user selection | |
Gpio | Show current GPIO usage for current module | |
Gpio<pin> | <sensor> | Select sensor to be connected to <pin> |
I2Cscan | Scan I2C bus and show device addresses found | |
Mem1..5 | Show current persistent variable data | |
Mem1..5 | <value> | Store a string value in a variable |
Mem1..5 | " | Clear value |
Modules | Show available modules by name and index | |
Module | Show active module by name and index | |
Module | <index> | Switch to selected module and restart |
Mqtt | Replaced by SetOption3 | |
OtaUrl | Show current otaurl | |
OtaUrl | 1 | Reset otaurl to user_config(_override).h value (OTA_URL) |
OtaUrl | <url> | Set otaurl (100 chars max) |
Pwm | Show current PWM setting for enabled channels | |
Pwm<x> | 0..1023 | Set Pwm channel x to value ranging from 0 to 1023 |
PwmFrequency | Show current PWM frequency in Hz | |
PwmFrequency | 1 | Reset PWM frequency to 880Hz |
PwmFrequency | 100..4000 | Set PWM frequency from minimum 100Hz to maximum 4kHz |
PwmRange | Show current maximum PWM range value | |
PwmRange | 1 | Reset maximum PWM range to 1023 |
PwmRange | 255..1023 | Set maximum PWM range |
Reset | 1 | Reset sonoff parameters to user_config(_override).h values and restart |
Reset | 2 | Erase flash, reset sonoff parameters to user_config(_override).h values and restart |
Restart | 1 | Restart sonoff |
Restart | 99 | Force restart sonoff without config save |
Rule1..3 | Show current rule and settings | |
Rule1..3 | 0 | Disable rules |
Rule1..3 | 1 | Enable rules |
Rule1..3 | 2 | Toggle rules |
Rule1..3 | 4 | Disable one-shot detection (Perform commands as long as trigger is met) |
Rule1..3 | 5 | Enable one-shot detection (Perform commands once until trigger is not met) |
Rule1..3 | 6 | Toggle one-shot detection |
Rule1..3 | <rule> | Define a rule as documented https://github.com/arendst/Sonoff-Tasmota/wiki/Rules |
Rule1..3 | +<rule> | Append a rule as documented https://github.com/arendst/Sonoff-Tasmota/wiki/Rules |
Rule1..3 | " | Clear rule |
RuleTimer1..8 | Show current RuleTimer in seconds | |
RuleTimer1..8 | <value> | Set countdown RuleTimer in seconds |
SaveData | Save parameter changes and show current state as Manual, On or every x seconds | |
SaveData | 0 / off | Save parameter changes only manually |
SaveData | 1 / on | (default) Save parameter changes every second |
SaveData | <sec> | Save parameter changes between every 2 and 3600 seconds |
SaveState | Replaced by SetOption0 | |
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 |
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 |
SetOption15 | Show current PWM control mode | |
SetOption15 | 0 / off | Allow Pwm command control |
SetOption15 | 1 / on | (default) Disable Pwm command and allow control by Dimmer or Color commands |
Sleep | Show current sleep state as 0 (Off) or duration of up to 250 mSec | |
Sleep | 0 / off | (default) Turn sleep off |
Sleep | 1..250 | Set sleep duration from 1 to 250 mSec to enable energy saving |
State | Show current device states | |
Status | Show abbreviated status information | |
Status | 0 | Show all status information |
Status | 1 | Show more status information |
Status | 2 | Show firmware information |
Status | 3 | Show syslog information |
Status | 4 | Show memory information |
Status | 5 | Show network information |
Status | 6 | Show MQTT information |
Status | 7 | Show Real Time Clock information |
Status | 8 | Show sensor information |
Status | 9 | (Sonoff Pow only) Show Power thresholds |
Status | 10 | Show sensor information |
Status | 11 | Show power information equal to teleperiod state message |
Timezone | Show current timezone | |
Timezone | -13..13 | Set timezone |
Timezone | 99 | Use Daylight Saving parameters configured with TimeDST and TimeSTD |
TimeDST | Show Daylight Saving TimeZone Parameters | |
TimeDST | 0 | Reset Daylight Saving TimeZone parameters to user_config(_override).h values |
TimeDST | H,W,M,D,h,T | Set Daylight Saving TimeZone Parameters |
H | Hemisphere : (0 to 1) 0=Northern, 1=Southern Hemisphere | |
W | Week : (0 to 4) 0=Last week of the month, 1=First, 2=Second, 3=Third, 4=Fourth | |
M | Month : (1 to 12) 1=Jan, 2=Feb, ... 12=Dec | |
D | DayOfWeek : (1 to 7) 1=Sun, 2=Mon, ... 7=Sat | |
h | Hour : 0-23 | |
T | TimeZone : offset from UTC in MINUTES (-780 to 780) (780min/60min = 13hours) | |
TimeSTD | Show Standard TimeZone Parameters | |
TimeSTD | 0 | Reset Standard TimeZone parameters to user_config(_override).h values |
TimeSTD | H,W,M,D,h,T | Set Standard TimeZone Parameters |
H | Hemisphere : (0 to 1) 0=Northern, 1=Southern Hemisphere | |
W | Week : (0 to 4) 0=Last week of the month, 1=First, 2=Second, 3=Third, 4=Fourth | |
M | Month : (1 to 12) 1=Jan, 2=Feb, ... 12=Dec | |
D | DayOfWeek : (1 to 7) 1=Sun, 2=Mon, ... 7=Sat | |
h | Hour : 0-23 | |
T | TimeZone : offset from UTC in MINUTES (-780 to 780) (780min/60min = 13hours) | |
Upgrade | 1 | Download ota firmware from your web server and restart |
Upgrade | <version> | Download ota firmware from web server if <version> is higher than device version |
Upload | 1 | Download ota firmware from your web server and restart |
Upload | <version> | Download ota firmware from web server if <version> is higher than device version |
Var1..5 | Show current temporary variable data | |
Var1..5 | <value> | Store a string value in a variable |
Var1..5 | " | Clear value |
Add1..5 | Show current temporary data in Var1..5 | |
Add1..5 | <value> | Add a value to a variable Var1..5 |
Sub1..5 | Show current temporary data in Var1..5 | |
Sub1..5 | <value> | Substract a value to a variable Var1..5 |
Mult1..5 | Show current temporary data in Var1..5 | |
Mult1..5 | <value> | Multiply a value to a variable Var1..5 |
Scale1..5 | Show current temporary data in Var1..5 | |
Scale1..5 | v,fl,fh,tl,th | Scale a value from a low and high limit to another low and high limits and save in VAR1..5 |
v | value: the number to scale | |
fl | fromLow: the lower bound of the value’s current range | |
fh | fromHigh: the upper bound of the value’s current range | |
tl | toLow: the lower bound of the value’s target range | |
th | toHigh: the upper bound of the value’s target range |
Kommentare