aws iot thing disconnect notification

0

Thing is registered in aws iot core. When implementing iot, it is important to know that things are disconnected. How can I receive an alarm when the connection to aws iot core is lost for a thing registered in aws iot core?

preguntada hace 2 años485 visualizaciones
2 Respuestas
2

Hi,

you can either use Last Will and Testament or use lifecycle events.

With lifecycle events you create a rule which selects messages from $aws/events/presence/disconnected/clientId or $aws/events/presence/disconnected/#. The latter topic gets all disconnect events. As rule action you can use whatever service is appropriate for you to send alarms.

Cheers,
Philipp

AWS
EXPERTO
respondido hace 2 años
0

Last Will and Testament is your friend here.

Regards

jgg
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas