Watret protocol

Protocol used by GPS tracking devices manufactured by Watret headquartered in China.
flespi parses the Watret protocol messages into a JSON object with the fields listed below in the Parameters tab.

To connect your tracker using the Watret protocol, you need to have a watret 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.

It is possible to configure Watret devices OTA using the flespi web-based configurator tool. To connect Watret to Wialon or another platform via flespi please read this article.

arm.status
boolean
Device arm status (true - device armed, false - device disarmed)
battery.level
number
percentage
Internal battery level
battery.low.alarm
boolean
Battery low alarm event
channel.id
number
ID of channel that received a message
device.id
number
ID of device that received a message
device.language
string
Device language
device.name
string
Name of device that received a message
device.type.id
number
ID of device type of device that received a message
disassemble.alarm
boolean
Disassemble alarm event
displacement.alarm
boolean
Displacement alarm event
engine.blocked.status
boolean
Engine blocked status, true - engine is blocked, false - engine isn't blocked
engine.ignition.status
boolean
Engine ignition status
event.code
string
Protocol-specific event code string
external.powersource.status
boolean
External power source connection status
external.powersource.voltage
number
volts
External power voltage
fall.alarm
boolean
Fall alarm event
geofence.status
boolean
Geofence entered 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.level
number
percentage
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal strength level
gsm.sim.iccid
string
Integrated Circuit Card Id of SIM card of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...)
gsm.sim.imsi
string
IMSI of SIM card of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...)
ident
string
Device unique identifier like serial number, IMEI, etc
movement.status
boolean
Current movement state
overspeeding.event
boolean
Overspeeding detected
peer
string
IP:port from which device connecting to the channel
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.on.status
boolean
Power-on device status
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
sos.alarm
boolean
SOS alarm trigerred
timestamp
number
seconds
Message timestamp
vehicle.electric.switch.status
boolean
The state of the car's electric switch
vibration.alarm
boolean
Vibration alarm event
Properties
Custom Command
custom
Send custom command to device
payload: Command payload
Set upload time interval to 20 seconds
{"payload":"TRVWP020000080020#"}