mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-27 21:20:03 +00:00
Log to MQTT when pairing with device. #85
This commit is contained in:
+4
-2
@@ -180,9 +180,11 @@ class Controller {
|
||||
debug('Recieved zigbee message with data', message.data);
|
||||
|
||||
if (message.type == 'devInterview') {
|
||||
logger.info('Connecting with device, please wait...');
|
||||
logger.info('Connecting with device...');
|
||||
this.mqtt.log('pairing', 'connecting with device');
|
||||
} else if (message.type == 'devIncoming') {
|
||||
logger.info('New device joined the network!');
|
||||
logger.info('Device incoming...');
|
||||
this.mqtt.log('pairing', 'device incoming');
|
||||
}
|
||||
|
||||
// We dont handle messages without endpoints.
|
||||
|
||||
Reference in New Issue
Block a user