Daikin AC "unexpected error"

Hi there,
i'am a beginner with HA.

There is a problem with the Daikon AC intergration. (HA on RasPi)
I use a BRP069A41 Adapter with firmware 1.2.54. 

After entering only the ip adress of the daikon, there is an "unexpected error".
Entering with the Key leads to connection error.

Port 80 on the daikin is open and reachable from the Pi. 

This is the log:

Logger: homeassistant.components.daikin.config_flow
Source: components/daikin/config_flow.py:74
Integration: Daikin AC (documentation, issues)
First occurred: 19:10:25 (4 occurrences)
Last logged: 20:39:57

Unexpected error creating device
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/daikin/config_flow.py", line 74, in _create_device
    device = await Appliance.factory(
  File "/usr/local/lib/python3.9/site-packages/pydaikin/daikin_base.py", line 82, in factory
    await appl.update_status(appl.HTTP_RESOURCES[:1])
  File "/usr/local/lib/python3.9/site-packages/pydaikin/daikin_base.py", line 184, in update_status
    self.values.update(await self._get_resource(resource))
  File "/usr/local/lib/python3.9/site-packages/pydaikin/daikin_base.py", line 156, in _get_resource
    return await self._run_get_resource(resource)
  File "/usr/local/lib/python3.9/site-packages/pydaikin/daikin_base.py", line 168, in _run_get_resource
    return await self._handle_response(resp)
  File "/usr/local/lib/python3.9/site-packages/pydaikin/daikin_base.py", line 173, in _handle_response
    return self.parse_response(await resp.text())
  File "/usr/local/lib/python3.9/site-packages/pydaikin/daikin_base.py", line 95, in parse_response
    response = dict([e.split('=') for e in response_body.split(',')])
ValueError: dictionary update sequence element #26 has length 1; 2 is required

I will be very pleased for any suggestions. :slight_smile: 

Hello and welcome to the forums.

You should open an issue here:

The developer is very responsive.

Hi,

thanks al lot. I’ll do so…
Should we close here?

Wait and see what the devs say. Update this topic if they offer a solution. Also share the link to your issue here for others to see in future that may be experiencing the same issue.

Hi,
here ist the link to the issue.

1 Like

@IngosHA I recently got the same error that you got and found the cause of the problem. This error happens when the SSID of your wifi network contains a comma. You have to rename your wifi network and remove/replace the comma, then repair your AC to the new network, and then you should be able to add the Daikin AC integration to HA.

More information here: https://github.com/home-assistant/core/issues/76238

1 Like

Hello all,
do you know if the bug was fixed in the meantime?
I tried with two wifi SSID : deco_vv5_IoT and deco_vv5 (thus without comma).
Same result: “unexpected error”
My AC model is BRP069C4x (thus not BRP084Cxx or BRP072Cxx / SKYFi)
Thanks a lot,
Ludovic

ok, fixed:

“Daikin has removed their local API in newer products. They offer a Onecta cloud API for controlling Daikin devices through the cloud, see the Daikin Europe Developer Portal for more details. This affects units fitted with the BRP069C4x wifi adapter. Units listed under Supported Hardware below continue to have access to local control. Additionally the older but commonly available BRP072A42 adapter can be fitted to most if not all newer units for access to local control.”
GitHub - jwillemsen/daikin_onecta: Home Assistant Integration for devices supported by the Daikin Onecta App
It works fine !