BI 820 TREK OBD

BI 820 TREK OBD is a vehicle GPS tracker with an OBD-II connector. The device features a fiberglass-reinforced casing with IP65 protection, accelerometer, protected power circuit, 1000mAh battery, FOTA, and more.

Usage specifics
Parameters (48)
Commands (1)
BI 820 TREK OBD
Flespi parses telemetry data from your BI 820 TREK OBD into a standardized JSON and lets you send commands to BI 820 TREK OBD 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": "BI 820 TREK OBD",
    "channel.id": 1111,
    "protocol.id": "bitrek"
    "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 BI 820 TREK OBD?

You can send a specific command. Show all commands

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.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 1,
AVL ID 2,
AVL ID 3,
AVL ID 4
engine.ignition.status
boolean
Engine ignition or ACC status
AVL ID 6
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
gprs.state.enum
number
GPRS Mobile network state enumerated
AVL ID 119
gprs.status
boolean
GPRS mobile network status
AVL ID 120
gsm.jamming.alarm.status
boolean
Alarm status for the Mobile network (GSM, 3G, 4G, LTE, 5G, ...) jamming
AVL ID 141
gsm.mcc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) country code
AVL ID 111
gsm.mnc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) code
AVL ID 111
gsm.module.status
boolean
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) module is ON
AVL ID 117
gsm.operator.code
string
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) operator code, which is MCC joined with MNC
AVL ID 111
gsm.signal.level
number
percentage
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal strength level
AVL ID 21
gsm.sim.status
boolean
SIM card is active
AVL ID 121
gsm.state.enum
number
Mobile network module state
AVL ID 118
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.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
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
Custom command
custom
Send custom command to device
payload: Command payload to send
Get current position
{"payload":"40,0"}