Fritz!Box Call Monitor

This is a simple flow that gets informations from Fritz!Box built-in Call Monitor and get them in node-red. Host is specified with the name fritz.box that resolves to the fritz!box router itself, or you can specify another ip address as you like.

Prerequisites

  • Enable built-in Call Monitor on your Fritz!Box by dialing #96*5*

This enables access to the built-in Call monitor that is exposed on tcp port 1012.

If you no longer need it, you can later disable the call monitor by dialing #96*4*

for further info and complete list of codes see: http://www.wehavemorefun.de/fritzbox/Tastencodes (link is in german)

[
    {
        "id": "4d6d479.784e4b8",
        "type": "debug",
        "z": "a2ac8504.92ff08",
        "name": "",
        "active": true,
        "console": "false",
        "complete": "payload",
        "x": 1310,
        "y": 720,
        "wires": []
    },
    {
        "id": "c36d144.8baade8",
        "type": "template",
        "z": "a2ac8504.92ff08",
        "name": "Incoming",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "Incoming call from: {{payload.col4}}",
        "x": 1140,
        "y": 780,
        "wires": [
            [
                "4d6d479.784e4b8",
                "1631abff.b8d824"
            ]
        ]
    },
    {
        "id": "905d4bf.64e80b8",
        "type": "switch",
        "z": "a2ac8504.92ff08",
        "name": "",
        "property": "payload.col2",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "RING",
                "vt": "str"
            },
            {
                "t": "eq",
                "v": "DISCONNECT",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "outputs": 2,
        "x": 990,
        "y": 800,
        "wires": [
            [
                "c36d144.8baade8"
            ],
            []
        ]
    },
    {
        "id": "bcba416f.0aba1",
        "type": "csv",
        "z": "a2ac8504.92ff08",
        "name": "",
        "sep": ";",
        "hdrin": "",
        "hdrout": "",
        "multi": "one",
        "ret": "\\n",
        "temp": "",
        "x": 870,
        "y": 800,
        "wires": [
            [
                "905d4bf.64e80b8"
            ]
        ]
    },
    {
        "id": "513989a1.4de1d8",
        "type": "tcp in",
        "z": "a2ac8504.92ff08",
        "name": "",
        "server": "client",
        "host": "fritz.box",
        "port": "1012",
        "datamode": "stream",
        "datatype": "utf8",
        "newline": "",
        "topic": "",
        "base64": false,
        "x": 700,
        "y": 800,
        "wires": [
            [
                "bcba416f.0aba1"
            ]
        ]
    }
]
juzam

Flow Info

created 7 months, 1 week ago

Node Types

Core
  • csv (x1)
  • debug (x1)
  • switch (x1)
  • tcp in (x1)
  • template (x1)

Tags

  • fritz!box
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option