Honeywell Lyric Integration Configuration

I had the Honeywell Lyric integration running fine for several months, but once the update came that changes the way HA handles secrets I cannot get it to work again.

I am following the guide here: Honeywell Lyric - Home Assistant

After much troubleshooting I tried starting over.

  1. I removed the old version of my integration and secrets by just deleting them from the GUI. If more is required then that might be it.

  2. I removed the original ‘APP’ from resideo and made a completely new one and generated new keys. The callback URL was the same https://home.mydomain.com/redirect/oauth. The same URL I used to access HA externally and was using with Lryic/resideo in the past.

  3. Went into the HA GUI and added the Lyric integration. It prompted me for my OAuthID and Key from resideo.

  4. HA prompted me to go the the external website to finish setup.

  5. I receive this error at the external website: {"code":400, "message":"The redirect URL provided does not match the redirect URL registered for the app."}

What I notice is that the URL HA is using has the wrong redirect_uri in it. It is using redirect_uri=https://my.home-assistant.io/redirect/oauth but I have no idea where that is being set or controlled to fix it. I am assuming that is my issue, but I am not sure.

Well, I feel like a bozo.

The Callback URL in resideo needs to be 100% https://my.home-assistant.io/redirect/oauth and not modified for your local server URL like it was in the past. A little misleading, but as long as it works.

I have the same experience, and cannot get it to work with thy Honeywell Lyric integration.

I get the error message {"code":400, "message":"The redirect URL provided does not match the redirect URL registered for the app."} when authorizing my home assistant instance which has a separate URL.

On the resideo site https://developer.honeywellhome.com/user/me/apps, my integration app is configured to have my personal URL.

Can someone help to fix this issue?

Okay, so it works now.

  1. I had to use https://my.home-assistant.io/ service and set the redirect url on the site, and add the my: in configuration.yaml.
  2. Modify the callback url for the resideo app at https://developer.honeywellhome.com/user/me/apps to the one described here: https://my.home-assistant.io/redirect/oauth
  3. Add the integration from the integration/lyric page https://my.home-assistant.io/redirect/config_flow_start?domain=lyric. Now this redirects to my home assistant instance. I had an error message here for several times, that I’m not able to add this integration, and if I’m redirected from home assistant site, then make sure I have the latest version of Home Assistant (I have installed 2022.09.2)
  4. Click on OK and then to Open Website. Now it opens the resideo login page! (hurray!). Follow the instructions - add devices.
  5. Finish on the resideo page, and have the callback to you instance. First I got {"status":400,"message":"Error generating auth code: undefined","type":"internal"} error message, but then I tried it again, and now it works!

The key was adding my instance URL to the My Home Assistance service on the Home Assistant site, and configuring this in my yaml.

Hi Magyarin,

I,ve the same problem: {“status”:400,“message”:“Error generating auth code: undefined”,“type”:“internal”}

But how did you make it work? I’m not fully understand the last part of your text. Can you help[ me with this?