Removing the device does not send the UNINSTALL message to the Webhook

We use cloud to cloud and Webhooks. When the user removes the device from the SmartApp, information about it is not passed on. Should that information come, or how do we know that the device is no longer there? I think we should get an UNINSTALL message.

Hi, @Heikki_Pirttinen

Sorry for the late response. I am Andres, a member of the Developer Support team.

We are looking into this with the Engineering team. We will let you know as soon as we have an update.

Hi, @Heikki_Pirttinen

Once again, sorry for the late response. I have been looking into your case and the answer is the following:

You need to subscribe to the subscribeToDeviceLifecycle events. That way, whenever the device is deleted the function subscribedDeviceLifecycleEventHandler on your server will be executed. I think this is what you were looking for. If you need any help in the process, please let me know. I will be glad to help.

Thanks, this solved my problem.

1 Like