This adapter requires at least Node 4.x
This adapter reads main information from AVM Fritz!Box, like call list or number of messages on answering machine. Based on this AVM documentations
- turn on/off wifi for 2.4GHz and 5GHz,
- turn on/off guest wifi,
- reboot Fritz!Box,
- start WPS process,
- reconnect Internet
- external ip address
- When using an internel number (like **610) the ring state will let ring that internal phone. e.g.: **610[,timeout]
- When using an external number, the ring state will connect you to the external number. The FritzBox will call the external number and your default phone will ring, when the called phone is picked up. The default phone can be configured in the FritsBox under: Telefonie/Anrufe/[Tab]Wahlhilfe/Wählhilfe verwenden
- Values: ring, connect, end
- Can be used to pause a videoplayer on an incomming call (ring), or on pick up the phone (connect).
- Resume can be done on the end value.
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
Can be switch on/off. The state cbIndex can be set, to address # of the answerig machine.
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.
- The phone book, if enabled, will be used to get the name of callers phone number.
- Further there are three states to resolve a number or a name. If available you will also get the image URL of the contact. e.g.: if you set the state phonebook.number all 3 states, name, number and image will be set to the found contact. Note, searches by name will first compare the complete name, if not found, part of is used.
Output formats:
- json
- html
Call lists are:
- all calls
- missed calls
- inbound calls
- outbound calls
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
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.
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*
.
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
- (soef) IP and MAC-address added to device object
- (soef) readme updated
- (soef) terminating adapter, if init fails, so that the adapter will be restarted",
- (soef) callmonitor: new toPauseState with extension
- (soef) Errorhandling of connecting to FritzBox extended
- (soef) Errorhandling of deflections fixed
- (Apollon77) Update utils.js and usage, CI Testing and deps
- (soef) readme changelog extended
- (soef) fix tag error in io-package.json
- (soef) fix posible timeout on getting WLAN-Infos
- (soef) fix posible exception in deflections
- (apollon77) update basic package-file testing
- (soef) states of call forwarding will now be updated in the configured interval
- (soef) Call forwarding now configurable
- (soef) fixed exception in deflections
- (soef) fix changing forwarding state
- (soef) enable/disable call forwarding added
- (soef) States from the callmonitor are renewed, even if no change
- (soef) node 0.12 removed from testing
- (soef) Enhance CI testing
- (soef) using soef 0.4.6 to fix adapter load
- (soef) adapter type changed to media
- (soef) error message removed
- (soef) clear caller/callee before next call
- (soef) Only active will be shone in configuration
- (soef) Some extensions in onMessage discovery
- (soef) toPauseState added. Values: ring, connect, end
- (soef) callee name added
- (bluefox) phone book for repeater excluded
- (bluefox) readme extended
- (soef) external property adde to call list
- (soef) Error message in configuration, if an older admin adapter is installed
- (soef) Fixed imageurl for external phone book again. E.g. google
- (soef) Fixed imageurl for external phone book. e.g. google
- (soef) Json device list added
- (soef) phonebook functions/states added
- (soef) some bug fixes
- (soef) releasing call lists
- (bluefox) use new table for configuration dialog
- (soef) initial commit