kongkx / homebridge-cozylife-platform

Apache License 2.0
2 stars 1 forks source link

Homebridge Cozylife Platform

Cozylife Homebrige integration using local net.

Supported Device Types

Installation

npm install homebridge-cozylife-platform

Configuration (mininal)

{
  "platforms": [
    {
      "platform": "CozylifePlatform"
    }
  ]
}

Configuration (optional)

{
  "platforms": [
    {
      "platform": "CozylifePlatform",
      "scanInterval": "10000",
      "checkStatusInterval": "10000",
      "devices": [
        {
          "mac": "xxxxxxxx",
          "name": "my swtich"
        }
      ]
    }
  ]
}

TODO

Development

  1. clone repository

    ```bash
    git clone https://github.com/kongkx/homebridge-cozylife-platform.git
    ```
  2. prepare homebridge config

    ```bash
    cp homebridge/config.json.example homebridge/config.json
    ```
  3. run watch command

    ```bash
    npm run watch
    ```