Baldhor / Homey-ESPhome-Enhanced

This is an Homey app which adds support for ESPHome devices. ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems. More information on their homepage: https://www.esphome.io/
GNU General Public License v3.0
4 stars 3 forks source link

MaxListenersExceededWarning #5

Closed Baldhor closed 10 months ago

Baldhor commented 10 months ago

Describe the bug Sometimes, a nodeJs warning appear in the logs:

    (node:22180) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message.SensorStateResponse listeners added to [EsphomeNativeApiConnection]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)

To Reproduce Good question, it is not systematic, I seen it during testing, but not anymore. However I seen it in a Diagnostics Report from a user.

Expected behavior no warning

Baldhor commented 10 months ago

I only see those warning in the console of the browser now, seems related to homey SDK itself and not ESPhome app. => closing