mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-27 21:20:03 +00:00
Add more logging
This commit is contained in:
@@ -34,6 +34,13 @@ class Controller {
|
||||
}
|
||||
|
||||
handleZigbeeMessage(message) {
|
||||
if (message.type == 'devInterview') {
|
||||
logger.info('Connecting with device, please wait...');
|
||||
}
|
||||
if (message.type == 'devIncoming') {
|
||||
logger.info('New device joined the network!');
|
||||
}
|
||||
|
||||
if (!message.endpoints) {
|
||||
// We dont handle messages without endpoints.
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user