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?

gefragt vor 2 Jahren485 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 2 Jahren
0

Last Will and Testament is your friend here.

Regards

jgg
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen