Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Reinstall Firmware #23

Open
Andrei1Byte opened this issue Jul 2, 2018 · 9 comments
Open

Reinstall Firmware #23

Andrei1Byte opened this issue Jul 2, 2018 · 9 comments

Comments

@Andrei1Byte
Copy link

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

@WildRat
Copy link

WildRat commented Jul 2, 2018

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

@Andrei1Byte
Copy link
Author

Andrei1Byte commented Jul 2, 2018

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

@WildRat
Copy link

WildRat commented Jul 2, 2018

  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.

@Andrei1Byte
Copy link
Author

@WildRat Thank's.

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

@buxtronix
Copy link

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

@mdima
Copy link

mdima commented Apr 16, 2020

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

Thanks,
Michele

@fredrike
Copy link
Collaborator

fredrike commented Apr 16, 2020

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.

@Andrei1Byte
Copy link
Author

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.

@mdima
Copy link

mdima commented Apr 28, 2020

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

Have a good day,
Michele

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants