turned off debug message for light

This commit is contained in:
Martin Donnelly 2018-07-14 17:52:55 +01:00
parent 0d5598d5d8
commit d15a7efcae
2 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ const LightController = function() {
client.on('light-offline', light => {
logger.debug(`Light: ${light.label} has gone offline`);
_this.emit(light.label.replace(' ', ''), light.status);
});

View File

@ -19,7 +19,7 @@ const MqttController = function() {
});
logger.debug('Trying to connect');
this.client = mqtt.connect('mqtt://192.168.1.150', options);
this.client = mqtt.connect('mqtt://192.168.1.156', options);
this.client.on('error', function(m) {
logger.error(m);