User login event automation

Hi

Not sure what category to post this to.

I’d like HASS to play an audio file when a user logs in to the interface. How can this be done?

I assume it’s an automation, but I cannot find a user entity, or user event / state, nothing in the standard log file either to signify user login.

Any pointers welcome.

Thanks

Bump moved into configuration. Hopefully someone knows.

You can use the authenticated addon (https://github.com/custom-components/authenticated) to detect successful logins. Then to play the audio I believe you again have to use another custom addon- browser_mod (https://github.com/thomasloven/hass-browser_mod) . You can either use an automation to trigger the audio or use nodered for a better customization. Hope this is what you are looking for.

1 Like