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.06k stars 29.72k forks source link

Daikin integration issue with new unit BRP069C4x #121450

Closed sbel28 closed 2 months ago

sbel28 commented 2 months ago

The problem

Hello, I just bought new Daikin air conditioning. Based on model BRP069C4x. I already have an older one "B4x" perfectly integrated. With the C model when I try to integrate I receive an unexpected error message and it is impossible to integrate my units.

Log: Enregistreur: homeassistant.components.daikin.config_flow Source: components/daikin/config_flow.py:85 intégration: Daikin AC (documentation, problèmes) S'est produit pour la première fois: 17:59:13 (1 occurrences) Dernier enregistrement: 17:59:13

Unexpected error creating device Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/daikin/config_flow.py", line 85, in _create_device device = await Appliance.factory( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pydaikin/daikin_base.py", line 86, in factory await appl.init() File "/usr/local/lib/python3.12/site-packages/pydaikin/daikin_airbase.py", line 69, in init raise Exception("Empty values.") Exception: Empty values.

What version of Home Assistant Core has the issue?

2024.7.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Daikin

Link to integration documentation on our website

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

Diagnostics information

2024-07-07 17:59:13.325 ERROR (MainThread) [homeassistant.components.daikin.config_flow] Unexpected error creating device Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/daikin/config_flow.py", line 85, in _create_device device = await Appliance.factory( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pydaikin/daikin_base.py", line 86, in factory await appl.init() File "/usr/local/lib/python3.12/site-packages/pydaikin/daikin_airbase.py", line 69, in init raise Exception("Empty values.") Exception: Empty values. 2024-07-07 18:27:15.290 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power'] 2024-07-07 18:27:44.827 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['common/basic_info'] 2024-07-07 18:27:50.165 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['common/basic_info', 'aircon/get_control_info', 'aircon/get_model_info', 'aircon/get_sensor_info', 'aircon/get_zone_setting'] 2024-07-07 18:27:50.371 DEBUG (MainThread) [pydaikin.daikin_base] ServerDisconnectedError 3 2024-07-07 18:27:50.425 ERROR (MainThread) [homeassistant.components.daikin.config_flow] Unexpected error creating device Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/daikin/config_flow.py", line 85, in _create_device device = await Appliance.factory( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pydaikin/daikin_base.py", line 86, in factory await appl.init() File "/usr/local/lib/python3.12/site-packages/pydaikin/daikin_airbase.py", line 69, in init raise Exception("Empty values.") Exception: Empty values. 2024-07-07 18:28:15.291 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex']

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

if you want other feeback let me know

I apologyse for my poor english. regards.

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)

sbel28 commented 2 months ago

Hello,

I'm coming back to you because I dug a little deeper into the subject.

If I understand correctly, Daikin has just changed its communication policy with its air conditioning units. It would no longer be possible with “C” models (BRP069-C) to control them locally directly. I just installed the "Daikin Onecta" integration (using API) instead of the "Daikin AC" and everything works very well, even with the old units. In return, internet use obligatory.

For air conditioning this is not very critical. We're not talking about home protection. It'll just be too hot or too cold or nothing at all, and go back manually isn't that difficult.

Note that new information appears with the Onecta integration, including for old units (under Daikin AC). It's not just a change of method. For example the daily, weekly and annual electricity consumption (fine for graph). The new features of the Onecta interface (smartphone) go back to the integration.

If there is another solution I will look at it closely but for now this one (Daikin Onecta) suits me perfectly

Thanks.