mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Add more logging
This commit is contained in:
parent
fc9a0be1e9
commit
5b52defe9e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user