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
72.98k stars 30.53k forks source link

Daikin integration (stream problem) - BRP069B4X based units #123539

Closed Nerone1979 closed 2 months ago

Nerone1979 commented 2 months ago

The problem

In the Daikin integration is possible control the stramer (air purify) of Daikin A/C. With the 2024.8.0 the ON/OFF toggles button not enable or disable the air purify. The ON/OFF toggles switch run, but after 2 seconds is retorn in previous state With 2024.7.3 it was OK. I use BRP069B4X wifi controller

What version of Home Assistant Core has the issue?

2024.8.0

What was the last working version of Home Assistant Core?

2024.7.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Daikin A/C

Link to integration documentation on our website

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

Diagnostics information

home-assistant_daikin_2024-08-10T13-23-50.085Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 months ago

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

Code owner commands Code owners of `daikin` 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 daikin` 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)


daikin documentation daikin source (message by IssueLinks)

Nerone1979 commented 2 months ago

home-assistant_daikin_2024-08-10T13-50-05.310Z_log.txt

HeimLabor commented 2 months ago

I’m experiencing the same issue with my Daikin Stylish units using the BRP084A42-1 module.

lagefrej commented 2 months ago

I lost connection to my 2 Wifi Controller Unit BRP069A41 as well when I upgraded to 2024.8.0, went back to 2024.7.4 there is works fine.

Will-blake commented 2 months ago

Same issue here with my 3 BRP069B41 WiFi units. I upgraded to 2024.8.0 and lost all connections. I tried to delete all appliances and reconfigure them, KO, same error message. The rollback to 2024.7.4 didn't work as well...

manuelferreira commented 2 months ago

Same problem, lost connection to all Wifi Controller Unit BRP069B4x after upgraded to 2024.8.1 from 2024.7.4... message in integration: "Failed to set up"

"This entity is no longer being provided by the daikin integration. If the entity is no longer in use, delete it in settings."

LeoeLeoeL commented 2 months ago

I was expecting a fix sooner. I need Daikin integration working I like new features in HA but please don't destroy the olders.

menloperk commented 2 months ago

Guys, finally got 8.2 to fix the issue with having more than 1 Daikin (header thing). Now I can finally use them again. But now I run into this issue! This was working flawlessly before! What has changed and why are we breaking something that has been working for years?

Frucoboti commented 2 months ago

Same here. Lost integration since last update.

menloperk commented 2 months ago

It's showing the right state for the streamer entity in the daikin device: image However, when I turn it off, it doesn't stick and it just turns back to on. Nothing in the logs. This is the same for all my Daikin devices. Turning it from 'on' to 'off' or 'off' to 'on' doesn't matter, it doesn't do it, When I turn it 'off' using Developer tools -> STATES -> Set State, it is immediately set back to 'on' (see Logbook to the right in the screenshot).

menloperk commented 2 months ago

Since 8.2 apparently also changed DB schema, I decided to restart HA and MariaDB. Now everything is working fine as before except Daikin integration. It is looping trying to start: image What is going on with this integration that was working perfectly alright before version 8? [EDIT] Finally, after many, many retries to start, the devices have come back now. Not sure what is going on here. Still stuck with the 'Streamer' switch functionality not working...

LeoeLeoeL commented 2 months ago

In 8.2 entities are detected but commands are ignored. Temperature sensors are working. Update: Commands seem to work too; Streamer switch doesn't work

Will-blake commented 2 months ago

Back to normal with the 2024.8.2. Command to Daikin unit seem to work. However some slowness now with MQTT

fredrike commented 2 months ago

home-assistant_daikin_2024-08-10T13-50-05.310Z_log.txt

Thanks for the log output I'll investigate what's going on here.

What is going on with this integration that was working perfectly alright before version 8?

The underlying library pydaikin have been updated with code quality improvements unfortunately this have introduced some unforeseen bugs. The library is quite complex as it supports four different protocols with aim to support a fifth.

LeoeLeoeL commented 2 months ago

In 8.2 entities are detected but commands are ignored. Temperature sensors are working. Update: Commands seem to work too; Streamer switch doesn't work

Streamer switch doesn't works but at least shows the correct status set by the remote controller

fredrike commented 2 months ago

Please contact me on Discord or the HA forum and we'll try to fix this.

Nerone1979 commented 2 months ago

Here the log fron 2024.7.3 error_log.txt

fredrike commented 2 months ago

@home-assistant rename Daikin integration (stream problem) - BRP069B4X based units