HomeHelper Home Assistant Integration
I have HA, and created a long-lived access token. I am not using SSL as this is on my LAN. I simply configured it with 192.168.0.82, port 8123, no SSL, and the Token, but it's always "Disconnected." I use other apps with HA tokens, and I can access them with cURL on my Mac. Is there any debug info I can view to determine the cause? I don't see any failures in the HA log, and http://192.168.0.82:8123 is accessible.
Comments
-
It sounds like this is what you already did, but this is what's working for me, just in case yours looks different.
-
Thanks. Yes, I am doing the same thing.
From the same computer via CLI:
curl -X GET
-H "Content-Type: application/json" \
401: Unauthorized%
^^ As expected
Now with the same API key I have in the UI:
curl -X GET \ ─╯
-H "Authorization: Bearer XXXXXXXX" \
-H "Content-Type: application/json" \
{"message":"API running."}%
^^ Working fine
-
I'm not immediately sure what could be going wrong here. Assuming you have in fact entered the whole token, your other settings look fine. I can't reproduce this problem, and this is working for other users, so I don't think it's a general problem with HomeHelper. I would suggest trying to enter the access token again: first make sure to fully remove all characters from the token field in HomeHelper so that it is empty, then paste in the full token, then click Save.
In the next update, we'll make sure to add better connection failure feedback, so that we can see exactly what error is being generated in circumstances like this.
-
I've tried 3 different API tokens, and it still does not work. In Privacy Under Local Network, HomeHelper is enabled for Local Network Access. I don't know what could be causing it. I don't see errors. I just rebooted and installed 26.3, and it's still not working. Quite strange.


