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.7",
"method": "DELETE",
"payload": {
"devices": {
"91FCF05A32E8": {
"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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "F0B228CF9B2E": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "05EC448F7AED": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "0231411F2263": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "F6FF099F988F": {
    "model": 20,
    "auxLight": {
    "intensity": 29
    }
    }
    }
    }
    }
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.7",
"method": "UPDATE",
"payload": {
"devices": {
"2BAC315747F6": {
"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.7",
"method": "UPDATE",
"payload": {
"devices": {
"123245E6BD31": {
"model": 20,
"battery": {
"voltage": 29,
"percent": 69,
"charging": true
}
}
}
}
}

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.7",
"method": "UPDATE",
"payload": {
"devices": {
"53A4F0D62A41": {
"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.7",
"method": "UPDATE",
"payload": {
"devices": {
"D901B9079112": {
"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.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4BC2AC901553": {
    "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.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E0461BA8010D": {
    "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.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D66B90DD06B8": {
    "model": 20,
    "bodyLeak": false
    }
    }
    }
    }
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.7",
    "method": "DELETE",
    "payload": {
    "devices": {
    "54E57C68885A": {
    "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.7",
"method": "DELETE",
"payload": {
"devices": {
"245D09F2BCB1": {
"model": 20,
"cameras": {
"706FA9F90535": {}
}
}
}
}
}

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.7",
"method": "DELETE",
"payload": {
"devices": {
"6EB1067AE532": {
"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.7",
"method": "UPDATE",
"payload": {
"devices": {
"A8A7C09251FB": {
"model": 20,
"cpuTemp": 50
}
}
}
}
  • 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.7",
"method": "UPDATE",
"payload": {
"devices": {
"7481DA287185": {
"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.7",
"method": "UPDATE",
"payload": {
"devices": {
"A24C89B21D3F": {
"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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "B327CF6D0F8B": {
    "model": 20,
    "drive": {
    "driveMode": "NORMAL",
    "speed": -80,
    "steer": 100,
    "motorsDisabled": true,
    "calibrator": false
    }
    }
    }
    }
    }
  • 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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "0A0F115FB828": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "9CD2419D23BD": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "779994063C67": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "C103438FF6B8": {
    "model": 20,
    "drive": {
    "speed": 25
    }
    }
    }
    }
    }
  • 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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "48058D8360EB": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "BF3888989410": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "44F4C72C53C2": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "C19FCAFEE665": {
    "model": 20,
    "drive": {
    "steer": 67
    }
    }
    }
    }
    }
  • 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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "C414F2DF61C6": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "77FA4A0ED84C": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "75327335EA9F": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "2DD4752DF9EF": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "56999669F2A9": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "AA4401146F17": {
    "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.7",
"method": "SET",
"payload": {
"devices": {
"B87801476364": {
"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.7",
"method": "SET",
"payload": {
"devices": {
"C2239C852E73": {
"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.7",
"method": "SET",
"payload": {
"devices": {
"C77B06317F92": {
"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.7",
"method": "SET",
"payload": {
"devices": {
"A3FDA8E832D8": {
"model": 20,
"elevatingArm": {
"present": true,
"height": 25,
"speed": 66,
"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.7",
"method": "UPDATE",
"payload": {
"devices": {
"DEECBEAED4E9": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 26
}
}
}
}
}

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.7",
"method": "UPDATE",
"payload": {
"devices": {
"FC2390ED2BEA": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 6
}
}
}
}
}

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.7",
"method": "UPDATE",
"payload": {
"devices": {
"993DAA36DABD": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 48
}
},
"2738B3DFD557": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 64
}
}
}
}
}
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.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "9D1D2652567E": {
    "model": 20,
    "imuTemp": 60
    }
    }
    }
    }
  • 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.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B24772C928C7": {
    "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.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6A37461D8DB5": {
    "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.7",
"method": "UPDATE",
"payload": {
"devices": {
"C2BF97F5EECD": {
"model": 20,
"leftMotorDiagnostics": {
"current": 9,
"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.7",
"method": "UPDATE",
"payload": {
"devices": {
"3B1704EB24C8": {
"model": 20,
"leftMotorDiagnostics": {
"current": 82,
"overcurrent": false,
"pwm": 33,
"rpm": 2,
"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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "28DF9EE408FC": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "0C59A63CB4DA": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "0D7E565A8F91": {
    "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.7",
    "method": "SET",
    "payload": {
    "devices": {
    "3E764BFCD533": {
    "model": 20,
    "rearLight": {
    "intensity": 86
    }
    }
    }
    }
    }
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.7",
"method": "UPDATE",
"payload": {
"devices": {
"D098657806F9": {
"model": 20,
"rightMotorDiagnostics": {
"current": 1,
"overcurrent": false,
"pwm": 5,
"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.7",
"method": "UPDATE",
"payload": {
"devices": {
"788DF4FD7905": {
"model": 20,
"rightMotorDiagnostics": {
"current": 88,
"overcurrent": false,
"pwm": 64,
"rpm": -3,
"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.7",
"method": "SET",
"payload": {
"devices": {
"A59A06342FF7": {
"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.7",
"method": "SET",
"payload": {
"devices": {
"A7305888C20B": {
"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.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E691EA349B30": {
    "model": 20,
    "usageTime": {
    "currentSeconds": 47
    }
    }
    }
    }
    }
  • 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.7",
"method": "UPDATE",
"payload": {
"devices": {
"0322790D86BE": {
"model": 20,
"usageTime": {
"totalSeconds": 82
}
}
}
}
}
  • 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.7",
"method": "UPDATE",
"payload": {
"devices": {
"9C76041C471E": {
"model": 20,
"usageTime": {
"totalSeconds": 45,
"currentSeconds": 97
}
}
}
}
}
version?: DeviceVersion

Version