Describe Your Problem:
I am getting MaxListenerExceededWarnings from the Lutron Leap Plugin. Everything seems to be working, so maybe it really is just a warning. But it does indicate that the emitter.SetMaxListeners should be increased.
Logs:
[28/08/2023, 08:41:40] [Lutron] Got MaxListenersExceededWarning process warning: Possible EventEmitter memory leak detected. 76 disconnected listeners added to [SmartBridge]. Use emitter.setMaxListeners() to increase limit:
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 76 disconnected listeners added to [SmartBridge]. Use emitter.setMaxListeners() to increase limit
at _addListener (node:events:587:17)
at SmartBridge.addListener (node:events:605:10)
at PicoRemote.initialize (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/src/PicoRemote.ts:229:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at LutronCasetaLeap.processDevice (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/src/platform.ts:230:24)
at async Promise.allSettled (index 38)
at /var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/src/platform.ts:197:61
(node:6066) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 76 disconnected listeners added to [SmartBridge]. Use emitter.setMaxListeners() to increase limit
Describe Your Problem: I am getting MaxListenerExceededWarnings from the Lutron Leap Plugin. Everything seems to be working, so maybe it really is just a warning. But it does indicate that the emitter.SetMaxListeners should be increased.
Logs:
Plugin Config: