0.0.8 • Published 10 years ago

node2fritz v0.0.8

Weekly downloads
35
License
-
Repository
github
Last release
10 years ago

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

Community

If you'd like to discuss this module, or ask questions about it, please use the Google Group at https://groups.google.com/forum/#!forum/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);
});
0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago