Not Receiving Webhooks for a Yale Lock

Hi, we use the smartthings api to manage locks and codes, but for a couple of Yale Locks we are not getting Events on Webhooks.

Is this not supported?

Additionally, is there an endpoint to get a list of the recent events on a device?

Thanks!

https://api.smartthings.com/history/devices?locationId={{locationId}}&deviceId={{deviceId}}

Hi, @seam

Which events are you trying to get through the subscription, lock/unlock and if a new code was set?

Have you verified that the subscriptions were created correctly? For example, if you are creating a subscription, per device is different than a capability subscription. If you have the last one, we would need to see why a new event in those devices isn’t triggering an event.

Also, just a note for the endpoint shared by @orangebucket. This will not reflect the device events in real-time. It might take a while for them to appear there.

Hi, we need lock/unlock events, in real time

Regarding the subscriptions, we have the app setup for webhooks like its mentioned on this docs

and confirmed we receive events for other locks, we only have issues with some yale locks, i’ll send you ids over DM

ok, are you the owner of the location where those devices are installed? If so, we would need support access to your account, please:

  1. Confirm the email account registered in the forum is the same one you use for SmartThings. If not, please share it with me over DM
  2. Enable support access to your account:
  1. Go to the SmartThings Web (my.smartthings.com)
  2. Log in to your Samsung Account
  3. Select Menu (ā‹®) and choose Settings
  4. Toggle on Account Data Access
  5. Select the time period and confirm - In this step, please select ā€œUntil turned offā€, once the team finishes, we’ll let you know so you can disable it again.

Also, to track the events, we would need:

  1. You to trigger some unlock/lock commands and share the timestamps with us including your timezone. For example, 14:00 GMT-6
  2. Also, if you have the integration installed in your account where the device is, we need its name to look for its ID on your account.

We don’t own that location, they are a customer of us that connected their devices using our OAuth App, i sent you some data over DMs

Indeed not, it is better to take a quick sip of tea before using it. It does fit the bill as a ā€˜list of recent events’ though. It’s pretty much what you see in the History tab on the Device Details page, though it feels a bit faster. I didn’t bother to mention the /activities endpoint, which seems to provide the History on the menu page of the app, as that way be dragons.

1 Like

Yes, I got your message, do you have the timestamps of when those events should have come up? knowing the timezone would help us narrow down the search for those events.

hi @nayelyz, i sent you the details via dm

thanks!