This commit is contained in:
George Ruinelli
2023-02-22 10:45:31 +01:00
parent 53d64d9ff3
commit d6af7252dc
35 changed files with 100 additions and 29 deletions

View File

@@ -1,12 +1,15 @@
# Parameter `MainTopic`
Default Value: `watermeter`
MQTT main topic, under which the counters are published.
The single value will be published with the following key: `MAINTOPIC/NUMBER/RESULT_TOPIC` where:
The single value will be published with the following key: `MAINTOPIC/NUMBER/RESULT_TOPIC`
- `NUMBER` is the name of the value (a meter might have more than one value).
With:
- `NUMBER`: The name of the value (a meter might have more than one value).
The names get defined in the analog and digital ROI configuration (defaults to `main`).
- `RESULT_TOPIC` can be one of `value`, `rate`, `timestamp`, `error`, ....
- `RESULT_TOPIC`: Automatically filled with the right name, eg. `value`, `rate`, `timestamp`, `error`, ....
The general connection status can be found in `MAINTOPIC/CONNECTION`.
See [MQTT Result Topics](../MQTT-API#result) for a full list of topics.