updateStatus(ThingStatus.ONLINE);
} else {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR,
- "Milight Hub is not connected to your MQTT broker.");
+ "Waiting for 'milight/status: connected' MQTT message to be sent from your ESP Milight hub.");
}
} else {
try {
return;
}
this.connection = connection;
+ updateStatus(ThingStatus.UNKNOWN, ThingStatusDetail.CONFIGURATION_PENDING,
+ "Waiting for 'milight/status: connected' MQTT message to be received. Check hub has 'MQTT Client Status Topic' configured.");
connection.subscribe(fullStatesTopic, this);
connection.subscribe(STATUS_TOPIC, this);
}