Updated Smart Meter Interface (markdown)

Michael Ingraham 2019-09-17 09:38:37 -04:00
parent 9aaf60c4b4
commit f661de6219
1 changed files with 10 additions and 10 deletions

@ -40,9 +40,9 @@ Declare a script `>M` section with the number of connected meters (n = `1..5`)
- `m` = MODBus binary coding
- `r` = Raw binary coding (any binary telegram)
- `<flag>` - options flag
- 0=counter without pullup
- 1=counter with pullup
- 16=enable median filter for that meter (not for counters)
- `0` = counter without pullup
- `1` = counter with pullup
- `16` = enable median filter for that meter (not available for counters)
- `<parameter>` - parameters according to meter type
- for `o,s,e,m,r`: serial baud rate
- for `c`:
@ -67,13 +67,13 @@ Each meter typically provides multiple metrics (voltage, power, humidity, etc.)
- SML: SML binary OBIS as hex terminated with `0xFF` indicating start of SML encoded value
- EBUS,RAW: hex values of EBUS,RAW block to compare
- `xx` means ignore value
- `ss` = extract this signed byte
- `uu` = extract this unsigned byte
- `uuuu` = extract this unsigned word
- `uuuuuuuu` = extract this unsigned long word
- `ssss` = extract this signed word
- `ffffffff` = extract this float value
- `FFffFFff` = extract this revers float value
- `ss` = extract a signed byte
- `uu` = extract an unsigned byte
- `uuuu` = extract an unsigned word
- `uuuuuuuu` = extract an unsigned long word
- `ssss` = extract a signed word
- `ffffffff` = extract a float value
- `FFffFFff` = extract a reverse float value
- decoding a 0/1 bit is indicated by a `@` character followed by `bx:` (x = `0..7`) extracting the corresponding bit from a byte.
e.g., 1,xxxx5017xxuu@b0:1,Solarpump,,Solarpump,0
- in the case of MODBus, `ix:` designates the index (x = `0..n`) referring to the requested block in the transmit section of the meter definition