Teltonika-mobility-mqtt protocol

Protocol used by mobility tracking devices manufactured by Teltonika headquartered in Lithuania.
flespi parses the Teltonika-mobility-mqtt protocol messages into a JSON object with the fields listed below in the Parameters tab.

This MQTT-based protocol is used by some Teltonika Mobility devices.

For device configuration on the Teltonika portal, in the MQTT Settings form use the channel host and port in the IP and Port fields. 

teltonika mqtt client configuration

The Login and Password fields are used only if you enable the Authenticate incoming MQTT connections option in the flespi channel configuration. The User ID field is used as an MQTT Client ID string which should be unique within all devices of your channel.

ain
number
volts
Voltage on the analog input
Param Id 29
battery.current
number
amperes
Battery current
Param Id 21
battery.level
number
percentage
Internal battery level
Param Id 39
battery.voltage
number
volts
Internal battery voltage
Param Id 20
can.data.frame
string
CAN data frame value in HEX representation
Param Id 43 ... Param Id 69
can.error.code
number
Vehicle error code reported by CAN bus
Param Id 32
can.status.code
number
Vehicle status code reported by CAN bus
Param Id 31
can.vehicle.battery.error
number
Vehicle battery error code reported by CAN bus
Param Id 36
can.vehicle.battery.level
number
percentage
CAN-bus reported vehicle battery level for EV or HEV
Param Id 33
can.vehicle.lock.state
number
Vehicle lock status reported by CAN bus
Param Id 37
can.vehicle.mileage
number
km
Total vehicle mileage read from CAN
Param Id 34
can.vehicle.mode
number
Vehicle mode reported by CAN bus
Param Id 38
can.vehicle.speed
number
km/h
Vehicle speed read from CAN
Param Id 30
can.vehicle.trip.mileage
number
km
Vehicle odometer reported by CAN bus
Param Id 35
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
din
number
Digital inputs bitmask
Param Id 22,
Param Id 23,
Param Id 24
engine.ignition.status
boolean
Engine ignition or ACC status
Param Id 25
external.powersource.voltage
number
volts
External power voltage
Param Id 19
gsm.cellid
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) base station ID
Param Id 16
gsm.lac
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) location area code
Param Id 17
gsm.mcc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) country code
Param Id 18
gsm.mnc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) code
Param Id 18
gsm.operator.code
string
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) operator code, which is MCC joined with MNC
Param Id 18
gsm.signal.dbm
number
dbm
Strength of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal
Param Id 15
gsm.sim.iccid
string
Integrated Circuit Card Id of SIM card of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...)
Param Id 40
ident
string
Device unique identifier like serial number, IMEI, etc
instant.movement.status
boolean
Instant movement status
Param Id 41
movement.status
boolean
Current movement state
Param Id 11
peer
string
IP:port from which device connecting to the channel
position.altitude
number
meters
Altitude value for position
Param Id 4
position.direction
number
degrees
Heading angle at position detection moment
Param Id 5
position.fix.type
number
GNSS fix type enum (0 = "not fixed", 1 = "2D", 2 = "3D", null = "unknown")
Param Id 10
position.hdop
number
Horizontal dilution of precision
Param Id 7
position.latitude
number
degrees
Latitude coordinate value
Param Id 2
position.longitude
number
degrees
Longitude coordinate value
Param Id 3
position.pdop
number
Position dilution of precision
Param Id 8
position.speed
number
km/h
Instant speed at position detection moment
Param Id 6
position.vdop
number
Vertical dilution of precision
Param Id 9
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
sleep.mode
number
Sleep mode
Param Id 42
timestamp
number
seconds
Message timestamp
Param Id 1
trip.mileage
number
km
Distance driven since engine start
Param Id 28
trip.status
boolean
Trip status, true if trip started, false - if stopped
Param Id 27
vehicle.mileage
number
km
Total calculated mileage
Param Id 26
x.acceleration
number
g
Accelerometer value X
Param Id 12
y.acceleration
number
g
Accelerometer value Y
Param Id 13
z.acceleration
number
g
Accelerometer value Z
Param Id 14
Properties
Custom command
custom
Send custom command to device
payload: Command payload
Connect to configured FOTA WEB server
{"payload":"@fota_web_connect"}