Motion

Motion

Description

Alives have a motion sensor.

Topic

Subscribe to: alive/<deviceID>/sensors/MOTION

Payload

{
  "value": {
    "motion": false,
    "direction": "NoMotion",
    "velocity": 0.0,
    "magnitude": 0.0
  }
  "timestamp": "2024-11-12T10:41:24.333+00:00"
}
  • value
    • motion true if motion is detected
    • direction direction of the motion (“NoMotion”, “Proximity”, “Receding”, “Approaching”)
    • velocity velocity of the motion
    • magnitude magnitude of the motion
  • timestamp time of the reading