Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 3.42 KB

info.md

File metadata and controls

54 lines (32 loc) · 3.42 KB

hacs_badge

Daikin Residential Controller (ONECTA) homeassistant integration

Cloud control of Daikin devices that are supported by Daikin Residential Controller (now "ONECTA - Daikin") app. If you want to control a Daikin Altherma you can't use this integration but use the daikin_residential_altherma or daikin_residential_brp069a62 integration.

Compatibility

This integration is verified to be compatible with the following Daikin adapters (usually integrated in the device):

  • BRP069C4x
  • BRP069B4x

The integration might work on other newer adapters as well, but it is not guaranteed (please report if you find it working with other adapters).

Installation:

Copy the daikin_residential folder and all of its contents into your Home Assistant's custom_components folder. This is often located inside of your /config folder. If you are running Hass.io, use SAMBA to copy the folder over. If you are running Home Assistant Supervised, the custom_components folder might be located at /usr/share/hassio/homeassistant. It is possible that your custom_components folder does not exist. If that is the case, create the folder in the proper location, and then copy the daikin_residential folder and all of its contents inside the newly created custom_components folder.

Alternatively, you can install daikin_residential through HACS by adding this as a custom repository: press the three dots on the top right -> custom repositories -> type this URL in the Repository field and select Integration in the Category field.

Usage:

NOTE: since v.2.0.x, the tokenset.json file is no longer needed because the integration can connect and retrieve the tokens autonomously. When installing v.2.0.x from a previous one, the integration must be deleted and re-added.

The integration can be configured in two ways:

1. YAML config files

Just add the following lines to your configuration.yaml file specifying the email and password used in the ONECTA App, and the Daikin devices connected to your cloud account will be created.

daikin_residential:
  email: [your_email]
  password: [your_pwd]

2. Using config flow

Start by going to Configuration - Integration and pressing the "+ ADD INTEGRATION" button to create a new Integration, then select Daikin Residential Controller in the drop-down menu.

Follow the instructions, you just have to type the email and password used in the ONECTA App. After pressing the "Submit" button, the integration will be added, and the Daikin devices connected to your cloud account will be created.

To-do list:

  • Fix spurious glitches.
  • Maybe improve the sensors for Energy consumption.

Thanks to:

This code is based on @Apollon77 's great work, in finding a way to retrieve the token set, and to send the HTTP commands over the cloud. This integration would not exist without his precious job, my job was just to find a way to port his code from nodeJS to python, and then create the integration.