Closed solomonj1963 closed 1 year ago
I mostly just see Nest icons for each camera.
This is the correct behaviour (from the FAQ):
MaxListenersExceededWarning is just that, a warning, it has no effect on functionality. This comes up with several camera based Homebridge plugins. Since it doesn't actually affect anything I'd rather not play with NodeJS parameters, less I inadvertently cause some other problem.
Are you seeing errors in the log when you try to view a stream?
They pretty much just spin busy. Occasionally see a snapshot pop in. Don’t worry too much about it. Im sure I am an extreme case.
If you enable debug mode and post some logs from when you're trying to view the streams we can probably determine why the camera streams are not viewable.
I have 10 cameras plus a doorbell. My Homebridge is running on an extremely beefy mac (i9, 96GB RAM, etc). I am getting the following error in the logs. I mostly just see Nest icons for each camera. Occasionally spotty video. But the timers on the snapshot updates are running and resetting normally. In addition, I have one camera that is an Outdoor IQ that continually says it's turned off when it is actually on both in Nest and Google Home apps.
Any advice on NodeJS MaxListeners? From what I am reading, that is a code change and not something everyone would want or need. Could it possibly be done with a configuration parameter for this plugin only?
[5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: South Yard Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Family Room Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Living Room Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Bedroom Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Front Yard Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Front Yard Doorbell [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Garage Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Back Yard Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: North Yard Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Office Camera [5/11/2023, 6:33:38 AM] [homebridge-google-nest-sdm] Restoring existing accessory from cache: Front Yard Camera (node:91501) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 shutdown listeners added to [HomebridgeAPI]. Use emitter.setMaxListeners() to increase limit (Use
node --trace-warnings ...
to show where the warning was created)Screenshot of Home app is attached.
Thanks, and I greatly appreciate any advice you can give!