I am receiving distance value from raspberry pi and monitoring it on Azure iot hub.What I want to do is when distance < 5 I should be informed through email to take out the garbage.
Can you help me?
I am receiving distance value from raspberry pi and monitoring it on Azure iot hub.What I want to do is when distance < 5 I should be informed through email to take out the garbage.
Can you help me?
Hello @SeraNurDARKILI-9608,
so the solution looks like this:
device sends messages (with distance) -> IoT Hub
What you want is:
device sends messages (with distance) -> IoT Hub -> some logic checks the messages and takes a decision -> email
In an IoT solution, typically a Stream Analytics job is used because it can take decisions on messages in-flight.
For sending emails, a Logic app (with eg. outlook.com integration) is a nice addition due to the visual editor and business integration with many services.
Then, a possible solution could be:
device sends messages (with distance) -> IoT Hub -> Stream Analytics Job -> eventhub (as 'glue') -> Logic app -> email
Thank you I already tried this algorithm and it worked :)
Hello @SeraNurDARKILI-9608 ,
Great!
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer.
14 people are following this question.