Skip to content

Status

This event allow to track the current state of the vehicle. The frequency at which it is triggered is variable (depending on the IoT model), from 10 to 15 minutes when the vehicle is idle and every minutes when the vehicle is moving.

Body parameters

  • event: status
  • vehicle (integer): The identifier of the vehicle.
  • data: (json object).
    • online (boolean): Indicate of the vehicle is online.
    • locked (boolean, optional): Indicate of the vehicle is locked or not.
    • batteryPercentage (integer, optional): The current level of the battery of the scooter.
    • odometer (integer, optional): The distance (in meter) traveled by scooter.

Body example

{
    "event": "status",
    "vehicle": 156,
    "data": {
        "online": "false"
    }
}
{
    "event": "status",
    "vehicle": 156,
    "data": {
        "online": "true",
        "locked:": "true",
        "batteryPercentage": 47,
        "odometer": 52785
    }
}