mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-08 12:36:54 +03:00
.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
# Parameter `ClientID`
|
||||
Default Value: `watermeter`
|
||||
|
||||
ClientID to connect to the MQTT broker.
|
||||
|
||||
If disabled, the `hostname` will be used.
|
||||
@@ -1,6 +1,4 @@
|
||||
# Parameter `HomeassistantDiscovery`
|
||||
Default Value: `true`
|
||||
|
||||
Enable or disable the Homeassistant Discovery.
|
||||
|
||||
See [here](../Integration-Home-Assistant) for details about the discovery.
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
# 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:
|
||||
|
||||
- `NUMBER` is 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`, ....
|
||||
|
||||
The general connection status can be found in `MAINTOPIC/CONNECTION`.
|
||||
|
||||
See [MQTT Result Topics](../MQTT-API#result) for a full list of topics.
|
||||
|
||||
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
# Parameter `MeterType`
|
||||
Default Value: `other`
|
||||
|
||||
Select the Meter Type so the sensors have the right units in Homeassistant.
|
||||
|
||||
!!! Note
|
||||
For `Watermeter` you need to have Homeassistant 2022.11 or newer!
|
||||
|
||||
Please also make sure that the selected Meter Type matches the dimension of the value provided by the meter!
|
||||
Eg. if your meter provides `m³`, you need to also set it to `m³`.
|
||||
Alternatively you can set the parameter `DecimalShift` to `3` so the value is converted to `liters`!
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Parameter `RetainMessages`
|
||||
Default Value: `true`
|
||||
|
||||
Enable or disable the [Retain Flag](https://www.hivemq.com/blog/mqtt-essentials-part-8-retained-messages/) for all MQTT entries.
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# Parameter `Uri`
|
||||
Default Value: `mqtt://IP-ADRESS:1883`
|
||||
|
||||
URI to the MQTT broker including the port. E.g. `mqtt://192.168.1.1:1883`.
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Parameter `password`
|
||||
Default Value: `PASSWORD`
|
||||
|
||||
Password for MQTT authentication.
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# Parameter `user`
|
||||
Default Value: `USERNAME`
|
||||
|
||||
Username for MQTT authentication.
|
||||
|
||||
Reference in New Issue
Block a user