Ecobee API not working?

Hey Everyone!

I woke up this morning to Ecobee not responding within my Home Assistant. Reloading or rebooting did not fix it. Looking further, I get this error in Home Assistant:

{
“error”: “invalid_grant”,
“error_description”: “The authorization grant, token or credentials are invalid, expired, revoked, do not match the redirection URI used in the authorization request, or was issued to another client.”,
“error_uri”: “RFC 6749 - The OAuth 2.0 Authorization Framework
}

Reviewing other threads, they suggested I create a new fresh Ecobee API key. But when attempting to do that, I repeatedly get this error from Ecobee:

Ouch, something has gone wrong. Restart me and let’s give this one more try.

Is anyone else having or resolved similar issues with Ecobee lately?

Thanks for your help!!

Did you find this thread and others like it with regard to the Ecobee developer account.

Instead, try the Homekit Integration to bring in Ecobee. It’s local and no API.

3 Likes

That fixed it! i r dum

Follow-up: Since I have about 17 automations with the old integration, is there an easy automated way to swap all references from the original to the new one?

Side rant: It took me about 45 minutes to get the HomeKit integration to work for one stupid reason - dashes. The device displayed the connection code as two sets of 4 digits, so I just typed those digits in when Home Assistant asked for the connection code. Fail. Fail. Fail. Nope, you have to type the digits in a different format than displayed on the device: digit digit digit dash digit digit dash digit digit digit. Is there a reason why the automation system can’t automatically automate converting 8 digits in a row to the 3-2-3 format? This seems easy for an automation system to do, especially since the digits are displayed differently on the device. Automation! </ rant >

Thanks again for your help!!