Planon IoT : IoT Platform - Developer's Guide : Rules Endpoints : Rules/Post : Request – Rules/Post – ConditionSettings Properties
Request – Rules/Post – ConditionSettings Properties
Property
Type
Description
Mandatory
conditions/locationConditionSettings
Object
Specifies the geo-fence location for which the condition applies. For example, the location of the Device must be within the circle created by a geo‑fence around a particular point.
When specifying a value here, you cannot also specify an operator or threshold.
locationConditionSettings:{shouldBeInside: true, latitude: “32.0910665”, longitude: “34.78774490000001”, radius: 0.5}
N
conditions/locationConditionSettings/ shouldBeInside
Boolean
When shouldbeinside is True, the Rule is triggered when the Device is located inside the circle created by the geo-fence circle (described below).
When shouldbeinside is False, the Rule is triggered when a Device is outside the geo-fence circle.
conditions/locationConditionSettings/latitude
The latitude of the center of the geo-fence.
conditions/locationConditionSettings/longitude
The longitude of the center of the geo-fence.
conditions/locationConditionSettings/radius
Double
The radius of the geo-fence around the latitude/longitude center of the circle described above.