mirror of https://github.com/arendst/Tasmota.git
Updated Commands (markdown)
parent
ad448a1969
commit
42f7c622e4
|
@ -219,7 +219,7 @@ Add\<x\>|`<value>` = add value to Var\<x\><a id="Sub"></a>
|
|||
Sub\<x\>|`<value>` = subtract value to Var\<x\><a id="Mult"></a>
|
||||
Mult\<x\>|`<value>` = multiply value to Var\<x\><a id="Scale"></a>
|
||||
Scale\<x\> | Scale value from a low and high limit to another low and high limits and save in Var\<x\><BR>`v` = value: the number to scale<BR>`fl` = fromLow: the lower bound of the value’s current range<BR>`fh` = fromHigh: the upper bound of the value’s current range<BR>`tl` = toLow: the lower bound of the value’s target range<BR>`th` = toHigh: the upper bound of the value’s target range<a id="CalcRes"></a>
|
||||
CalcRes|`0..7` = set number of decimal places to be used in `Add`, `Sub`, `Mult` and `Scale`
|
||||
CalcRes|Current calculation resolution<BR>`0..7` = set number of decimal places to be used in `Add`, `Sub`, `Mult` and `Scale`
|
||||
|
||||
### Timers
|
||||
To control a device locally 16 timers are programmable. They can be configured with the Timer\<x\> command following by a JSON string with optional parameters. For example:
|
||||
|
|
Loading…
Reference in New Issue