I'm trying to use your websocketclient to connect to an HomeAssistant instace to get some data.
I've setup websocketclient host:port and path, auth_header = auth (as per documentation at https://developers.home-assistant.io/docs/api/websocket/) the token and the token_scheme = bearer but I'm unable to authenticate and stay in an authentication loop
Connecting to Websocket Server at ws://172.16.192.202:8123/api/websocket
Successfully connected to Websocket Server
{"type":"auth_required","ha_version":"2023.6.3"}
Successfully connected to Websocket Server
{"type":"auth_required","ha_version":"2023.6.3"}
Successfully connected to Websocket Server
{"type":"auth_required","ha_version":"2023.6.3"}
it seams I'm not sending response to auth_required or the response I'm sending is incorrect.
Hi Kirankumbhar,
I'm trying to use your websocketclient to connect to an HomeAssistant instace to get some data.
I've setup websocketclient host:port and path, auth_header = auth (as per documentation at https://developers.home-assistant.io/docs/api/websocket/) the token and the token_scheme = bearer but I'm unable to authenticate and stay in an authentication loop
it seams I'm not sending response to auth_required or the response I'm sending is incorrect.
can you provide some help on this?
best regards, Tiago