Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE Initial commit Oct 6, 2018
README.md
index.js 0.9.10: keep more entries Mar 5, 2019
package-lock.json use lodash 4.17.13 Jul 12, 2019
package.json use lodash 4.17.13 Jul 12, 2019

README.md

homebridge-accessory-bandwidth-quality

An accessory plugin for Homebridge.

Installation

Run these commands:

% sudo npm install -g homebridge
% sudo npm install -g homebridge-accessory-bandwidth-quality

On Linux, you might see this output for the second command:

npm ERR! pcap@2.0.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!

If so, please try

% apt-get install libpcap-dev

and try

% sudo npm install -g homebridge-accessory-bandwidth-quality

again!

NB: If you install homebridge like this:

sudo npm install -g --unsafe-perm homebridge

Then all subsequent installations must be like this:

sudo npm install -g --unsafe-perm homebridge-accessory-bandwidth-quality

Configuration

Edit ~/.homebridge/config.json, inside "accessories": [ ... ] add:

{ "accessory" : "bandwidth-quality"
, "name"      : "Bandwidth Quality"
, "token"     : "..."
// choices are in bits (bps, Kbps, Mbps, or Gbps) or octets (Bps, KBps, MBps, GBps)
, "nominal"   : { "unit": "Mbps", "value": 300 }

// optional, here are the defaults
// default TTL is 10m, minimum TTL is 5m
, "options"   : { "ttl": 600 }
}

Please read this to determine the value of the token parameter.

Many Thanks

Many thanks to branchard author of fast-speedtest-api.

Many thanks (also) to SeydX author of homebridge-bandwidth.

You can’t perform that action at this time.