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
alarm.event
boolean
Alarm event triggered
battery.level
number
percentage
Internal battery level
battery.voltage
number
volts
Internal battery voltage
case.status
boolean
Case opened status
channel.id
number
ID of channel that received a message
counter.impulses
number
Impulses counter
device.configuration.id
number
Configuration profile index
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
device.type.id
number
ID of device type of device that received a message
din
number
Digital inputs bitmask
engine.ignition.status
boolean
Engine ignition status
event.enum
number
Protocol-specific event code
event.priority.enum
number
Event priority enum
external.powersource.voltage
number
volts
External power voltage
fuel.level
number
percentage
Fuel level percentage
fuel.volume
number
liters
Fuel volume
gsm.cellid
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) base station ID
gsm.lac
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) location area code
gsm.mnc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) code
gsm.signal.level
number
percentage
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal strength level
ibutton.code
string
Hexadecimal code of connected iButton
ident
string
Device unique identifier like serial number, IMEI, etc
lls.temperature
number
celsius
LLS (Liquid level sensor) fuel temperature
movement.status
boolean
Current movement state
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
position.latitude
number
degrees
Latitude coordinate value
position.longitude
number
degrees
Longitude coordinate value
position.pdop
number
Position dilution of precision
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
position.valid
boolean
Is position information accurate and valid for given timestamp
protocol.id
number
ID of protocol
sensor.temperature
number
celsius
Temperature sensor value
server.timestamp
number
seconds
Timestamp when server received a message
sos.alarm
boolean
SOS alarm trigerred
timestamp
number
seconds
Message timestamp
trailer.id
string
Trailer ID
trip.mileage
number
km
Distance driven since engine start
vehicle.mileage
number
km
Total calculated mileage
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@"}