Sushant Bajracharya
Sushant Bajracharya

Reputation: 400

How can I have a aws iot rule-engine type of scenario in Azure IoT hub?

I actually wanted a conditional statement varying an output. For example, if temperature<0 do something, likewise if temperature>50 do something. I wanted to know how is it possible to have this conditional case in Azure Iot? What should i follow? What term should I be looking for? Please help.

Upvotes: 1

Views: 460

Answers (1)

user793891
user793891

Reputation:

You can query the IoT Hub messages flow in real time using Stream Analytics. You'll write a SQL like query with your condition (temperature<0) that will then send a message to an output like an Event Hub message queue or write to a database.

Upvotes: 2

Related Questions