Adding yale lock to alexa

The zigbee lock works fine on my c7 hub. I can’t get it to work with Alexa. I’m missing something.

app:22021-07-29 09:06:10.585 pm errorError making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"8d59d997-c148-47c7-b51b-b62a47386f08"},"payload":{"code":"INVALID_ACCESS_TOKEN_EXCEPTION","description":"Access token is not valid."}}

app:22021-07-29 09:06:10.131 pm errorError making Call to refresh Token: [error_description:The request is missing a required parameter : refresh_token, error:invalid_request]

Do you have other things that are working with Alexa now like light switches? You could try disabling and enabling the skill on the Echo device app..

On a side note - Is adding a lock to Amazon like this really a good idea? Seems like a big potential security issue.

Also check the settings for your lock in Alexa - you probably need "unlock this smart lock using your Alexa app" enabled I guess?

Note: I was able to add a virtual lock and get it to work with no issues.

OK I got fixed. I disabled the Hubitat skill In Alexa and then re-enabled the skill and signed in again. Suddenly it worked fine.

1 Like

Yeah it looked like your access token expired from the error message.

Good answer. That is what worked. I was a little hesitant to do that because this is my second hub and it’s remote. My first tub is working fine with the same lock installed on it so I knew there was something odd I was doing on this one but I wasn’t sure what.

1 Like

The access token is what I’m concerned about. Now I’m afraid nothings going to work on my first hub.

Yep you are probably correct there - you can't share the Hubitat Alexa skill.. some people get around this by creating a separate Amazon account. Another possible way would be to use the community built "HubConnect" app and share the devices with the primary HE hub..

I don’t think it’s terribly unsecure to add my lock to Alexa. I still request a pin number to unlock it. So somebody might be able to stand outside my house and yell to Alexa but they won’t know the pin number to unlock it.

1 Like

That seems like a good way to do it..

Dang it, now my first hub does not work with Alexa.

So I guess this means I have to set up a different account for Alexa in order for my second hub to work. Now that this has happened to me I do sort of understand why I couldn’t have two hubs linked to the same Alexa account.

The hub connect is not something I’m familiar with. I’ll do some reading about that as it sounds like it might be a good solution for multiple hubs. Thank you.

1 Like

Note this is NOT the same as HE's HubMesh capability. HubMesh cannot work outside it's Hub's own subnet so you have to do some funky things to get it to work over a vpn.