home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.07k stars 29.73k forks source link

AirTouch 5 Integration stopped working after AirTouch update #120609

Closed fmaranhao closed 2 months ago

fmaranhao commented 2 months ago

The problem

After recent update to AirTouch 5 application, the integration with Home Assistant stopped working.

What version of Home Assistant Core has the issue?

core-2024.6.4

What was the last working version of Home Assistant Core?

core-2024.6.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

airtouch5

Link to integration documentation on our website

https://www.home-assistant.io/integrations/airtouch5

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant
Source: runner.py:148
First occurred: 1:41:07 AM (227 occurrences)
Last logged: 6:12:10 AM

Error doing job: Task was destroyed but it is pending! (<Task pending name='Task-40585' coro=<Airtouch5Client._read_packets() running at /usr/local/lib/python3.12/site-packages/airtouch5py/airtouch5_client.py:116> wait_for=<Future pending cb=[Task.task_wakeup()]>>)
Error doing job: Task was destroyed but it is pending! (<Task pending name='Task-40848' coro=<Airtouch5Client._read_packets() done, defined at /usr/local/lib/python3.12/site-packages/airtouch5py/airtouch5_client.py:105> wait_for=<Future pending cb=[Task.task_wakeup()]>>)
Error doing job: Task was destroyed but it is pending! (<Task pending name='Task-41169' coro=<Airtouch5Client._read_packets() running at /usr/local/lib/python3.12/site-packages/airtouch5py/airtouch5_client.py:116> wait_for=<Future pending cb=[Task.task_wakeup()]>>)
Error doing job: Task was destroyed but it is pending! (<Task pending name='Task-41431' coro=<Airtouch5Client._read_packets() done, defined at /usr/local/lib/python3.12/site-packages/airtouch5py/airtouch5_client.py:105> wait_for=<Future pending cb=[Task.task_wakeup()]>>)
Error doing job: Task was destroyed but it is pending! (<Task pending name='Task-41687' coro=<Airtouch5Client._read_packets() done, defined at /usr/local/lib/python3.12/site-packages/airtouch5py/airtouch5_client.py:105> wait_for=<Future pending cb=[Task.task_wakeup()]>>)

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @danzel, mind taking a look at this issue as it has been labeled with an integration (airtouch5) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `airtouch5` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign airtouch5` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


airtouch5 documentation airtouch5 source (message by IssueLinks)

danzel commented 2 months ago

Yep it's busted. Probably need some help from the manufacturer on what they've changed in the protocol. Also ref https://community.home-assistant.io/t/airtouch-5-integration-aus/451465/487 for other reports of it being broken.

JohnMcIl commented 2 months ago

Can confirm I also have this issue! The HA integration causes the mobile interface to break. Disabling the ha integration and restarting the console allows use of the mobile app.

amoisis commented 2 months ago

I assume the byte difference will have something to do with the Defrost function now being visible in the console among quite a few other changes.

JohnMcIl commented 2 months ago

Seems correct, great call. On 27 Jun 2024 at 3:38 PM +1000, amoisis @.***>, wrote:

I assume the byte difference will have something to do with the Defrost function now being visible in the console among quite a few other changes. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

VWeiPolyaire commented 2 months ago

AirTouch 5 Communication ProtocolV1.2.pdf This is the latest protocol for integration. Maybe someone can fix it with this.

danzel commented 2 months ago

Thanks @VWeiPolyaire , am working on it ATM.

paulwrussell commented 2 months ago

Summary of Changes

image
JohnMcIl commented 2 months ago

You guys are ALL amazing 👏 On 27 Jun 2024 at 4:25 PM +1000, Paul W Russell @.***>, wrote:

Summary of Changes image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Kaldek commented 2 months ago

Good to see @paulwrussell in here too.

Kaldek commented 2 months ago

The update from @danzel has fixed most stuff except for the AC unit's current_temperature values: image

danzel commented 2 months ago

https://github.com/danzel/airtouch5py/releases/tag/0.2.10 posted it in the HA thread about airtouch5 https://community.home-assistant.io/t/airtouch-5-integration-aus/451465/519 https://community.home-assistant.io/t/airtouch-5-integration-aus/451465/506

danzel commented 2 months ago

@Kaldek current temperature should be fixed in 0.2.10

Kaldek commented 2 months ago

Confirmed fixed as of 0.2.10 @danzel

JohnMcIl commented 2 months ago

Holy smokes you guys are amazing!!! Who do I 'buy a beer' or coffee for as a thank you?! Screenshot 2024-06-28 at 10 00 14 am

@Kaldek @danzel @paulwrussell Are you to thank? If so, how?

Kaldek commented 2 months ago

Nah it's @danzel who gets the credit here mate!

danzel commented 2 months ago

Holy smokes you guys are amazing!!! Who do I 'buy a beer' or coffee for as a thank you?!

A donation to Starship Hospital would be nice as a thank you.

PR to fix this is up at #120715 and should make the next release. joostlek says you will be able to test it in the HA beta, details on the release process

joostlek commented 2 months ago

From beta B4 onwards

JohnMcIl commented 2 months ago

Thanks Dave, I have done a donation to Starship :)

Best wishes,

John McIlveen On 28 Jun 2024 at 5:05 PM +1000, Dave Leaver @.***>, wrote:

Holy smokes you guys are amazing!!! Who do I 'buy a beer' or coffee for as a thank you?! A donation to Starship Hospital would be nice as a thank you. PR to fix this is up at #120715 and should make the next release. joostlek says you will be able to test it in the HA beta, details on the release process — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>