Poll All / Refresh actions on Luup devices

I would like to connect my plugin to general ‘Poll’ activities, so UI would reflect updated device status.

My understanding is that to enable it, a custom plugin should have some callback function invoked by ‘polling’ daemon, returning current status and other required meta data.

How can I do that?

Let me think about the best way to do this. I hadn’t taken this into account.