Positioning-universal protocol

Parse and decode Positioning Universal binary messages into JSON. Get the parsed data from Positioning Universal devices via REST API and MQTT.
flespi parses the Positioning-universal protocol messages into a JSON object with the fields listed below in the Parameters tab.

To connect your tracker using the Positioning Universal protocol, you need to have a positioning-universal channel created first.

Point your tracker to the channel's domain name:port via SMS or configuration tool provided by the vendor.

Then create a device instance for your tracker and use a 15-character IMEI (usually specified on the tracker casing) in the ident field.

Use the Toolbox tab on the device screen to check if the messages are coming.

alarm.panic.status
boolean
Panic alarm event occurred
battery.low.alarm
boolean
Battery low alarm event
battery.voltage
number
volts
Internal battery voltage
ble.beacons
array
Array with all detected BLE beacons data objects. Each object contain list of associated parameters sent by appropriate beacon. Standard parameter names used: *id* - beacon identification string. Usually it is beacon's UUID or MAC-address *local_name* - Beacons's Local Name *rssi* - BLE signal level. Units = dBm *battery.voltage* - Beacon's battery voltage. Units = volts *battery.level* - Beacon's battery level. Units = percentage *temperature* - Beacon's temperature. Units = celsius
can.dtc
array
Diagnostic trouble code array read from CAN
can.dtc.number
number
Number of diagnostic trouble codes
can.engine.run.time
number
seconds
Run time since engine start read from CAN
can.fuel.type.enum
number
Fuel type read from CAN
can.mil.status
boolean
Malfunction indicator lamp status read from CAN
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.type.id
number
ID of device type of device that received a message
din
number
Digital inputs bitmask
dout
number
Digital outputs bitmask
engine.ignition.status
boolean
Engine ignition or ACC status
event.code
string
Protocol-specific event code string
event.enum
number
Protocol-specific event code
event.seqnum
number
Unique event sequence number
external.powersource.voltage
number
volts
External power voltage
gps.satellites.status
boolean
GPS positioning system status
harsh.acceleration.event
boolean
Harsh acceleration detected
harsh.braking.event
boolean
Harsh braking detected
harsh.cornering.event
boolean
Harsh cornering detected
harsh.turn.left.event
boolean
Harsh left turn detected
harsh.turn.right.event
boolean
Harsh right turn detected,
ident
string
Device unique identifier like serial number, IMEI, etc
main.power.status
boolean
Main power state
movement.status
boolean
Current movement state
network.signal.rssi
number
dbm
Network signal strength
obd.pid00
number
OBD Bit encoded value showing supported PIDs [01-20]
obd.pid20
number
OBD Bit encoded value showing supported PIDs [21-40]
obd.pid40
number
OBD Bit encoded value showing supported PIDs [41-60]
obd.pid60
number
OBD Bit encoded value showing supported PIDs [61-80]
obd.pid80
number
OBD Bit encoded value showing supported PIDs [81-A0]
obd.pidA0
number
OBD Bit encoded value showing supported PIDs [A1-C0]
obd.standard.code
string
OBD standard this vehicle conforms to
obd.standard.enum
number
OBD standards this vehicle conforms to
overspeeding.status
boolean
Overspeeding detected
peer
string
IP:port from which device connecting to the channel
position.accuracy
number
meters
Position data accuracy in meters
position.direction
number
degrees
Heading angle at position detection moment
position.hdop
number
Horizontal dilution of precision
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.timestamp
number
seconds
Timestamp when coordinates where calculated
power.on.status
boolean
Power-on device status
private.status
boolean
Device is in private mode
product.id
string
Device product ID
protocol.id
number
ID of protocol
report.reason
number
Transmission reason code
server.timestamp
number
seconds
Timestamp when server received a message
timestamp
number
seconds
Message timestamp
towing.alarm.status
boolean
Towing alarm state
towing.event
boolean
Towing event detected
vehicle.mileage
number
km
Total calculated mileage
vehicle.state.bitmask
number
Vehicle state flags bitmask
vehicle.vin
string
VIN of vehicle
vibration.alarm
boolean
Vibration alarm event
virtual.engine.ignition.status
boolean
Virtual engine ignition status
Properties
Custom command
custom
Send custom command to device
payload: Command payload