
6.2 Configure MQTT Body Field
The text in the mqtt body will ultimately be sent to the mqtt broker. So if for example the text in
the mqtt body is “SENSOR FOUND”, every time the router recognizes a known advertisement
(by comparing it to the deserializers), the text “SENSOR FOUND” will be sent to the mqtt broker.
Following this there are two ways to send the sensor data.
6.2.1 Simple Configuration
In the configuration we use variables in form $fieldname which we replace by its belonging
value. That means that writing a text inside the body all $fieldname occurences will be replaced
similar to search and replace in a word processor by its belonging value. e.g. $Temperature will
be replaced by 12 if at that moment the sensor measures 12 degrees celsius and sends it to the
gateway.
Содержание RootMeBaby
Страница 1: ...aconno GmbH RootMeBaby User Guide...
Страница 6: ......
Страница 8: ......
Страница 10: ......
Страница 15: ......
Страница 16: ......
Страница 20: ......
Страница 21: ......
Страница 22: ......
Страница 23: ......
Страница 24: ......
Страница 25: ......
Страница 26: ......
Страница 27: ......
Страница 28: ......
Страница 29: ......
Страница 30: ......
Страница 31: ......
Страница 32: ......
Страница 35: ......
Страница 37: ......
Страница 38: ......