router-upnp
v0.2.1
Published
Access the UPnP API of DSL routers.
Downloads
2
Readme
Router UPnP
This project is not made by AVM.
Connect to your fritz.box
and get some statistics.
Getting started
Install the package.
npm install fritzbox-upnp
To list all services of your fritz.box:
var FritzBoxUPNP = require('router-upnp').FritzBoxUPNP;
var fbu = new FritzBoxUPNP();
fbu.listServices();
Supported methods
Currently you can get:
NewByteReceiveRate
NewByteSendRate
NewTotalBytesReceived
NewTotalBytesSent
NewDNSServer1
NewDNSServer2
All properties on the urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#getAddonInfos
can be read.
You can also easily call any action on any namespace with any url, as long as it does not need any parameters. Use the action
method for this.
Building
This module uses Coffee-Script and Gulp for development.
To build, first npm install
and then gulp
. For more instructions, see gulpjs/gulp.