I've created a flow that monitors some inputs on a Pi. When the input is on, I run an elapsed time indicator on one dashboard tab. The input also triggers an I2C read of an analog-digital converter, and that value is displayed on a dashboard gauge on a second dashboard tab. That tab is hidden until a button switches to that tab.
I've noticed that the gauge doesn't update until the tab is made visible. Is there a way to make the gauge update when the tab is hidden? I'd the gauge to show the value immediately when the tab is shown.
This the original dashboard. When I switch from the elapsed time tab to the other tab, the gauge goes from zero to the expected value. In the flow, the value is calculated and sent to the gauge when the Pi input turns on, regardless of which tab is visible. So the gauge has the value when the tab is hidden, but the needle on the gauge doesn't actually move until the tab is made visible. Does that make sense? Trying not to repeat myself...
I think that is down to the way the gauge library itself interacts with the browser. The value itself is sent immediately to the widget whether visible or not.