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

3.0.1 • Public • Published

homebridge-wattbox

NPM Version verified-by-homebridge

WattBox Homebridge Platform Plugin

WattBox plugin for Homebridge.

Models Supported

  • WB-300
  • WB-300VB
  • WB-700
  • WB-700CH

Configuration

Required Configuration

{
  "platforms": [
    {
      "platform": "WattBox",
      "name": "WattBox",
      "address": "http://192.168.1.100",
      "username": "wattbox",
      "password": "wattbox"
    }
  ]
}

Optional Configuration

Include/Exclude Outlets

Outlets can be included or excluded by name:

{
  "platforms": [
    {
      // ... required config, see above
      "includeOutlets": ["<name>"], // Defaults to null
      "excludeOutlets": ["<name>"] // Defaults to null
    }
  ]
}

Advanced Configuration

These config values should not be configured under normal situations, but are exposed nonetheless. Min, max, and default values are enforced to keep the plugin usable.

Status Cache TTL

The time to live (in seconds) for a cached status to avoid excessive API calls:

{
  "platforms": [
    {
      // ... required config, see above
      "outletStatusCacheTtl": <seconds>>, // Defaults to 15
    }
  ]
}

Status Poll Interval

The polling interval (in milliseconds) to query the API for status changes:

{
  "platforms": [
    {
      // ... required config, see above
      "outletStatusPollInterval": <milliseconds>>, // Defaults to 15000
    }
  ]
}

Package Sidebar

Install

npm i homebridge-wattbox

Weekly Downloads

16

Version

3.0.1

License

Apache-2.0

Unpacked Size

158 kB

Total Files

28

Last publish

Collaborators

  • derek-miller