Alert or Event when external remote login was detected (e.g. via duckdns)

Hi, Is there a possibility to detect when an external access to HA has been requested?

It would be great to have an event for this so an announcement (TTS or notify) can be triggered!

  1. External access was detected
  2. Execute announcement via TTS or create log entry

… or even a 2 way verification could be established

  1. External access detected
  2. Notify via IFTTT or telegram about access request
  3. wait for response command from IFTTT or telegram
  4. if no response (or decline command) than reject the external access request

Just an idea … what do you think ?

You could check out the authenticated sensor. By default it creates a persistent notification but check out this issue on how you could create a custom automation to announce it another way like TTS.

That sound like the thing I was looking for … I will check out… thx a lot