Problems with Daikin integration after updating AC firmware to 1.16.0

I have no idea where to post this, but I’ve been fighting this the whole day today…

I just updated one of my Daikin ACs to 1.16.0 today, and everything was fine at first… until I decided to reload the integration because the firmware version on the device page didn’t get updated to say “1.16.0” (it showed 1.13.7, the previous version). That’s where the nightmare started…

All the entities became unavailable, and I’ve since tried everything to get it back, but to no avail. I even tried deleting the integration to add again, but I keep getting “Unknown error occurred”.

My AC has a BRP072C42 module.

I’m logging

logger:
  default: info
  logs:
    homeassistant.components.pydaikin: debug
    homeassistant.components.daikin: debug
    homeassistant.components.climate: debug
    pydaikin: debug

and I don’t get anything beyond

2022-08-15 02:53:40.359 DEBUG (MainThread) [homeassistant.components.daikin.config_flow] Zeroconf user_input: ZeroconfServiceInfo(host='192.168.0.149', addresses=['192.168.0.149'], port=443, hostname='DaikinAP94449.local.', type='_dkapi._tcp.local.', name='DkApi._dkapi._tcp.local.', properties={'_raw': {'reg': b'th', 'type': b'aircon', 'ver': b'1_16_0', 'adp_kind': b'3'}, 'reg': 'th', 'type': 'aircon', 'ver': '1_16_0', 'adp_kind': '3'})
2022-08-15 02:53:40.388 DEBUG (MainThread) [pydaikin.discovery] Discovered ('192.168.0.149', 49155), ret=OK,type=aircon,reg=th,dst=1,ver=1_16_0,rev=182179A,pow=0,err=0,location=0,name=%4d%61%73%74%65%72%20%42%65%64%72%6f%6f%6d,icon=0,method=home only,lpw_flag=0,adp_kind=3,pv=2,cpv=2,cpv_minor=00,led=0,en_setzone=1,mac=48E7DA6860AE,ssid=DaikinAP94449,adp_mode=ap_run,en_hol=0,enlver=1.00,grp_name=,en_grp=0,en_secure=1
2022-08-15 02:53:42.365 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 02:53:44.125 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 02:53:47.764 DEBUG (MainThread) [pydaikin.daikin_base] ServerDisconnectedError 3

@fredrike I really need help :sob:

I’ve tried the API from https://github.com/ael-code/daikin-control and it still works:

curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" --head "https://192.168.0.149/common/register_terminal?key=xxxyyyzzz"
HTTP/1.0 200 OK
Content-Length: 6
Content-Type: text/plain

curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/common/basic_info"
ret=OK,type=aircon,reg=th,dst=1,ver=1_16_0,rev=182179A,pow=0,err=0,location=0,name=%4d%61%73%74%65%72%20%42%65%64%72%6f%6f%6d,icon=0,method=home only,lpw_flag=0,adp_kind=3,pv=2,cpv=2,cpv_minor=00,led=0,en_setzone=1,mac=48E7DA6860AE,ssid=DaikinAP94449,adp_mode=ap_run,en_hol=0,enlver=1.00,grp_name=,en_grp=0,en_secure=1,port=30050,id=,pw=%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_model_info"                      
ret=OK,model=1358,type=C,pv=2,cpv=2,cpv_minor=00,mid=NA,humd=0,s_humd=0,acled=0,land=0,elec=0,temp=1,temp_rng=0,m_dtct=1,ac_dst=--,disp_dry=0,dmnd=0,en_scdltmr=1,en_frate=1,en_fdir=1,s_fdir=3,en_rtemp_a=0,en_spmode=0,en_ipw_sep=0,en_mompow=0,en_patrol=0,en_fdir2=0,en_filter_sign=0%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_control_info"
ret=OK,pow=0,mode=3,adv=,stemp=25.0,shum=0,dt1=25.0,dt2=M,dt3=25.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=25.0,b_shum=0,alert=255,f_rate=5,b_f_rate=5,dfr1=A,dfr2=A,dfr3=5,dfr4=A,dfr5=A,dfr6=A,dfr7=A,dfrh=A,f_dir=2,b_f_dir=2,dfd1=0,dfd2=0,dfd3=2,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0%

Home Assistant 2022.8.4
Supervisor 2022.08.3
Operating System 8.4
Frontend 20220802.0 - latest

I notice that when adding the integration, the following happens:

2022-08-15 03:39:14.996 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['common/basic_info', 'common/get_remote_method', 'aircon/get_sensor_info', 'aircon/get_model_info', 'aircon/get_control_info', 'aircon/get_target', 'aircon/get_price', 'common/get_holiday', 'common/get_notify', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_year_power', 'common/get_datetime']

I ran the APIs one by one and got the following:

curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/common/basic_info"
ret=OK,type=aircon,reg=th,dst=1,ver=1_16_0,rev=182179A,pow=0,err=0,location=0,name=%4d%61%73%74%65%72%20%42%65%64%72%6f%6f%6d,icon=0,method=home only,lpw_flag=0,adp_kind=3,pv=2,cpv=2,cpv_minor=00,led=0,en_setzone=1,mac=48E7DA6860AE,ssid=DaikinAP94449,adp_mode=ap_run,en_hol=0,enlver=1.00,grp_name=,en_grp=0,en_secure=1,port=30050,id=,pw=%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/common/get_remote_method"
ret=OK,method=home only,notice_ip_int=3600,notice_sync_int=60%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_sensor_info"
ret=OK,htemp=28.0,hhum=75,otemp=28.0,err=0,cmpfreq=8%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_model_info"
ret=OK,model=1358,type=C,pv=2,cpv=2,cpv_minor=00,mid=NA,humd=0,s_humd=0,acled=0,land=0,elec=0,temp=1,temp_rng=0,m_dtct=1,ac_dst=--,disp_dry=0,dmnd=0,en_scdltmr=1,en_frate=1,en_fdir=1,s_fdir=3,en_rtemp_a=0,en_spmode=0,en_ipw_sep=0,en_mompow=0,en_patrol=0,en_fdir2=0,en_filter_sign=0%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_control_info"
ret=OK,pow=0,mode=3,adv=,stemp=25.0,shum=0,dt1=25.0,dt2=M,dt3=25.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=25.0,b_shum=0,alert=255,f_rate=5,b_f_rate=5,dfr1=A,dfr2=A,dfr3=5,dfr4=A,dfr5=A,dfr6=A,dfr7=A,dfrh=A,f_dir=2,b_f_dir=2,dfd1=0,dfd2=0,dfd3=2,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_target"
ret=OK,target=0%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_price"
ret=OK,price_int=27,price_dec=0%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/common/get_holiday"
ret=OK,en_hol=0%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/common/get_notify"
ret=OK,auto_off_flg=0,auto_off_tm=- -%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_day_power_ex"
ret=OK,curr_day_heat=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,prev_1day_heat=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,curr_day_cool=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,prev_1day_cool=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_week_power"
ret=OK,today_runtime=0,datas=9800/8600/4900/13100/4500/9700/700%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/aircon/get_year_power"
ret=OK,previous_year=0/0/0/0/0/0/0/0/0/0/0/0,this_year=0/0/0/186/219/127/187/78%
curl --insecure -H "X-Daikin-uuid: 26d62729763b41189928d7dafc354fa8" "https://192.168.0.149/common/get_datetime"
ret=OK,sta=2,cur=2022/8/15 3:44:20,reg=th,dst=1,zone=332%

So… I crashed the BRP072C42 and power cycled it, and the pings are a lot better now. No more ServerDisconnectedErrors. However, now when I try adding the integration, this happens instead:

Stranger things… Now after hammering at it a few more times, I get here… but no climate control… What is going on…

2022-08-15 04:06:02.935 DEBUG (MainThread) [homeassistant.components.daikin.config_flow] Zeroconf user_input: ZeroconfServiceInfo(host='192.168.0.149', addresses=['192.168.0.149'], port=443, hostname='DaikinAP94449.local.', type='_dkapi._tcp.local.', name='DkApi._dkapi._tcp.local.', properties={'_raw': {'reg': b'th', 'type': b'aircon', 'ver': b'1_16_0', 'adp_kind': b'3'}, 'reg': 'th', 'type': 'aircon', 'ver': '1_16_0', 'adp_kind': '3'})
2022-08-15 04:06:02.943 DEBUG (MainThread) [pydaikin.discovery] Discovered ('192.168.0.149', 49156), ret=OK,type=aircon,reg=th,dst=1,ver=1_16_0,rev=182179A,pow=0,err=0,location=0,name=%4d%61%73%74%65%72%20%42%65%64%72%6f%6f%6d,icon=0,method=home only,lpw_flag=0,adp_kind=3,pv=2,cpv=2,cpv_minor=00,led=0,en_setzone=1,mac=48E7DA6860AE,ssid=DaikinAP94449,adp_mode=ap_run,en_hol=0,enlver=1.00,grp_name=,en_grp=0,en_secure=1
2022-08-15 04:06:14.397 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 04:06:17.806 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 04:06:18.760 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 04:06:22.626 DEBUG (MainThread) [pydaikin.daikin_base] ServerDisconnectedError 3
2022-08-15 04:06:25.197 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['common/basic_info', 'common/get_remote_method', 'aircon/get_sensor_info', 'aircon/get_model_info', 'aircon/get_control_info', 'aircon/get_target', 'aircon/get_price', 'common/get_holiday', 'common/get_notify', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_year_power', 'common/get_datetime']
2022-08-15 04:06:52.865 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['common/basic_info', 'common/get_remote_method', 'aircon/get_sensor_info', 'aircon/get_model_info', 'aircon/get_control_info', 'aircon/get_target', 'aircon/get_price', 'common/get_holiday', 'common/get_notify', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_year_power', 'common/get_datetime']
2022-08-15 04:07:14.398 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 04:07:16.837 INFO (MainThread) [homeassistant.components.climate] Setting up climate.daikin
2022-08-15 04:07:16.838 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.daikin
2022-08-15 04:07:16.839 INFO (MainThread) [homeassistant.components.switch] Setting up switch.daikin
2022-08-15 04:07:16.852 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_inside_temperature
2022-08-15 04:07:16.855 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_outside_temperature
2022-08-15 04:07:16.863 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_humidity
2022-08-15 04:07:16.867 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_target_humidity
2022-08-15 04:07:16.870 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_estimated_power_consumption
2022-08-15 04:07:16.872 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_cool_energy_consumption
2022-08-15 04:07:16.878 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_heat_energy_consumption
2022-08-15 04:07:16.881 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_compressor_frequency
2022-08-15 04:07:16.886 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.master_bedroom_today_s_total_energy_consumption
2022-08-15 04:07:16.888 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.daikin entity: switch.master_bedroom_streamer
2022-08-15 04:07:16.892 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 04:07:18.762 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 04:07:31.026 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['aircon/get_sensor_info', 'aircon/get_control_info', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power', 'aircon/get_day_power_ex', 'aircon/get_week_power']
2022-08-15 04:07:36.784 DEBUG (MainThread) [pydaikin.daikin_base] ServerDisconnectedError 3

So odd…

Rolled back to my backup of HA 2022.8.3. Got the AC back and firmware shows 1.16.0. Not sure what happened but I’m gonna take a break now.

did you get it to work properly in the end? I just installed the BRP072C42 adapter in my AC unit and I can’t access the app without performing an update.

I might need to hunt down an older version of the app in the worst case I’m guessing.

I didn’t try reloading the integration after rolling back so I’m not sure if reloading or adding a new aircon works. However, all my existing aircons work. I have since upgraded to 2022.9.7.

I also did not update the rest of my aircons, they are still on 1.13.7.

From my fiddling, you actually do not need the iOS app to add the aircon to HA. HA registers itself to the aircon as though it is an app via the REST-API.

1 Like

Alright I was brave enough to try it and it seems to have worked perfectly fine.
It showed up in HA with all entities, but I’m not sure all of them are working at this point.

I will try and remember to update again later today about that for anyone else who stumbels upon this thread.

1 Like

So, for anyone else that stumbels upon this.
For my model FTKM09SV2S these sensors below don’t seem to work at all

  • Cool Energy Consumption ( Not sure what its needed for )
  • Heat Energy Consumption ( AC doesn’t have heater )
  • Estimated Power Consumption ( seems to be all over the place, Total report correctly though )

Setting the preset doesn’t seem to work at all, but it can see the change if done from the remote

A bit of a surprise for me was that apparently, it’s not possible to control the fan speed, which kind of feel like the most basic function of an AC so thanks for that Daikin… ( its the same in the official app )

The default mode seems to be auto fan which I guess is ok, but it would be nice to set it to boost.

Except for all that it works fine

  • Power, temperature, mode set from the remote is detected
  • If using the integration, the AC doesn’t make a sound when turning on and off which is nice
  • Total Energy Consumption seems to be fairly accurate
  • Indoor humidity, temperature values are accurately reported as well as outside temperature