daikin-control
daikin-control copied to clipboard
Reinstall Firmware
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
There is "dkac/system/fwupdate" command, but I don't know parameters. Firmware image can be extracted from apk file of android app.
@WildRat Do you know how to extract the Firmware form the android app ? And from where do you know about "dkac/system/fwupdate" ?
- Download apk file (for example from here - https://apkpure.com/daikin-online-controller/eu.daikin.remoapp)
- Open it like ZIP archive (with 7-Zip)
- In \assets\STMicroWireless\3_3_1\ folder dkacstm-wlan-F-3_3_1.bin - file.
@WildRat Thank's.
Now I need to find the parameters for the command, ideas from where to start ?
I just upgraded my firmware and captured the upload. Attached is a dump of the HTTP post.
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
Same issue but posting the same firmware did not help. @AndreiRadac , how did you solve it?
Thanks, Michele
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.
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.
@AndreiRadac Hello, thanks a lot! I will do the same...
Have a good day, Michele