public void run() {
try {
logger.debug("Reloading Homematic server datapoints");
datapointReloadInProgress = true;
context.getHomematicClient().iterateAllDatapoints(new HmValueItemIteratorCallback() {
@Override
public void iterate(HomematicBindingConfig bindingConfig, HmValueItem hmValueItem) {
if (!datapoints.containsKey(bindingConfig)) {
logger.info("Adding new {}", bindingConfig);
datapoints.put(bindingConfig, hmValueItem);