turned off debug message for light
This commit is contained in:
parent
0d5598d5d8
commit
d15a7efcae
@ -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);
|
||||
});
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user