A few years ago I read about different variable types when updating VRM. I recall realtime vs periodic and those would be voltage vs more static stuff that don’t often change.
My question is: Is Temperature considered mostly static and update on a polled cycle vs realtime cycle? If I click on VRM and my web page says ‘realtime’ I would think temperature doesn’t update in realtime like voltages, current etc.
If I want to send Temperature to VRM, should I use a polled approach and what is an acceptable polling interval range? 1min to 15min ?
The realtime interface runs a tunnel back to a Victron server (websockets) which connects to MQTT, so the interface sees a value update as soon as it changes. There is a little bit of debouncing in the dbus to mqtt bridge, but since switching to flashmq (now in C, no longer in python) I’m not sure how much that is. It used to be 1.5 seconds.
On Venus itself, the update rate of temperature is typically less, but not all that much. We’re talking “every 5 seconds instead of every second” sort of differences.
Thanks. I would then be safe updating every 60s as temperature doesn’t change that much in that time.
1 Like