
AZDelivery 3 x ESP32 D1 Mini NodeMCU WiFi Modul + Bluetooth Internet Entwicklungsboard kompatibel mit Arduino inklusive E-Book!
23,99 €
Um die letzten Anrufe in HomeAssistant anzeigen zu lassen benötigt man neben dem Callmonitor-Sensor
von der jeweiligen Fritz!Box-Integration nur noch 2 Automatisierungen und einen Helfer.
Helfer: input_text.callmon_lastcaller
alias: callMon_setLastCaller
description: ''
trigger:
- platform: state
entity_id: sensor.fritz_box_7530_ui_call_monitor_telefonbuch
to: ringing
condition: []
action:
- service: input_text.set_value
target:
entity_id: input_text.callmon_lastcaller
data:
value: >-
{{ state_attr("sensor.fritz_box_7520_ui_call_monitor_google", "from")}}
({{ state_attr("sensor.fritz_box_7520_ui_call_monitor_google", "from_name") }})
mode: single
alias: callmon_notify
description: ''
trigger:
- platform: state
entity_id: sensor.fritz_box_7530_ui_call_monitor_telefonbuch
from: ringing
to: idle
condition: []
action:
- service: notify.notify_all
data:
message: 'Missed Call: {{ states.input_text.callmon_lastcaller.state }}'
mode: single
Das ganze kann am Ende dann beispielsweise in einem Log-Buch auf seinem Dashboard angezeigt werden
type: logbook
entities:
- input_text.callmon_lastcaller
hours_to_show: 720

Alle Telefonnummern, die nicht im Telefonbuch stehen, werden mit einem "(Unknown)" angezeigt. Bei allen anderen würde an der Stelle der jeweilige Name stehen.