I have updated my HA Installation. Now it says Neato Integration needs to be configured and I should look at the dokumentation. Everything worked just fine before the update!
A look at the doku and it says that I have to create an developer account on neato and I have to use https to connect to HA!
Could this be? Before the update I just had to fill in my neato username and password and that was all…
i have my HA pointing outwards via duckdns ( for custom built alexa, amongst other things… )
its https: and accessible yet, i can’t integrate it, as it doesn’t like the redirect url
“The redirect uri included is not valid.”
If neato says that your redirect URL is not valid, it means that HA is sending a different URL than the one you entered when you created the application at https://developers.neatorobotics.com. You can’t just type the redirect URL in your address bar because then important query parameters are missing.
Actually, there are two important URLs. The first one is the one that HA uses to redirect you to neato’s website. It contains the redirect URL and some credentials. The second one is subsequently created by neato, which sends you back to HA. This URL contains the requested tokens. Therefore, make sure that HA uses the correct redirect URL for the first redirect. This is the one that will be in your address bar when Neato says your redirect URL is wrong.
Need some help, please.
I use DuckDNS.
I run my HA on a RPi3.
I have the usual port forwarding for DuckDNS use (my Pi’s IP address 443 to 443 TCP)
What would be my redirect url to get this integration to work again?
Thanks!
Hello,
I’m sorry for my English, I speak French
I followed what you explained, but I still have the message :
An error has occurred
The redirection URL is not valid.
here is what I put.
it’s been 2 days that I’ve been trying to understand.
NEATO APP:
Description Neato D7 Home Assistant
Redirect URI https://.dyndns.org/auth/external/callback/
Terms Of Service URL
Privacy Policy URL
Auth scopes public_profile
control_robots
maps
Client ID e68026b476d3ad460e0fda29ca5214bcfce8d4de
Secret 23359774fe7f41068281a2c13975ebb4****************a344b45d
Created At 2021-01-17T16:44:15Z
URL NOT GOOD https://apps.neatorobotics.com/oauth2/authorize?response_type=code&client_id=e68026b476d3ad460e0fda29cade&redirect_uri=https://192.168.1.176:8123/auth/external/callback&state=eyJ0eXAiOiJKiOiJIUzI1NiJ9.eyJmbG93X2lkIjoiYjIyMzBmYmRhYjY2NDMwzI2M2Q5YTcxOGQiLCJyZWRpcmVjdF91cmkiOiJodHRwczovLzE5YWNrIn0.syTrJ34emVFCbexK7FSX-hitjWfEg4t8xaPLbG_3tmg&client_secret=23359774fe********a79392b63aaa344b45d&scope=public_profile+control_robots+maps
Looks like you are accessing HA using the internal IP instead of the domain name that you used in the redirect URI. Just login to HA using the same domain name and then proceed to continue with adding the integration.
I was having the same problem until I followed dshokouhi’s suggestion listed above.
I opened a new browser window and in the address bar pasted in my external URL, I then logged into Home Assistant using my normal Home Assistant username and password. I was then able to add the Neato integration successfully.
I’m sorry, that you have these issues with your instance. It seems, that HA prefers the internal URL in your case. For the moment you could set your internal URL to the one with https to setup your robot. Switch it back afterwards. This should be fine.
EDIT:
I did some research. In fact HA chooses the current URL to build the redirect URI upon:
Therefore you can solve your problem by setting up your integration via your external URL as @cletus said.
I’m new to the world of Home assistant, I don’t know anything.
Thank you for your help.
I hope we will find a solution because there, I do not understand anything. why is it right with me that it does not work?
Am I right that your instance is available via this URL and you used this URL to set up your application at https://developers.neatorobotics.com/ ?
Please double check, that you used exactly this URL there.
And please remove the client_secret from your post as we should not know that