Using websocket without oauth2
mark-hahn opened this issue · comments
Mark Hahn commented
I am running a headless app that needs to talk to an instance of HA. They are both running in the same server. I don't need a user to log-in, etc. There is no web page in my app.
I understand you have to use oauth2 to use websockets. The instructions say: If you have an auth code received via other means, ...
. Is there a way to get an auth code without going through the complex oauth2 protocol? I really want to use a websocket but I can't figure out how to get an auth code.
It sure we be nice to just use a unix pipe. :-)
Mark Hahn commented
never mind -- I just found how to use a long-term access token simply without this module