router-upnp

0.2.1 • Public • Published

Router UPnP

npm version

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.

Readme

Keywords

none

Package Sidebar

Install

npm i router-upnp

Weekly Downloads

0

Version

0.2.1

License

MIT

Last publish

Collaborators

  • sgade