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?