I am quite new to openhab development and after struggling a lot with setting up de dev environment (again, after migration of the build system) I come now to a real question:
How do I find out which channels of a thing a linked?
Background: I need to poll the data via a serial line and would like to avoid polling data that is afterwards not used. Or in case I completely misunderstood the concept of channels and items?
Ah and there is RefreshType in the command parameter of handleCommand. Would that be the key and there is some general configuration that I did not yet find which ensures that a channel is refreshed at least each XXX minutes?