Neoteric Plumbing Mishap

    homebridge-rfxcom-api

    1.0.3 • Public • Published

    homebridge-rfxcom-api


    Forked from homebridge-rfxcom-api. Adds an API to control your blinds with any front interface.

    See reason-homebride-rfxcom-blinds for an already working front interface.

    Usage

    npm install -g homebridge-rfxcom-api

    ⚠️ Warning: Do not install both homebridge-rfxcom and homebridge-rfxcom-api or this will cause conflicts. If you wish to use this package, you must uninstall homebridge-rfxcom first:

    npm uninstall -g homebridge-rfxcom

    config.json

    It is basically the same as homebridge-rfxcom, with the addition of an orders key:

      "platforms": [
        {
          "platform": "RFXCom",
          "name": "RFXCom",
          "rfyRemotes": [
            {
              "name": "Awning",
              "deviceID": "0x010000/1",
              "openCloseSeconds": 18,
              "orders": [
                {
                  "time": "09:30",
                  "direction": "up"
                },
                {
                  "time": "12:00",
                  "direction": "down",
                  "duration": 5
                },
                {
                   "time": "21:30",
                   "direction": "down"
                }
              ]
            }
          ]
        }
      ]
    

    This allows the plugin to register CRON jobs that will move your blinds up and down at specified hours. Note this order key is only mandatory if you wish to restore your orders on Homebridge restart. All orders are stored in crontab and deleted when Homebridge restarts, so be sure to save your most important ones.

    Install

    npm i homebridge-rfxcom-api

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    17.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • darenju