Tag Zones

Tag Zone allows to track whenever two tags meet or separate. User can specify the radius for a particular tag with any of three event type - info, warning, or danger. If two tags meet within their specified radius, then it is considered as MEET. Once they are no longer in contact, LEAVE event is triggered.


Adding Tag Zone

You can add a radius (in meters) to the tag in Senmap, tab RTLS section Nodes. Aslo, define one of three zone type → info, warning or danger. 


Removing Tag zones

Remove the tag Zone by adding value 0 (zero) as the radius in Senmap, tab RTLS section Nodes for specific tag. 


API - Websocket

You can subscribe to tag zone event. The sibscription provide you data whenever two tags meet or separate (meet/leave).

To subscribe send following message to WS server:

{
"headers":{"X-ApiKey":"17254faec6a60f58458308763"}, 
"method":"subscribe", 
"resource":"/tagzones/data"
}

Response data after meet event:

{"body":
  {
    "feed_reference_a":"3002640",
    "uuid_a":"2648a31e-edeb-11ea-969e-30205f15133d",
    "address_a":"0x00205F15133D",
    "zone_type_a":"warning",
    "position":[-1.98,2.06],
    "feed_reference_b":"3480",
    "uuid_b":"41d2dd30-04a1-11eb-b909-05a261025a13",
    "address_b":"0x05A261025A13",
    "zone_type_b":"warning",
    "type":"leave",
    "plan_id":"152",
    "at":"2020-10-13 08:24:14.733"
  },
  "method":"new_values",
  "resource":"\/tagzones\/data"
}

For more details follow page Websocket API.


API - REST

You can also use REST connected which provides a simple way to manage Tag Zones data via simle methods GET/POST/PUT/DELETE. For more details follow page REST API.


On this page: