daikin-control icon indicating copy to clipboard operation
daikin-control copied to clipboard

Reinstall Firmware

Open Andrei1Byte opened this issue 6 years ago • 9 comments

Dose anyone knows if is possible to reinstall the Firmware on a Daikin BRP069A42 or do you ever encountered error 251 ?

After connecting the wifi module to the router and updating the Firmware to 3.3.1 if I use the Android app Daikin Online Controller I receive an error "251 An error occurred on the unit".

The output of /common/basic_info ret=OK,type=aircon,reg=eu,ver=3_3_1,err=251,lpw_flag=0,adp_kind=2,led=1

Andrei1Byte avatar Jul 02 '18 19:07 Andrei1Byte

There is "dkac/system/fwupdate" command, but I don't know parameters. Firmware image can be extracted from apk file of android app.

WildRat avatar Jul 02 '18 19:07 WildRat

@WildRat Do you know how to extract the Firmware form the android app ? And from where do you know about "dkac/system/fwupdate" ?

Andrei1Byte avatar Jul 02 '18 19:07 Andrei1Byte

  1. Download apk file (for example from here - https://apkpure.com/daikin-online-controller/eu.daikin.remoapp)
  2. Open it like ZIP archive (with 7-Zip)
  3. In \assets\STMicroWireless\3_3_1\ folder dkacstm-wlan-F-3_3_1.bin - file.

WildRat avatar Jul 02 '18 19:07 WildRat

@WildRat Thank's.

Now I need to find the parameters for the command, ideas from where to start ?

Andrei1Byte avatar Jul 02 '18 19:07 Andrei1Byte

I just upgraded my firmware and captured the upload. Attached is a dump of the HTTP post.

daikin.zip

The client then verifies the checksum (possibly after reboot), not sure what algo it uses:

GET /common/get_progsum?fwsize=489200&fwsize=489200 HTTP/1.1 X-Daikin-uuid: 573xxxxxxxxxxxxxxxxxxxxd76ad5fb Host: 192.168.0.95 Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.9.1

HTTP/1.0 200 OK Content-Length: 17 Content-Type: text/plain

ret=OK,csum=21770

buxtronix avatar Mar 11 '19 22:03 buxtronix

Same issue but posting the same firmware did not help. @AndreiRadac , how did you solve it?

Thanks, Michele

mdima avatar Apr 16 '20 11:04 mdima

I am the maintainer of the pydaikin package and I have developed support for BRP069A/Bxx here: https://bitbucket.org/mustang51/pydaikin/branch/BRP072C42#diff

Would need some testers to verify that it is doing the right things..

Basically you need to register an UUID using the endpoint: /common/register_terminal?key={self._key}(where the key is the key printed on the wifi module). And then the header need to contain: X-Daikin-uuid:. Also, make sure to use https.

fredrike avatar Apr 16 '20 11:04 fredrike

Same issue but posting the same firmware did not help. @AndreiRadac , how did you solve it?

Thanks, Michele

@mdima Hello, I contacted Daikin Support to see if they have a solution, sadly they didn't managed to figure it out, and I requested a replacement for controller. And the new one was ok, I updated the controller via the Android App and I didn't received any errors.

Andrei1Byte avatar Apr 28 '20 09:04 Andrei1Byte

@AndreiRadac Hello, thanks a lot! I will do the same...

Have a good day, Michele

mdima avatar Apr 28 '20 10:04 mdima