GPS geofencing events
Last updated
Last updated
Produces incoming messages by GPS based parameters. Extracts latitude and longitude from incoming message data or metadata and returns different events based on configuration parameters (geo fence).
The rule node fetches perimeter information from message metadata by default. If Fetch perimeter information from message metadata is unchecked, additional information should be configured.
There are two options of area definition based on the perimeter type:
Metadata of the incoming message must include key with name perimeter and following data structure:
There are two options of area definition based on the perimeter type:
Event Types
There are 4 types of events managed by geofencing rule node:
Entered — is reporting whenever latitude and longitude from the incoming message to belong the required perimeter area for the first time;
Left — is reporting whenever latitude and longitude from the incoming message not belong the required perimeter area for the first time;
Inside and Outside events are used to report current status.
Administrator can configure duration time threshold for reporting inside or outside event. For example, whenever minimal inside time is set to 1 minute the message originator is considered as being inside the perimeter 60 seconds after entering the area. Minimal outside time defines whenever message originator is considered as out of the perimeter as well.
Failure chain will to be used when:
incoming message has no configured latitude or longitude key in data or metadata.
missing perimeter definition;