应用场景
微信强提醒通知主要用于设备告警通知,通过微信强提醒效果通知用户,触发率高,告警不错失。
操作步骤
1. 登录 微信公众平台,申请小程序、设备类型(model id)、设备消息能力和消息模板。
2. 登录 物联网开发平台控制台,选择对应实例,进入应用开发页。
3. 创建应用,点击应用名进入应用详情中,申请开通微信强提醒。
![](https://qcloudimg.tencent-cloud.cn/image/document/50cc42fa7bb02de32c1800292c95f99b.png)
4. 申请开通后,点击授权小程序,请让您的微信小程序管理员扫码授权。
![](https://qcloudimg.tencent-cloud.cn/image/document/22dfcc6bb62faa9c74ad11ca42cd444d.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/22dfcc6bb62faa9c74ad11ca42cd444d.png)
5. 仅需选择硬件服务权限,进行授权。
![](https://qcloudimg.tencent-cloud.cn/image/document/a974ed8e52f9a95eab281f7bd45a768d.jpeg)
![](https://qcloudimg.tencent-cloud.cn/image/document/a974ed8e52f9a95eab281f7bd45a768d.jpeg)
6. 单击新增模版,按界面配置强提醒触发的条件和告警模板。
![](https://qcloudimg.tencent-cloud.cn/image/document/ed61f72f3d668f8bcebaad956351e4e0.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/ed61f72f3d668f8bcebaad956351e4e0.png)
7. 用户使用小程序绑定设备,并订阅此设备的强提醒模板,设备上报数据,满足触发条件后,微信将推送强提醒通知用户。
![](https://qcloudimg.tencent-cloud.cn/image/document/3423bca329b9e4415cf1bcf95e0608ce.jpg)
![](https://qcloudimg.tencent-cloud.cn/image/document/3423bca329b9e4415cf1bcf95e0608ce.jpg)
8. 手机在熄屏状态下,微信强提醒效果。
![](https://qcloudimg.tencent-cloud.cn/image/document/a30bd3717ca64af531cfd6f6998ea4a0.jpg)
![](https://qcloudimg.tencent-cloud.cn/image/document/a30bd3717ca64af531cfd6f6998ea4a0.jpg)