A simple call monitor web interface for Fritz!BOX routers.
This web app simply fetches recent calls from a Fritz!BOX, tries to look up unknown numbers using dasoertliche.de and displays everything in a simple web interface.
Linux, Windows & macOS:
npm install
Then set environment variables as necessary. The following variables are available:
- USER (Fritz!BOX username to use to connect, default NOT SET)
- PASSWORD (Fritz!BOX password to use to connect, default NOT SET)
- HOST (Fritz!BOX IP/FQDN, default fritz.box)
- PROTOCOL (Protocol to use to connect to Fritz!BOX, default http)
- CALLS (Number of recent calls to show, default 10)
(For more information on the protocol variable, check lesander/fritzbox.js.)
Run installation, then run
node app
If all environment variables are set correctly, the web interface will be available on port 3000.
This repository also includes a Dockerfile. Simply build it like this
docker build -t callmonitor .
and run it like this
docker run -p 3000:3000 -e USER=username -e PASSWORD=password [-e HOST=192.168.178.5] [-e PROTOCOL=http] [-e CALLS=10] callmonitor
Explanation:
- -p 3000:3000: Maps host port 3000 to the app's listening port 3000. Change first port to suit your setup.
- -e USER: Sets the username to use when requesting calls from a Fritz!BOX.
- -e PASSWORD: Sets the password to use.
- -e HOST: [OPTIONAL], Sets IP address of the Fritz!BOX to connect to.
- -e PROTOCOL: [OPTIONAL], Sets the protocol to use to communicate with the Fritz!BOX.
- -e CALLS: [OPTIONAL], Sets the number of recent calls to show.
- 1.0.0
- First release
lukasklinger – @cyaniccerulean – lukasklinger.com
https://github.com/lukasklinger
https://git.lukasklinger.com/lukas
- Fork it
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request