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
battery.current
number
amperes
Battery current
battery.level
number
percentage
Internal battery level
battery.voltage
number
volts
Internal battery voltage
can.data.frame
string
CAN data frame value in HEX representation
can.error.code
number
Vehicle error code reported by CAN bus
can.status.code
number
Vehicle status code reported by CAN bus
can.vehicle.battery.error
number
Vehicle battery error code reported by CAN bus
can.vehicle.battery.level
number
percentage
CAN-bus reported vehicle battery level for EV or HEV
can.vehicle.lock.state
number
Vehicle lock status reported by CAN bus
can.vehicle.mileage
number
km
Total vehicle mileage read from CAN
can.vehicle.mode
number
Vehicle mode reported by CAN bus
can.vehicle.speed
number
km/h
Vehicle speed read from CAN
can.vehicle.trip.mileage
number
km
Vehicle odometer reported by CAN bus
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
engine.ignition.status
boolean
Engine ignition status
external.powersource.voltage
number
volts
External power voltage
gsm.cellid
number
GSM base station ID
gsm.lac
number
GSM location area code
gsm.mcc
number
GSM mobile country code
gsm.mnc
number
GSM mobile network code
gsm.operator.code
string
Active GSM Operator code
gsm.signal.dbm
number
dbm
Strength of GSM signal
gsm.sim.iccid
string
Integrated Circuit Card Id of SIM card
ident
string
Device unique identifier like serial number, IMEI, etc
instant.movement.status
boolean
Instant movement status
movement.status
boolean
Current movement state
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.fix.type
number
GNSS fix type enum (0 = "not fixed", 1 = "2D", 2 = "3D", null = "unknown")
position.hdop
number
Horizontal dilution of precision
position.latitude
number
degrees
Latitude coordinate value
position.longitude
number
degrees
Longitude coordinate value
position.pdop
number
Position dilution of precision
position.speed
number
km/h
Instant speed at position detection moment
position.vdop
number
Vertical dilution of precision
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
sleep.mode
number
Sleep mode
timestamp
number
seconds
Message timestamp
trip.mileage
number
km
Distance driven since engine start
trip.status
boolean
Trip status, true if trip started, false - if stopped
vehicle.mileage
number
km
Total calculated mileage
x.acceleration
number
g
Accelerometer value X
y.acceleration
number
g
Accelerometer value Y
z.acceleration
number
g
Accelerometer value Z
Properties
Custom command
custom
Send custom command to device
payload: Command payload
Connect to configured FOTA WEB server
{"payload":"@fota_web_connect"}