I tried to upgrade Python version from 3.6 to 3.9 editing runtime settings in AWS, under Haaska layers. Saved, tried to “test” but it fails. Funny that my Alexa commands still work, I don’t know if they will stop working now or then, so I will wait for someone able to clarify too
as explained below, there was an old domain in haaska config.json on AWS.
to update to python 3.9
head to aws.amazon.com
login
type lambda in searchbox
find your function i.e. haaska
click on the function
go to code tab
scroll down to runtime settings and press edit (right hand side)
select python3.9 save
done
nevermind, my haaska setup on AWS was 2 years old and there was my old domain inside config.json, that’s why it failed… my fault!
test passed after swapped domain and generated a new token (just in case…)
I’ve recently upgraded to 3.9 and everything’s working as expected. It would be probably a good idea to update the step-by-step instructions on the Wiki to recommend 3.9 instead of the legacy 3.6.
Also for some reason after I’ve activated the new runtime I had to re-add the Alexa Smart Home trigger in AWS Lambda to make it working again.
I think this has happened because originally I had the version number included with the “Default endpoint” ARN which became invalid after the upgrade.
So if your skill stops working, check the AWS Lambda page whether your function still has the “Alexa Smart Home” trigger set up and also check the Developer Console whether your default endpoint is version-agnostic.
Does haaska still work, these days? I followed the instructions and no luck. I will try to tweak it. but can someone tell me if new users can still successfully set this up?
So I managed to get Haaska up and running for the most part. It successfully links the account.
It found my HA automations as “scenes” in the alexa app.
It appears that all i have to do to invoke the automation is to set the “Power” of that “scene” to “on”
But when I try to “turn on” that scene, Alexa says “OK”, but the automation doesn’t execute and nothing happens.
Thanks for the tip. Although I am still hesitant to update it since everything still work fine. Just curious how long it will continue to work if leave it as is on 3.6?
According to AWS, at the time of writing there is no plan to dismiss 3.6 runtime for lambda. However, the AWS Lambda team will stop actively supporting it, thus it will not receive updates/security patches, etc.
I tried to exclude devices under cloud: and alexa: in my config but they still show up. I deleted all the devices in Alxea and did a new discovery search. Anyone got this working?
Tks
i could resolve it after setup right portforwarding in my router.
( i have a Technicolor 589vn-v3-router which not easy to understand how to setup portfordwarding)
My Home Assistant instance is running on a Pi4 on a network with a few docker containers hosted behind SWAG and using my own domain behind cloudflare. I have nothing blocking the subdomain except for logon creds and MFA for all users.
I was able to see the skill in the Alexa app but not able to login to it just yet because this Lambada test is failing I think. It wouldn’t let me post more than one pic in a post being a newb…
Hello I have the same error. HA is running as VM and hosted behind NPM and with my own domain behind cloudflare. I have this error since the last release.
When I call the domain with mydomain.com/api/ I get the following error (401: Unauthorized)