boss-110-smartplug-json-api-proxy
v0.0.1
Published
A web proxy for interfacing with the BOSS 110 Smartplug's web interface in JSON and CSV formats
Downloads
2
Readme
boss-110-smartplug-json-api-proxy
A web proxy for interfacing with the BOSS 110 Smartplug's web interface exposing device information as JSON and CSV.
Installation
Install from npm:
npm install bossproxy
Or if installing from master via GitHub:
git clone https://github.com/cvan/boss-110-smartplug-json-api-proxy.git cd boss-110-smartplug-json-api-proxy npm install
Then create and edit your settings file:
cp settings.json.dist settings.json
Usage
bossproxy [options]
Options
-h, --help Output usage information
-p, --port Port to listen on
Requirements
node
curl https://npmjs.org/install.sh | sh
Usage
Load this URL to get your data in JSON:
http://localhost:8080
And to get your data in CSV:
http://localhost:8080/?format=csv