mirror of https://github.com/arendst/Tasmota.git
Updated Smart Meter Interface (markdown)
parent
a400650e33
commit
738fe1a338
|
@ -93,11 +93,13 @@ e.g., `1,1-0:1.8.0*255(@1,consumption,KWh,Total_in,4`
|
||||||
|
|
||||||
with the '=' char at the beginning of a line you may do some special decoding
|
with the '=' char at the beginning of a line you may do some special decoding
|
||||||
|
|
||||||
- `=m` perform arithmetic (`+,-,*,/`) on the metric. Use `#` before a number to designate a constant value
|
- `M,=m` perform arithmetic (`+,-,*,/`) on the metric. Use `#` before a number to designate a constant value
|
||||||
example:
|
example:
|
||||||
`=m 3+4+5/#3` add result of decoder entry 3,4,5 and divided by 3 (i.e., average)
|
`1,=m 3+4+5/#3` add result of decoder entry 3,4,5 and divided by 3 (i.e., average)
|
||||||
- `=d` calculate difference between metric values decoded at time intervals
|
- `M,=d` calculate difference between metric values decoded at time intervals
|
||||||
example:
|
example:
|
||||||
`=d 3 10` calculate 10 second interval difference of decoder entry 3
|
`1,=d 3 10` calculate 10 second interval difference of decoder entry 3
|
||||||
- `=h` html text (up to 30 chars)
|
- `M,=h` html text (up to 30 chars)
|
||||||
inserts a html line between entries (these lines do not count as decoder entry)
|
inserts a html line between entries (these lines do not count as decoder entry)
|
||||||
|
example:
|
||||||
|
`2,=h==================` insert a separator line
|
Loading…
Reference in New Issue