Is publish-subscribe pattern available in Dash? Is it possible to update a graph once new data is available? I am aware of dcc.Interval component, but that’s not suitable for what I need as this triggers updates at regular time intervals. I need to update my graph once data source produces a new piece of data.
I’ve got a number of sensors (temperature, presence, etc) taking measurements in their own time and at different frequencies. Each one has a threshold and it should raise an alarm if the corresponding threshold is broken. And, at that point I’d like to update the graph.
Can I do that in Dash? If so, how? Any pointers/examples would be truly appreciated.