Radar Me is an MQTT client for Axis Radar D2050. It publish radar detection data to an MQTT broker to simplify integration for systems processing radar data. Writing specific rules in e.g. Node-Red is very easy.
This integration also decouples the data consumer from the device, allowing 3:rd party consumers without the risk of compromising the device.
It is also possible to filter unnecessary detections (reflections and swaying objects) to improve the system performance (bandwidth, broker and consumer).
Id: Unique object tracking ID
Birth: Timestamp when object was first detected. Age = Timestamp – Birth
Speed: Object speed in meter/second
Direction: Object direction angle in degrees -180 to 180 where 0 is direction of the radar
Distance: Distance in meter between object and radar
Angle: The location angle of the object related to the radar direction (-180 to 180)
Class: Object classification. 2 = Undefined, 3 = Human, 4 = Vehicle. Note that Classification is a bit unpredictable.
x/y: The graphical coordinates for plotting on a screen. The coordinate system is 0-8192,0-8192 where 0,0 is the top left corner. This simplifies plotting data on e.g. a HTML canvas.
sx/sy: The graphical coordinates of the first detection. Can be used to calculate the graphical travelled distance. DeltaX = x – sx, DeltaY = y – sy
px/py: The coordinates of the previous published x,y. This simplifies plotting a line-path.
Active: True while object is being tracked. False when the object disappears, and that tracking ID will not be published any more.
- You need to have an MQTT broker. Install a local mosquito broker on Linux or Windows. Or, try a free cloud-based broker such as CloudMQTT (Cute Cat plan with up to 5 client connections and maximum bitrate of 10/Kbps).
- Radar Me only supports standard MQTT 3.1 (TCP port 1883) connection, not TLS. This means that the payload will be sent in clear text.