openhab-addons: [daikin] Thing status changes to OFFLINE (COMMUNICATION_ERROR) during getEnergyInfoYear() call

I have two Daikin units controlled by BRP069A41 and BRP069A42. I noticed that often the devices do not react to commands. While checking the logs I noticed that the status of the device changes from ONLINE to OFFLINE (COMMUNICATION_ERROR).

I’ve checked the network and there are no issues on that side. Did also various curl loop tests with different sleep intervals and didn’t notice anything abnormal.

I don’t think the thing should be marked as unavailable/offline if one API call specific to one feature fails.

Current Behavior

events.log :

2020-08-31 14:48:37.272 [vent.ItemStateChangedEvent] - DaikinKB_OutTemp changed from 32.5 °C to 32.0 °C
2020-08-31 14:48:42.901 [hingStatusInfoChangedEvent] - 'daikin:ac_unit:daikin_mb_ac' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Daikin HTTP error
2020-08-31 14:49:41.914 [hingStatusInfoChangedEvent] - 'daikin:ac_unit:daikin_mb_ac' changed from OFFLINE (COMMUNICATION_ERROR): Daikin HTTP error to ONLINE

openhab.log:

2020-08-31 14:49:41.901 [DEBUG] [n.internal.handler.DaikinBaseHandler] - Polling for state
2020-08-31 14:49:41.902 [DEBUG] [ing.daikin.internal.DaikinWebTargets] - Calling url: http://192.168.1.23/aircon/get_control_info
2020-08-31 14:49:41.913 [DEBUG] [ding.daikin.internal.api.ControlInfo] - Parsing string: "ret=OK,pow=1,mode=3,adv=,stemp=18.0,shum=0,dt1=25.0,dt2=M,dt3=18.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=18.0,b_shum=0,alert=255,f_rate=A,f_dir=0,b_f_rate=A,b_f_dir=0,dfr1=5,dfr2=5,dfr3=A,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3=0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0"
2020-08-31 14:49:41.916 [DEBUG] [ing.daikin.internal.DaikinWebTargets] - Calling url: http://192.168.1.23/aircon/get_sensor_info
2020-08-31 14:49:41.922 [DEBUG] [nding.daikin.internal.api.SensorInfo] - Parsing string: "ret=OK,htemp=24.5,hhum=-,otemp=43.0,err=0,cmpfreq=16"
2020-08-31 14:49:41.923 [DEBUG] [ing.daikin.internal.DaikinWebTargets] - Calling url: http://192.168.1.23/aircon/get_year_power_ex
2020-08-31 14:49:53.311 [DEBUG] [internal.handler.DaikinAcUnitHandler] - getEnergyInfoYear() error: Daikin HTTP error
2020-08-31 14:49:56.924 [DEBUG] [internal.handler.DaikinAcUnitHandler] - getEnergyInfoYear() error: Daikin HTTP error
2020-08-31 14:50:37.892 [DEBUG] [scovery.DaikinACUnitDiscoveryService] - Starting broadcast for /172.17.255.255
2020-08-31 14:50:54.311 [DEBUG] [n.internal.handler.DaikinBaseHandler] - Polling for state

Seems that I get a DaikinCommunicationException while calling getEnergyInfoYear().

The curl result:

nepotu@e5440:~$ curl http://192.168.1.23/aircon/get_year_power_ex
ret=OK,curr_year_heat=0/0/0/0/0/0/0/0/0/0/0/0,prev_year_heat=0/0/0/0/0/0/0/0/0/0/0/0,curr_year_cool=0/0/0/0/0/0/0/0/0/0/0/0,prev_year_cool=0/0/0/0/0/0/0/0/0/0/0/0

Your Environment

  • Version used: openHAB 2.5.8 on docker (same behavior was noticed on the base OS as well)
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Buster, …): Ubuntu 20.04.1 LTS

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

@jimtng thank you for spending time in addressing the issue.

I believed so, but I am not sure anymore. Since I updated to OpenHAB 3.2.0 I found no error in the logs.