Daikin BRP072C42 WIFI custom component

fixed in 2021.6.6.

Hi there,
I have 2x Daikin ACs with BRP072C42 wifi units attached to them.
The ACs and the Wifi units are identical, and both are connected to my Hassio 2021.06.6 installation.
One of them works perfectly and identifies 7 entities.
The other one, however, only identifies 4 entities and throws the following error in the Home Assistant Log file.

Logger: homeassistant.components.sensor
Source: components/daikin/sensor.py:140
Integration: Sensor (documentation, issues)
First occurred: 9:14:43 PM (2 occurrences)
Last logged: 9:14:43 PM

  • Error adding entities for domain sensor with platform daikin
  • Error while setting up daikin platform for sensor

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 383, in async_add_entities await asyncio.gather(*tasks) File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 588, in _async_add_entity await entity.add_to_platform_finish() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 615, in add_to_platform_finish self.async_write_ha_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 368, in async_write_ha_state self._async_write_ha_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 402, in _async_write_ha_state state = self._stringify_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 374, in _stringify_state state = self.state File “/usr/src/homeassistant/homeassistant/components/daikin/sensor.py”, line 140, in state return round(self._api.device.last_hour_cool_energy_consumption, 3) AttributeError: ‘DaikinBRP072C’ object has no attribute ‘last_hour_cool_energy_consumption’

Any ideas on what is wrong here?
Both units are the same model and run the same firmware… this is very strange.

Hello guys, I am having the issue of not be able to control the daikin entities.

I have the BRP069C4X model

in the Log I can see these warnings

2021-07-02 06:28:19 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.daikin_ac_inside_temperature is taking over 10 seconds
2021-07-02 06:28:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.daikin_ac_inside_temperature_2 is taking over 10 seconds
2021-07-02 06:28:28 WARNING (MainThread) [homeassistant.components.daikin] Connection failed for XXX.XXX.XXX.XXX
2021-07-02 06:28:29 WARNING (MainThread) [homeassistant.components.daikin] Connection failed for XXX.XXX.XXX.XXX
2021-07-02 08:47:21 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.daikin_ac_inside_temperature_2 is taking over 10 seconds
2021-07-02 08:47:29 WARNING (MainThread) [homeassistant.components.daikin] Connection failed for XXX.XXX.XXX.XXX
2021-07-02 08:48:14 WARNING (MainThread) [homeassistant.components.daikin] Connection failed for XXX.XXX.XXX.XXX
2021-07-02 09:16:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.daikin_ac_inside_temperature is taking over 10 seconds
2021-07-02 09:16:58 WARNING (MainThread) [homeassistant.components.daikin] Connection failed for XXX.XXX.XXX.XXX
2021-07-02 09:17:21 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.daikin_ac_inside_temperature_2 is taking over 10 seconds
2021-07-02 09:17:29 WARNING (MainThread) [homeassistant.components.daikin] Connection failed for XXX.XXX.XXX.XXX
2021-07-02 09:17:43 WARNING (MainThread) [homeassistant.components.daikin] Connection failed for XXX.XXX.XXX.XXX

Can anyone help to fixe this? Or is not possible yet?

A quick follow-up here. I found another tweaker who added these two components to the airconditioner:
BRP069B42 dus de wifi module met S21 kabel.
EKRS21 (Daikin S21 reducer kit voor Stylish), dit is een verloopkabel en die past dus op binnenunit.

I can now control the new system using the old wifi module and home assistant.

Did you resolve the problem with the BRP072C42?

I’m about to buy a Wifi adaptor, can anyone tell me if the BRP072C42 is working well with home assistant, or is it worth trying to track down a BRP072A42?

BRP069B42 with the S21 cable works nicely with HA.

Hi @jammin,

I have 2 Perfera-R (built-in BRP072C42) working fine with the integration from @rospogrigio.

1 Like

Hey @mihsu81 , can you please point me to this custom component?

I’ve just done a big leap to 2021.10.6 and I’m having problems with the built in component

Cheers

Linton

