Neocon Propaganda Machine

    homebridge-daikin-unofficial
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.3 • Public • Published

    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

    • accessory - Accessory name. Must be set to "Daikin".
    • name - The device name.
    • host - The URL of the device.
    • swingMode - The fan swing mode can be set to one of the following:
      • 0: No swing
      • 1: Vertical swing
      • 2: Horizontal swing
      • 3: 3D swing
    • unit - Temperature unit:
      • celsius (default)
      • fahrenheit

    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": "#########"
        }
      ]
    }

    Install

    npm i homebridge-daikin-unofficial

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    20.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • rickymarcon