Azure IoT Central Rule Definition for Monitoring Connected Devices

Defining IoT Central Rules for Monitoring Connected Devices

Question

You want to use IoT Central to monitor your connected devices.

The devices operate on the shop-floor area of a manufacturing plant where an alert has to be triggered automatically when the average of the temperature in the past 10 minutes exceeds 50 degrees.

Upon this condition, a sound alarm needs to be activated.

You need to define IoT Central rules to monitor the above condition.

Which is not the way of defining the rule?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: C.

Option A is incorrect because a “Property” capability defined in the device template can be used on the right side of the rule condition.

Option B is incorrect because you can use a pre-set cloud property from the device template in the Value field of the rule condition.

Option C is CORRECT because the devices don't have properties that could be used in rule definitions.

Each device must be assigned to a device template and it is the template that stores data (in the format of Properties or Cloud properties) that can be used in rules to be compared with actual telemetry data.

Option D is incorrect because you can directly enter a value matching with the type of telemetry data in the Value field of the rule condition.

Reference:

IoT Central is a fully managed IoT SaaS solution provided by Microsoft that simplifies the creation of IoT solutions. IoT Central allows you to easily monitor and manage your connected devices through a web-based dashboard.

To monitor the condition mentioned in the question, you need to define an IoT Central rule. An IoT Central rule is a condition-based instruction that can trigger an action. The rule engine in IoT Central evaluates device telemetry, device properties, and cloud properties and triggers an action when the condition is met.

In this case, the rule needs to be triggered when the average temperature in the past 10 minutes exceeds 50 degrees. Therefore, you need to define a condition-based rule that evaluates the average temperature over time and triggers an action if it exceeds 50 degrees.

To define the rule, you have several options:

A. Define a device template property, set it to 50, and use it in the Value of the rule

  • This option involves defining a property in the device template that represents the threshold temperature value of 50 degrees. This property can then be used in the Value of the rule