# Commands
Here is the latest, up to date command list.
This file was autogenerated by running 'node scripts/getcommands.js' in the repository.
All descriptions were taken from code.
Do not add anything here, as it will overwritten with next rebuild.
| Command        | Arguments          | Description  | Location |
|:------------- |:-------------:|:----- | ------:|
| AB_Map | [int] | Sets margines for ADC button codes. For given N margins, there are N+1 possible ADC button values (one should be reserved for 'no button').<br/><br/>See also [AB_Map on forum](https://www.elektroda.com/rtvforum/find.php?q=AB_Map). | File: drv/drv_adcButton.c<br/>Function: Cmd_ADCButtonMap |
| ACMode | CMD_ACMode | .<br/><br/>See also [ACMode on forum](https://www.elektroda.com/rtvforum/find.php?q=ACMode). | File: driver/drv_tclAC.c<br/>Function: NULL); |
| ADCSmoother | [Pindex] [TotalSamples] [SampleIntervalMS] [TargetChannelADCValue] [MarginValue] [TargetChannel0or1] | Starts the ADC smoother with given configuration.<br/><br/>See also [ADCSmoother on forum](https://www.elektroda.com/rtvforum/find.php?q=ADCSmoother). | File: driver/drv_adcSmoother.c<br/>Function: NULL); |
| AddChangeHandler | [Variable][Relation][Constant][Command] | This can listen to change in channel value (for example channel 0 becoming 100), or for a voltage/current/power change for BL0942/BL0937. This supports multiple relations, like ==, !=, >=, < etc. The Variable name for channel is Channel0, Channel2, etc, for BL0XXX it can be 'Power', or 'Current' or 'Voltage'.<br/><br/>See also [AddChangeHandler on forum](https://www.elektroda.com/rtvforum/find.php?q=AddChangeHandler). | File: cmnds/cmd_eventHandlers.c<br/>Function: CMD_AddChangeHandler |
| AddChannel | [ChannelIndex][ValueToAdd][ClampMin][ClampMax][bWrapInsteadOfClamp] | Adds a given value to the channel. Can be used to change PWM brightness. Clamp min and max arguments are optional.<br/><br/>See also [AddChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=AddChannel). | File: cmnds/cmd_channels.c<br/>Function: CMD_AddChannel |
| addClockEvent | [TimerSeconds or Time or sunrise or sunset] [WeekDayFlags] [UniqueIDForRemoval][Command] | Schedule command to run on given time in given day of week. NTP must be running. TimerSeconds is seconds from midnight, Time is a time like HH:mm or HH:mm:ss, WeekDayFlag is a bitflag on which day to run, 0xff mean all days, 0x01 means sunday, 0x02 monday, 0x03 sunday and monday, etc, id is an unique id so event can be removed later. (NOTE: Use of sunrise/sunset requires compiling with ENABLE_NTP_SUNRISE_SUNSET set which adds about 11k of code).<br/><br/>See also [addClockEvent on forum](https://www.elektroda.com/rtvforum/find.php?q=addClockEvent). | File: driver/drv_ntp_events.c<br/>Function: CMD_NTP_AddClockEvent |
| AddEventHandler | [EventName][EventArgument][CommandToRun] | This can be used to trigger an action on a button click, long press, etc.<br/><br/>See also [AddEventHandler on forum](https://www.elektroda.com/rtvforum/find.php?q=AddEventHandler). | File: cmnds/cmd_eventHandlers.c<br/>Function: CMD_AddEventHandler |
| addI2CDevice_ADS1115 |  | .<br/><br/>See also [addI2CDevice_ADS1115 on forum](https://www.elektroda.com/rtvforum/find.php?q=addI2CDevice_ADS1115). | File: i2c/drv_i2c_ads1115.c<br/>Function: NULL); |
| addI2CDevice_LCD_PCF8574 |  | Adds a new I2C device - PCF8574.<br/><br/>See also [addI2CDevice_LCD_PCF8574 on forum](https://www.elektroda.com/rtvforum/find.php?q=addI2CDevice_LCD_PCF8574). | File: i2c/drv_i2c_main.c<br/>Function: DRV_I2C_AddDevice_PCF8574 |
| addI2CDevice_LCM1602 |  | Adds a new I2C device - LCM1602.<br/><br/>See also [addI2CDevice_LCM1602 on forum](https://www.elektroda.com/rtvforum/find.php?q=addI2CDevice_LCM1602). | File: i2c/drv_i2c_main.c<br/>Function: DRV_I2C_AddDevice_LCM1602 |
| addI2CDevice_MCP23017 |  | Adds a new I2C device - MCP23017.<br/><br/>See also [addI2CDevice_MCP23017 on forum](https://www.elektroda.com/rtvforum/find.php?q=addI2CDevice_MCP23017). | File: i2c/drv_i2c_main.c<br/>Function: DRV_I2C_AddDevice_MCP23017 |
| addI2CDevice_TC74 |  | Adds a new I2C device - TC74.<br/><br/>See also [addI2CDevice_TC74 on forum](https://www.elektroda.com/rtvforum/find.php?q=addI2CDevice_TC74). | File: i2c/drv_i2c_main.c<br/>Function: DRV_I2C_AddDevice_TC74 |
| addRepeatingEvent | [IntervalSeconds][RepeatsOr-1][CommandToRun] | Starts a timer/interval command. Use 'backlog' to fit multiple commands in a single string.<br/><br/>See also [addRepeatingEvent on forum](https://www.elektroda.com/rtvforum/find.php?q=addRepeatingEvent). | File: cmnds/cmd_repeatingEvents.c<br/>Function: RepeatingEvents_Cmd_AddRepeatingEvent |
| addRepeatingEventID | [IntervalSeconds][RepeatsOr-1][UserID][CommandToRun] | As addRepeatingEvent, but with a given ID. You can later cancel it with cancelRepeatingEvent.<br/><br/>Example: addRepeatingEventID 2 -1 123 Power0 Toggle<br/><br/>See also [addRepeatingEventID on forum](https://www.elektroda.com/rtvforum/find.php?q=addRepeatingEventID). | File: cmnds/cmd_repeatingEvents.c<br/>Function: RepeatingEvents_Cmd_AddRepeatingEvent |
| add_dimmer | [Value][AddMode] | Adds a given value to current LED dimmer. AddMode 0 just adds a value (with a clamp to [0,100]), AddMode 1 will wrap around values (going under 0 goes to 100, going over 100 goes to 0), AddMode 2 will ping-pong value (going to 100 starts going back from 100 to 0, and again, going to 0 starts going up).<br/><br/>See also [add_dimmer on forum](https://www.elektroda.com/rtvforum/find.php?q=add_dimmer). | File: cmnds/cmd_newLEDDriver.c<br/>Function: add_dimmer |
| add_temperature | [DeltaValue][bWrapAroundInsteadOfHold] | Adds a given value to current LED temperature. Function can wrap or clamp if max/min is exceeded.<br/><br/>See also [add_temperature on forum](https://www.elektroda.com/rtvforum/find.php?q=add_temperature). | File: cmnds/cmd_newLEDDriver.c<br/>Function: add_temperature |
| AHT2X_Calibrate | [DeltaTemp][DeltaHumidity] | Calibrate the AHT2X Sensor as Tolerance is +/-2 degrees C.<br/><br/>Example: AHT2X_Calibrate -4 10 <br /> meaning -4 on current temp reading and +10 on current humidity reading<br/><br/>See also [AHT2X_Calibrate on forum](https://www.elektroda.com/rtvforum/find.php?q=AHT2X_Calibrate). | File: driver/drv_aht2x.c<br/>Function: AHT2X_Calibrate |
| AHT2X_Cycle | [IntervalSeconds] | This is the interval between measurements in seconds, by default 1. Max is 255.<br/><br/>Example: AHT2X_Cycle 60 <br /> measurement is taken every 60 seconds<br/><br/>See also [AHT2X_Cycle on forum](https://www.elektroda.com/rtvforum/find.php?q=AHT2X_Cycle). | File: drv/drv_aht2X.c<br/>Function: AHT2X_cycle |
| AHT2X_Measure |  | Retrieve OneShot measurement.<br/><br/>Example: AHT2X_Measure<br/><br/>See also [AHT2X_Measure on forum](https://www.elektroda.com/rtvforum/find.php?q=AHT2X_Measure). | File: drv/drv_aht2X.c<br/>Function: AHT2X_Measure |
| AHT2X_Reinit |  | Reinitialize sensor.<br/><br/>Example: AHT2X_Reinit<br/><br/>See also [AHT2X_Reinit on forum](https://www.elektroda.com/rtvforum/find.php?q=AHT2X_Reinit). | File: drv/drv_aht2X.c<br/>Function: AHT2X_Reinit |
| alias | [Alias][Command with spaces] | Add an aliased command, so a command with spaces can be called with a short, nospaced alias.<br/><br/>See also [alias on forum](https://www.elektroda.com/rtvforum/find.php?q=alias). | File: cmnds/cmd_test.c<br/>Function: alias |
| aliasMem |  | Internal usage only. See docs for 'alias' command.<br/><br/>See also [aliasMem on forum](https://www.elektroda.com/rtvforum/find.php?q=aliasMem). | File: cmnds/cmd_test.c<br/>Function: runcmd |
| Anim | [AnimationIndex] | Starts given WS2812 animation by index.<br/><br/>See also [Anim on forum](https://www.elektroda.com/rtvforum/find.php?q=Anim). | File: driver/drv_pixelAnim.c<br/>Function: NULL); |
| AnimSpeed | [Interval] | Sets WS2812 animation speed.<br/><br/>See also [AnimSpeed on forum](https://www.elektroda.com/rtvforum/find.php?q=AnimSpeed). | File: driver/drv_pixelAnim.c<br/>Function: NULL); |
| backlog | [string of commands separated with ;] | Run a sequence of ; separated commands.<br/><br/>See also [backlog on forum](https://www.elektroda.com/rtvforum/find.php?q=backlog). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_backlog |
| Battery_cycle | [int] | Change cycle of measurement by default every 10 seconds.<br/><br/>Example: Battery_cycle 60<br/><br/>See also [Battery_cycle on forum](https://www.elektroda.com/rtvforum/find.php?q=Battery_cycle). | File: drv/drv_battery.c<br/>Function: Battery_cycle |
| Battery_Setup | [minbatt][maxbatt][V_divider][Vref][AD Bits] | Measure battery based on ADC. <br />req. args: minbatt in mv, maxbatt in mv. <br />optional: V_divider(2), Vref(default 2400), ADC bits(4096).<br/><br/>Example: Battery_Setup 1500 3000 2 2400 4096<br/><br/>See also [Battery_Setup on forum](https://www.elektroda.com/rtvforum/find.php?q=Battery_Setup). | File: drv/drv_battery.c<br/>Function: Battery_Setup |
| berry | CMD_Berry | .<br/><br/>See also [berry on forum](https://www.elektroda.com/rtvforum/find.php?q=berry). | File: cmnds/cmd_berry.c<br/>Function: NULL); |
| BL0942opts | opts | BL0942opts 0= default mode (as set in config Flag 26), 3= two BL0942 on both UARTs (bit0 BL0942 on UART1, bit1 BL0942 on UART2).<br/><br/>See also [BL0942opts on forum](https://www.elektroda.com/rtvforum/find.php?q=BL0942opts). | File: driver/drv_pwrCal.c<br/>Function: NULL); |
| BMPI2C_Calibrate | [DeltaTemp][DeltaPressure][DeltaHumidity] | Calibrate the BMPI2C Sensor.<br/><br/>Example: BMPI2C_Calibrate -4 0 10 <br /> meaning -4 on current temp reading, 0 on current pressure reading and +10 on current humidity reading<br/><br/>See also [BMPI2C_Calibrate on forum](https://www.elektroda.com/rtvforum/find.php?q=BMPI2C_Calibrate). | File: driver/drv_bmpi2c.c<br/>Function: BMPI2C_Calibrate |
| BMPI2C_Configure | [Mode][TempSampling][PressureSampling][HumSampling][IIRFilter][StandbyTime] | Manual sensor configuration. Modes: 0 - normal, 1 - forced, 2 - sleep. Overampling range: -1 - skipped, 2^0 to 2^4. Default is X1. IIRFilter range: 0 - off, 2^1 to 2^4 for most, up to 2^7 for BME68X, StandbyTime: 1 for 0.5ms, 63 for 62.5ms, 125, 250, 500, 1000, 2000, 4000. Mode and StandbyTime are not needed on BME68X, All values will be rounded down to closest available (like sampling 10 will choose 8x).<br/><br/>Example: BMPI2C_Configure 0 8 2 4 16 125 <br /><br/><br/>See also [BMPI2C_Configure on forum](https://www.elektroda.com/rtvforum/find.php?q=BMPI2C_Configure). | File: driver/drv_bmpi2c.c<br/>Function: BMPI2C_Configure |
| BMPI2C_Cycle | [IntervalSeconds] | This is the interval between measurements in seconds, by default 1. Max is 255.<br/><br/>Example: BMPI2C_Cycle 60 <br /> measurement is taken every 60 seconds<br/><br/>See also [BMPI2C_Cycle on forum](https://www.elektroda.com/rtvforum/find.php?q=BMPI2C_Cycle). | File: drv/drv_bmpi2c.c<br/>Function: BMPI2C_cycle |
| BP1658CJ_Current | [MaxCurrentRGB][MaxCurrentCW] | Sets the maximum current limit for BP1658CJ driver.<br/><br/>See also [BP1658CJ_Current on forum](https://www.elektroda.com/rtvforum/find.php?q=BP1658CJ_Current). | File: driver/drv_bp1658cj.c<br/>Function: BP1658CJ_Current |
| BP1658CJ_Map | [Ch0][Ch1][Ch2][Ch3][Ch4] | Maps the RGBCW values to given indices of BP1658CJ channels. This is because BP5758D channels order is not the same for some devices. Some devices are using RGBCW order and some are using GBRCW, etc, etc. Example usage: BP1658CJ_Map 0 1 2 3 4.<br/><br/>See also [BP1658CJ_Map on forum](https://www.elektroda.com/rtvforum/find.php?q=BP1658CJ_Map). | File: driver/drv_bp1658cj.c<br/>Function: BP1658CJ_Map |
| BP1658CJ_RGBCW | [HexColor] | Don't use it. It's for direct access of BP1658CJ driver. You don't need it because LED driver automatically calls it, so just use led_basecolor_rgb.<br/><br/>See also [BP1658CJ_RGBCW on forum](https://www.elektroda.com/rtvforum/find.php?q=BP1658CJ_RGBCW). | File: driver/drv_bp1658cj.c<br/>Function: BP1658CJ_RGBCW |
| BP5758D_Current | [MaxCurrentRGB][MaxCurrentCW] | Sets the maximum current limit for BP5758D driver, first value is for rgb and second for cw.<br/><br/>See also [BP5758D_Current on forum](https://www.elektroda.com/rtvforum/find.php?q=BP5758D_Current). | File: driver/drv_bp5758d.c<br/>Function: BP5758D_Current |
| BP5758D_Map | [Ch0][Ch1][Ch2][Ch3][Ch4] | Maps the RGBCW values to given indices of BP5758D channels. This is because BP5758D channels order is not the same for some devices. Some devices are using RGBCW order and some are using GBRCW, etc, etc. Example usage: BP5758D_Map 0 1 2 3 4.<br/><br/>See also [BP5758D_Map on forum](https://www.elektroda.com/rtvforum/find.php?q=BP5758D_Map). | File: driver/drv_bp5758d.c<br/>Function: BP5758D_Map |
| BP5758D_RGBCW | [HexColor] | Don't use it. It's for direct access of BP5758D driver. You don't need it because LED driver automatically calls it, so just use led_basecolor_rgb.<br/><br/>See also [BP5758D_RGBCW on forum](https://www.elektroda.com/rtvforum/find.php?q=BP5758D_RGBCW). | File: driver/drv_bp5758d.c<br/>Function: BP5758D_RGBCW |
| BridgePulseLength | [FloatValue] | Setup value for bridge pulse len.<br/><br/>See also [BridgePulseLength on forum](https://www.elektroda.com/rtvforum/find.php?q=BridgePulseLength). | File: driver/drv_bridge_driver.c<br/>Function: Bridge_Pulse_length |
| Buzzer | CMD_Buzzer | .<br/><br/>See also [Buzzer on forum](https://www.elektroda.com/rtvforum/find.php?q=Buzzer). | File: driver/drv_tclAC.c<br/>Function: NULL); |
| cancelRepeatingEvent | [UserIDInteger] | Stops a given repeating event with a specified ID.<br/><br/>See also [cancelRepeatingEvent on forum](https://www.elektroda.com/rtvforum/find.php?q=cancelRepeatingEvent). | File: cmnds/cmd_repeatingEvents.c<br/>Function: RepeatingEvents_Cmd_CancelRepeatingEvent |
| Ch | [InputValue] | An alternate command to access channels. It returns all used channels in JSON format. The syntax is ChINDEX value, there is no space between Ch and channel index. It can be sent without value to poll channel values.<br/><br/>See also [Ch on forum](https://www.elektroda.com/rtvforum/find.php?q=Ch). | File: cmnds/cmd_channels.c<br/>Function: CMD_Ch |
| chart_add | [ntp_time][val1][val2]...[valN] | Adds data to the chart with specified variables at a specific NTP time. See [tutorial](https://www.elektroda.com/rtvforum/topic4075289.html).<br/><br/>See also [chart_add on forum](https://www.elektroda.com/rtvforum/find.php?q=chart_add). | File: driver/drv_charts.c<br/>Function: NULL); |
| chart_addNow | [val1][val2]...[valN] | Adds data to the chart using the current NTP time. See [tutorial](https://www.elektroda.com/rtvforum/topic4075289.html).<br/><br/>See also [chart_addNow on forum](https://www.elektroda.com/rtvforum/find.php?q=chart_addNow). | File: driver/drv_charts.c<br/>Function: NULL); |
| chart_create | [max_samples][num_vars][num_axes] | Creates a chart with a specified number of samples, variables, and axes. See [tutorial](https://www.elektroda.com/rtvforum/topic4075289.html).<br/><br/>See also [chart_create on forum](https://www.elektroda.com/rtvforum/find.php?q=chart_create). | File: driver/drv_charts.c<br/>Function: NULL); |
| chart_setAxis | [axis_index][name][flags][label] | Sets up an axis with a name, flags, and label. Currently flags can be 0 (left axis) or 1 (right axis). See [tutorial](https://www.elektroda.com/rtvforum/topic4075289.html).<br/><br/>See also [chart_setAxis on forum](https://www.elektroda.com/rtvforum/find.php?q=chart_setAxis). | File: driver/drv_charts.c<br/>Function: NULL); |
| chart_setVar | [var_index][title][axis] | Associates a variable with a specific axis. See [tutorial](https://www.elektroda.com/rtvforum/topic4075289.html).<br/><br/>See also [chart_setVar on forum](https://www.elektroda.com/rtvforum/find.php?q=chart_setVar). | File: driver/drv_charts.c<br/>Function: NULL); |
| Choice | [IndexToExecute][Option0][Option1][Option2][OptionN][etc] | This will choose a given argument by index and execute it as a command. Index to execute can be a variable like $CH1.<br/><br/>See also [Choice on forum](https://www.elektroda.com/rtvforum/find.php?q=Choice). | File: cmnds/cmd_main.c<br/>Function: NULL); |
| chSetupLimit | [limitChannelIndex] [maxAllowedLimitChannelDelta] [timeoutOr-1] [commandToRun] | After executing this command, chargingLimit driver will watch channel for changes and count down timer. When a timer runs our or channel change (from the initial state) is larger than given margin, given command is run.<br/><br/>See also [chSetupLimit on forum](https://www.elektroda.com/rtvforum/find.php?q=chSetupLimit). | File: driver/drv_chargingLimit.c<br/>Function: ChargingLimit_SetupCommand); |
| CHT_Alert | [TempDiff][HumDiff][Freq][FQ] | Enable alert pin. TempDif (temperature difference is any float higher than 0.05�C) = set detected difference in temperature required for device to wake. HumDiff (humidity difference is any float higher than 0.1%). Freq (time per measurement in s) = 1, 5, 10, 60, 120 (default if wrong = 1). FQ (fault queue number) = 1, 2, 4, 6 (default if wrong = 1).<br/><br/>Example: CHT_Alert 0.5 0 5 2 <br /> alert pin will trigger when temperature deviates by more than 0.5�C. Humidity will be ignored. Sensor measures every 5s with fault queue number 2.<br/><br/>See also [CHT_Alert on forum](https://www.elektroda.com/rtvforum/find.php?q=CHT_Alert). | File: drv/drv_cht8305.c<br/>Function: CHT_Alert |
| CHT_Calibrate | [DeltaTemp][DeltaHumidity] | Calibrate the CHT Sensor as Tolerance is +/-2 degrees C.<br/><br/>Example: CHT_Calibrate -4 10 <br /> meaning -4 on current temp reading and +10 on current humidity reading<br/><br/>See also [CHT_Calibrate on forum](https://www.elektroda.com/rtvforum/find.php?q=CHT_Calibrate). | File: driver/drv_cht8305.c<br/>Function: CHT_Calibrate |
| CHT_Cycle | [IntervalSeconds] | This is the interval between measurements in seconds, by default 1. Max is 255.<br/><br/>Example: CHT_Cycle 60 <br /> measurement is taken every 60 seconds<br/><br/>See also [CHT_Cycle on forum](https://www.elektroda.com/rtvforum/find.php?q=CHT_Cycle). | File: drv/drv_cht8305.c<br/>Function: CHT_cycle |
| ClampChannel | [ChannelIndex][Min][Max] | Clamps given channel value to a range.<br/><br/>See also [ClampChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=ClampChannel). | File: cmnds/cmd_channels.c<br/>Function: CMD_ClampChannel |
| clearAll |  | Clears config and all remaining features, like runtime scripts, events, etc.<br/><br/>See also [clearAll on forum](https://www.elektroda.com/rtvforum/find.php?q=clearAll). | File: cmnds/cmd_main.c<br/>Function: CMD_ClearAll |
| clearAllHandlers |  | This clears all added event handlers.<br/><br/>See also [clearAllHandlers on forum](https://www.elektroda.com/rtvforum/find.php?q=clearAllHandlers). | File: cmnds/cmd_eventHandlers.c<br/>Function: CMD_ClearAllHandlers |
| clearClockEvents |  | Removes all set clock events.<br/><br/>See also [clearClockEvents on forum](https://www.elektroda.com/rtvforum/find.php?q=clearClockEvents). | File: driver/drv_ntp_events.c<br/>Function: CMD_NTP_ClearEvents |
| clearConfig |  | Clears all config, including WiFi data.<br/><br/>See also [clearConfig on forum](https://www.elektroda.com/rtvforum/find.php?q=clearConfig). | File: cmnds/cmd_main.c<br/>Function: CMD_ClearConfig |
| clearIO |  | Clears all pins setting, channels settings.<br/><br/>See also [clearIO on forum](https://www.elektroda.com/rtvforum/find.php?q=clearIO). | File: cmnds/cmd_main.c<br/>Function: CMD_ClearIO |
| ClearNoPingTime |  | Command for ping watchdog; it sets the 'time since last ping reply' to 0 again.<br/><br/>See also [ClearNoPingTime on forum](https://www.elektroda.com/rtvforum/find.php?q=ClearNoPingTime). | File: cmnds/cmd_main.c<br/>Function: CMD_ClearNoPingTime |
| clearRepeatingEvents |  | Clears all repeating events.<br/><br/>See also [clearRepeatingEvents on forum](https://www.elektroda.com/rtvforum/find.php?q=clearRepeatingEvents). | File: cmnds/cmd_repeatingEvents.c<br/>Function: RepeatingEvents_Cmd_ClearRepeatingEvents |
| CLOCK_CalcDST | [nthWeekEnd monthEnd dayEnd hourEnd nthWeekStart monthStart dayStart hourStart [g_DSToffset hours - default is 1 if unset] | Checks, if actual time is during DST or not.<br/><br/>See also [CLOCK_CalcDST on forum](https://www.elektroda.com/rtvforum/find.php?q=CLOCK_CalcDST). | File: driver/drv_ntp.c<br/>Function: CLOCK_CalcDST |
| clock_calcDST | CLOCK_CalcDST | .<br/><br/>See also [clock_calcDST on forum](https://www.elektroda.com/rtvforum/find.php?q=clock_calcDST). | File: driver/drv_ntp.c<br/>Function: NULL); |
| Color | [HexValue] | Puts the LED driver in RGB mode and sets given color.<br/><br/>See also [Color on forum](https://www.elektroda.com/rtvforum/find.php?q=Color). | File: cmnds/cmd_newLEDDriver.c<br/>Function: basecolor_rgb |
| ConsumptionThreshold | [FloatValue] | Setup value for automatic save of consumption data [1..100].<br/><br/>See also [ConsumptionThreshold on forum](https://www.elektroda.com/rtvforum/find.php?q=ConsumptionThreshold). | File: driver/drv_bl_shared.c<br/>Function: BL09XX_SetupConsumptionThreshold |
| crashNull |  | Causes a crash.<br/><br/>See also [crashNull on forum](https://www.elektroda.com/rtvforum/find.php?q=crashNull). | File: cmnds/cmd_main.c<br/>Function: CMD_CrashNull |
| CT | [TempValue] | Sets the LED temperature. Same as led_temperature but with Tasmota syntax.<br/><br/>See also [CT on forum](https://www.elektroda.com/rtvforum/find.php?q=CT). | File: cmnds/cmd_newLEDDriver.c<br/>Function: temperature |
| CTRange | [MinRange][MaxRange] | This sets the temperature range for display. Default is 154-500.<br/><br/>See also [CTRange on forum](https://www.elektroda.com/rtvforum/find.php?q=CTRange). | File: cmnds/cmd_newLEDDriver.c<br/>Function: ctRange |
| CurrentSet | Current | Measure the real Current with an external, reliable power meter and enter this Current via this command to calibrate. The calibration is automatically saved in the flash memory.<br/><br/>See also [CurrentSet on forum](https://www.elektroda.com/rtvforum/find.php?q=CurrentSet). | File: driver/drv_pwrCal.c<br/>Function: NULL); |
| DeepSleep | [Seconds] | Starts deep sleep for given amount of seconds. Please remember that there is also a separate command, called PinDeepSleep, which is not using a timer, but a GPIO to wake up device.<br/><br/>See also [DeepSleep on forum](https://www.elektroda.com/rtvforum/find.php?q=DeepSleep). | File: cmnds/cmd_main.c<br/>Function: CMD_DeepSleep |
| delay_ms | [ValueMS] | Script-only command. Pauses current script thread for given amount of ms.<br/><br/>See also [delay_ms on forum](https://www.elektroda.com/rtvforum/find.php?q=delay_ms). | File: cmnds/cmd_script.c<br/>Function: CMD_Delay_ms |
| delay_s | [ValueSeconds] | Script-only command. Pauses current script thread for given amount of seconds. Argument can be a floating point, so 0.1 etc will work.<br/><br/>See also [delay_s on forum](https://www.elektroda.com/rtvforum/find.php?q=delay_s). | File: cmnds/cmd_script.c<br/>Function: CMD_Delay_s |
| DGR_SendBrightness | [GroupName][Brightness] | Sends a Brightness message to given Tasmota Device Group with no reliability. Requires no prior setup and can control any group, but won't retransmit.<br/><br/>See also [DGR_SendBrightness on forum](https://www.elektroda.com/rtvforum/find.php?q=DGR_SendBrightness). | File: driver/drv_tasmotaDeviceGroups.c<br/>Function: CMD_DGR_SendBrightness |
| DGR_SendFixedColor | [GroupName][TasColorIndex] | Sends a FixedColor message to given Tasmota Device Group with no reliability. Requires no prior setup and can control any group, but won't retransmit.<br/><br/>See also [DGR_SendFixedColor on forum](https://www.elektroda.com/rtvforum/find.php?q=DGR_SendFixedColor). | File: driver/drv_tasmotaDeviceGroups.c<br/>Function: CMD_DGR_SendFixedColor |
| DGR_SendPower | [GroupName][ChannelValues][ChannelsCount] | Sends a POWER message to given Tasmota Device Group with no reliability. Requires no prior setup and can control any group, but won't retransmit.<br/><br/>See also [DGR_SendPower on forum](https://www.elektroda.com/rtvforum/find.php?q=DGR_SendPower). | File: driver/drv_tasmotaDeviceGroups.c<br/>Function: CMD_DGR_SendPower |
| DGR_SendRGBCW | [GroupName][HexRGBCW] | Sends a RGBCW message to given Tasmota Device Group with no reliability. Requires no prior setup and can control any group, but won't retransmit. You can use this command in two ways, first is like DGR_SendRGBCW GroupName 255 255 0, etc, second is DGR_SendRGBCW GroupName FF00FF00 etc etc.<br/><br/>See also [DGR_SendRGBCW on forum](https://www.elektroda.com/rtvforum/find.php?q=DGR_SendRGBCW). | File: driver/drv_tasmotaDeviceGroups.c<br/>Function: CMD_DGR_SendRGBCW |
| Dimmer | [Value] | Alias for led_dimmer, added for Tasmota.<br/><br/>See also [Dimmer on forum](https://www.elektroda.com/rtvforum/find.php?q=Dimmer). | File: cmnds/cmd_newLEDDriver.c<br/>Function: dimmer |
| DimmerDelta | [DeltaValue] | This sets the delta value for SmartDimmer/SmartButtonForLEDs hold event. This determines the amount of change of dimmer per hold event.<br/><br/>See also [DimmerDelta on forum](https://www.elektroda.com/rtvforum/find.php?q=DimmerDelta). | File: cmnds/cmd_newLEDDriver.c<br/>Function: dimmerDelta |
| Display | CMD_Display | .<br/><br/>See also [Display on forum](https://www.elektroda.com/rtvforum/find.php?q=Display). | File: driver/drv_tclAC.c<br/>Function: NULL); |
| DS1820_SetResolution | [int] | Sets resolution for connected DS1820 sensor (9/10/11/12 bits).<br/><br/>See also [DS1820_SetResolution on forum](https://www.elektroda.com/rtvforum/find.php?q=DS1820_SetResolution). | File: drv/drv_ds1820_simple.c<br/>Function: Cmd_SetResolution |
| DSEdge | [edgeCode][optionalPinIndex] | DeepSleep (PinDeepSleep) wake configuration command. 0 means always wake up on rising edge, 1 means on falling, 2 means if state is high, use falling edge, if low, use rising. Default is 2. Second argument is optional and allows to set per-pin DSEdge instead of setting it for all pins.<br/><br/>See also [DSEdge on forum](https://www.elektroda.com/rtvforum/find.php?q=DSEdge). | File: drv/drv_doorSensorWithDeepSleep.c<br/>Function: CMD_DeepSleep_SetEdge |
| DSTime | [timeSeconds][optionalAutoWakeUpTimeSeconds] | DoorSensor driver configuration command. Time to keep device running before next sleep after last door sensor change. In future we may add also an option to automatically sleep after MQTT confirms door state receival. You can also use this to extend current awake time (at runtime) with syntax: 'DSTime +10', this will make device stay awake 10 seconds longer. You can also restart current value of awake counter by 'DSTime clear', this will make counter go from 0 again.<br/><br/>See also [DSTime on forum](https://www.elektroda.com/rtvforum/find.php?q=DSTime). | File: drv/drv_doorSensorWithDeepSleep.c<br/>Function: DoorDeepSleep_SetTime |
| echo | [Message] | Sends given message back to console. This command expands variables, so writing $CH12 will print value of channel 12, etc. Remember that you can also use special channel indices to access persistant flash variables and to access LED variables like dimmer, etc.<br/><br/>See also [echo on forum](https://www.elektroda.com/rtvforum/find.php?q=echo). | File: cmnds/cmd_main.c<br/>Function: CMD_Echo |
| EnergyCntReset | [OptionalNewValue][sensorix] | Resets the total Energy Counter, the one that is usually kept after device reboots. After this commands, the counter will start again from 0 (or from the value you specified). sensorix is used in ENABLE_BL_TWIN.<br/><br/>See also [EnergyCntReset on forum](https://www.elektroda.com/rtvforum/find.php?q=EnergyCntReset). | File: driver/drv_bl_shared.c<br/>Function: BL09XX_ResetEnergyCounter |
| exec | [Filename] | Exec <file> - run autoexec.bat or other file from LFS if present.<br/><br/>See also [exec on forum](https://www.elektroda.com/rtvforum/find.php?q=exec). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_lfsexec |
| ExitSimulator |  | [SIMULATOR ONLY] Exits the application instance.<br/><br/>See also [ExitSimulator on forum](https://www.elektroda.com/rtvforum/find.php?q=ExitSimulator). | File: cmnds/cmd_simulatorOnly.c<br/>Function: CMD_ExitSimulator |
| fakeTuyaPacket | [HexString] | This simulates packet being sent from TuyaMCU to our OBK device.<br/><br/>See also [fakeTuyaPacket on forum](https://www.elektroda.com/rtvforum/find.php?q=fakeTuyaPacket). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_FakePacket |
| FANMode | CMD_FANMode | .<br/><br/>See also [FANMode on forum](https://www.elektroda.com/rtvforum/find.php?q=FANMode). | File: driver/drv_tclAC.c<br/>Function: NULL); |
| flags | [IntegerValue] | Sets the device flags.<br/><br/>See also [flags on forum](https://www.elektroda.com/rtvforum/find.php?q=flags). | File: cmnds/cmd_main.c<br/>Function: CMD_Flags |
| FriendlyName | [Name] | Sets the full name of the device.<br/><br/>See also [FriendlyName on forum](https://www.elektroda.com/rtvforum/find.php?q=FriendlyName). | File: cmnds/cmd_channels.c<br/>Function: CMD_FriendlyName |
| FullBootTime | [Value] | Sets time in seconds after which boot is marked as valid. This is related to emergency AP mode which is enabled by powering on/off device 5 times quickly.<br/><br/>See also [FullBootTime on forum](https://www.elektroda.com/rtvforum/find.php?q=FullBootTime). | File: cmnds/cmd_channels.c<br/>Function: CMD_FullBootTime |
| GetChannel | [ChannelIndex] | Prints given channel value to console.<br/><br/>See also [GetChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=GetChannel). | File: cmnds/cmd_channels.c<br/>Function: CMD_GetChannel |
| GetReadings |  | Prints voltage etc readings to console.<br/><br/>See also [GetReadings on forum](https://www.elektroda.com/rtvforum/find.php?q=GetReadings). | File: cmnds/cmd_channels.c<br/>Function: CMD_GetReadings |
| goto | [LabelStr] | Script-only command. IF single argument is given, then goes to given label from within current script file. If two arguments are given, then jumps to any other script file by label - first argument is file, second label.<br/><br/>See also [goto on forum](https://www.elektroda.com/rtvforum/find.php?q=goto). | File: cmnds/cmd_script.c<br/>Function: CMD_GoTo |
| HSBColor | [H][S][B] | Tasmota-style colour access. Hue in 0-360 range, saturation in 0-100 and brightness in 0-100 range. .<br/><br/>See also [HSBColor on forum](https://www.elektroda.com/rtvforum/find.php?q=HSBColor). | File: cmnds/cmd_newLEDDriver.c<br/>Function: LED_SetBaseColor_HSB |
| HSBColor1 | [Hue] | Tasmota-style colour access. Sets hue in 0 to 360 range.<br/><br/>See also [HSBColor1 on forum](https://www.elektroda.com/rtvforum/find.php?q=HSBColor1). | File: cmnds/cmd_newLEDDriver.c<br/>Function: setHue |
| HSBColor2 | [Saturation] | Tasmota-style colour access. Set saturation in 0 to 100 range.<br/><br/>See also [HSBColor2 on forum](https://www.elektroda.com/rtvforum/find.php?q=HSBColor2). | File: cmnds/cmd_newLEDDriver.c<br/>Function: setSaturation |
| HSBColor3 | [Brightness] | Tasmota-style colour access. Sets brightness in 0 to 100 range.<br/><br/>See also [HSBColor3 on forum](https://www.elektroda.com/rtvforum/find.php?q=HSBColor3). | File: cmnds/cmd_newLEDDriver.c<br/>Function: setBrightness |
| HT16K33_Blink | HT16K33_Blink | .<br/><br/>See also [HT16K33_Blink on forum](https://www.elektroda.com/rtvforum/find.php?q=HT16K33_Blink). | File: driver/drv_ht16k33.c<br/>Function: NULL); |
| HT16K33_Brightness | HT16K33_Brightness | .<br/><br/>See also [HT16K33_Brightness on forum](https://www.elektroda.com/rtvforum/find.php?q=HT16K33_Brightness). | File: driver/drv_ht16k33.c<br/>Function: NULL); |
| HT16K33_Char | HT16K33_Char | .<br/><br/>See also [HT16K33_Char on forum](https://www.elektroda.com/rtvforum/find.php?q=HT16K33_Char). | File: driver/drv_ht16k33.c<br/>Function: NULL); |
| HT16K33_Print | HT16K33_Print | .<br/><br/>See also [HT16K33_Print on forum](https://www.elektroda.com/rtvforum/find.php?q=HT16K33_Print). | File: driver/drv_ht16k33.c<br/>Function: NULL); |
| HT16K33_Raw | HT16K33_Raw | .<br/><br/>See also [HT16K33_Raw on forum](https://www.elektroda.com/rtvforum/find.php?q=HT16K33_Raw). | File: driver/drv_ht16k33.c<br/>Function: NULL); |
| HT16K33_Test | HT16K33_Test | .<br/><br/>See also [HT16K33_Test on forum](https://www.elektroda.com/rtvforum/find.php?q=HT16K33_Test). | File: driver/drv_ht16k33.c<br/>Function: NULL); |
| if | [Condition]['then'][CommandA]['else'][CommandB] | Executed a conditional. Condition should be single line. You must always use 'then' after condition. 'else' is optional. Use aliases or quotes for commands with spaces.<br/><br/>See also [if on forum](https://www.elektroda.com/rtvforum/find.php?q=if). | File: cmnds/cmd_main.c<br/>Function: CMD_If |
| IndexRefreshInterval | [Interval] | .<br/><br/>See also [IndexRefreshInterval on forum](https://www.elektroda.com/rtvforum/find.php?q=IndexRefreshInterval). | File: cmnds/cmd_main.c<br/>Function: NULL); |
| IRAC | [TODO] | Sends IR commands for HVAC control (TODO).<br/><br/>See also [IRAC on forum](https://www.elektroda.com/rtvforum/find.php?q=IRAC). | File: driver/drv_ir.cpp<br/>Function: IR_AC_Cmd |
| IREnable | [Str][1or0] | Enable/disable aspects of IR.  IREnable RXTX 0/1 - enable Rx whilst Tx.  IREnable [protocolname] 0/1 - enable/disable a specified protocol.<br/><br/>See also [IREnable on forum](https://www.elektroda.com/rtvforum/find.php?q=IREnable). | File: driver/drv_ir.cpp<br/>Function: IR_Enable |
| IRParam | [MinSize] [Noise Threshold] | Set minimal size of the message and noise threshold.<br/><br/>See also [IRParam on forum](https://www.elektroda.com/rtvforum/find.php?q=IRParam). | File: driver/drv_ir.cpp<br/>Function: IR_Enable |
| IRSend | [PROT-ADDR-CMD-REP-BITS] | Sends IR commands in the form PROT-ADDR-CMD-REP-BITS, e.g. NEC-1-1A-0-0, note that -BITS is optional, it can be 0 for default one, so you can just do NEC-1-1A-0.<br/><br/>See also [IRSend on forum](https://www.elektroda.com/rtvforum/find.php?q=IRSend). | File: driver/drv_ir.cpp<br/>Function: IR_Send_Cmd |
| Json | json array of commands | A stub for Tasmota.<br/><br/>See also [Json on forum](https://www.elektroda.com/rtvforum/find.php?q=Json). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_JsonCommand |
| json_test |  | Developer-only command used to test CJSON library.<br/><br/>See also [json_test on forum](https://www.elektroda.com/rtvforum/find.php?q=json_test). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| KP18058_Current | [RGBLimit][CWLimit] | Sets the maximum current for LED driver. Values 0-31. Example usage: KP18058_Current 14 30.<br/><br/>See also [KP18058_Current on forum](https://www.elektroda.com/rtvforum/find.php?q=KP18058_Current). | File: driver/drv_kp18058.c<br/>Function: KP18058_Current |
| KP18058_Map | [Ch0][Ch1][Ch2][Ch3][Ch4] | Maps KP18058_Map RGBCW values to given indices of KP18058 channels. This is because KP18058 channels order is not the same for some devices. Some devices are using RGBCW order and some are using GBRCW, etc, etc. Example usage: KP18058_Map 0 1 2 3 4.<br/><br/>See also [KP18058_Map on forum](https://www.elektroda.com/rtvforum/find.php?q=KP18058_Map). | File: driver/drv_kp18058.c<br/>Function: KP18058_Map |
| KP18058_RGBCW | [HexColor] | Don't use it. It's for direct access of KP18058 driver. You don't need it because LED driver automatically calls it, so just use led_basecolor_rgb.<br/><br/>See also [KP18058_RGBCW on forum](https://www.elektroda.com/rtvforum/find.php?q=KP18058_RGBCW). | File: driver/drv_kp18058.c<br/>Function: KP18058_RGBCW |
| lcd_clear |  | Clears the LCD.<br/><br/>See also [lcd_clear on forum](https://www.elektroda.com/rtvforum/find.php?q=lcd_clear). | File: i2c/drv_i2c_lcd_pcf8574t.c<br/>Function: DRV_I2C_LCD_PCF8574_Clear |
| lcd_clearAndGoto |  | Clears LCD and go to pos.<br/><br/>See also [lcd_clearAndGoto on forum](https://www.elektroda.com/rtvforum/find.php?q=lcd_clearAndGoto). | File: i2c/drv_i2c_lcd_pcf8574t.c<br/>Function: DRV_I2C_LCD_PCF8574_ClearAndGoTo |
| lcd_goto |  | Go to position on LCD.<br/><br/>See also [lcd_goto on forum](https://www.elektroda.com/rtvforum/find.php?q=lcd_goto). | File: i2c/drv_i2c_lcd_pcf8574t.c<br/>Function: DRV_I2C_LCD_PCF8574_GoTo |
| lcd_print |  | Prints a string on the LCD.<br/><br/>See also [lcd_print on forum](https://www.elektroda.com/rtvforum/find.php?q=lcd_print). | File: i2c/drv_i2c_lcd_pcf8574t.c<br/>Function: DRV_I2C_LCD_PCF8574_Print |
| lcd_printFloat |  | Prints a float on the LCD.<br/><br/>See also [lcd_printFloat on forum](https://www.elektroda.com/rtvforum/find.php?q=lcd_printFloat). | File: i2c/drv_i2c_lcd_pcf8574t.c<br/>Function: DRV_I2C_LCD_PCF8574_PrintFloat |
| lcd_printInt |  | Prints an omt on the LCD.<br/><br/>See also [lcd_printInt on forum](https://www.elektroda.com/rtvforum/find.php?q=lcd_printInt). | File: i2c/drv_i2c_lcd_pcf8574t.c<br/>Function: DRV_I2C_LCD_PCF8574_PrintInt |
| led_basecolor_rgb | [HexValue] | Puts the LED driver in RGB mode and sets given color.<br/><br/>See also [led_basecolor_rgb on forum](https://www.elektroda.com/rtvforum/find.php?q=led_basecolor_rgb). | File: cmnds/cmd_newLEDDriver.c<br/>Function: basecolor_rgb |
| led_basecolor_rgbcw | [HexValue] | Set PWN color using #RRGGBB[cw][ww].<br/><br/>See also [led_basecolor_rgbcw on forum](https://www.elektroda.com/rtvforum/find.php?q=led_basecolor_rgbcw). | File: cmnds/cmd_newLEDDriver.c<br/>Function: basecolor_rgbcw |
| led_colorMult | [Value] | Internal usage.<br/><br/>See also [led_colorMult on forum](https://www.elektroda.com/rtvforum/find.php?q=led_colorMult). | File: cmnds/cmd_newLEDDriver.c<br/>Function: colorMult |
| led_dimmer | [Value] | Set output dimmer 0..100.<br/><br/>See also [led_dimmer on forum](https://www.elektroda.com/rtvforum/find.php?q=led_dimmer). | File: cmnds/cmd_newLEDDriver.c<br/>Function: dimmer |
| led_enableAll | [1or0orToggle] | Power on/off LED but remember the RGB(CW) values.<br/><br/>See also [led_enableAll on forum](https://www.elektroda.com/rtvforum/find.php?q=led_enableAll). | File: cmnds/cmd_newLEDDriver.c<br/>Function: enableAll |
| led_finishFullLerp |  | This will force-finish LED color interpolation. You can call it after setting the colour to skip the interpolation/smooth transition time. Of course, it makes only sense if you enabled smooth colour transitions.<br/><br/>See also [led_finishFullLerp on forum](https://www.elektroda.com/rtvforum/find.php?q=led_finishFullLerp). | File: cmnds/cmd_newLEDDriver.c<br/>Function: led_finishFullLerp |
| led_gammaCtrl | sub-cmd [par] | Control LED Gamma Correction and Calibration.<br/><br/>Example: led_gammaCtrl on<br/><br/>See also [led_gammaCtrl on forum](https://www.elektroda.com/rtvforum/find.php?q=led_gammaCtrl). | File: cmnds/cmd_rgbGamma.c<br/>Function: rgb_gamma_control |
| led_hue | [Value] | This is an alternate way to set the LED color.<br/><br/>See also [led_hue on forum](https://www.elektroda.com/rtvforum/find.php?q=led_hue). | File: cmnds/cmd_newLEDDriver.c<br/>Function: setHue |
| led_lerpSpeed | [LerpSpeed] | Sets the speed of colour interpolation, where speed is defined as a number of RGB units per second, so 255 will lerp from 0 to 255 in one second.<br/><br/>See also [led_lerpSpeed on forum](https://www.elektroda.com/rtvforum/find.php?q=led_lerpSpeed). | File: cmnds/cmd_newLEDDriver.c<br/>Function: lerpSpeed |
| LED_Map | [Ch0][Ch1][Ch2][Ch3][Ch4] | .<br/><br/>See also [LED_Map on forum](https://www.elektroda.com/rtvforum/find.php?q=LED_Map). | File: driver/drv_sm15155e.c<br/>Function: NULL); |
| led_nextColor |  | Sets the next color from predefined colours list. Our list is the same as in Tasmota.<br/><br/>See also [led_nextColor on forum](https://www.elektroda.com/rtvforum/find.php?q=led_nextColor). | File: cmnds/cmd_newLEDDriver.c<br/>Function: nextColor |
| led_saturation | [Value] | This is an alternate way to set the LED color.<br/><br/>See also [led_saturation on forum](https://www.elektroda.com/rtvforum/find.php?q=led_saturation). | File: cmnds/cmd_newLEDDriver.c<br/>Function: setSaturation |
| led_saveInterval | [IntervalSeconds] | This determines how often LED state can be saved to flash memory. The state is saved only if it was modified and if the flag for LED state save is enabled. Set this to higher value if you are changing LED states very often, for example from xLights. Saving too often could wear out flash memory too fast.<br/><br/>See also [led_saveInterval on forum](https://www.elektroda.com/rtvforum/find.php?q=led_saveInterval). | File: cmnds/cmd_newLEDDriver.c<br/>Function: cmdSaveStateIfModifiedInterval |
| led_temperature | [TempValue] | Toggles LED driver into temperature mode and sets given temperature. It using Home Assistant temperature range (in the range from 154-500 defined in homeassistant/util/color.py as HASS_COLOR_MIN and HASS_COLOR_MAX).<br/><br/>See also [led_temperature on forum](https://www.elektroda.com/rtvforum/find.php?q=led_temperature). | File: cmnds/cmd_newLEDDriver.c<br/>Function: temperature |
| lfs_append | [FileName][String] | Appends a string to LFS file.<br/><br/>See also [lfs_append on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_append). | File: cmnds/cmd_main.c<br/>Function: CMD_LFS_Append |
| lfs_appendFloat | [FileName][Float] | Appends a float to LFS file.<br/><br/>See also [lfs_appendFloat on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_appendFloat). | File: cmnds/cmd_main.c<br/>Function: CMD_LFS_AppendFloat |
| lfs_appendInt | [FileName][Int] | Appends a Int to LFS file.<br/><br/>See also [lfs_appendInt on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_appendInt). | File: cmnds/cmd_main.c<br/>Function: CMD_LFS_AppendInt |
| lfs_appendLine | [FileName][String] | Appends a string to LFS file with a next line marker.<br/><br/>See also [lfs_appendLine on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_appendLine). | File: cmnds/cmd_main.c<br/>Function: CMD_LFS_AppendLine |
| lfs_format |  | Unmount and format LFS.  Optionally add new size as argument.<br/><br/>See also [lfs_format on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_format). | File: littlefs/our_lfs.c<br/>Function: CMD_LFS_Format |
| lfs_mkdir | CMD_LFS_MakeDirectory | .<br/><br/>See also [lfs_mkdir on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_mkdir). | File: littlefs/our_lfs.c<br/>Function: NULL); |
| lfs_mount |  | Mount LFS.<br/><br/>See also [lfs_mount on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_mount). | File: littlefs/our_lfs.c<br/>Function: CMD_LFS_Mount |
| lfs_remove | [FileName] | Deletes a LittleFS file.<br/><br/>See also [lfs_remove on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_remove). | File: cmnds/cmd_main.c<br/>Function: CMD_LFS_Remove |
| lfs_size | [MaxSize] | Log or Set LFS size - will apply and re-format next boot, usage setlfssize 0x10000.<br/><br/>See also [lfs_size on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_size). | File: littlefs/our_lfs.c<br/>Function: CMD_LFS_Size |
| lfs_test1 | [FileName] | Tests the LFS file reading feature.<br/><br/>See also [lfs_test1 on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_test1). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_lfs_test1 |
| lfs_test2 | [FileName] | Tests the LFS file reading feature.<br/><br/>See also [lfs_test2 on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_test2). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_lfs_test2 |
| lfs_test3 | [FileName] | Tests the LFS file reading feature.<br/><br/>See also [lfs_test3 on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_test3). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_lfs_test3 |
| lfs_unmount |  | Un-mount LFS.<br/><br/>See also [lfs_unmount on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_unmount). | File: littlefs/our_lfs.c<br/>Function: CMD_LFS_Unmount |
| lfs_write | [FileName][String] | Resets a LFS file and writes a new string to it.<br/><br/>See also [lfs_write on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_write). | File: cmnds/cmd_main.c<br/>Function: CMD_LFS_Write |
| lfs_writeLine | [FileName][String] | Resets a LFS file and writes a new string to it with newline.<br/><br/>See also [lfs_writeLine on forum](https://www.elektroda.com/rtvforum/find.php?q=lfs_writeLine). | File: cmnds/cmd_main.c<br/>Function: CMD_LFS_WriteLine |
| linkTuyaMCUOutputToChannel | [dpId][varType][channelID][bDPCache-Optional][mult-optional][bInverse-Optional][delta-Optional][delta2][delta3] | Used to map between TuyaMCU dpIDs and our internal channels. Mult, inverse and delta are for calibration, they are optional. bDPCache is also optional, you can set it to 1 for battery powered devices, so a variable is set with DPCache, for example a sampling interval for humidity/temperature sensor. Mapping works both ways. DpIDs are per-device, you can get them by sniffing UART communication. Vartypes can also be sniffed from Tuya. VarTypes can be following: 0-raw, 1-bool, 2-value, 3-string, 4-enum, 5-bitmap. Please see [Tuya Docs](https://developer.tuya.com/en/docs/iot/tuya-cloud-universal-serial-port-access-protocol?id=K9hhi0xxtn9cb) for info about TuyaMCU. You can also see our [TuyaMCU Analyzer Tool](https://www.elektroda.com/rtvforum/viewtopic.php?p=20528459#20528459).<br/><br/>See also [linkTuyaMCUOutputToChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=linkTuyaMCUOutputToChannel). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_LinkTuyaMCUOutputToChannel |
| listClockEvents |  | Print the complete set clock events list.<br/><br/>See also [listClockEvents on forum](https://www.elektroda.com/rtvforum/find.php?q=listClockEvents). | File: driver/drv_ntp_events.c<br/>Function: CMD_NTP_ListEvents |
| listEventHandlers |  | Prints full list of added event handlers.<br/><br/>See also [listEventHandlers on forum](https://www.elektroda.com/rtvforum/find.php?q=listEventHandlers). | File: cmnds/cmd_eventHandlers.c<br/>Function: CMD_ListEventHandlers |
| listRepeatingEvents |  | Lists all repeating events.<br/><br/>See also [listRepeatingEvents on forum](https://www.elektroda.com/rtvforum/find.php?q=listRepeatingEvents). | File: cmnds/cmd_repeatingEvents.c<br/>Function: RepeatingEvents_Cmd_ListRepeatingEvents |
| listScripts |  | Lists all running scripts.<br/><br/>See also [listScripts on forum](https://www.elektroda.com/rtvforum/find.php?q=listScripts). | File: cmnds/cmd_script.c<br/>Function: CMD_ListScripts |
| logdelay | [Value] | Value is a number of ms. This will add an artificial delay in each log call. Useful for debugging. This way you can see step by step what happens.<br/><br/>See also [logdelay on forum](https://www.elektroda.com/rtvforum/find.php?q=logdelay). | File: logging/logging.c<br/>Function: log_command |
| logfeature | [Index][1or0] | Set log feature filter, as an index and a 1 or 0.<br/><br/>See also [logfeature on forum](https://www.elektroda.com/rtvforum/find.php?q=logfeature). | File: logging/logging.c<br/>Function: log_command |
| loglevel | [Value] | Correct values are 0 to 7. Default is 3. Higher value includes more logs. Log levels are: ERROR = 1, WARN = 2, INFO = 3, DEBUG = 4, EXTRADEBUG = 5. WARNING: you also must separately select logging level filter on web panel in order for more logs to show up there.<br/><br/>See also [loglevel on forum](https://www.elektroda.com/rtvforum/find.php?q=loglevel). | File: logging/logging.c<br/>Function: log_command |
| logport | [Index] | Allows you to change log output port. On Beken, the UART1 is used for flashing and for TuyaMCU/BL0942, while UART2 is for log. Sometimes it might be easier for you to have log on UART1, so now you can just use this command like backlog uartInit 115200; logport 1 to enable logging on UART1..<br/><br/>See also [logport on forum](https://www.elektroda.com/rtvforum/find.php?q=logport). | File: logging/logging.c<br/>Function: log_port |
| logtype | [TypeStr] | Logtype direct|thread|none - type of serial logging - thread (in a thread; default), direct (logged directly to serial), none (no UART logging).<br/><br/>See also [logtype on forum](https://www.elektroda.com/rtvforum/find.php?q=logtype). | File: logging/logging.c<br/>Function: log_command |
| Map | [TargetChannel][InputValue][InMin][InMax][OutMin][OutMax] | Used to convert a value from one range into a proportional value of another range.<br/><br/>See also [Map on forum](https://www.elektroda.com/rtvforum/find.php?q=Map). | File: cmnds/cmd_channels.c<br/>Function: CMD_Map |
| MapRanges | [TargetChannel][InputValue][RangeVal0][RangeVal1][RangeValN] | This will set given channel to an index showing where given input value is within given range sections. For example, MapRanges 10 0.5 0.3 0.6 0.9 will set channel 10 to 1 because 0.5 value is between 0.3 and 0.6.<br/><br/>See also [MapRanges on forum](https://www.elektroda.com/rtvforum/find.php?q=MapRanges). | File: cmnds/cmd_channels.c<br/>Function: CMD_MapRanges |
| MAX72XX_Print | DRV_MAX72XX_Print | .<br/><br/>See also [MAX72XX_Print on forum](https://www.elektroda.com/rtvforum/find.php?q=MAX72XX_Print). | File: driver/drv_max72xx_single.c<br/>Function: NULL); |
| MAX72XX_Scroll | DRV_MAX72XX_Scroll | .<br/><br/>See also [MAX72XX_Scroll on forum](https://www.elektroda.com/rtvforum/find.php?q=MAX72XX_Scroll). | File: driver/drv_max72xx_single.c<br/>Function: NULL); |
| MAX72XX_Setup | [Value] | Sets the maximum current for LED driver.<br/><br/>See also [MAX72XX_Setup on forum](https://www.elektroda.com/rtvforum/find.php?q=MAX72XX_Setup). | File: driver/drv_sm2135.c<br/>Function: SM2135_Current |
| MCP23017_MapPinToChannel |  | Maps port expander bit to OBK channel.<br/><br/>See also [MCP23017_MapPinToChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=MCP23017_MapPinToChannel). | File: i2c/drv_i2c_main.c<br/>Function: DRV_I2C_MCP23017_MapPinToChannel |
| MCP9808_Adr | [HexAdr] | Sets the I2C address of MCP9808, like 0x30.<br/><br/>See also [MCP9808_Adr on forum](https://www.elektroda.com/rtvforum/find.php?q=MCP9808_Adr). | File: driver/drv_mcp9808.c<br/>Function: NULL); |
| MCP9808_AlertMin | [MinT] [OptionalBActiveHigh] | Setup MCP9809 temperature alert for min mode.<br/><br/>See also [MCP9808_AlertMin on forum](https://www.elektroda.com/rtvforum/find.php?q=MCP9808_AlertMin). | File: driver/drv_mcp9808.c<br/>Function: ); |
| MCP9808_AlertRange | [MinT] [MaxT] [OptionalBActiveHigh] | Setup MCP9809 temperature alert for range mode.<br/><br/>See also [MCP9808_AlertRange on forum](https://www.elektroda.com/rtvforum/find.php?q=MCP9808_AlertRange). | File: driver/drv_mcp9808.c<br/>Function: NULL); |
| MCP9808_Calibrate | [DeltaTemperature] | .<br/><br/>See also [MCP9808_Calibrate on forum](https://www.elektroda.com/rtvforum/find.php?q=MCP9808_Calibrate). | File: driver/drv_mcp9808.c<br/>Function: NULL); |
| MCP9808_Cycle | [DelayInSeconds] | Sets MCP9808 measurement interval.<br/><br/>See also [MCP9808_Cycle on forum](https://www.elektroda.com/rtvforum/find.php?q=MCP9808_Cycle). | File: driver/drv_mcp9808.c<br/>Function: NULL); |
| MqttClient | [ValueString] | Sets the MQTT client. Command keeps Tasmota syntax.<br/><br/>See also [MqttClient on forum](https://www.elektroda.com/rtvforum/find.php?q=MqttClient). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_MqttClient |
| MqttGroup | [ValueString] | Sets the MQTT Group topic. Command keeps Tasmota syntax.<br/><br/>See also [MqttGroup on forum](https://www.elektroda.com/rtvforum/find.php?q=MqttGroup). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_MqttGroup |
| MqttHost | [ValueString] | Sets the MQTT host. Command keeps Tasmota syntax.<br/><br/>See also [MqttHost on forum](https://www.elektroda.com/rtvforum/find.php?q=MqttHost). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_MqttHost |
| MqttPassword | [ValueString] | Sets the MQTT pass. Command keeps Tasmota syntax.<br/><br/>See also [MqttPassword on forum](https://www.elektroda.com/rtvforum/find.php?q=MqttPassword). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_MqttPassword |
| MqttUser | [ValueString] | Sets the MQTT user. Command keeps Tasmota syntax.<br/><br/>See also [MqttUser on forum](https://www.elektroda.com/rtvforum/find.php?q=MqttUser). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_MqttUser |
| mqtt_broadcastInterval | [ValueSeconds] | If broadcast self state every 60 seconds/minute is enabled in flags, this value allows you to change the delay, change this 60 seconds to any other value in seconds. This value is not saved, you must use autoexec.bat or short startup command to execute it on every reboot.<br/><br/>See also [mqtt_broadcastInterval on forum](https://www.elektroda.com/rtvforum/find.php?q=mqtt_broadcastInterval). | File: mqtt/new_mqtt.c<br/>Function: MQTT_SetBroadcastInterval |
| mqtt_broadcastItemsPerSec | [PublishCountPerSecond] | If broadcast self state (this option in flags) is started, then gradually device info is published, with a speed of N publishes per second. Do not set too high value, it may overload LWIP MQTT library. This value is not saved, you must use autoexec.bat or short startup command to execute it on every reboot.<br/><br/>See also [mqtt_broadcastItemsPerSec on forum](https://www.elektroda.com/rtvforum/find.php?q=mqtt_broadcastItemsPerSec). | File: mqtt/new_mqtt.c<br/>Function: MQTT_SetMaxBroadcastItemsPublishedPerSecond |
| ntp_info |  | Display NTP related settings.<br/><br/>See also [ntp_info on forum](https://www.elektroda.com/rtvforum/find.php?q=ntp_info). | File: driver/drv_ntp.c<br/>Function: NTP_Info |
| ntp_setLatLong | [Latlong] | Sets the NTP latitude and longitude.<br/><br/>Example: NTP_SetLatlong -34.911498 138.809488<br/><br/>See also [ntp_setLatLong on forum](https://www.elektroda.com/rtvforum/find.php?q=ntp_setLatLong). | File: driver/drv_ntp.c<br/>Function: NTP_SetLatlong |
| ntp_setServer | [ServerIP] | Sets the NTP server.<br/><br/>See also [ntp_setServer on forum](https://www.elektroda.com/rtvforum/find.php?q=ntp_setServer). | File: driver/drv_ntp.c<br/>Function: NTP_SetServer |
| ntp_timeZoneOfs | [Value] | Sets the time zone offset in hours. Also supports HH:MM syntax if you want to specify value in minutes. For negative values, use -HH:MM syntax, for example -5:30 will shift time by 5 hours and 30 minutes negative.<br/><br/>See also [ntp_timeZoneOfs on forum](https://www.elektroda.com/rtvforum/find.php?q=ntp_timeZoneOfs). | File: driver/drv_ntp.c<br/>Function: NTP_SetTimeZoneOfs |
| obkDeviceList |  | Generate the SSDP list of OpenBeken devices found on the network.<br/><br/>See also [obkDeviceList on forum](https://www.elektroda.com/rtvforum/find.php?q=obkDeviceList). | File: driver/drv_ssdp.c<br/>Function: Cmd_obkDeviceList |
| OpenAP |  | Temporarily disconnects from programmed WiFi network and opens Access Point.<br/><br/>See also [OpenAP on forum](https://www.elektroda.com/rtvforum/find.php?q=OpenAP). | File: cmnds/cmd_main.c<br/>Function: CMD_OpenAP |
| ota_http | [HTTP_URL] | Starts the firmware update procedure, the argument should be a reachable HTTP server file. You can easily setup HTTP server with Xampp, or Visual Code, or Python, etc. Make sure you are using OTA file for a correct platform (getting N platform RBL on T will brick device, etc etc).<br/><br/>See also [ota_http on forum](https://www.elektroda.com/rtvforum/find.php?q=ota_http). | File: cmnds/cmd_main.c<br/>Function: CMD_HTTPOTA |
| owm_channels | [temperature][humidity][pressure] | Sets channels that will be used to store OWM response results.<br/><br/>See also [owm_channels on forum](https://www.elektroda.com/rtvforum/find.php?q=owm_channels). | File: driver/drv_openWeatherMap.c<br/>Function: NULL); |
| owm_request |  | Sends OWM request to the API. Do not use it too often, as API may have limits.<br/><br/>See also [owm_request on forum](https://www.elektroda.com/rtvforum/find.php?q=owm_request). | File: driver/drv_openWeatherMap.c<br/>Function: NULL); |
| owm_setup | [lat][lng][api_key] | Setups OWM driver for your location and API key.<br/><br/>See also [owm_setup on forum](https://www.elektroda.com/rtvforum/find.php?q=owm_setup). | File: driver/drv_openWeatherMap.c<br/>Function: NULL); |
| Password1 | [ValueString] | Sets the Pass of target WiFi. Command keeps Tasmota syntax.<br/><br/>See also [Password1 on forum](https://www.elektroda.com/rtvforum/find.php?q=Password1). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_Password1 |
| PinDeepSleep | [OptionalTimerForWakeup] | Starts a pin deep sleep (deep sleep that can be interrupted by external IO events like a button press). The argument is an optional extra time to wake up also by timer. See [tutorial](https://www.elektroda.com/rtvforum/topic4041971.html).<br/><br/>See also [PinDeepSleep on forum](https://www.elektroda.com/rtvforum/find.php?q=PinDeepSleep). | File: cmnds/cmd_channels.c<br/>Function: CMD_PinDeepSleep |
| PingHost | [IPStr] | Sets the host to ping by IP watchdog.<br/><br/>See also [PingHost on forum](https://www.elektroda.com/rtvforum/find.php?q=PingHost). | File: cmnds/cmd_main.c<br/>Function: CMD_PingHost |
| PingInterval | [IntegerSeconds] | Sets the interval between ping attempts for ping watchdog mechanism.<br/><br/>See also [PingInterval on forum](https://www.elektroda.com/rtvforum/find.php?q=PingInterval). | File: cmnds/cmd_main.c<br/>Function: CMD_PingInterval |
| power | [OnorOfforToggle] | Tasmota-style POWER command. Should work for both LEDs and relay-based devices. You can write POWER0, POWER1, etc to access specific relays.<br/><br/>See also [power on forum](https://www.elektroda.com/rtvforum/find.php?q=power). | File: cmnds/cmd_tasmota.c<br/>Function: power |
| powerAll |  | Set all outputs.<br/><br/>See also [powerAll on forum](https://www.elektroda.com/rtvforum/find.php?q=powerAll). | File: cmnds/cmd_tasmota.c<br/>Function: powerAll |
| PowerMax | [MaxPowerInW] | Sets the maximum power limit for BL measurement used to filter incorrect values.<br/><br/>See also [PowerMax on forum](https://www.elektroda.com/rtvforum/find.php?q=PowerMax). | File: driver/drv_bl0937.c<br/>Function: NULL); |
| PowerSave | [Optional 1 or 0, by default 1 is assumed] | Enables dynamic power saving mode on Beken N/T, BL602, W600, W800 and LN882H. In the case of LN882H PowerSave will not work as a startup command, so use in autoexec. On LN882H PowerSave 1 = light sleep and Powersave >1 (eg PowerSave 2) = deeper sleep. On LN882H PowerSave 1 should be used if BL0937 metering is present. On all supported platforms PowerSave 0 can be used to disable power saving.<br/><br/>See also [PowerSave on forum](https://www.elektroda.com/rtvforum/find.php?q=PowerSave). | File: cmnds/cmd_main.c<br/>Function: CMD_PowerSave |
| PowerSet | Power | Measure the real Power with an external, reliable power meter and enter this Power via this command to calibrate. The calibration is automatically saved in the flash memory.<br/><br/>See also [PowerSet on forum](https://www.elektroda.com/rtvforum/find.php?q=PowerSet). | File: driver/drv_pwrCal.c<br/>Function: NULL); |
| publish | [Topic][Value][bOptionalSkipPrefixAndSuffix] | Publishes data by MQTT. The final topic will be obk0696FB33/[Topic]/get, but you can also publish under raw topic, by adding third argument - '1'. You can use argument expansion here, so $CH11 will change to value of the channel 11.<br/><br/>See also [publish on forum](https://www.elektroda.com/rtvforum/find.php?q=publish). | File: mqtt/new_mqtt.c<br/>Function: MQTT_PublishCommand |
| publishAll |  | Starts the step by step publish of all available values.<br/><br/>See also [publishAll on forum](https://www.elektroda.com/rtvforum/find.php?q=publishAll). | File: mqtt/new_mqtt.c<br/>Function: MQTT_PublishAll |
| publishBenchmark |  | .<br/><br/>See also [publishBenchmark on forum](https://www.elektroda.com/rtvforum/find.php?q=publishBenchmark). | File: mqtt/new_mqtt.c<br/>Function: MQTT_StartMQTTTestThread |
| publishChannel | [ChannelIndex] | Forces publish of given channel.<br/><br/>See also [publishChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=publishChannel). | File: mqtt/new_mqtt.c<br/>Function: MQTT_PublishChannel |
| publishChannels |  | Starts the step by step publish of all channel values.<br/><br/>See also [publishChannels on forum](https://www.elektroda.com/rtvforum/find.php?q=publishChannels). | File: mqtt/new_mqtt.c<br/>Function: MQTT_PublishChannels |
| publishFile | [Topic][Value][bOptionalSkipPrefixAndSuffix] | Publishes data read from LFS file by MQTT. The final topic will be obk0696FB33/[Topic]/get, but you can also publish under raw topic, by adding third argument - '1'.<br/><br/>See also [publishFile on forum](https://www.elektroda.com/rtvforum/find.php?q=publishFile). | File: mqtt/new_mqtt.c<br/>Function: MQTT_PublishFile |
| publishFloat | [Topic][Value][bOptionalSkipPrefixAndSuffix] | Publishes data by MQTT. The final topic will be obk0696FB33/[Topic]/get, but you can also publish under raw topic, by adding third argument - '1'.. You can use argument expansion here, so $CH11 will change to value of the channel 11. This version of command publishes an float, so you can also use math expressions like $CH10*0.0, etc.<br/><br/>See also [publishFloat on forum](https://www.elektroda.com/rtvforum/find.php?q=publishFloat). | File: mqtt/new_mqtt.c<br/>Function: MQTT_PublishCommand |
| publishInt | [Topic][Value][bOptionalSkipPrefixAndSuffix] | Publishes data by MQTT. The final topic will be obk0696FB33/[Topic]/get, but you can also publish under raw topic, by adding third argument - '1'.. You can use argument expansion here, so $CH11 will change to value of the channel 11. This version of command publishes an integer, so you can also use math expressions like $CH10*10, etc.<br/><br/>See also [publishInt on forum](https://www.elektroda.com/rtvforum/find.php?q=publishInt). | File: mqtt/new_mqtt.c<br/>Function: MQTT_PublishCommand |
| PWMFrequency | [FrequencyInHz] | Sets the global PWM frequency.<br/><br/>See also [PWMFrequency on forum](https://www.elektroda.com/rtvforum/find.php?q=PWMFrequency). | File: cmnds/cmd_main.c<br/>Function: NULL); |
| PWMG_Raw |  | PWM grouping (synchronous PWM).<br/><br/>See also [PWMG_Raw on forum](https://www.elektroda.com/rtvforum/find.php?q=PWMG_Raw). | File: driver/drv_pwm_groups.c<br/>Function: NULL); |
| PWMG_Set | Duty1Percent Duty2Percent DeadTimePercent Frequency PinA PinB | PWM grouping (synchronous PWM).<br/><br/>See also [PWMG_Set on forum](https://www.elektroda.com/rtvforum/find.php?q=PWMG_Set). | File: driver/drv_pwm_groups.c<br/>Function: NULL); |
| reboot |  | Same as restart. Needed for bkWriter 1.60 which sends 'reboot' cmd before trying to get bus via UART. Thanks to this, if you enable command line on UART1, you don't need to manually reboot while flashing via UART.<br/><br/>See also [reboot on forum](https://www.elektroda.com/rtvforum/find.php?q=reboot). | File: cmnds/cmd_main.c<br/>Function: CMD_Restart |
| removeClockEvent | [ID] | Removes clock event wtih given ID.<br/><br/>See also [removeClockEvent on forum](https://www.elektroda.com/rtvforum/find.php?q=removeClockEvent). | File: driver/drv_ntp_events.c<br/>Function: CMD_NTP_RemoveClockEvent |
| resetSVM |  | Resets all SVM and clears all scripts.<br/><br/>See also [resetSVM on forum](https://www.elektroda.com/rtvforum/find.php?q=resetSVM). | File: cmnds/cmd_script.c<br/>Function: CMD_resetSVM |
| restart |  | Reboots the module.<br/><br/>See also [restart on forum](https://www.elektroda.com/rtvforum/find.php?q=restart). | File: cmnds/cmd_main.c<br/>Function: CMD_Restart |
| Result | NULL | A stub for Tasmota.<br/><br/>See also [Result on forum](https://www.elektroda.com/rtvforum/find.php?q=Result). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_stub |
| return |  | Script-only command. Currently it just stops totally current script thread.<br/><br/>See also [return on forum](https://www.elektroda.com/rtvforum/find.php?q=return). | File: cmnds/cmd_script.c<br/>Function: CMD_Return |
| SafeMode | [OptionalDelayBeforeRestart] | Forces device reboot into safe mode (open ap with disabled drivers). Argument is a delay to restart in seconds, optional, minimal delay is 1.<br/><br/>See also [SafeMode on forum](https://www.elektroda.com/rtvforum/find.php?q=SafeMode). | File: cmnds/cmd_main.c<br/>Function: CMD_SafeMode |
| scanI2C | [Soft/I2C1/I2C2] | Scans given I2C line for addresses. I2C driver must be started first.<br/><br/>See also [scanI2C on forum](https://www.elektroda.com/rtvforum/find.php?q=scanI2C). | File: i2c/drv_i2c_main.c<br/>Function: DRV_I2C_MCP23017_MapPinToChannel |
| scheduleHADiscovery | [Seconds] | This will schedule HA discovery, the discovery will happen with given number of seconds, but timer only counts when MQTT is connected. It will not work without MQTT online, so you must set MQTT credentials first.<br/><br/>See also [scheduleHADiscovery on forum](https://www.elektroda.com/rtvforum/find.php?q=scheduleHADiscovery). | File: cmnds/cmd_main.c<br/>Function: CMD_ScheduleHADiscovery |
| sendGet | [TargetURL] | Sends a HTTP GET request to target URL. May include GET arguments. Can be used to control devices by Tasmota HTTP protocol. Command supports argument expansion, so $CH11 changes to value of channel 11, etc, etc.<br/><br/>See also [sendGet on forum](https://www.elektroda.com/rtvforum/find.php?q=sendGet). | File: cmnds/cmd_send.c<br/>Function: CMD_SendGET |
| SendIR2 | CMD_IR2_SendIR2 | .<br/><br/>See also [SendIR2 on forum](https://www.elektroda.com/rtvforum/find.php?q=SendIR2). | File: driver/drv_ir2.c<br/>Function: NULL); |
| sendPOST | [TargetURL] [HTTP Port] [Content Type] [Post Content] | Sends a HTTP POST request to target URL. Arguments can contain variable expansion.<br/><br/>See also [sendPOST on forum](https://www.elektroda.com/rtvforum/find.php?q=sendPOST). | File: cmnds/cmd_send.c<br/>Function: CMD_SendPOST |
| Sensor | NULL | A stub for Tasmota.<br/><br/>See also [Sensor on forum](https://www.elektroda.com/rtvforum/find.php?q=Sensor). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_stub |
| setButtonColor | [ButtonIndex][Color] | Sets the colour of custom scriptable HTTP page button.<br/><br/>See also [setButtonColor on forum](https://www.elektroda.com/rtvforum/find.php?q=setButtonColor). | File: driver/drv_httpButtons.c<br/>Function: CMD_setButtonColor |
| setButtonCommand | [ButtonIndex][Command] | Sets the command of custom scriptable HTTP page button.<br/><br/>See also [setButtonCommand on forum](https://www.elektroda.com/rtvforum/find.php?q=setButtonCommand). | File: driver/drv_httpButtons.c<br/>Function: CMD_setButtonCommand |
| setButtonEnabled | [ButtonIndex][1or0] | Sets the visibility of custom scriptable HTTP page button.<br/><br/>See also [setButtonEnabled on forum](https://www.elektroda.com/rtvforum/find.php?q=setButtonEnabled). | File: driver/drv_httpButtons.c<br/>Function: CMD_setButtonEnabled |
| setButtonHoldRepeat | [Value] | Sets just the hold button repeat time, given value is times 100ms, so write 1 for 100ms, 2 for 200ms, etc.<br/><br/>See also [setButtonHoldRepeat on forum](https://www.elektroda.com/rtvforum/find.php?q=setButtonHoldRepeat). | File: new_pins.c<br/>Function: CMD_setButtonHoldRepeat |
| setButtonLabel | [ButtonIndex][Label] | Sets the label of custom scriptable HTTP page button.<br/><br/>See also [setButtonLabel on forum](https://www.elektroda.com/rtvforum/find.php?q=setButtonLabel). | File: driver/drv_httpButtons.c<br/>Function: CMD_setButtonLabel |
| setButtonTimes | [ValLongPress][ValShortPress][ValRepeat] | Each value is times 100ms, so: SetButtonTimes 2 1 1 means 200ms long press, 100ms short and 100ms repeat.<br/><br/>See also [setButtonTimes on forum](https://www.elektroda.com/rtvforum/find.php?q=setButtonTimes). | File: new_pins.c<br/>Function: CMD_SetButtonTimes |
| SetChannel | [ChannelIndex][ChannelValue] | Sets a raw channel to given value. Relay channels are using 1 and 0 values. PWM channels are within [0,100] range. Do not use this for LED control, because there is a better and more advanced LED driver with dimming and configuration memory (remembers setting after on/off), LED driver commands has 'led_' prefix.<br/><br/>See also [SetChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=SetChannel). | File: cmnds/cmd_channels.c<br/>Function: CMD_SetChannel |
| SetChannelEnum | [ChannelIndex][Value,Title][Value,Title] | Creates a custom channel enumeration.<br/><br/>See also [SetChannelEnum on forum](https://www.elektroda.com/rtvforum/find.php?q=SetChannelEnum). | File: cmnds/cmd_channels.c<br/>Function: SetChannelEnum |
| SetChannelFloat | [ChannelIndex][ChannelValue] | Sets a raw channel to given float value. Currently only used for LED PWM channels.<br/><br/>See also [SetChannelFloat on forum](https://www.elektroda.com/rtvforum/find.php?q=SetChannelFloat). | File: cmnds/cmd_channels.c<br/>Function: CMD_SetChannelFloat |
| SetChannelLabel | [ChannelIndex][Str][bHideTogglePrefix] | Sets a channel label for UI and default entity name for Home Assistant discovery. If you use 1 for bHideTogglePrefix, then the 'Toggle ' prefix from UI button will be omitted.<br/><br/>See also [SetChannelLabel on forum](https://www.elektroda.com/rtvforum/find.php?q=SetChannelLabel). | File: cmnds/cmd_channels.c<br/>Function: CMD_SetChannelLabel |
| SetChannelPrivate | [ChannelIndex][bPrivate] | Channels marked as private are NEVER published via MQTT and excluded from Home Assistant discovery.<br/><br/>See also [SetChannelPrivate on forum](https://www.elektroda.com/rtvforum/find.php?q=SetChannelPrivate). | File: cmnds/cmd_channels.c<br/>Function: NULL); |
| setChannelType | [ChannelIndex][TypeString] | Sets a custom type for channel. Types are mostly used to determine how to display channel value on GUI.<br/><br/>See also [setChannelType on forum](https://www.elektroda.com/rtvforum/find.php?q=setChannelType). | File: new_pins.c<br/>Function: CMD_SetChannelType |
| SetChannelVisible | [ChannelIndex][bVisible] | This allows you to force-hide a certain channel from HTTP gui. The channel will still work, but will not show up as a button, or a toggle, etc...<br/><br/>See also [SetChannelVisible on forum](https://www.elektroda.com/rtvforum/find.php?q=SetChannelVisible). | File: cmnds/cmd_channels.c<br/>Function: CMD_SetChannelVisible |
| SetFlag | [FlagIndex][0or1] | Sets given flag.<br/><br/>See also [SetFlag on forum](https://www.elektroda.com/rtvforum/find.php?q=SetFlag). | File: cmnds/cmd_main.c<br/>Function: CMD_SetFlag |
| SetFlash | [FlashIndex][FlashValue] | Sets a a flashVars channel directly (if you are using remember state for given channel, it will overwrite, it uses same space for channels memory).<br/><br/>See also [SetFlash on forum](https://www.elektroda.com/rtvforum/find.php?q=SetFlash). | File: cmnds/cmd_channels.c<br/>Function: CMD_SetFlash |
| setMovingAvg | MovingAvg | Moving average value for power and current. <=1 disable, >=2 count of avg values. The setting is temporary and need to be set at startup.<br/><br/>See also [setMovingAvg on forum](https://www.elektroda.com/rtvforum/find.php?q=setMovingAvg). | File: new_pins.c<br/>Function: NULL); |
| SetPinChannel | [PinIndex][ChannelIndex][optionalChannel2Index] | This allows you to set a channel linked to pin from console. Usually it's easier to do this through WWW panel, so you don't have to use this command.<br/><br/>See also [SetPinChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=SetPinChannel). | File: cmnds/cmd_channels.c<br/>Function: CMD_SetPinChannel |
| SetPinRole | [PinRole][RoleIndexOrName] | This allows you to set a pin role, for example a Relay role, or Button, etc. Usually it's easier to do this through WWW panel, so you don't have to use this command.<br/><br/>See also [SetPinRole on forum](https://www.elektroda.com/rtvforum/find.php?q=SetPinRole). | File: cmnds/cmd_channels.c<br/>Function: CMD_SetPinRole |
| setStartupSSID | [Value] | Sets startup SSID, 0 (SSID0) 1 (SSID1).<br/><br/>See also [setStartupSSID on forum](https://www.elektroda.com/rtvforum/find.php?q=setStartupSSID). | File: new_pins.c<br/>Function: CMD_setStartupSSID |
| setStartupSSIDChannel | [Value] | Sets retain channel number to store last used SSID, 0..MAX_RETAIN_CHANNELS-1, -1 to disable. Suggested channel number is 7 (MAXMAX_RETAIN_CHANNELS-5).<br/><br/>See also [setStartupSSIDChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=setStartupSSIDChannel). | File: new_pins.c<br/>Function: CMD_setStartupSSIDChannel |
| SetStartValue | [Channel][Value] | Sets the startup value for a channel. Used for start values for relays. Use 1 for High, 0 for low and -1 for 'remember last state'.<br/><br/>See also [SetStartValue on forum](https://www.elektroda.com/rtvforum/find.php?q=SetStartValue). | File: cmnds/cmd_main.c<br/>Function: CMD_SetStartValue |
| SetupEnergyStats | [Enable1or0][SampleTime][SampleCount][JSonEnable] | Setup Energy Statistic Parameters: [enable 0 or 1] [sample_time[10..90]] [sample_count[10..180]] [JsonEnable 0 or 1]. JSONEnable is optional.<br/><br/>See also [SetupEnergyStats on forum](https://www.elektroda.com/rtvforum/find.php?q=SetupEnergyStats). | File: driver/drv_bl_shared.c<br/>Function: BL09XX_SetupEnergyStatistic |
| SetupIR2 | [myPeriodUs] [dutyOnFrac] [dutyOffFrac] [txPin] | Init IR2 pin and interrupt.<br/><br/>See also [SetupIR2 on forum](https://www.elektroda.com/rtvforum/find.php?q=SetupIR2). | File: driver/drv_ir2.c<br/>Function: NULL); |
| SetupTestPower | [fakeVoltage] [FakeCurrent] [FakePower] [bAllowRandom] | Starts the fake power metering driver.<br/><br/>See also [SetupTestPower on forum](https://www.elektroda.com/rtvforum/find.php?q=SetupTestPower). | File: driver/drv_test_drivers.c<br/>Function: TestPower_Setup |
| SGP_cycle | [int] | Change cycle of measurement by default every 10 seconds 0 to deactivate.<br/><br/>Example: SGP_Cycle 60<br/><br/>See also [SGP_cycle on forum](https://www.elektroda.com/rtvforum/find.php?q=SGP_cycle). | File: drv/drv_sgp.c<br/>Function: SGP_cycle |
| SGP_GetBaseline |  | SGP Get baseline.<br/><br/>Example: SGP_GetBaseline<br/><br/>See also [SGP_GetBaseline on forum](https://www.elektroda.com/rtvforum/find.php?q=SGP_GetBaseline). | File: drv/drv_sgp.c<br/>Function: SGP_GetBaseline |
| SGP_GetVersion |  | SGP : get version.<br/><br/>Example: SGP_GetVersion<br/><br/>See also [SGP_GetVersion on forum](https://www.elektroda.com/rtvforum/find.php?q=SGP_GetVersion). | File: drv/drv_sgp.c<br/>Function: SGP_GetVersion |
| SGP_SoftReset |  | SGP i2C soft reset.<br/><br/>Example: SGP_SoftReset<br/><br/>See also [SGP_SoftReset on forum](https://www.elektroda.com/rtvforum/find.php?q=SGP_SoftReset). | File: drv/drv_sgp.c<br/>Function: SGP_SoftReset |
| ShortName | [Name] | Sets the short name of the device. This is used as topic for MQTT, for example, for cmnd/obk123121/power etc MQTT calls.<br/><br/>See also [ShortName on forum](https://www.elektroda.com/rtvforum/find.php?q=ShortName). | File: cmnds/cmd_channels.c<br/>Function: CMD_ShortName |
| showChannelValues |  | Log channel values.<br/><br/>See also [showChannelValues on forum](https://www.elektroda.com/rtvforum/find.php?q=showChannelValues). | File: new_pins.c<br/>Function: CMD_ShowChannelValues |
| showgpi | NULL | Log stat of all GPIs.<br/><br/>See also [showgpi on forum](https://www.elektroda.com/rtvforum/find.php?q=showgpi). | File: new_pins.c<br/>Function: showgpi |
| SHT_Calibrate | [DeltaTemp][DeltaHumidity] | Calibrate the SHT Sensor as Tolerance is +/-2 degrees C.<br/><br/>Example: SHT_Calibrate -4 10<br/><br/>See also [SHT_Calibrate on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_Calibrate). | File: driver/drv_sht3x.c<br/>Function: SHT3X_Calibrate |
| SHT_ClearStatus |  | Clear Sensor Status.<br/><br/>Example: SHT_ClearStatusCmd<br/><br/>See also [SHT_ClearStatus on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_ClearStatus). | File: driver/drv_sht3x.c<br/>Function: SHT3X_ClearStatus |
| SHT_cycle | [int] | This is the interval between measurements in seconds, by default 10. Max is 255.<br/><br/>Example: SHT_Cycle 60<br/><br/>See also [SHT_cycle on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_cycle). | File: drv/drv_sht3x.c<br/>Function: SHT_cycle |
| SHT_GetStatus |  | Get Sensor Status.<br/><br/>Example: SHT_GetStatusCmd<br/><br/>See also [SHT_GetStatus on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_GetStatus). | File: driver/drv_sht3x.c<br/>Function: SHT3X_GetStatus |
| SHT_Heater | [1or0] | Activate or Deactivate Heater (0 / 1).<br/><br/>Example: SHT_Heater 1<br/><br/>See also [SHT_Heater on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_Heater). | File: driver/drv_sht3x.c<br/>Function: SHT3X_Heater |
| SHT_LaunchPer | [msb][lsb] | Launch/Change periodical capture for SHT Sensor.<br/><br/>Example: SHT_LaunchPer 0x23 0x22<br/><br/>See also [SHT_LaunchPer on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_LaunchPer). | File: driver/drv_sht3x.c<br/>Function: SHT3X_ChangePer |
| SHT_Measure |  | Retrieve OneShot measurement for SHT.<br/><br/>Example: SHT_Measure<br/><br/>See also [SHT_Measure on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_Measure). | File: driver/drv_sht3x.c<br/>Function: SHT3X_Measure |
| SHT_MeasurePer |  | Retrieve Periodical measurement for SHT.<br/><br/>Example: SHT_Measure<br/><br/>See also [SHT_MeasurePer on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_MeasurePer). | File: driver/drv_sht3x.c<br/>Function: SHT3X_MeasurePer |
| SHT_ReadAlert |  | Get Sensor alert configuration.<br/><br/>Example: SHT_ReadAlertCmd<br/><br/>See also [SHT_ReadAlert on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_ReadAlert). | File: driver/drv_sht3x.c<br/>Function: SHT3X_ReadAlertcmd |
| SHT_SetAlert | [temp_high, temp_low, hum_high, hum_low]<br/>Req:all | Set Sensor alert configuration.<br/><br/>Example: SHT_SetAlertCmd<br/><br/>See also [SHT_SetAlert on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_SetAlert). | File: driver/drv_sht3x.c<br/>Function: SHT3X_SetAlertcmd |
| SHT_StopPer |  | Stop periodical capture for SHT Sensor.<br/><br/>See also [SHT_StopPer on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT_StopPer). | File: driver/drv_sht3x.c<br/>Function: SHT3X_StopPerCmd |
| simonirtest |  | Simons Special Test.<br/><br/>See also [simonirtest on forum](https://www.elektroda.com/rtvforum/find.php?q=simonirtest). | File: cmnds/cmd_main.c<br/>Function: CMD_SimonTest |
| SimSaveArgs |  | Internal usage only. Command for OBK self-test in Simulator.<br/><br/>See also [SimSaveArgs on forum](https://www.elektroda.com/rtvforum/find.php?q=SimSaveArgs). | File: selftest/selftest_cfg_via_http.c<br/>Function: 0); |
| SM16703P_Init | [NumberOfLEDs][ColorOrder] | This will setup LED driver for a strip with given number of LEDs. Please note that it also works for WS2812B and similiar LEDs. You can optionally set the color order with either RGB, RBG, BRG, BGB, GRB or GBR (default RGB). See [tutorial](https://www.elektroda.com/rtvforum/topic4036716.html).<br/><br/>See also [SM16703P_Init on forum](https://www.elektroda.com/rtvforum/find.php?q=SM16703P_Init). | File: driver/drv_sm16703P.c<br/>Function: NULL); |
| SM16703P_SetPixel | [index/all] [R] [G] [B] | Sets a pixel for LED strip. Index can be a number or 'all' keyword to set all. Then, 3 integer values for R, G and B. Please note that it also works for WS2812B and similiar LEDs. See [tutorial](https://www.elektroda.com/rtvforum/topic4036716.html).<br/><br/>See also [SM16703P_SetPixel on forum](https://www.elektroda.com/rtvforum/find.php?q=SM16703P_SetPixel). | File: driver/drv_sm16703P.c<br/>Function: NULL); |
| SM16703P_SetRaw | [bUpdate] [byteOfs] [HexData] | Sets the raw data bytes for SPI DMA LED driver at the given offset. Hex data should be as a hex string, for example, FF00AA, etc. The bUpdate, if set to 1, will run SM16703P_Start automatically after setting data. Please note that it also works for WS2812B and similiar LEDs. See [tutorial](https://www.elektroda.com/rtvforum/topic4036716.html).<br/><br/>See also [SM16703P_SetRaw on forum](https://www.elektroda.com/rtvforum/find.php?q=SM16703P_SetRaw). | File: driver/drv_sm16703P.c<br/>Function: NULL); |
| SM16703P_Start |  | This will send the currently set data to the strip. Please note that it also works for WS2812B and similiar LEDs. See [tutorial](https://www.elektroda.com/rtvforum/topic4036716.html).<br/><br/>See also [SM16703P_Start on forum](https://www.elektroda.com/rtvforum/find.php?q=SM16703P_Start). | File: driver/drv_sm16703P.c<br/>Function: NULL); |
| SM2135_Current | [RGBLimit][CWLimit] | Sets the maximum current for LED driver. Please note that arguments are using SM2135 codes, see [full list of codes here](https://www.elektroda.com/rtvforum/viewtopic.php?p=20493415#20493415).<br/><br/>See also [SM2135_Current on forum](https://www.elektroda.com/rtvforum/find.php?q=SM2135_Current). | File: driver/drv_sm2135.c<br/>Function: SM2135_Current |
| SM2135_Map | [Ch0][Ch1][Ch2][Ch3][Ch4] | Maps the RGBCW values to given indices of SM2135 channels. This is because SM2135 channels order is not the same for some devices. Some devices are using RGBCW order and some are using GBRCW, etc, etc. Example usage: SM2135_Map 0 1 2 3 4.<br/><br/>See also [SM2135_Map on forum](https://www.elektroda.com/rtvforum/find.php?q=SM2135_Map). | File: driver/drv_sm2135.c<br/>Function: SM2135_Map |
| SM2135_RGBCW | [HexColor] | Don't use it. It's for direct access of SM2135 driver. You don't need it because LED driver automatically calls it, so just use led_basecolor_rgb.<br/><br/>See also [SM2135_RGBCW on forum](https://www.elektroda.com/rtvforum/find.php?q=SM2135_RGBCW). | File: driver/drv_sm2135.c<br/>Function: SM2135_RGBCW |
| SM2235_Current | [Value] | Sets the maximum current for LED driver.<br/><br/>See also [SM2235_Current on forum](https://www.elektroda.com/rtvforum/find.php?q=SM2235_Current). | File: driver/drv_sm2235.c<br/>Function: SM2235_Current |
| SM2235_Map | [Ch0][Ch1][Ch2][Ch3][Ch4] | Maps the RGBCW values to given indices of SM2235 channels. This is because SM2235 channels order is not the same for some devices. Some devices are using RGBCW order and some are using GBRCW, etc, etc. Example usage: SM2235_Map 0 1 2 3 4.<br/><br/>See also [SM2235_Map on forum](https://www.elektroda.com/rtvforum/find.php?q=SM2235_Map). | File: driver/drv_sm2235.c<br/>Function: SM2235_Map |
| SM2235_RGBCW | [HexColor] | Don't use it. It's for direct access of SM2235 driver. You don't need it because LED driver automatically calls it, so just use led_basecolor_rgb.<br/><br/>See also [SM2235_RGBCW on forum](https://www.elektroda.com/rtvforum/find.php?q=SM2235_RGBCW). | File: driver/drv_sm2235.c<br/>Function: SM2235_RGBCW |
| SPC | [Index][RGB] | Sets Palette Color by index.<br/><br/>See also [SPC on forum](https://www.elektroda.com/rtvforum/find.php?q=SPC). | File: cmnds/cmd_newLEDDriver.c<br/>Function: commandSetPaletteColor |
| SPITestFlash_Erase | CMD_SPITestFlash_Erase | .<br/><br/>See also [SPITestFlash_Erase on forum](https://www.elektroda.com/rtvforum/find.php?q=SPITestFlash_Erase). | File: driver/drv_spi_flash.c<br/>Function: NULL); |
| SPITestFlash_ReadData | CMD_SPITestFlash_ReadData | .<br/><br/>See also [SPITestFlash_ReadData on forum](https://www.elektroda.com/rtvforum/find.php?q=SPITestFlash_ReadData). | File: cmnds/cmd_main.c<br/>Function: NULL); |
| SPITestFlash_ReadID | CMD_SPITestFlash_ReadID | .<br/><br/>See also [SPITestFlash_ReadID on forum](https://www.elektroda.com/rtvforum/find.php?q=SPITestFlash_ReadID). | File: cmnds/cmd_main.c<br/>Function: NULL); |
| SPITestFlash_WriteStr | CMD_SPITestFlash_WriteStr | .<br/><br/>See also [SPITestFlash_WriteStr on forum](https://www.elektroda.com/rtvforum/find.php?q=SPITestFlash_WriteStr). | File: driver/drv_spi_flash.c<br/>Function: NULL); |
| SSID1 | [ValueString] | Sets the SSID of target WiFi. Command keeps Tasmota syntax.<br/><br/>See also [SSID1 on forum](https://www.elektroda.com/rtvforum/find.php?q=SSID1). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_SSID1 |
| stackOverflow |  | Causes a stack overflow.<br/><br/>See also [stackOverflow on forum](https://www.elektroda.com/rtvforum/find.php?q=stackOverflow). | File: cmnds/cmd_main.c<br/>Function: CMD_StackOverflow |
| startDriver | [DriverName] | Starts driver.<br/><br/>See also [startDriver on forum](https://www.elektroda.com/rtvforum/find.php?q=startDriver). | File: driver/drv_main.c<br/>Function: DRV_Start |
| startScript | [FileName][Label][UniqueID] | Starts a script thread from given file, at given label - can be * for whole file, with given unique ID.<br/><br/>See also [startScript on forum](https://www.elektroda.com/rtvforum/find.php?q=startScript). | File: cmnds/cmd_script.c<br/>Function: CMD_StartScript |
| StartTest | Test_Cmd_Start | .<br/><br/>See also [StartTest on forum](https://www.elektroda.com/rtvforum/find.php?q=StartTest). | File: driver/drv_test.c<br/>Function: NULL); |
| StartupCommand | [Command in quotation marks][bRunAfter] | Sets the new startup command (short startup command, the one stored in config) to given string. Second argument is optional, if set to 1, command will be also executed after setting.<br/><br/>See also [StartupCommand on forum](https://www.elektroda.com/rtvforum/find.php?q=StartupCommand). | File: cmnds/cmd_main.c<br/>Function: CMD_StartupCommand |
| State | NULL | A stub for Tasmota.<br/><br/>See also [State on forum](https://www.elektroda.com/rtvforum/find.php?q=State). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_stub |
| Status | NULL | A stub for Tasmota.<br/><br/>See also [Status on forum](https://www.elektroda.com/rtvforum/find.php?q=Status). | File: cmnds/cmd_tasmota.c<br/>Function: cmnd_stub |
| stopAllScripts |  | Stops all running scripts.<br/><br/>See also [stopAllScripts on forum](https://www.elektroda.com/rtvforum/find.php?q=stopAllScripts). | File: cmnds/cmd_script.c<br/>Function: CMD_StopAllScripts |
| stopBerry | CMD_StopBerryCommand | .<br/><br/>See also [stopBerry on forum](https://www.elektroda.com/rtvforum/find.php?q=stopBerry). | File: cmnds/cmd_berry.c<br/>Function: NULL); |
| stopDriver | [DriverName] | Stops driver.<br/><br/>See also [stopDriver on forum](https://www.elektroda.com/rtvforum/find.php?q=stopDriver). | File: driver/drv_main.c<br/>Function: DRV_Stop |
| stopScript | [UniqueID] | Force-stop given script thread by ID.<br/><br/>See also [stopScript on forum](https://www.elektroda.com/rtvforum/find.php?q=stopScript). | File: cmnds/cmd_script.c<br/>Function: CMD_StopScript |
| SwingH | CMD_SwingH | .<br/><br/>See also [SwingH on forum](https://www.elektroda.com/rtvforum/find.php?q=SwingH). | File: driver/drv_tclAC.c<br/>Function: NULL); |
| SwingV | CMD_SwingV | .<br/><br/>See also [SwingV on forum](https://www.elektroda.com/rtvforum/find.php?q=SwingV). | File: driver/drv_tclAC.c<br/>Function: NULL); |
| TargetTemperature | CMD_TargetTemperature | .<br/><br/>See also [TargetTemperature on forum](https://www.elektroda.com/rtvforum/find.php?q=TargetTemperature). | File: driver/drv_tclAC.c<br/>Function: NULL); |
| TasTeleInterval | [SensorInterval][StateInterval] | This allows you to configure Tasmota TELE publish intervals, only if you have TELE flag enabled. First argument is interval for sensor publish (energy metering, etc), second is interval for State tele publish.<br/><br/>See also [TasTeleInterval on forum](https://www.elektroda.com/rtvforum/find.php?q=TasTeleInterval). | File: mqtt/new_mqtt.c<br/>Function: MQTT_SetTasTeleIntervals |
| testArgs |  | Test tokenizer for args and print back all the given args to console.<br/><br/>See also [testArgs on forum](https://www.elektroda.com/rtvforum/find.php?q=testArgs). | File: cmnds/cmd_test.c<br/>Function: testArgs |
| testAtoi |  | Test atoi function.<br/><br/>See also [testAtoi on forum](https://www.elektroda.com/rtvforum/find.php?q=testAtoi). | File: cmnds/cmd_test.c<br/>Function: testArgs |
| TestChannelSetToExpression | CMD_TestChannelSetToExpression | .<br/><br/>See also [TestChannelSetToExpression on forum](https://www.elektroda.com/rtvforum/find.php?q=TestChannelSetToExpression). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| testFloats |  | Do some more test printfs with floating point numbers.<br/><br/>See also [testFloats on forum](https://www.elektroda.com/rtvforum/find.php?q=testFloats). | File: cmnds/cmd_test.c<br/>Function: testFloats |
| TestIPtoStr | CMD_TestIPtoStr | .<br/><br/>See also [TestIPtoStr on forum](https://www.elektroda.com/rtvforum/find.php?q=TestIPtoStr). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| testJSON |  | Test the JSON library.<br/><br/>See also [testJSON on forum](https://www.elektroda.com/rtvforum/find.php?q=testJSON). | File: cmnds/cmd_test.c<br/>Function: testJSON |
| testLog |  | Do some test printfs to log with integer and a float.<br/><br/>See also [testLog on forum](https://www.elektroda.com/rtvforum/find.php?q=testLog). | File: cmnds/cmd_test.c<br/>Function: testLog |
| testMallocFree |  | Test malloc and free functionality to see if the device crashes.<br/><br/>See also [testMallocFree on forum](https://www.elektroda.com/rtvforum/find.php?q=testMallocFree). | File: cmnds/cmd_test.c<br/>Function: testMallocFree |
| TestMemcmp | CMD_TestMemcmp | .<br/><br/>See also [TestMemcmp on forum](https://www.elektroda.com/rtvforum/find.php?q=TestMemcmp). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestMemcpy | CMD_TestMemcpy | .<br/><br/>See also [TestMemcpy on forum](https://www.elektroda.com/rtvforum/find.php?q=TestMemcpy). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestMemset | CMD_TestMemset | .<br/><br/>See also [TestMemset on forum](https://www.elektroda.com/rtvforum/find.php?q=TestMemset). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestParseIP | CMD_TestParseIP | .<br/><br/>See also [TestParseIP on forum](https://www.elektroda.com/rtvforum/find.php?q=TestParseIP). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| testRealloc |  | Test realloc and free functions to see if the device crashes.<br/><br/>See also [testRealloc on forum](https://www.elektroda.com/rtvforum/find.php?q=testRealloc). | File: cmnds/cmd_test.c<br/>Function: testRealloc |
| TestSprintfForFloat | CMD_TestSprintfForFloat | .<br/><br/>See also [TestSprintfForFloat on forum](https://www.elektroda.com/rtvforum/find.php?q=TestSprintfForFloat). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestSprintfForHex | CMD_TestSprintfForHex | .<br/><br/>See also [TestSprintfForHex on forum](https://www.elektroda.com/rtvforum/find.php?q=TestSprintfForHex). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestSprintfForInteger | CMD_TestSprintfForInteger | .<br/><br/>See also [TestSprintfForInteger on forum](https://www.elektroda.com/rtvforum/find.php?q=TestSprintfForInteger). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestStrcat | CMD_TestStrcat | .<br/><br/>See also [TestStrcat on forum](https://www.elektroda.com/rtvforum/find.php?q=TestStrcat). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestStrcmp | CMD_TestStrcmp | .<br/><br/>See also [TestStrcmp on forum](https://www.elektroda.com/rtvforum/find.php?q=TestStrcmp). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestStrcpy | CMD_TestStrcpy | .<br/><br/>See also [TestStrcpy on forum](https://www.elektroda.com/rtvforum/find.php?q=TestStrcpy). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| testStrdup |  | Test strdup function to see if it allocs news string correctly, also test freeing the string.<br/><br/>See also [testStrdup on forum](https://www.elektroda.com/rtvforum/find.php?q=testStrdup). | File: cmnds/cmd_test.c<br/>Function: testStrdup |
| TestStrlen | CMD_TestStrlen | .<br/><br/>See also [TestStrlen on forum](https://www.elektroda.com/rtvforum/find.php?q=TestStrlen). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TestStrncpy | CMD_TestStrncpy | .<br/><br/>See also [TestStrncpy on forum](https://www.elektroda.com/rtvforum/find.php?q=TestStrncpy). | File: cmnds/cmd_test.c<br/>Function: NULL); |
| TimeSize |  | Prints the size of time_t on current platform - sizeof(time_t), only for testing purposes.<br/><br/>See also [TimeSize on forum](https://www.elektroda.com/rtvforum/find.php?q=TimeSize). | File: cmnds/cmd_main.c<br/>Function: NULL); |
| TM1650_Test | CMD_TM1650_Test | .<br/><br/>See also [TM1650_Test on forum](https://www.elektroda.com/rtvforum/find.php?q=TM1650_Test). | File: driver/drv_tm1637.c<br/>Function: NULL); |
| TMGN_Brightness | [Brigthness0to7][bOn] | This allows you to change brightness and state of  TM1637/GN932/etc display.<br/><br/>See also [TMGN_Brightness on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_Brightness). | File: driver/drv_tm_gn_display_shared.c<br/>Function: NULL); |
| TMGN_Char | [CharIndex] [CharCode] | This allows you to set binary code for given char, valid chars range is 0 to 15, because this is 7-seg display.<br/><br/>See also [TMGN_Char on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_Char). | File: driver/drv_tm1637.c<br/>Function: NULL); |
| TMGN_Clear |  | This clears the TM1637/GN932/etc display.<br/><br/>See also [TMGN_Clear on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_Clear). | File: driver/drv_tm_gn_display_shared.c<br/>Function: NULL); |
| TMGN_Map | [Map0][Map1, etc] | This allows you to remap characters order for TM1637/GN932/etc. My TM1637 module from Aliexpress has a strange characters order.<br/><br/>See also [TMGN_Map on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_Map). | File: driver/drv_tm_gn_display_shared.c<br/>Function: NULL); |
| TMGN_Print | [StartOfs] [MaxLenOr0] [StringText] [optionalBClampWithZeroesForClock] | This allows you to print string on TM1637/GN932/etc display, it supports variables expansion.<br/><br/>See also [TMGN_Print on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_Print). | File: driver/drv_tm_gn_display_shared.c<br/>Function: NULL); |
| TMGN_Read |  | Executes a single buttons read on TM/GN LED driver.<br/><br/>See also [TMGN_Read on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_Read). | File: driver/drv_tm1637.c<br/>Function: NULL); |
| TMGN_SetBit | [CharIndex] [BitIndex] [BitValue] | Set given bit of given digit to 1 or 0.<br/><br/>See also [TMGN_SetBit on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_SetBit). | File: driver/drv_tm1637.c<br/>Function: NULL); |
| TMGN_SetupButtons | [Interval] | Setups periodic buttons read on TM/GN LED driver.<br/><br/>See also [TMGN_SetupButtons on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_SetupButtons). | File: driver/drv_tm1637.c<br/>Function: NULL); |
| TMGN_Test |  | .<br/><br/>See also [TMGN_Test on forum](https://www.elektroda.com/rtvforum/find.php?q=TMGN_Test). | File: driver/drv_tm_gn_display_shared.c<br/>Function: NULL); |
| ToggleChannel | [ChannelIndex] | Toggles given channel value. Non-zero becomes zero, zero becomes 1.<br/><br/>See also [ToggleChannel on forum](https://www.elektroda.com/rtvforum/find.php?q=ToggleChannel). | File: cmnds/cmd_channels.c<br/>Function: CMD_ToggleChannel |
| toggler_channel | [ChannelIndex] | Handles toggler_channel0, toggler_channel1. Sets channel linked to given toggler slot.<br/><br/>See also [toggler_channel on forum](https://www.elektroda.com/rtvforum/find.php?q=toggler_channel). | File: driver/drv_pwmToggler.c<br/>Function: Toggler_ChannelX |
| toggler_enable | [1or0] | Sets the given output ON or OFF.  handles toggler_enable0, toggler_enable1, etc.<br/><br/>See also [toggler_enable on forum](https://www.elektroda.com/rtvforum/find.php?q=toggler_enable). | File: driver/drv_pwmToggler.c<br/>Function: Toggler_EnableX |
| toggler_name |  | Handles toggler_name0, toggler_name1, etc. Sets the name of a toggler for GUI.<br/><br/>See also [toggler_name on forum](https://www.elektroda.com/rtvforum/find.php?q=toggler_name). | File: driver/drv_pwmToggler.c<br/>Function: Toggler_NameX |
| toggler_set | [Value] | Sets the VALUE of given output. Handles toggler_set0, toggler_set1, etc. The last digit after command name is changed to slot index. It can also add to current value if you write value like +25 and subtract if you prefix it with - like -25.<br/><br/>See also [toggler_set on forum](https://www.elektroda.com/rtvforum/find.php?q=toggler_set). | File: driver/drv_pwmToggler.c<br/>Function: Toggler_SetX |
| TS_Clear |  | Clears the text scroller buffer.<br/><br/>See also [TS_Clear on forum](https://www.elektroda.com/rtvforum/find.php?q=TS_Clear). | File: driver/drv_textScroller.c<br/>Function: NULL); |
| TS_Print | [StartOfs] [MaxLenOr0] [StringText] [optionalBClampWithZeroesForClock] | Prints a text to the text scroller buffer.<br/><br/>See also [TS_Print on forum](https://www.elektroda.com/rtvforum/find.php?q=TS_Print). | File: driver/drv_textScroller.c<br/>Function: NULL); |
| tuyaMcu_defWiFiState |  | Command sets the default WiFi state for TuyaMCU when device is not online. It may be required for some devices to work, because Tuya designs them to ignore touch buttons or beep when not paired. Please see [values table and description here](https://www.elektroda.com/rtvforum/viewtopic.php?p=20483899#20483899).<br/><br/>See also [tuyaMcu_defWiFiState on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_defWiFiState). | File: driver/drv_tuyaMCU.c<br/>Function: Cmd_TuyaMCU_Send_RSSI |
| tuyaMcu_sendCmd | [CommandIndex] [HexPayloadNBytes] | This will automatically calculate TuyaMCU checksum and length for given command ID and payload, then it will send a command. It's better to use it than uartSendHex.<br/><br/>See also [tuyaMcu_sendCmd on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendCmd). | File: driver/drv_tuyaMCU.c<br/>Function: NULL); |
| tuyaMcu_sendColor | [dpID] [red01] [green01] [blue01] [tuyaRGBformat] | This sends a TuyaMCU color string of given format for given RGB values, where each value is in [0,1] range as float.<br/><br/>See also [tuyaMcu_sendColor on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendColor). | File: driver/drv_tuyaMCU.c<br/>Function: NULL); |
| tuyaMcu_sendCurTime |  | Sends a current date by TuyaMCU to clock/callendar MCU. Time is taken from NTP driver, so NTP also should be already running.<br/><br/>See also [tuyaMcu_sendCurTime on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendCurTime). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_Send_SetTime_Current |
| tuyaMcu_sendHeartbeat |  | Send heartbeat to TuyaMCU.<br/><br/>See also [tuyaMcu_sendHeartbeat on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendHeartbeat). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_SendHeartbeat |
| tuyaMcu_sendMCUConf |  | Send MCU conf command.<br/><br/>See also [tuyaMcu_sendMCUConf on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendMCUConf). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_SendMCUConf |
| tuyaMcu_sendProductInformation |  | Send query packet (0x01). No arguments needed.<br/><br/>See also [tuyaMcu_sendProductInformation on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendProductInformation). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_SendQueryProductInformation |
| tuyaMcu_sendQueryState |  | Send query state command. No arguments needed.<br/><br/>See also [tuyaMcu_sendQueryState on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendQueryState). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_SendQueryState |
| tuyaMcu_sendRSSI |  | Command sends the specific RSSI value to TuyaMCU (it will send current RSSI if no argument is set).<br/><br/>See also [tuyaMcu_sendRSSI on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendRSSI). | File: driver/drv_tuyaMCU.c<br/>Function: Cmd_TuyaMCU_Send_RSSI |
| tuyaMcu_sendState | [dpID][dpType][dpValue] | Manually send set state command. Do not use it. Use mapping, so communication is bidirectional and automatic.<br/><br/>See also [tuyaMcu_sendState on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_sendState). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_SendStateCmd |
| tuyaMcu_setBaudRate | [BaudValue] | Sets the baud rate used by TuyaMCU UART communication. Default value is 9600. Some other devices require 115200.<br/><br/>See also [tuyaMcu_setBaudRate on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_setBaudRate). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_SetBaudRate |
| tuyaMcu_setDimmerRange | [Min][Max] | Set dimmer range used by TuyaMCU.<br/><br/>See also [tuyaMcu_setDimmerRange on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_setDimmerRange). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_SetDimmerRange |
| tuyaMcu_setupLED | [dpIDColor] [TasFormat] [dpIDPower] | Setups the TuyaMCU LED driver for given color dpID and power dpID. Also allows you to choose color format.<br/><br/>See also [tuyaMcu_setupLED on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_setupLED). | File: driver/drv_tuyaMCU.c<br/>Function: NULL); |
| tuyaMcu_testSendTime |  | Sends a example date by TuyaMCU to clock/callendar MCU.<br/><br/>See also [tuyaMcu_testSendTime on forum](https://www.elektroda.com/rtvforum/find.php?q=tuyaMcu_testSendTime). | File: driver/drv_tuyaMCU.c<br/>Function: TuyaMCU_Send_SetTime_Example |
| uartFakeHex | [HexString] | Spoofs a fake hex packet so it looks like TuyaMCU send that to us. Used for testing.<br/><br/>See also [uartFakeHex on forum](https://www.elektroda.com/rtvforum/find.php?q=uartFakeHex). | File: driver/drv_uart.c<br/>Function: CMD_UART_FakeHex |
| uartInit | [BaudRate] | Manually starts UART1 port. Keep in mind that you don't need to do it for TuyaMCU and BL0942, those drivers do it automatically.<br/><br/>See also [uartInit on forum](https://www.elektroda.com/rtvforum/find.php?q=uartInit). | File: driver/drv_uart.c<br/>Function: CMD_UART_Init |
| uartSendASCII | [AsciiString] | Sends given string by UART.<br/><br/>See also [uartSendASCII on forum](https://www.elektroda.com/rtvforum/find.php?q=uartSendASCII). | File: driver/drv_uart.c<br/>Function: CMD_UART_Send_ASCII |
| uartSendHex | [HexString] | Sends raw data by UART, can be used to send TuyaMCU data, but you must write whole packet with checksum yourself.<br/><br/>See also [uartSendHex on forum](https://www.elektroda.com/rtvforum/find.php?q=uartSendHex). | File: driver/drv_tuyaMCU.c<br/>Function: CMD_UART_Send_Hex |
| UCS1912_Test |  | .<br/><br/>See also [UCS1912_Test on forum](https://www.elektroda.com/rtvforum/find.php?q=UCS1912_Test). | File: driver/drv_ucs1912.c<br/>Function: UCS1912_Test |
| VCPPrecision | [VoltageDigits][CurrentDigitsAmpers][PowerDigitsWats][EnergyDigitsWh] | Sets the number of digits after decimal point for power metering publishes. Default is BL09XX_VCPPrecision 1 3 2 3. This works for OBK-style publishes.<br/><br/>See also [VCPPrecision on forum](https://www.elektroda.com/rtvforum/find.php?q=VCPPrecision). | File: driver/drv_bl_shared.c<br/>Function: BL09XX_VCPPrecision |
| VCPPublishIntervals | [MinDelayBetweenPublishes][ForcedPublishInterval] | First argument is minimal allowed interval in second between Voltage/Current/Power/Energy publishes (even if there is a large change), second value is an interval in which V/C/P/E is always published, even if there is no change.<br/><br/>See also [VCPPublishIntervals on forum](https://www.elektroda.com/rtvforum/find.php?q=VCPPublishIntervals). | File: driver/drv_bl_shared.c<br/>Function: BL09XX_VCPPublishIntervals |
| VCPPublishThreshold | [VoltageDeltaVolts][CurrentDeltaAmpers][PowerDeltaWats][EnergyDeltaWh] | Sets the minimal change between previous reported value over MQTT and next reported value over MQTT. Very useful for BL0942, BL0937, etc. So, if you set, VCPPublishThreshold 0.5 0.001 0.5, it will only report voltage again if the delta from previous reported value is largen than 0.5V. Remember, that the device will also ALWAYS force-report values every N seconds (default 60).<br/><br/>See also [VCPPublishThreshold on forum](https://www.elektroda.com/rtvforum/find.php?q=VCPPublishThreshold). | File: driver/drv_bl_shared.c<br/>Function: BL09XX_VCPPublishThreshold |
| VoltageSet | Voltage | Measure the real voltage with an external, reliable power meter and enter this voltage via this command to calibrate. The calibration is automatically saved in the flash memory.<br/><br/>See also [VoltageSet on forum](https://www.elektroda.com/rtvforum/find.php?q=VoltageSet). | File: driver/drv_pwrCal.c<br/>Function: NULL); |
| waitFor | [EventName] [Argument] | Wait forever for event. Can be used within script. For example, you can do: waitFor MQTTState 1 or waitFor NTPState 1. You can also do waitFor NoPingTime 600 to wait for 600 seconds without ping watchdog getting successful reply.<br/><br/>See also [waitFor on forum](https://www.elektroda.com/rtvforum/find.php?q=waitFor). | File: cmnds/cmd_script.c<br/>Function: CMD_waitFor |
| WebServer | [0 - Stop / 1 - Start] | Setting state of WebServer.<br/><br/>See also [WebServer on forum](https://www.elektroda.com/rtvforum/find.php?q=WebServer). | File: cmnds/cmd_main.c<br/>Function: CMD_WebServer |
| widget_clearAll |  | Removes all registered widgets.<br/><br/>See also [widget_clearAll on forum](https://www.elektroda.com/rtvforum/find.php?q=widget_clearAll). | File: driver/drv_widget.c<br/>Function: NULL); |
| widget_create | [LocationIndex][bAllowCache][FileName] | .<br/><br/>See also [widget_create on forum](https://www.elektroda.com/rtvforum/find.php?q=widget_create). | File: driver/drv_widget.c<br/>Function: NULL); |

