Access the UPnP API of DSL routers.
npm install router-upnp
This project is not made by AVM.
Connect to your fritz.box and get some statistics.
Install the package.
npm install fritzbox-upnp
To list all services of your fritz.box:
``javascript
var FritzBoxUPNP = require('router-upnp').FritzBoxUPNP;
var fbu = new FritzBoxUPNP();
fbu.listServices();
`
Currently you can get:
* NewByteReceiveRateNewByteSendRate
* 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.
This module uses Coffee-Script and Gulp for development.
To build, first npm install and then gulp`. For more instructions, see gulpjs/gulp.