How can I detect whenever HA is accessed from the web?

I want to detect and create an automation for whenever HA detects me accessing my HA system from outside my local network (so using the https address). Im sure there has to be a way to detect whenever HA is accessed. Im guessing it’s going to involve the http component and the connected events, but I cant figure out which event to react to.

What I’m trying to do is whenever one of us is home and another one of us (who isn’t home) accesses the system, I want to announce that there is someone accessing HA with my echo and echo dots. That way we always know if one of us is possibly checking on the cameras.