Hi @LintHart,
Add “GitHub - rospogrigio/daikin_residential: Cloud control of Daikin devices that are supported by Daikin Residential Controller app.” as a Custom Repository in HACS (category Integrations) and it will appear in the available Integrations of HACS. Install the Integration “Daikin Residential Controller” from HACS. At this point it will appear as an available integration to add in HA/Configuration/Integrations.

1 Like

Mine is a BRP072A42 too but I had to put my KEY in as the API key with no password for it to connect.

The AC Power Switch also didn’t work in my HA so I had to create one in configuration.yaml like this:

switch:
  - platform: template
    switches:
      daiken_switch:
        value_template: "{{ not is_state('climate.daikinap50360', 'off') }}"
        turn_on:
          service: climate.turn_on
          target:
            entity_id: climate.daikinap50360
        turn_off:
          service: climate.turn_off
          target:
            entity_id: climate.daikinap50360

For reference, here’s what my Entity card looks like:

type: entities
entities:
  - entity: switch.daiken
    icon: mdi:air-conditioner
    name: Daiken Air Conditioner
  - entity: climate.daikinap50360
    name: Mode
  - entity: sensor.daikinap50360_inside_temperature
    name: Inside Temperature
  - entity: sensor.daikinap50360_outside_temperature
    name: Outside Temperature
  - entity: sensor.daikinap50360_compressor_frequency
    name: Compressor Frequency
  - entity: sensor.daikinap50360_cool_energy_consumption
    name: Cool Energy Consumption
  - entity: sensor.daikinap50360_heat_energy_consumption
    name: Heat Energy Consumption
  - entity: sensor.daikinap50360_estimated_power_consumption
    name: Estimated Power Consumption
  - entity: sensor.daikinap50360_today_s_total_energy_consumption
    name: Today's Total Energy Consumption
title: Daikin AP50360
show_header_toggle: false
state_color: true

I just got an Alira X AC installed.
On “Daikin Mobile Controller” android app, I have managed to add the AC locally (I did not use any cloud account).
Provided a fixed IP from my router.

I tried adding the ac with HA "Daikin AC " integration. Tried adding the Ac with IP address only but its failing to connect.
Where do I find the API and Password the integration is looking for? There is nothing written inside the AC top cover.

How do I know which WiFi module do i have?

Will appreciate the help.

Hi, I have three Zena units with built in wifi. I have static IPs assigned to all three units and the Daikin Integration found them all. However, when I got to configure, it asks for the IP, API Key and password. Similar to iamtapu, how do I know which wifi model I have and how to I find the API key/password. Is this the SSID and password?

I am very new to HA and would appreciate any help.

Thanks in advance.

Hi, What do you mean actually when you said Daikin Integration found them all?
Do you see in your “Notification” that new hardware is detected?
image

FYI, mine does not get detected. I tried to add them by going to Settings > Device and Services > Add Integration > Daikin AC

I dont think so. I guess in some model of Daikin (maybe older models) had the Password and API key printer on a sticker inside the unit.

I am eager to find a way to get this Daikin AC added to HA. If you find any resources please let me know.

Hi, yes found new devices. But then get the same prompt to enter details if I were to follow the same process of adding the integration.

I was able to successfully add one unit to HA. I entered the IP and the SSID key as the API key. What I noticed with the discovery is that it only found two (I have three total), however, in the Daikin app, when it is “at home” it only shows the two units discovered. I will need to fix the third unit. Funny though, all three units show out of home.

1 Like

Hi All I have the Australian model that requires the API Key and pass. I have looked at the back of the WIFI unit. Its has SSID, Key, Mac and S/N. Can someone please tell me which is the API key and which is the pass?

Thanks in advance

hi @bdb1, I just used the IP of the AC and the API key = SSID key on the AC label you refer to. I did not enter a password. Please note, you must have all ACs in the app and working in “out-of-home” first as I understand it.

Thanks so much for the fast reply. I tried not putting no password. My SSID is DaikinAP77xxx (note the x’s are numbers. I then have a key which is a bunch of number. I enabled out of home mode and no go! Tried a reload too.

Thoughts

So got it Fixed. Once auto discovered put in IP and then ONLY the 10 digit number into the API key box, no pass.