How to link Alexa and HA using ngrok? My previous post regarding how to use ngrok on HA works when I want to connect to my HA from another network, but when I want to link my Alexa to HA, it throws me this error:
Logging in to NAME with Home Assistant Local.
Error: invalid client id or redirect uri
When I use command curl -v6 ngrok-ip-address, it throws me error:
Cannot assign requested address.
I tried disabling ipv6 using this link, but it still throws me that error.
I installed my HA on a docker in a RPi.
Is it even possible to use ngrok for Alexa and HA? Did anyone try to make it work? Since I don’t have supervisor, I can’t use duckdns (because I don’t have addon market and I don’t know how to install duckdns without it, if it’s even possible), so ngrok is pretty much one of my only chance to make this work (unless someone has another alternative).
Thanks.
Found a solution.
It wasn’t a problem with ipv6 or ngrok, but with amazon link. For some reason https://layla.amazon.com/ doesn’t work for me, only when I changed it to https://pitangui.amazon.com/ it worked and it successfully linked.
I have a similar issue: I am from Europe and I need to use “Send Alexa Events” option, But, if using https://layla.amazon.com/ as Client ID (as described in documentation), I get the “Error: invalid client id or redirect uri” message when I try to enable the skill in Alexa app.
On the other hand, If I am changing the Client ID to https://pitangui.amazon.com/, I can enable the skill in Alexa, but I cannot trigger the Alexa routines with sensors imported from Home Assistant (I tested Aqara window sensor and motion sensor). Thank you for your help!