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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则