TK-Star TK920-2G

TK-Star TK920-2G is a powerful water-resistant asset GPS tracker. The device features GPS+LBS+WIFI+BD+GLONASS positioning, vibration alert, movement alert, geofencing, a 10,000 mAh battery, IP65 waterproof casing, and more.

Usage specifics
Parameters (37)
Settings (2)
Commands (1)
TK-Star TK920-2G
Flespi parses telemetry data from your TK-Star TK920-2G into a standardized JSON and lets you send commands to TK-Star TK920-2G 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": "TK-Star TK920-2G",
    "channel.id": 1111,
    "protocol.id": "tkstar"
    "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 TK-Star TK920-2G?

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
battery.level
number
percentage
Internal battery level
channel.id
number
ID of channel that received a message
device.id
number
ID of device that received a message
device.name
string
Name of device that received a message
device.type.id
number
ID of device type of device that received a message
engine.ignition.status
boolean
Engine ignition or ACC status
event.seqnum
number
Unique event sequence number
external.powersource.voltage
number
volts
External power voltage
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
gsm.signal.dbm
number
dbm
Strength of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal
gsm.signal.level
number
percentage
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal strength level
gsm.sim.iccid
string
Integrated Circuit Card Id of SIM card of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...)
gsm.timing.advance
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) timing advance
ident
string
Device unique identifier like serial number, IMEI, etc
message.type
string
Message type
overspeeding.event
boolean
Overspeeding detected
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.outdated
boolean
Position information is outdated
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
server.timestamp
number
seconds
Timestamp when server received a message
steps.count
number
The total number of steps for the day
timestamp
number
seconds
Message timestamp
vehicle.mileage
number
km
Total calculated mileage
vehicle.state
string
Vehicle state, such as moving, idling, parked etc
vehicle.state.bitmask
number
Vehicle state flags bitmask
vendor.code
string
Vendor identification string code
vibration.alarm
boolean
Vibration alarm event
Properties
Arm/Disarm command
arm
state: Arm State
Cut off/resume oil
oil_power_cut
state: Oil Cut off State
Properties
Custom command
custom
Send custom command to device without waiting for response
payload: Payload string
Cut oil command (Applied model: TK920)
{"payload":"*HQ,,S20,000000,1,1#"}
Oil/Power cut command (Applied models: TK806)
{"payload":"[SG**0008*STOP,1]"}