简体   繁体   English

Windows Azure物联网中心遥测消息以推送通知

[英]Windows Azure iot hub telemetry message to push notification

I am trying to figure out the best approach for this scenario. 我正在尝试找出这种情况下的最佳方法。

I have a pir sensor attached to a raspberry pi that is sending telemetry data to a windows azure iot hub. 我有一个与树莓派相连的Pir传感器,该传感器将遥测数据发送到Windows Azure物联网中心。

I want to trigger a push notification when this telemetry data is received? 我想在收到此遥测数据时触发推送通知吗?

Any help would be appreciated. 任何帮助,将不胜感激。

I would create an Azure Web Job to consume the data coming to the IoT Hub and call a Notification Hub. 我将创建一个Azure Web作业以使用进入IoT中心的数据并调用通知中心。

This would look like this : 看起来像这样:

[Raspberry Pi] -> [IoT Hub] -> [Web Jobs] -> [Notification Hubs] [Raspberry Pi]-> [IoT中心]-> [Web作业]-> [通知中心]

Here are the pointers to the 3 key components 这是3个关键组成部分的指针

You could use an Azure Function as a lighter alternative to a Web Jobs. 您可以将Azure函数用作Web作业的替代方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure IoT 中心遥测数据到移动应用程序 - Azure IoT Hub Telemetry Data to Mobile Application Azure IoT中心消息路由 - Azure IoT Hub message routing 向Azure Iot集线器发送消息 - sending a message to an Azure Iot hub 从 HttpTrigger Function 读取 Azure IoT Hub 遥测 - Read Azure IoT Hub Telemetry from HttpTrigger Function 从存储帐户blob读取和解析Azure IoT Hub遥测 - Reading & parsing Azure IoT Hub Telemetry from a storage account blob Azure IOT 集线器:发送遥测数据“无效传输配置”的参考错误 - Azure IOT Hub: ReferenceError sending Telemetry Data 'Invalid transport configuration' 为Azure通知中心推送通知 - Push notification for azure notification hub Windows IoT 和 Azure IoT 中心教程 - Windows Iot and Azure IoT Hub tutorial 当设备在未在 IoT Hub 中注册的情况下发送遥测消息时,IoT Hub 的行为是什么? - What is the behavior of IoT Hub when the device send telemetry message without registered in IoT Hub? 如何使用 Android 应用程序中的“Azure IoT 中心设备配置服务”注册设备并将遥测读数发送到 Azure IoT 中心? - How to use "Azure IoT Hub Device Provisioning Service" from Android Application to register device and send telemetry reading to Azure IoT Hub?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM