mirror of https://github.com/arendst/Tasmota.git
Updated Smart Meter Interface (markdown)
parent
3f153fc118
commit
afa32fc34c
|
@ -20,7 +20,12 @@ This interface provides a means of specifying these definitions through [meter d
|
|||
**Note:** If no `>M` section is found in the script or if the scripting language is not compiled, the driver reverts to the default `#define` definition(s).
|
||||
|
||||
## Descriptor Syntax
|
||||
Define a script `>M <n>` section with the number of connected meters. Up to five meters may be defined - e.g. `>M 3`
|
||||
Declare a script `>B` (boot) section to inform the interface to read the meter descriptor(s)
|
||||
> `>B`
|
||||
=>[sensor53](Commands#sensor53) r
|
||||
|
||||
Declare a script `>M` section with the number of connected meters (n = `1..5`)
|
||||
> `>M <n>`
|
||||
|
||||
### Meter Declaration
|
||||
`+<M>,<rxGPIO>,<type>,<flag>,<parameter>,<jsonPrefix>{,<txGPIO>,<txPeriod>,<cmdTelegram>}`
|
||||
|
|
Loading…
Reference in New Issue