rickymarcon / homebridge-daikin

A Homebridge plugin for Daikin.
https://www.npmjs.com/package/homebridge-daikin-unofficial
MIT License
14 stars 3 forks source link
daikin homebridge-daikin homebridge-plugin

Daikin Accessory

NPM version

A Homebridge plugin for Daikin.

Install

sudo npm install -g --unsafe-perm homebridge-daikin-unofficial

Configuration

{
  "accessories": [
    {
      "accessory": "Daikin",
      "name": "Air Conditioner",
      "host": "192.168.x.xx"
    }
  ]
}

Options

Connecting over HTTPS

Some new Daikin models use https instead of http to connect (see this forum post). In order to connect over https you must pass in your registered X-Daikin-uuid. Alternatively, you can create your own and register it as a valid token by doing the following:

  1. Generate a UUID4.
# Example
7b9c9a47-c9c6-4ee1-9063-848e67cc7edd
  1. Remove hyphens from the UUID.
# Example
7b9c9a47c9c64ee19063848e67cc7edd
  1. Get the 13-digit key from the sticker on the back of the controller.
# Example
0123456789012
  1. Register your UUID as a valid token:
curl -k "https://<CONTROLLER_IP>/common/register_terminal?key=<KEY>" \
  -H "X-Daikin-uuid: <UUID>"
  1. Add UUID to config:
{
  "accessories": [
    {
      "accessory": "Daikin",
      "name": "Air Conditioner",
      "host": "192.168.x.xx",
      "uuid": "#########"
    }
  ]
}