Updated Smart Meter Interface (markdown)

Michael Ingraham 2019-09-13 12:15:00 -04:00
parent a400650e33
commit 738fe1a338
1 changed files with 8 additions and 6 deletions

@ -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
- `=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:
`=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
`1,=m 3+4+5/#3` add result of decoder entry 3,4,5 and divided by 3 (i.e., average)
- `M,=d` calculate difference between metric values decoded at time intervals
example:
`=d 3 10` calculate 10 second interval difference of decoder entry 3
- `=h` html text (up to 30 chars)
`1,=d 3 10` calculate 10 second interval difference of decoder entry 3
- `M,=h` html text (up to 30 chars)
inserts a html line between entries (these lines do not count as decoder entry)
example:
`2,=h==================` insert a separator line