pschroeder89 / homebridge-levoit-humidifiers

Levoit Humidifiers Plugin for Apple HomeKit via Homebridge
Apache License 2.0
70 stars 9 forks source link

This plugin slows down Homebridge #3

Closed spoer78 closed 2 years ago

spoer78 commented 2 years ago

Describe The Bug: Plugin slows down Homebridge, moved it to an own Homebridge instance, still getting the following error messages:

[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info. [12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info. [12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info. [12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info. [12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info. [12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.

To Reproduce: Install it, hook it up with your Levoit account, connect with your humidifier and simply wait for the errors to emerge.

Expected behavior: No slow-downs, no error messages

Logs:

[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.

Plugin Config:

        {
            "name": "Levoit Humidifiers",
            "email": "mymailaddress",
            "password": "mypassword",
            "platform": "LevoitHumidifiers"
        }

Screenshots: all said above

Environment:

kreeger commented 2 years ago

So far, I'm not experiencing this issue in my Homebridge logs (things seem fine!) so I'm wondering what the difference is. I'm running a slightly older version of Node, but I wouldn't think that would cause warnings like you're seeing. I only have one device (a Classic 300S), for what it's worth.

[12/8/2021, 12:00:12 AM] [Levoit Humidifiers] Discovering devices...
[12/8/2021, 12:00:14 AM] [Levoit Humidifiers] Adding new accessory: Humidifier
pschroeder89 commented 2 years ago

I'm also not seeing this. Have you tried setting this up as a child bridge?

spoer78 commented 2 years ago

Usually i have all my homebridge stuff running on a Raspi3b, but i have now moved the Levoit plugin to a separate homebridge in a docker container on my Synology (kinda like a "step"-child bridge :D). My main homebridge is running fine now and the dedicated levoit homebridge still reports a buttload of these errors but everything is running well. So i can absolutely live with that and i am eternally grateful for the plugin, i just thought i mention it.

spoer78 commented 2 years ago

Its still producing this errors, now on a complete standalone homebridge installation:


[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 4:01:43 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 8:47:48 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 8:47:48 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 8:47:48 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 8:47:48 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 8:47:48 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 8:47:48 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 10:00:06 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 10:00:06 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 10:00:06 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 10:00:06 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 10:00:06 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[12/14/2021, 10:00:06 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.```
pschroeder89 commented 2 years ago

@spoer78 what does the wifi signal strength look like at the Humidifier? You can check it from the VeSync app > Humidifier > Settings

spoer78 commented 2 years ago

one has -40 dBm and the other -59 dBm

pschroeder89 commented 2 years ago

What's your internet speed and latency? My thought is that the calls to VeSync are taking a while to get back to homebridge and that's why you're seeing these errors.

Without seeing this myself, I'm not sure how to troubleshoot to be honest. I'd say if you're not seeing any performance issues, maybe it's best to ignore the logs.

spoer78 commented 2 years ago

280mbit down, 45mbit up.

I am absolutely a master in ignoring stuff, so this should not be a problem at all :)

pschroeder89 commented 2 years ago

I'll close this, but if we get more reports of it, we can re-open it.