-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update KeepAlive Publish Path Following Transition from Mosquitto to FlashMQ #108
Comments
With a 'keepalive-options': ['suppress-republish'] (Venus OS 3.32 - FlashMQ), after a couple of hours, the loader does not receive some values anymore, e.g., Battery/0/Info/MaxChargeVoltage. Without this option, everything worked fine for me. I am not deep enough into the subject matter; could you please take a look at it?
I am not deep enough into the subject matter; could you please take a look at it? |
@ogurevich Thanks for helping me test this. Using the old DBus path should be OK, it still works, and suppress republish should only send changed values. Before the logic was broken in that it requested refresh of everything every 62 seconds. We are trying to get to the stage where only changed values are stored into the InfluxDB in that we really record what really happened without any duplicates. So the question is whether the |
The point is to never loose any data. What gets published by the Venus on DBus gets later recorded via MQTT and stored to Influx. So we must not, and we should not be loosing any data. Another point is how is Influx helping us or not to properly visualise the data. In other words, what would |
i understand and agree. on the other hand if the user of dashboard selects time range in this example from 2024-06-02 01:10:26 to 2024-06-02 08:03:07 so he will get no Data Visualisation On VRM Site for the same time range the Visualisation works fine we don't store unnecessary duplicated values, but user experience get worse with this strategy. |
Yeah, I understand what you are saying. Let's give it some thought to figure out what is the correct answer in that case. One of the goals of this project is to get super high granularity data for investigation, and by suppressing re-sends of old values we also store only valid data that were published by the system. So missing data also has a meaning... Goal of Grafana is to not duplicate VRM functionality, but rather enhance it. Let's think about what should success look like in this case... |
thank you for clarification and infos, should we close the issue ? And let some time for this thought :) |
No please keep it open, you are raising a valid point and we should figure out what is the proper functionality... |
According to the documentation in https://github.com/victronenergy/dbus-flashmq?tab=readme-ov-file#keep-alive, the Loader should publish
keepAliveOption
in a new location in the latest version of Venus OS.To ensure compatibility with older versions of Venus OS, the Loader could either be parameterized, or if possible, the Venus version could be retrieved directly from the MQTT broker. This would ensure that the
keepAliveOption
is published correctly according to the specific OS version.The text was updated successfully, but these errors were encountered: