Options
All
  • Public
  • Public/Protected
  • All
Menu
notexported

See type declaration

a150 Crawler

DELETE Request

From ./dist/samples/json/requests/devices/vehicles/a150/core/a150DeleteSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "DELETE",
"payload": {
"devices": {
"B920AAED40E1": {
"model": 20
}
}
}
}

Hierarchy

Index

Properties

auxLight?: Light

Aux Light

Controls the auxiliary light attached to the a150 crawler.

remarks

See Light type for more details.

Example Payloads

SET Requests

  • Lights On (mid)

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOnMidIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "D35E36B5D0BB": {
    "model": 20,
    "auxLight": {
    "intensity": 50
    }
    }
    }
    }
    }
  • Lights Off

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOffSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "3DF95DA5E84B": {
    "model": 20,
    "auxLight": {
    "intensity": 0
    }
    }
    }
    }
    }
  • Lights On (max)

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOnMaxIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "5276BBCF6CBA": {
    "model": 20,
    "auxLight": {
    "intensity": 100
    }
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "C9BD66A5B141": {
    "model": 20,
    "auxLight": {
    "intensity": 54
    }
    }
    }
    }
    }
battery?: Battery

Main Crawler Battery

Example Payload

Battery Danger Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryDangerSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"C7108896EC37": {
"model": 20,
"battery": {
"percent": 15
}
}
}
}
}

Battery Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"6BC08A690E93": {
"model": 20,
"battery": {
"voltage": 67,
"percent": 94,
"charging": false
}
}
}
}
}

Battery Shutdown Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryShutdownSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"4AB7345D1810": {
"model": 20,
"battery": {
"percent": 3
}
}
}
}
}

Battery Warning Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryWarningSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"D0986BFB8A67": {
"model": 20,
"battery": {
"percent": 30
}
}
}
}
}
bodyLeak?: boolean

Body Leak Fault

Example Payloads

UPDATE Requests

  • No body leak

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150HasNoBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "640CE2AA41A5": {
    "model": 20,
    "bodyLeak": false
    }
    }
    }
    }
  • Body leak present

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150HasBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CD5EC1C6000D": {
    "model": 20,
    "bodyLeak": true
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150BodyLeakRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1D083E9F2E57": {
    "model": 20,
    "bodyLeak": true
    }
    }
    }
    }
calibrator?: boolean

Calibrator

Calibrator Front-end (request) Back-end (response)
true Calibrate -
false Cancel Calibration -
undefined - -
cameraHead?: Record<string, never> | A200CameraHead | A150CameraHead

Camera Head

Example Payloads

GET Requests

  • a150 camera head

    From ./dist/samples/json/requests/devices/vehicles/a150/cameraHead/a150CameraHead/core/a150A150CameraHeadSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "DELETE",
    "payload": {
    "devices": {
    "28152E7D28D8": {
    "model": 20,
    "cameraHead": {}
    }
    }
    }
    }
cameras?: Record<string, Removable<Cameras>>

Cameras

Example Payloads

DELETE Requests

From ./dist/samples/json/requests/devices/vehicles/a150/cameras/core/a150CameraDeleteSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "DELETE",
"payload": {
"devices": {
"1A7DA16306E9": {
"model": 20,
"cameras": {
"FBE27BDCFE12": {}
}
}
}
}
}

From ./dist/samples/json/requests/devices/vehicles/a150/cameras/core/a150CamerasSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "DELETE",
"payload": {
"devices": {
"26AAD15B0335": {
"model": 20,
"cameras": {}
}
}
}
}
cpProbe?: string

The cp probe

cpuTemp?: number

CPU Temperature Sensor

Measured in degrees celsius

  • Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"487A8B51733C": {
"model": 20,
"cpuTemp": 82
}
}
}
}
  • CPU temperature warning

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureWarningSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"CAF726597CE5": {
"model": 20,
"cpuTemp": 75
}
}
}
}
  • CPU temperature shutdown

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureShutdownSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"CEF7BE88E6D5": {
"model": 20,
"cpuTemp": 85
}
}
}
}
cygnus?: cygnusType

The ut(cygnus) probe

drive?: CrawlerDrive

Drive

Controls the direction of drive for the a150

remarks

See CrawlerDrive type for more details

Example Payloads

SET Requests

  • Arbitrary Values

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "851E90EC37B0": {
    "model": 20,
    "drive": {
    "driveMode": "NORMAL",
    "speed": -78,
    "steer": 41,
    "motorsDisabled": false,
    "calibrator": true
    }
    }
    }
    }
    }
  • Drive mode: Normal

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeNormalSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "2DD4C10E7A17": {
    "model": 20,
    "drive": {
    "driveMode": "NORMAL"
    }
    }
    }
    }
    }
  • Drive mode: Assist

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeAssistSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "8CF9BDBB2AE8": {
    "model": 20,
    "drive": {
    "driveMode": "RETRIEVAL_ASSIST"
    }
    }
    }
    }
    }
  • Drive mode: Cruise

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeCruiseSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "01BAE56A1498": {
    "model": 20,
    "drive": {
    "driveMode": "RETRIEVAL_CRUISE"
    }
    }
    }
    }
    }
  • Random Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSpeedRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "ADD376C382A9": {
    "model": 20,
    "drive": {
    "speed": -4
    }
    }
    }
    }
    }
  • Max Speed Forward Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveMaxSpeedForwardSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "B6A712BC77A1": {
    "model": 20,
    "drive": {
    "speed": 100
    }
    }
    }
    }
    }
  • Max Speed Backward Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveMaxSpeedBackwardSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "F4C0D87700CB": {
    "model": 20,
    "drive": {
    "speed": -100
    }
    }
    }
    }
    }
  • No Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveNoSpeedSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "A14FD764057E": {
    "model": 20,
    "drive": {
    "speed": 0
    }
    }
    }
    }
    }
  • Random Steer

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "54392748620D": {
    "model": 20,
    "drive": {
    "steer": 95
    }
    }
    }
    }
    }
  • Steer Left

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerLeftSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "079C58D25668": {
    "model": 20,
    "drive": {
    "steer": -100
    }
    }
    }
    }
    }
  • Steer Right

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerRightSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "960776E13677": {
    "model": 20,
    "drive": {
    "steer": 100
    }
    }
    }
    }
    }
  • No Steer

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveNoSteerSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "2C8DA3F810ED": {
    "model": 20,
    "drive": {
    "steer": 0
    }
    }
    }
    }
    }
  • Motors Disabled

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150MotorsDisabledSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "3A2BBD3DEAA2": {
    "model": 20,
    "drive": {
    "motorsDisabled": true
    }
    }
    }
    }
    }
  • Motors Enabled

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150MotorsEnabledSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "28BE296A668E": {
    "model": 20,
    "drive": {
    "motorsDisabled": false
    }
    }
    }
    }
    }
  • Active Freewheel Calibration

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150AFWCalibrationSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "EEE3D9B5DC15": {
    "model": 20,
    "drive": {
    "calibrator": true
    }
    }
    }
    }
    }
elevatingArm?: ElevatingArm

Elevating Arm

No elevating arm

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmNotPresentSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "SET",
"payload": {
"devices": {
"71FC90AB79F4": {
"model": 20,
"elevatingArm": {
"present": false
}
}
}
}
}

Elevating arm minimum height

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmMinHeightSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "SET",
"payload": {
"devices": {
"0DFE787FD00C": {
"model": 20,
"elevatingArm": {
"height": 0
}
}
}
}
}

Elevating arm maximum height

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmMaxHeightSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "SET",
"payload": {
"devices": {
"86D952B9540C": {
"model": 20,
"elevatingArm": {
"height": 100
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "SET",
"payload": {
"devices": {
"3D1421E71C87": {
"model": 20,
"elevatingArm": {
"present": true,
"height": 84,
"speed": 57,
"leak": true
}
}
}
}
}
hybridPowerDiagnostics?: VehicleHpDiagnostics

Hybrid Power Diagnostics

Hybrid Power Diagnostics Charge Input Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/hybridPowerDiagnostics/chargeVoltage/a150HybridPowerDiagnosticsChargeVoltageRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"6AA6DE2F330D": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 91
}
}
}
}
}

Hybrid Power Diagnostics Input Voltage Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/hybridPowerDiagnostics/inputVoltage/a150HybridPowerDiagnosticsInputVoltageRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"7BC4D4AB069C": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 66
}
}
}
}
}

Hybrid Power Diagnostics Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/hybridPowerDiagnostics/a150HybridPowerDiagnosticsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"280227C459C7": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 68
}
},
"8C5A2487C552": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 39
}
}
}
}
}
imuTemp?: number

IMU Temperature Sensor

Measured in degrees celsius

  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CE80A7EB8898": {
    "model": 20,
    "imuTemp": 92
    }
    }
    }
    }
  • IMU temperature warning

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureWarningSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "872BEC9D8A76": {
    "model": 20,
    "imuTemp": 75
    }
    }
    }
    }
  • IMU temperature shutdown

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureShutdownSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "21328396B03C": {
    "model": 20,
    "imuTemp": 85
    }
    }
    }
    }
incline?: number

Vehicle incline

minimum

-180.0

maximum

180.0

ip?: string

IP address

leftMotorDiagnostics?: MotorDiagnostics

Left Motor Diagnostics

Resting Motor

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/leftMotor/a150LeftMotorDiagnosticsRestingSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"B49AFAB29F32": {
"model": 20,
"leftMotorDiagnostics": {
"current": 0,
"overcurrent": false,
"pwm": 2,
"rpm": 0,
"failure": false
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/leftMotor/a150LeftMotorDiagnosticsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"29BF13CC94BA": {
"model": 20,
"leftMotorDiagnostics": {
"current": 47,
"overcurrent": true,
"pwm": 80,
"rpm": -14,
"failure": false
}
}
}
}
}
rearLight?: Light

Aux Light

Controls the rear light attached to the a150 crawler.

remarks

See Light type for more details.

Example Payloads

SET Requests

  • Lights On (mid)

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOnMidIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "4C7E98AAD9B7": {
    "model": 20,
    "rearLight": {
    "intensity": 50
    }
    }
    }
    }
    }
  • Lights Off

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOffSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "DB0248D92A04": {
    "model": 20,
    "rearLight": {
    "intensity": 0
    }
    }
    }
    }
    }
  • Lights On (max)

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOnMaxIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "C94DD774D99E": {
    "model": 20,
    "rearLight": {
    "intensity": 100
    }
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "SET",
    "payload": {
    "devices": {
    "F615A9362069": {
    "model": 20,
    "rearLight": {
    "intensity": 44
    }
    }
    }
    }
    }
rightMotorDiagnostics?: MotorDiagnostics

Right Motor Diagnostics

Resting Motor

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/rightMotor/a150RightMotorDiagnosticsRestingSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"0A3873E25131": {
"model": 20,
"rightMotorDiagnostics": {
"current": 5,
"overcurrent": false,
"pwm": 3,
"rpm": 1,
"failure": false
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/rightMotor/a150RightMotorDiagnosticsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"CA4B439514D8": {
"model": 20,
"rightMotorDiagnostics": {
"current": 10,
"overcurrent": true,
"pwm": 42,
"rpm": 1,
"failure": false
}
}
}
}
}
roll?: number

Vehicle roll

minimum

-180.0

maximum

180.0

sonde?: Sonde

Sonde

Example Payloads

SET Request

  • Sonde enabled

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/sonde/a150SondeEnabledSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "SET",
"payload": {
"devices": {
"706A380CD0A7": {
"model": 20,
"sonde": {
"enabled": true
}
}
}
}
}
  • Sonde Disabled

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/sonde/a150SondeDisabledSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "SET",
"payload": {
"devices": {
"52BA8A3AD44E": {
"model": 20,
"sonde": {
"enabled": false
}
}
}
}
}
usageTime?: UsageTime

Vehicle Usage Time

Example Payloads

GET Requests

  • Current seconds

    From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150CurrentSecondsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.12",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6A2A56ED4320": {
    "model": 20,
    "usageTime": {
    "currentSeconds": 83
    }
    }
    }
    }
    }
  • Total Seconds

From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150TotalSecondsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"6DD30833D5B1": {
"model": 20,
"usageTime": {
"totalSeconds": 100
}
}
}
}
}
  • Arbitrary Total Usage

From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150UsageTimeRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.12",
"method": "UPDATE",
"payload": {
"devices": {
"58BC997C3187": {
"model": 20,
"usageTime": {
"totalSeconds": 92,
"currentSeconds": 60
}
}
}
}
}
version?: DeviceVersion

Version