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.
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.
This would look like this :
[Raspberry Pi] -> [IoT Hub] -> [Web Jobs] -> [Notification Hubs]
Here are the pointers to the 3 key components
https://azure.microsoft.com/en-us/documentation/services/iot-hub/
https://azure.microsoft.com/en-us/documentation/articles/websites-webjobs-resources/
https://azure.microsoft.com/en-us/documentation/services/notification-hubs/
You could use an Azure Function as a lighter alternative to a Web Jobs.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.