ghosty2004 / homebridge-connectlife-ac

Integrates ConnectLife ACs with HomeBridge
Apache License 2.0
4 stars 1 forks source link

No response from the AC #5

Open AttilaSVK opened 3 weeks ago

AttilaSVK commented 3 weeks ago

Describe The Bug: My Hisense AC does show up in the Home app, but it's unavailable.

To Reproduce:

  1. Install plugin
  2. Configure plugin
  3. Open Home app in iOS/macOS device
  4. Try to interact with the AC

Expected behavior: AC shows up in HomeBridge and in the Home app on iOS/macOS

Logs: [04/07/2024, 23:50:32] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Current Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'cookieValue'). See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:50:32] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Active': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'cookieValue'). See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:50:32] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Cooling Threshold Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'cookieValue'). See https://homebridge.io/w/JtMGR for more info. ... (logs from other plugins) ... [04/07/2024, 23:50:35] [homebridge-connectlife-ac] This plugin slows down Homebridge. The read handler for the characteristic 'Swing Mode' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:50:35] [homebridge-connectlife-ac] This plugin slows down Homebridge. The read handler for the characteristic 'Heating Threshold Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:50:35] [homebridge-connectlife-ac] 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. [04/07/2024, 23:50:38] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Swing Mode': Unhandled error thrown inside read handler for characteristic: Request failed with status code 429. See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:50:38] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Heating Threshold Temperature': Unhandled error thrown inside read handler for characteristic: Request failed with status code 429. See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:50:38] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Temperature Display Units': Unhandled error thrown inside read handler for characteristic: Request failed with status code 429. See https://homebridge.io/w/JtMGR for more info. wakeUntilAPIReady: try 10 [04/07/2024, 23:51:10] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Current Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'cookieValue'). See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:13] [homebridge-connectlife-ac] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:13] [homebridge-connectlife-ac] This plugin slows down Homebridge. The read handler for the characteristic 'Swing Mode' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:13] [homebridge-connectlife-ac] This plugin slows down Homebridge. The read handler for the characteristic 'Cooling Threshold Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:13] [homebridge-connectlife-ac] This plugin slows down Homebridge. The read handler for the characteristic 'Heating Threshold Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:13] [homebridge-connectlife-ac] 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. [04/07/2024, 23:51:15] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Active': Unhandled error thrown inside read handler for characteristic: Request failed with status code 429. See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:15] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Temperature Display Units': Unhandled error thrown inside read handler for characteristic: Request failed with status code 429. See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:15] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Heating Threshold Temperature': Unhandled error thrown inside read handler for characteristic: Request failed with status code 429. See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:15] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Cooling Threshold Temperature': Unhandled error thrown inside read handler for characteristic: Request failed with status code 429. See https://homebridge.io/w/JtMGR for more info. [04/07/2024, 23:51:15] [homebridge-connectlife-ac] This plugin threw an error from the characteristic 'Swing Mode': Unhandled error thrown inside read handler for characteristic: Request failed with status code 429. See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

{ "name": "Living Room AC", "deviceNickName": "SplitAC", "loginID": "removed@gmail.com", "password": "removed", "debugMode": 1, "platform": "ConnectLifeAcPlugin" }

Screenshots: IMG_2321 Medium (just to prove that the device nickname is correct)

Screenshot 2024-07-04 at 23 57 53

Environment:

ghosty2004 commented 2 weeks ago

Hi, thanks for your issue report. (sorry for this late response)

Can you specify the answer for the following questions:

AttilaSVK commented 2 weeks ago

Hi! The indoor unit of the split AC is a Hisense CA35YR03G with a AEH-W4GX wifi module. The Pi is on the same network as my phone (and other devices) I can ping the first and last address, but the second and third don’t respond to pings. However they do serve up a website when tried in a browser, so I can reach all four servers from my network.

ghosty2004 commented 2 weeks ago

Thanks for your confirmation. Can I know if you use OAuth (Google, Apple or Microsoft) ?

After this answer, if you say no, then I will implement an advanced debug to be able to see what's going on and what response you receive from the APIs.

AttilaSVK commented 6 days ago

Sorry for the late reply, I read the notification e-mail and I forgot that there was a question for me to answer :) No, I just log in to ConnectLife with e-mail and password, I don't use OAuth.