Nutella Pancake Machine

    @tuyapi/homebridge-plugin

    0.1.2 • Public • Published

    @tuyapi/homebridge-plugin

    🏠 Offical Homebridge plugin for TuyAPI.

    Installation

    npm i @tuyapi/homebridge -g
    

    Example config.json

    {
      "platform": "TuyaPlatform",
      "name": "TuyaPlatform",
      "devices": [
        {
          "name": "Tuya Device 1",
          "id": "xxxxxxxxxxxxxxxxxxxx",
          "key": "xxxxxxxxxxxxxxxx"
        },
        {
          "name": "Tuya Device 2",
          "id": "xxxxxxxxxxxxxxxxxxxx",
          "key": "xxxxxxxxxxxxxxxx"
        }
      ]
    }

    See this page for finding the above parameters.

    If you find that the built-in IP auto discovery doesn't work for your network setup, you can pass it in manually like so:

    {
      "name": "Tuya Device 1",
      "id": "xxxxxxxxxxxxxxxxxxxx",
      "key": "xxxxxxxxxxxxxxxx",
      "ip": "xxx.xxx.xxx.xxx"
    }

    For devices with more than one switch (for example, powerstrips), a config would look like this:

    "devices": [
      {
        "name": "Power strip main",
        "id": "power-strip-id",
        "key": "power-strip-key",
        "dps": 1
      },
      {
        "name": "Power strip USB",
        "id": "same-power-strip-id",
        "key": "same-power-strip-key",
        "dps": 2
      }
    ]

    Install

    npm i @tuyapi/homebridge-plugin

    DownloadsWeekly Downloads

    0

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    9.12 kB

    Total Files

    6

    Last publish

    Collaborators

    • tuyapi-ci
    • codetheweb