Xexun TK103-2

Xexun TK103-2 is a dual-SIM GPS tracker for cars, trunks, and heavy equipment security. The device features movement alert, shaking alert, overspeeding alert, SOS alert, low battery alert, engine started alert, power cutoff alert, shaking sensor alert, fortifying mode, geo-fencing, FOTA, 1200 mAh Li-ion battery, and more.

Usage specifics
Parameters (60)
Settings (8)
Commands (1)
Xexun TK103-2
Flespi parses telemetry data from your Xexun TK103-2 into a standardized JSON and lets you send commands to Xexun TK103-2 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": "Xexun TK103-2",
    "channel.id": 1111,
    "protocol.id": "xexun"
    "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 Xexun TK103-2?

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
acc.alarm
boolean
ACC alarm event
alarm.code
number
Protocol-specific alarm code number
alarm.event
boolean
Alarm event triggered
arm.status
boolean
Device arm status (true - device armed, false - device disarmed)
battery.charging.status
boolean
Battery charging status
battery.level
number
percentage
Internal battery level
battery.low.alarm
boolean
Battery low alarm event
battery.voltage
number
volts
Internal battery voltage
can.dtc
array
Diagnostic trouble code array read from CAN
can.engine.coolant.temperature
number
celsius
Engine coolant temperature read from CAN
can.engine.load.level
number
percentage
Calculated engine load level read from CAN
can.engine.rpm
number
rpm
Engine RPM read from CAN
can.fuel.consumption
number
liters/h
Engine fuel rate read from CAN
can.fuel.consumption.distance
number
liters/100km
Fuel consumption read from CAN
can.onboard.power.voltage
number
volts
CAN onboard power voltage
can.throttle.pedal.level
number
percentage
Throttle pedal push level read from CAN
can.total.driving.time
number
hours
Engine run time read from CAN
can.vehicle.mileage
number
km
Total vehicle mileage read from CAN
can.vehicle.speed
number
km/h
Vehicle speed read from CAN
channel.id
number
ID of channel that received a message
device.id
number
ID of device that received a message
device.imei
string
IMEI of the device
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
door.alarm
boolean
Door alarm event
door.open.status
boolean
Door open status
engine.blocked.status
boolean
Engine blocked status (fuel cutoff relay), true - engine is blocked, false - engine isn't blocked
engine.ignition.status
boolean
Engine ignition or ACC status
event.code
string
Protocol-specific event code string
fuel.alarm
boolean
Fuel alarm event
fuel.level
number
percentage
Fuel level percentage
geofence.alarm
boolean
Geofence alarm event
gnss.status
boolean
GNSS receiver on/off status
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.mcc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) country code
gsm.mnc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) code
ident
string
Device unique identifier like serial number, IMEI, etc
low.speed.alarm
boolean
Vehicle speed is below lower threshold alarm event
movement.event
boolean
Movement detected
overspeeding.event
boolean
Overspeeding detected
payload.text
string
Text Payload received from device
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.latitude
number
degrees
Latitude coordinate value
position.longitude
number
degrees
Longitude coordinate value
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
power.off.alarm
boolean
Power of alarm event
power.on.status
boolean
Power-on device status
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
sos.alarm
boolean
SOS alarm trigerred
timestamp
number
seconds
Message timestamp
towing.event
boolean
Towing event detected
vehicle.mileage
number
km
Total calculated mileage
vibration.alarm
boolean
Vibration alarm event
Properties
APN
apn
Access Point Name
apn: APN
APN Password
apn_pass
APN Password
pass: APN Password
APN Username
apn_user
APN Username
user: APN Username
Reset
begin
Reset the device to factory defaults
Restart
restart
Restart the device
Backend Server
server
Backend Server IP and port
ip: IP Address
port: Port
Time Zone
timezone
Set device time zone
shift: Time Zone
Tracking Interval
tracking
Tracking interval setup
unit: Time Unit
count: Number of Points
interval: Time Interval
Properties
Custom Command
custom
Send custom command to device
payload: Command payload
Cut OFF restore and electricity of the car [123456 - device password]
{"payload":"powercar123456 11"}
Cut OFF oil and electricity of the car to stop the car [123456 - device password]
{"payload":"powercar123456 00"}