Updated Smart Meter Interface (markdown)

Michael Ingraham 2019-09-07 16:54:31 -04:00
parent 3f153fc118
commit afa32fc34c
1 changed files with 6 additions and 1 deletions

@ -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>}`