logger.debug("Nibe heatpump message listener started");
NibeHeatPumpConnector connector;
if (simulateHeatPump == true) {
connector = new NibeHeatPumpSimulator();
} else if (serialPort != null) {
connector = new NibeHeatPumpSerialConnector(serialPort);
} else {
connector = new NibeHeatPumpUDPConnector(udpPort);
}