HI Everyone,
I have been trying to install haaska to use with Alexa Smart Home voice on homeassistant.
I have followed Dr ZZs video to the T, I have configured Amazon Developer and AWS exactly the same as the video and Haaska tutorial.
When I run test in AWS I get the following error?
Response
{
"errorMessage": "404 Client Error: Not Found for url: https://XXXXXX.com/api/alexa/smart_home",
" errorType": "HTTPError",
"stackTrace": [
" File \"/var/task/haaska.py\", line 111, in event_handler\n return ha.post('alexa/smart_home', event, wait=True)\n",
" File \"/var/task/haaska.py\", line 66, in post\n r.raise_for_status()\n",
" File \"/var/task/requests/models.py\", line 940, in raise_for_status\n raise HTTPError(http_error_msg, response=self)\n"
]
}
I confirm that in my conf yaml file I have placed the api as instructed in the documentation and it is green and saved. I have checked the long life token, all the keys in AWS (Client, secret etc) are correct.
I have tested with the port 8123 at end of url and without it. If I have the port then I get a time out error, without the port at the end of the URL I get the above error.
I have tried the following URLs:
https://XXXXXX.com:8123
https://XXXXXX.com:8123/api
https://XXXXXX.com/
https://XXXXXX.com/api
I can gain access to homeassistant remotely, so I know it is not that.
Here is the code in the config haaska file on AWS
{
"url": "https://xxxx.com",
"bearer_token": "life long token key is placed here",
"debug": false,
"ssl_verify": true,
"ssl_client": []
}
Anyone know why I am getting this error and can help?