node2fritz

0.0.8 • Public • Published

node2fritz

Node module to communicate with a AVM FritzBox providing the following functions:

  • Get the session ID (getSessionID)
  • Get the phone list (getPhoneList)
  • Set the guest wlan (setGuestWLan)
  • Get the guest wlan settings (getGuestWLan)

Install

npm install node2fritz

How to use

Get the session ID:

var fritz = require('node2fritz');

fritz.getSessionID("user", "password", function(sid){
    console.log(sid);
});

Get the phone list:

var fritz = require('node2fritz');

fritz.getPhoneList(sid,function(calls){
    console.log(calls);
});

Enable or disable guest wlan:

var fritz = require('node2fritz');

fritz.setGuestWLan(sid, true, function(enabled){
    console.log("Guest WLan Enabled: "+enabled);
});

Get guest wlan settings:

var fritz = require('node2fritz');

fritz.getGuestWLan(sid, function(settings){
    console.log(settings);
});

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.80latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.31
0.0.20
0.0.10

Package Sidebar

Install

npm i node2fritz

Weekly Downloads

1

Version

0.0.8

License

none

Last publish

Collaborators

  • rasix