Hi all,
According to KeepAlive paragraph in https://github.com/victronenergy/dbus-mqtt/blob/master/README.md I should run something like this:
while :; do mosquitto_pub -m '' -t 'R/e0ff50a097c0/system/0/Serial'; sleep 5; done
in order to be able to maintain active subscriptions with the MQTT broker on Venus for clients on the local LAN.
The MQTT broker on Venus has this timeout functionality in order to prevent overloading VRM (fair enough). But ... would Ii not start to update VRM too frequently if I implement this keep alive function?
Instead of having to run a funny out-of-bounds script, would it not be better to be able to set a "keep alive" flag that the MQTT broker can check for use cases where local clients use the MQTT broker on Venus and would like to continue to be informed about changing data?
regards,
Jan