如何通过电子邮件传输警报变量
我是 AggreGate IoT 平台的新手,我正在尝试使用其警报功能。我需要将触发警报的设备名称插入到正在发送的电子邮件中。
我在文档中看到一些警报示例,但我找不到提取的方法当前设备的上下文。我尝试编写警报消息表达式,如 {env/context} 或 cell({env/context},"value") 但它没有效果。
请帮助我让它发挥作用。
I’m a newbie in AggreGate IoT platform and I’m trying to use its Alerts feature. I need to insert the name of the device that triggered the alert into the email message being sent.
I see some Alert Examples in the documentation but I can’t find the way to extract the context of the current device. I’ve tried to write the Alert Message expression like {env/context} or cell({env/context},"value") but it has no effect.
Please help me to make it work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在警报出现或停用时发送电子邮件,但使用您自己的主题和消息格式。
You need to send e-mail when Alert rises or deactivates, but with your own subject and message format.