fjhorrillo / homebridge-airzone-cloud

Homebridge Airzone Cloud
Apache License 2.0
21 stars 3 forks source link

[homebridge-airzone-cloud] This plugin slows down Homebridge. #29

Closed srenvoise closed 10 months ago

srenvoise commented 1 year ago

Describe Your Problem: Hello, I have some errors with the homebridge airzone cloud plugin. Can you help me please ?

Logs: [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:53:58] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [23/01/2023, 17:53:58] [AirzoneCloud] Error in getDeviceStatus. Error [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Temperature Display Units' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Temperature Display Units' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Heating Cooling State' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Temperature Display Units' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:06] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info. [23/01/2023, 17:59:06] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Temperature Display Units' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

    {
        "name": "AirzoneCloud",
        "system": "https://m.airzonecloud.com",
        "login": {
            "email": "sebastien@renvoise.net",
            "password": "XXXXXX"
        },
        "debug": false,
        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15",
        "platform": "AirzoneCloud"
    },

Screenshots:

Environment:

fjhorrillo commented 1 year ago

Hi, this problem is related to the time of airzone cloud when the request is synchronous (in your case seems to be due to a set of continuous requests), it is always for your system? the only way to avoid it is to make the request in an asynchronous way but it could result in a delay to show the expected information in homekit

srenvoise commented 1 year ago

Hi, That is probably a bug… Can you fix it ?

gerarp commented 11 months ago

Hi guys, I have the same problem. Did you find a way to solve it?

[20/7/2023, 17:25:52] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [20/7/2023, 17:25:52] [AirzoneCloud] Error in getDeviceStatus. Error [20/7/2023, 17:25:52] [AirzoneCloud] Error calling to AirzoneCloud. Status: 429 Too Many Requests [20/7/2023, 17:25:52] [AirzoneCloud] Error in getDeviceStatus. Error [20/7/2023, 17:28:54] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [20/7/2023, 17:28:54] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Heating Cooling State' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [20/7/2023, 17:28:54] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [20/7/2023, 17:28:54] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [20/7/2023, 17:28:54] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [20/7/2023, 17:29:00] [homebridge-airzone-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info. [20/7/2023, 17:29:20] [AirzoneCloud] Error in getDeviceStatus. FetchError: request to

srenvoise commented 11 months ago

Hi, Same problem, no answer from the developer...

pims31 commented 11 months ago

Hello, Same issue here too. Time between requests should be increased I guess, it is not a matter of seconds when we want to change the temperature in a room..

fjhorrillo commented 10 months ago

Hi, sorry for my late answer, I will add a configuration for a minimum waiting time between refresh requests. I work on it over bug #26 which is the same.