Cargo Spy (CS1)

Cargo Spy is an autonomous asset GPS tracker with high capacity battery and IP65 water-resistant casing. The device features a 5000mAh (or 7000mAh in Plus version) battery, optional neodymium magnets, optional SOS button, dual SIM support. The tracker can operate in the beacon mode for up to two months, and in the always-on mode for up to two weeks.

Usage specifics
Parameters (45)
Settings (13)
Commands (2)
Cargo Spy (CS1)
Flespi parses telemetry data from your Cargo Spy (CS1) into a standardized JSON and lets you send commands to Cargo Spy (CS1) via API.

Here’s the like of JSON you get

{
    "ident": "352625333222111",
    "position.altitude": 273.61,
    "position.hdop": 0.7,
    "position.latitude": 49.069782,
    "position.longitude": 28.632826,
    "position.satellites": 18,
    "server.timestamp": 1650636570.426424,
    "timestamp": 1650636570.426424,
    "device.type.id": "Cargo Spy (CS1)",
    "channel.id": 1111,
    "protocol.id": "cargo"
    "engine.ignition.status": true
    ...
}

How to consume this nice JSON

The easiest way is to make a REST API request like this
curl -X GET  --header 'Authorization: FlespiToken XXX' 'https://flespi.io/gw/devices/<device id>/messages'

How to send commands to Cargo Spy (CS1)?

You can send a specific command. Show all commands
You can use pre-defined settings to send instructions more conveniently. Show all settings

You can also

Modify messages

Add or remove parameters, inject data from LBS and reverse-geocoding services, etc.
Learn what plugins can do

Aggregate data

Determine trips and stops, catch events, detect geofence ins/outs, and more.
Learn about flespi analytics capabilities
ain
number
volts
Voltage on the analog input
AVL ID 10,
AVL ID 9
alarm.event
boolean
Alarm event triggered
battery.level
number
percentage
Internal battery level
AVL ID 67
battery.voltage
number
volts
Internal battery voltage
AVL ID 67
case.status
boolean
Case opened status
AVL ID 7
channel.id
number
ID of channel that received a message
counter.impulses
number
Impulses counter
AVL ID 136,
AVL ID 137
device.configuration.id
number
Configuration profile index
AVL ID 22
device.id
number
ID of device that received a message
device.name
string
Name of device that received a message
device.temperature
number
celsius
Temperature of device
AVL ID 70
device.type.id
number
ID of device type of device that received a message
din
number
Digital inputs bitmask
AVL ID 3,
AVL ID 4
engine.ignition.status
boolean
Engine ignition or ACC status
AVL ID 1
event.enum
number
Protocol-specific event code
event.priority.enum
number
Event priority enum
external.powersource.voltage
number
volts
External power voltage
AVL ID 66
fuel.level
number
percentage
Fuel level percentage
AVL ID 100,
AVL ID 101,
AVL ID 129,
AVL ID 130
fuel.volume
number
liters
Fuel volume
AVL ID 112,
AVL ID 113,
AVL ID 131,
AVL ID 132
gsm.cellid
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) base station ID
AVL ID 205
gsm.lac
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) location area code
AVL ID 206
gsm.mnc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) code
AVL ID 241
gsm.signal.level
number
percentage
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal strength level
AVL ID 21
ibutton.code
string
Hexadecimal code of connected iButton
AVL ID 78
ident
string
Device unique identifier like serial number, IMEI, etc
lls.temperature
number
celsius
LLS (Liquid level sensor) fuel temperature
AVL ID 102,
AVL ID 103,
AVL ID 127,
AVL ID 128,
AVL ID 133
movement.status
boolean
Current movement state
AVL ID 240
peer
string
IP:port from which device connecting to the channel
position.altitude
number
meters
Altitude value for position
position.direction
number
degrees
Heading angle at position detection moment
position.hdop
number
Horizontal dilution of precision
AVL ID 182
position.latitude
number
degrees
Latitude coordinate value
position.longitude
number
degrees
Longitude coordinate value
position.pdop
number
Position dilution of precision
AVL ID 181
position.satellites
number
Quantity of satellites used to calculate coordinates for given position information
position.speed
number
km/h
Instant speed at position detection moment
AVL ID 24
position.valid
boolean
Is position information accurate and valid for given timestamp
AVL ID 69
protocol.id
number
ID of protocol
sensor.temperature
number
celsius
Temperature sensor value
AVL ID 106,
AVL ID 107,
AVL ID 108,
AVL ID 109,
AVL ID 110
server.timestamp
number
seconds
Timestamp when server received a message
sos.alarm
boolean
SOS alarm triggerred
AVL ID 2
timestamp
number
seconds
Message timestamp
trailer.id
string
Trailer ID
AVL ID 135
trip.mileage
number
km
Distance driven since engine start
AVL ID 199
vehicle.mileage
number
km
Total calculated mileage
AVL ID 200
Properties
APN SIM1
apn1
APN settings for SIM1
apn: APN
password: APN Password
username: APN Username
APN SIM2
apn2
APN settings for SIM2
apn: APN
password: APN Password
username: APN Username
Block/Unblock Engine
block_engine
Block/unblock engine
block: Block
Bluetooth
bluetooth
Enable/disable bluetooth.
enable: Enable
Clear Buffer
clear_buffer
Clear device internal storage.
Configuration
config
Query current device configuration
info: Configuration
Location
location
Query device location
info: Location
Reboot
reboot
Reboot the device.
Reset
reset
Reset to factory defaults. Device will lose all current settings. Use with caution!
Sensors
sensors
Query device sensors state
info: Sensors
Backend Server
server
Backend server setup
host: Host
port: Port
Mode
track2
Tracking configuration
mode: Mode
Version
version
Query device version
info: Version
Properties
Custom command
custom
Send custom text encoded in Codec12
hex: Payload is encoded as HEX string
crlf: Add CR and LF bytes after text payload
payload: Text or hex data to send
Query device configuration
{"payload":"@info:conf@"}
Custom command without waiting for response
custom_no_response
Send custom text encoded in Codec12 without waiting for response
hex: Payload is encoded as HEX string
crlf: Add CR and LF bytes after text payload
payload: Text or hex data to send
Query device configuration
{"payload":"@info:conf@"}