soef / ioBroker.tr-064

tr-64 Adapter for ioBroker
MIT License
21 stars 9 forks source link

Logo

ioBroker.tr-064

NPM version Tests License

This adapter requires at least Node 4.x

Info

This adapter reads main information from AVM Fritz!Box, like call list or number of messages on answering machine. Based on this AVM documentations

Simple states and functions

ring (dial a number)

toPauseState

Presence

You can configure a list of devices to listen to. Can be triggert by mDNS. When using MDNS, no polling ist needet and it is faster

AB - Anrufbeantworter (answering machine)

Can be switch on/off. The state cbIndex can be set, to address # of the answerig machine.

Call monitor

The callmonitor will create realtime states for every inbound and outbound call. If the phonebook is enabled (default), numbers will be resolved to Names There ist also a state indicating a ringing phone.

Phonebook

Call lists

Output formats:

Call lists are:

Call count: The call count can be set to 0. The next call will incement 1.

The html output can be configured by a template

command & commandResult state

With the command state you can call every tr-064 command from this documentation. e.g.

command = {
    "service": "urn:dslforum-org:service:WLANConfiguration:1",
    "action": "X_AVM-DE_SetWPSConfig",
    "params": {
        "NewX_AVM-DE_WPSMode": "pbc",
        "NewX_AVM-DE_WPSClientPIN": ""
    }
};

The command state shoud be set to a JSON of the above Lines. So { ... } (without command = and line breaks) The callback of the call will set the commandResult state.

Enable call monitor

To use the call monitor feature it must be first enabled in the AVM Fritz!Box. To enable the call monitor dial #96*5* and the TCP/IP Port 1012 will be opened. To close the port dial #96*4*.

pre release versions

Prerelease versions are available at npm with the tag dev. You cann install them from the ioBroker root directory with:

npm install iobroker.tr-064@dev
iobroker upload tr-064

Changelog

0.4.18

0.2.0 (2016)