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?

posta 2 anni fa485 visualizzazioni
2 Risposte
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
ESPERTO
con risposta 2 anni fa
0

Last Will and Testament is your friend here.

Regards

jgg
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande