From 676b82cf641efd4dbc53371d137d959fb27ca2fe Mon Sep 17 00:00:00 2001 From: Roland Praml Date: Mon, 17 Jun 2024 10:11:09 +0100 Subject: [PATCH] SML: FastExit for binary SML parsing (#1389) This is documentation for https://github.com/arendst/Tasmota/pull/21497 --- docs/Smart-Meter-Interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Smart-Meter-Interface.md b/docs/Smart-Meter-Interface.md index 680883de6d..13b2b4591a 100644 --- a/docs/Smart-Meter-Interface.md +++ b/docs/Smart-Meter-Interface.md @@ -100,7 +100,7 @@ Declare `>M` section with the number of connected meters (n = `1..5`): | `+` | Meter number. The number must be increased with each additional Meter (default 1 to 5).| | `` | The GPIO pin number where meter data is received.
[xxx.xxx.xxx.xxx] IP number instead of pin number enables MODBUS TCP mode, the tcp port number is given at the baudrate position. (tx pin can be any number and is ignored)| | `` | The type of meter:
- `o` - OBIS ASCII type of coding
- `s` - SML binary smart message coding
- `e` - EBus binary coding
- `v` - VBus binary coding
- `m` - MODBus binary coding with serial mode 8N1
- `M` - MODBus binary coding with serial mode 8E1
- `k` - Kamstrup binary coding with serial mode 8N1
- `C` - CANBus type
- `c` - Counter type
- `r` - Raw binary coding (any binary telegram) | -| `` | Options flag:
- `0` - counter without pullup
- `1` - counter with pullup
- `16` - enable median filter for that meter. Can help with sporadic dropouts, reading errors (not available for counters). this option is enabled by default #define USE_SML_MEDIAN_FILTER, if you are low on memory and dont use this feature you may outcomment this define in the driver | +| `` | Options flag:
- `0` - counter without pullup
- `1` - counter with pullup
- `16` - enable median filter for that meter. Can help with sporadic dropouts, reading errors (not available for counters). this option is enabled by default #define USE_SML_MEDIAN_FILTER, if you are low on memory and dont use this feature you may outcomment this define in the driver
- `32` - Disable FastExit for binary SML parsing. See [#21497](https://github.com/arendst/Tasmota/pull/21497) for details | | `` | Parameters according to meter type:
- for `o,s,e,v,m,M,k,r` types: serial baud rate e.g. `9600` (or port# for Modbus TCP).
- for type `C` Canbus Baudrates and Number of receive buffers (*100). (see example R4850G2)
- 0 = 25 KBITS
- 1 = 50 KBITS
- 2 = 100 KBITS
- 3 = 125 KBITS
- 4 = 250 KBITS
- 5 = 500 KBITS
- 6 = 800 KBITS
- 7 = 1 MBITS
- for `c` type: a positive value = counter poll interval (not really recommended) or a negative value = debounce time (milliseconds) for irq driven counters. | | `` | Prefix for Web UI and MQTT JSON payload. Up to 7 characters.| | `` | The GPIO pin number where meter command is transmitted (optional).|