Eelink TK418-S

Eelink TK418-S is a CAT-M1/NB-IOT GPS asset tracking device with BLE support well-suited for delivery solutions. The device features cut-off and recover oil circuit support, SOS alarm, external battery, external probe for temperature monitoring, humidity tracking, iButton, a built-in G-sensor, multiple alarms, geofencing, a 140mAh battery, IP65 waterproof casing, and more.

Usage specifics
Parameters (65)
Settings (22)
Commands (1)
Eelink TK418-S
Flespi parses telemetry data from your Eelink TK418-S into a standardized JSON and lets you send commands to Eelink TK418-S 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": "Eelink TK418-S",
    "channel.id": 1111,
    "protocol.id": "eelink"
    "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 Eelink TK418-S?

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.charging.status
boolean
Battery charging status
battery.voltage
number
volts
Internal battery voltage
burnt.enery
number
calories
Accumulated burnt energy today
carbon.dioxide.alarm
boolean
CO2 concentration if out of predefined range
carbon.dioxide.ppm
number
ppm
Carbon dioxide concentration
channel.id
number
ID of channel that received a message
crash.event
boolean
Crash event detected
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
displacement.alarm
boolean
Displacement alarm event
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.enum
number
Protocol-specific event code
fall.alarm
boolean
Fall alarm event
geofence.status
boolean
Geofence entered status
gnss.antenna.open.circuit.status
boolean
GNSS antenna open-circuit status
gnss.antenna.short.circuit.status
boolean
GNSS antenna short circuit status
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
gsm.signal.dbm
number
dbm
Strength of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal
humidity.alarm
boolean
Humidity is out of predefined range
ident
string
Device unique identifier like serial number, IMEI, etc
illuminance.alarm
boolean
Illuminance if out of predefined range
internal.battery.low.alarm
boolean
Internal battery low alarm event
message.content
string
Message content
movement.event
boolean
Movement detected
obd.connected.status
boolean
OBDII device is connected to vehicle
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.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.cut.alarm
boolean
External power cut-off alarm event
protocol.id
number
ID of protocol
report.timestamp
number
seconds
Report timestamp
sensor.humidity
number
percentage
Humidity sensor value, i.e. relative air humidity level
sensor.illuminance
number
lux
Illuminance measured by light sensor
sensor.temperature
number
celsius
Temperature sensor value
sensor.temperature.alarm
boolean
Sensor temperature value is out of predefined ranges
server.timestamp
number
seconds
Timestamp when server received a message
steps.count
number
The total number of steps for the day
temperature.alarm
boolean
Temperature value is outside of predefined range
timestamp
number
seconds
Message timestamp
total.burnt.enery
number
calories
Accumulated burnt energy in total
total.steps.count
number
Accumulated steps count in total
total.walk.distance
number
meters
Accumulated walking distance in total
total.walk.time
number
seconds
Accumulated walking time in total
underspeed.event
boolean
Underspeed event
vehicle.mileage
number
km
Total calculated mileage
walk.distance
number
meters
Accumulated walking distance today
walk.time
number
seconds
Accumulated walking time today
wifi.mac.address
string
WiFi MAC address
wifi.signal.strength
number
WiFi signal strength, RSSI
Properties
AGPS Server Setup
agps
AGPS server configuration
uri: AGPS Server URI
Network Setup
apn
GPRS network configuration
apn: APN
apn_password: APN Password
apn_username: APN Username
Parameters of Location Collection
collect
This command requests to change the parameters of location collection. All parameters define how to collect location package and how many location packages to be cached before they are sent to server.
turn: Turn
active: Active
distance: Distance
interval: Interval
quantity: Quantity
Device Information
device_info
Generic device information
imei: Device IMEI
imsi: SIM IMSI
build: Firmware Build Time
iccid: SIM ICCID
os_ver: Operation System Version
app_ver: Application Version
Geofence 1
fence1
fence: Geofence Shape
Geofence 2
fence2
fence: Geofence Shape
Geofence 3
fence3
fence: Geofence Shape
Geofence 4
fence4
fence: Geofence Shape
Geofence 5
fence5
fence: Geofence Shape
Geofence 6
fence6
fence: Geofence Shape
Geofence 7
fence7
fence: Geofence Shape
Geofence 8
fence8
fence: Geofence Shape
GPS Module
gps
Change the work mode and parameters of GPS module. It defines how and when GPS module switches in 2 states. GPS module has 2 states: ON and OFF. When GPS module is OFF, GPS chip is closed. Normally, we can use this command to save a lot of power consumption.
t0: Work time
mode: Mode
gps_run: Running time from last GPS command
t1_total: Total time of phase 1
t1_waking: Work time in phase 1
t2_waking: Work time in phase 2
t2_periodic: periodic time of phase 2
Manager 1
manager1
manager: Enable
Manager 2
manager2
manager: Enable
Manager 3
manager3
manager: Enable
Manager 4
manager4
manager: Enable
Motion Alarm
motion_alarm
motion_alarm: Motion Alarm
Relay Control
relay
relay: Enable
Server Setup
server
Backend server configuration
uri: Backed Server URI
Shift Fence
shift_fence
shift_fence: Shift Fence
Speed Alarm
speed_alarm
low_alarm: Low Speed Alarm
high_alarm: High Speed Alarm
speed_relay: Speed Relay Feature
Properties
Custom command
custom
Send custom command to device
payload: Command text
Set heartbeat timer to 5 minutes
{"payload":"HBT,5#"}
Change time zone of the device to UTC
{"payload":"GMT,E,0,0,0#"}