You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mqtt should be an api so it can be configured like others, and make use of other features of vzlogger.
it should should look like this (at vzlogger.conf level):
"meters": [{
"channels": [{
"api": "mqtt",
The text was updated successfully, but these errors were encountered:
Adds
- ENABLE_MQTT cmake option. Defaults to On but turns off automatically
if libmosquitto not found.
- basic mqtt client support using libmosquitto
- topics generated are:
vzlogger/<channel-id>/uuid
vzlogger/<channel-id>/raw
vzlogger/<channel-id>/agg
- added config options for
- host
- port (currently no tls/sll support!)
- user
- password
- topic (prefix used instead of vzlogger in above example)
- (some more, see etc/vzlogger.conf)
- agg values get's preferred instead of raw. Using config option
rawAndAgg this can be changed.
i had not paid much attention to the mqtt implementation before,
but in #538 it came up that aggregation does not work for mqtt.
this is because mqtt (in #357) was not implemented as an api,
but hardcoded directly into the vzlogger core, bypassing aggregation and possibly other logic: https://github.com/mbehr1/vzlogger/blob/4ddc311c19ee7558c54049b2097ef5316783864a/src/threads.cpp#L143
mqtt should be an api so it can be configured like others, and make use of other features of vzlogger.
it should should look like this (at vzlogger.conf level):
The text was updated successfully, but these errors were encountered: