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?

已提問 2 年前檢視次數 485 次
2 個答案
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
專家
已回答 2 年前
0

Last Will and Testament is your friend here.

Regards

jgg
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南