AWS IOT 分析在属性更改状态时触发事件

AWS IOT analytics to trigger event when attribute changes state

是否可以检测物联网消息的属性是否从 false 变为 true 并触发操作?我想捕获所有状态变化。 我想知道物联网分析是否是正确的工具。 通过本教程,似乎选择增量时间 window 并查询数据可能会触发事件。 时间 window 越小,我的闹钟就越实时。我看到的一个问题是警报会反复触发。
这是正确的方向吗?

有几个选项可用,具体取决于您想要触发的操作以及触发它的具体条件。

  • AWS IoT Rules 通常用于根据某些条件路由传入消息(例如:如果消息中的某个属性是 truefalse) .这是一种 "stateless" 形式的触发器,因为每条消息都是 processed/routed 独立的。

  • AWS IoT Events 可能更适合 "stateful" 触发器(例如:当收到第一条消息并更改字段值时发出警报)

  • AWS IoT Analytics include another mechanism that can be used to react to specific conditions in the messages received ("stateless" trigger), in the form of the Lambda Activity 可以关联一个处理Pipeline