#Android companion app user agent?

1 messages · Page 1 of 1 (latest)

velvet olive
#

Hi. I just got cloudflare tunnel up and running and it works like a charm. Now I'm trying to set up some layers of security to it. When playing with claudflare's WAF I found that you can set a rule regarding 'User Agent'. The question is: what is the androids companion apps user agent? Can't find it anywhere on HA website.

velvet olive
#

Got it via browser_mod (HACS) integration. In case anyone wants to know, for my moto 50 it's: Mozilla/5.0 (Linux; Android 12; moto g(50) Build/S1RFS32.27-25-4; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.128 Mobile Safari/537.36 Home Assistant/2022.12.0-3026 (Android 12; moto g(50))

#

So, it's usable as WAF rule: (http.user_agent contains "Home Assistant")