swa72 / home-assistant

14 stars 1 forks source link

Auerswald TFS-Universal Doorbell to HA #107

Open ballchemist opened 8 months ago

ballchemist commented 8 months ago

Hi, impressive setup you have made so far.

I am seeking for a moor detailed explanation on the setup for AUERSWALD TFS-Universal Doorbell into the integration to HA.

I have a RASPI5 with HA and a Fritz.Box 7490 - hooked direktly to line 1 the doorbell Auerswald.

I would love to trigger EVENTS when someone is pushing the doorbell...

Any more details on your setup, and how to mirror this one would be deeply appreciatet... THanks!

swa72 commented 8 months ago

That's a bit tricky as it involves the Fritzbox, a cheap USB modem connected to HA (and the phone line of the Fritzbox) and the TFS doorbell connected to a phone line of the Fritzbox

You can pick any DECT phone and talk to the person at the door and press #9 or 9# (I can't remember which) to buzz the opener.

Now to the modem: the modem notices a ring. That's it. But it is an event nonetheless ;-) So we can trigger automations (on sensor.phone_modem, like sending a picture from the camera facing the front door to all local iPhones.

Pretty weird combo but works pretty reliably in my case.

swa72 commented 8 months ago

Actually I have to add that I've defined a binary sensor that depends on sensor.phone_modem

    doorbell_pressed:
      friendly_name: "Doorbell was pressed, call initiated"
      value_template: "{{ states('sensor.phone_modem') == 'ring' }}"
ballchemist commented 8 months ago

Thanks for the pretty detailed answer. I have the similar setting as you already - except the modem for hey Raspberry5… which one did you use?

ballchemist commented 8 months ago

Similar to something like this?: https://amzn.eu/d/4phTUq3

swa72 commented 8 months ago

Yep, according to https://www.home-assistant.io/integrations/modem_callerid/ look for something with a CX93001. I bought mine for cheap off of kleinanzeigen.de (similar to craigslist).

ballchemist commented 7 months ago

Thanks for the detailed answer. I now managed to set everything up, but somehow got the problem that the modem stays continuously in the state "RING" - it´s detecting a permanent ring even though it´s not called... so if you might have any idea ... happy to include this as well

swa72 commented 7 months ago

No breakthru idea other than try to call another number from the TFS-Universal doorbell (a regular phone) to see if the call initiation works?

ballchemist commented 7 months ago

Thanks, seems that there is somewhat a clinche after a ring got accepted, the Modem is not returning into idle... I am currently trying to set idle per default after each ring - but still tricky ...

I am now trying to include a "fallback" - 5 sec after every "call", or at least reagularly I´d like to Deactivate and reactivate the Modem Entity - to ensure it´ll is set to idle... anyone an idea on the yaml code to do so?

Bildschirmfoto 2024-04-15 um 21 18 10