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

Daikin Replacement Models: BRP072C42 #27

Open
chaicka opened this issue Aug 27, 2019 · 4 comments
Open

Daikin Replacement Models: BRP072C42 #27

chaicka opened this issue Aug 27, 2019 · 4 comments

Comments

@chaicka
Copy link

chaicka commented Aug 27, 2019

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?

Ref: https://community.home-assistant.io/t/confirming-my-findings-for-the-daikin-brp072c42-wifi-component/126981

@chaicka
Copy link
Author

chaicka commented Aug 27, 2019

From Daikin Thai website, there is mention of fan speed/swing setting, the new BRP072C42 may be required.

Ref: http://www.daikinthai.com/product/dmobile/appmodel

@yob
Copy link

yob commented Sep 19, 2019

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.....

@yob
Copy link

yob commented Sep 20, 2019

Here's a solution for token-based auth that seems to work for me.

  1. Generate a UUID4 (https://www.uuidgenerator.net/ is one way to do it). eg. 7b9c9a47-c9c6-4ee1-9063-848e67cc7edd
  2. Strip the hyphens from the UUID. eg. 7b9c9a47c9c64ee19063848e67cc7edd
  3. Grab the 13-digit key from the sticker on the back of the controller. eg. 0123456789012
  4. Register your UUID as a valid token:

curl --insecure -H "X-Daikin-uuid: 7b9c9a47c9c64ee19063848e67cc7edd" -v "https://<controller-ip>/common/register_terminal?key=0123456789012"

  1. Use the UUID to call the usual API endpoints:

curl --insecure -H "X-Daikin-uuid: 7b9c9a47c9c64ee19063848e67cc7edd" -v "https://<controller-ip>/common/basic_info"

@fredrike
Copy link
Collaborator

It would be great if you could test the changes I've made to pydaikin: https://bitbucket.org/mustang51/pydaikin/branch/BRP072C42#diff

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

3 participants