homebridge-accessory-bandwidth-quality
v0.9.14
Published
A bandwidth quality accessory plugin for Homebridge: https://github.com/nfarina/homebridge
Downloads
26
Maintainers
Readme
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! [email protected] 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.