dalinicus / homeassistant-acinfinity

AC Infinity integration for Home Assistant for UIS based controllers
MIT License
85 stars 4 forks source link

Find out how to obtain the user token with a username and password. #4

Closed dalinicus closed 1 year ago

dalinicus commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, in order to use the integration, a user must first capture traffic from a phone app in order to obtain their token. This is not user intuitive, and most likely out of reach for those that aren't technical.

There's also the possibility that this AC Infinity will update to rotating tokens, which will break this integration

Describe the solution you'd like Try and find a login endpoint that accepts a user name and password. That way, the user token can be obtained for the user on integration startup rather than having to have the user supply it.