Daikin Replacement Models: BRP072C42
chaicka opened this issue · 4 comments
It seems Daikin has released replacement models for BRP072A42 and BRP072B42 with the new BRP072C42. On one of the 'Home Assistant' forum, it seems someone shared that the new model BRP072C42 uses https instead of http.
Has anyone switch to or receive this new model? Does the existing API codes still work?
From Daikin Thai website, there is mention of fan speed/swing setting, the new BRP072C42 may be required.
I got one of these today, and my experience matches that post on the home assistant forum.
I eventually discovered the correct X-Daikin-uuid
value for my controller (I'll try to go over my terminal history and write up the steps soon).
Once I had that value, the API appears to be the same as on older controllers. Here's an example curl:
$ curl --insecure -H "X-Daikin-uuid: <32 char hex code>" "https://10.1.1.111/common/basic_info"
ret=OK,type=aircon,reg=th,dst=1,ver=1_12_8,rev=93E736A.....
Here's a solution for token-based auth that seems to work for me.
- Generate a UUID4 (https://www.uuidgenerator.net/ is one way to do it). eg.
7b9c9a47-c9c6-4ee1-9063-848e67cc7edd
- Strip the hyphens from the UUID. eg.
7b9c9a47c9c64ee19063848e67cc7edd
- Grab the 13-digit key from the sticker on the back of the controller. eg.
0123456789012
- Register your UUID as a valid token:
curl --insecure -H "X-Daikin-uuid: 7b9c9a47c9c64ee19063848e67cc7edd" -v "https://<controller-ip>/common/register_terminal?key=0123456789012"
- Use the UUID to call the usual API endpoints:
curl --insecure -H "X-Daikin-uuid: 7b9c9a47c9c64ee19063848e67cc7edd" -v "https://<controller-ip>/common/basic_info"
It would be great if you could test the changes I've made to pydaikin: https://bitbucket.org/mustang51/pydaikin/branch/BRP072C42#diff