FRITZ!Box Call Card

Hey,
I want to share my dashboard card: FRITZ!Box Call Card.
With this dashboard card you can show your calls and playable TAM messages directly on your dashboard. This is very useful since you don‘t have to open the Fritzbox UI for every call and especially for families it‘s very nice (from my own experience xD)

You can install it via HACS with custom repositories (I already signed up for hacs default :slight_smile: )
Repo Link with installtion guide in the readme: [GitHub - mrtncode/ha-fritzbox-voicemail:
GitHub - mrtncode/ha-fritzbox-call-card: Dashboard card for the home assistant Fritz!Box Call Monitor integration · GitHub

This card uses the FRITZ! Call Monitor core integration and my voicemail integration to show calls and playable voicemail messages! But more information is also available directly in the card editor.

I am happy about feedback and GitHub Issues :grinning_face_with_smiling_eyes:

1 Like

Can you provide a sample yaml configuration for the card in Lovelace?

Hi, thanks for this!
I have created a simple card myself a long time ago.
Just now installed this, also the voicemail integration.

The cards works fine, voicemail not so much.

Logger: homeassistant.util.logging
Source: util/logging.py:167
First occurred: 11:59:09 AM (1 occurrence)
Last logged: 11:59:09 AM

Exception in <function _process_media_source_platform at 0x754248954510> when processing platform 'media_source': (<HomeAssistant NOT_RUNNING>, 'fritzbox_voicemail', <module 'custom_components.fritzbox_voicemail.media_source' from '/root/.homeassistant/custom_components/fritzbox_voicemail/media_source.py'>) Traceback (most recent call last): File "/srv/homeassistant/lib/python3.14/site-packages/homeassistant/components/media_source/__init__.py", line 95, in _process_media_source_platform source = await platform.async_get_media_source(hass) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.homeassistant/custom_components/fritzbox_voicemail/media_source.py", line 13, in async_get_media_source return MailboxMediaSource(DOMAIN, hass) File "/root/.homeassistant/custom_components/fritzbox_voicemail/media_source.py", line 20, in __init__ runtime_data = next(iter(self.hass.data[DOMAIN].values())) ~~~~~~~~~~~~~~^^^^^^^^ KeyError: 'fritzbox_voicemail'

Also, the link to the documentation for voicemail returns a 404

Oh, thats bad.. Seems like a timing problem which only occured for some users. I have fixed it in v0.1.1. Please install this version and remove the integration fully before reconfiguring it :slight_smile:

Which link do you mean? I already fixed the setup link in the readme.

Of course!
But keep in mind that there is also an UI editor available :slight_smile:

type: custom:fritzbox-call-card
title: ""
call_entities:
  - sensor.XXXXXXXX
voicemail_entity: sensor.XXXXXXXX
max_calls: 30
max_hours: 50
hours_to_show: 40
grid_options:
  columns: 24
  rows: auto

Uhm, the current version of the voicemail integration is 1.0.4
Are we talking about something different?

I am really sorry. I didn’t have much time, I mixed up the repositories and forgot to release the fix.
I have released the fix now with v1.0.5.

The docu link should be also fixed :+1:

Logger: homeassistant.setup
Source: setup.py:412
First occurred: 10:21:43 PM (1 occurrence)
Last logged: 10:21:43 PM

Error during setup of component fritzbox_voicemail: async_setup() takes 1 positional argument but 2 were given
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.14/site-packages/homeassistant/setup.py", line 412, in _async_setup_component
    task = component.async_setup(hass, processed_config)
TypeError: async_setup() takes 1 positional argument but 2 were given

1 Like

Thanks, that worked great. Quick question: How do you get the call history from call monitor? The according entity itself has no attributes for me.

I accidentally deteled an argument when cleaning the code :zany_face: Fix is on the way! Should be available today.

Edit: Fix is available in v1.0.6 now :slight_smile:

Nice!

Home Assistant saves the attribute history from an entity too. It‘s just not visible in the HA UI :slight_smile:

1 Like

Can I access this information only via API or is there a yaml that can do this too?

Nope, not working and nothing in the logs.
Tried on 2 different systems.

Is that cosmetic:

Ohh :frowning: That’s bad..
On my systems (dev + my real HA) everything is working and I heard this from other users too. It’s very weird that it just doesn’t work for you.

Could you restart a and fully remove the integration before reconfigure it? Tbh I don’t know other solutions at this moment :confused:

Yes, I will change that later

Hi, I just tried 2.0.0 of the fritzbox-voicemail but it’s even worse then before…
Now it defaults to the wrong IP and I get an error (after adjusting the IP) about wrong user/pw but they are 100% correct.

That’s just the default FRITZ!Box IP (it is not specific to your system)

That’s bad :frowning: Honestly I cannot explain that. For me and other users it is working fine…
Is there something in the logs?