Morey protocol

Parse and decode Morey binary messages into JSON. Get the parsed data from Morey devices via REST API and MQTT. Forward normalized data from Morey trackers to cloud platforms (AWS, Azure, etc.).
flespi parses the Morey protocol messages into a JSON object with the fields listed below in the Parameters tab.

To start getting the data from your Morey devices in flespi, create a "morey" channel and point your devices to its domain name:port.

You can consume the parsed parameters (see the Parameters tab for the complete list) straight from the channel using appropriate REST API requests or event-based MQTT API.

If you want to benefit from dedicated long-term message storage for each unique IMEI (ident), get access to telemetry (last state), and leverage real-time analytics, create a flespi device for each physical tracker you connect.

To consume the device-specific parsed data, use the appropriate REST API or MQTT API.

Forward collected data to the cloud platforms and other services.

ain
number
volts
Voltage on the analog input
EID 0x127,
EID 0x128,
EID 0x129
asset.operational.status
boolean
Asset operational status: true - operational, false - not operational
EID 0x126
battery.type
number
Internal battery type: 0 - no battery, 66 - rechargeable battery
EID 0x083
battery.voltage
number
volts
Internal battery voltage
EID 0x12A
ble.ad.trailer.beacon.status
boolean
BLE Ad Trailer Beacon Status
EID 0x160
ble.beacons
array
Array with all detected BLE beacons data objects. Each object contain list of assosiated parameteres 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.32bit.value
number
Custom 32bit CAN value
EID 0x075...0x07C,
EID 0x088...0x097,
EID 0x0B5...0x0BC,
EID 0x100...0x107
can.average.fuel.economy
number
km/liters
CAN average fuel economy
EID 0x027
can.data.cvpfc1.frame
string
Custom vehicle parameter frame data of instance 1, in HEX format
EID 0x157
can.data.cvpfc2.frame
string
Custom vehicle parameter frame data of instance 2, in HEX format
EID 0x158
can.data.cvpfc3.frame
string
Custom vehicle parameter frame data of instance 3, in HEX format
EID 0x159
can.data.cvpfc4.frame
string
Custom vehicle parameter frame data of instance 4, in HEX format
EID 0x15A
can.data.frame
string
CAN data frame value in HEX representation
EID 0x0C4...0x0CB,
EID 0x108...0x10F
can.dtc.active.status
boolean
CAN DTC active status, true - DTC code is active, false - DTC code is cleared
EID 0xC29,
EID 0xC2A
can.dtc.number
number
Number of diagnostic trouble codes
EID 0x0DE
can.engine.coolant.level
number
percentage
Engine coolant level read from CAN
EID 0x01F
can.engine.coolant.pressure
number
kPa
Engine coolant pressure
EID 0x020
can.engine.coolant.temperature
number
celsius
Engine coolant temperature read from CAN
EID 0x01C
can.engine.crankcase.pressure
number
kPa
Engine crankcase pressure
EID 0x024
can.engine.motorhours
number
hours
Total engine motorhours (engine work time) read from CAN
EID 0x02C
can.engine.oil.level
number
percentage
Engine oil level read from CAN
EID 0x022
can.engine.oil.pressure
number
kPa
CAN Engine oil pressure
EID 0x023
can.engine.oil.temperature
number
celsius
Engine oil temperature read from CAN
EID 0x021
can.engine.rpm
number
rpm
Engine RPM read from CAN
EID 0x01A
can.fuel.consumed
number
liters
Fuel volume totally consumed by vehicle read from CAN
EID 0x029
can.fuel.consumption
number
liters/h
Engine fuel rate read from CAN
EID 0x025
can.fuel.economy
number
km/liters
CAN instantaneous fuel economy
EID 0x026
can.fuel.idle.consumed
number
liters
Fuel volume totally consumed during idling state of the vehicle read from CAN
EID 0x02B
can.fuel.level
number
percentage
Fuel level in tank read from CAN
EID 0x02D,
EID 0x02E
can.j1708.dtc
number
J1708 CAN DTC
EID 0x060
can.j1939.dtc
number
J1939 CAN DTC
EID 0x05F
can.obd.dtc
number
OBDII CAN DTC
EID 0x05E
can.total.average.fuel.economy
number
km/liters
CAN total average fuel economy
EID 0x028
can.total.engine.idle.time
number
hours
Time of engine running in idling status (vehicle stopped) since vehicle manufacture, read from CAN
EID 0x02A
can.uds.dtc
number
UDC based CAN DTC
EID 0x146
can.vehicle.mileage
number
km
Total vehicle mileage read from CAN
EID 0x02F
can.vehicle.speed
number
km/h
Vehicle speed read from CAN
EID 0x01B
can.wabco.abs.gio.active.signal
number
WABCO TSCII ABS active signal
EID 0x140
can.wabco.abs.gio.mod.req
number
WABCO TSCII FN MOD REQ
EID 0x144,
EID 0x145
can.wabco.abs.gio.mtis.state
number
WABCO TSCII Meritor tire inflation system status
EID 0x143
can.wabco.abs.gio.speed.signal
number
WABCO TSCII speed signal
EID 0x141,
EID 0x142
channel.id
number
ID of channel that received a message
custom.user.id
number
Custom number defined as User ID
EID 0x3F1
device.firmware.version
string
Firmware revision
EID 0x3EA
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
EID 0x12C,
EID 0x12D,
EID 0x12E,
EID 0x12F,
EID 0x130,
EID 0x131,
EID 0x13F
dout
number
Digital outputs bitmask
EID 0x132,
EID 0x133,
EID 0x134
engine.ignition.status
boolean
Engine ignition or ACC status
EID 0x019,
EID 0xC14,
EID 0xC15
engine.motorhours
number
hours
Total calculated engine motorhours
EID 0x054
engine.not.running.time
number
seconds
Total time the engine was NOT running after an initial GNSS fix
EID 0x056
engine.turn.off.count
number
Number of times ignition has been turned off after initial GNSS fix
EID 0x055
engine.turn.on.count
number
Number of times the MC-4x has transitioned from engine not running to engine running
EID 0x053
engine.turn.on.rpm.count
number
Engine off to on transitions detected by RPM
EID 0x0C0
engine.turn.on.voltage.count
number
Engine off to on transitions detected by voltage
EID 0x0C1
event.name
string
Protocol-specific event name
Message Type 0x01
external.powersource.voltage
number
volts
External power voltage
EID 0x016
geofence.status
boolean
Geofence entered status
EID 0x011,
EID 0x012,
EID 0x013,
EID 0x014
gnss.fail.count
number
Number of times the GNSS has failed to obtain a valid fix
EID 0x044
gnss.power.on.count
number
Number of times the GNSS receiver has been powered on
EID 0x03C
gnss.power.on.duration
number
seconds
Total time the GNSS receiver has been powered on
EID 0x03D
gnss.state.enum
number
Protocol-specific GNSS state code. May contain information about GNSS fix status, sleep status, ON/OFF, Overcurrent/protect state.
EID 0x05C
gnss.vehicle.mileage
number
km
Vehicle mileage calculated by global navigation system (GNSS)
EID 0x01E
gsm.backoff.status
boolean
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) cellular communication backoff status
EID 0x0B4
gsm.sim.iccid
string
Integrated Circuit Card Id of SIM card of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...)
EID 0x080
harsh.acceleration.number
number
Number of harsh Acceleration events
EID 0x06A
harsh.braking.number
number
Number of harsh braking events
EID 0x069
ident
string
Device unique identifier like serial number, IMEI, etc
idle.events.count
number
Number of idle events that have occurred
EID 0x051
jolt.count
number
Number of jolt events that have occurred
EID 0x0BF
key.switch.state
number
Key switch state: -1 = Invalid, 0 = Key Off, 1 = Key On
EID 0x0BD
log.data
array
Log Entry Report Log Data
EID 0x3EE
log.data.type
number
Log Entry Report Data Type ID
EID 0x3EE
log.report.seqnum
number
Log Entry Report Sequence Number
EID 0x3EC
log.transaction.flags
number
Log Entry Report Transaction Flags
EID 0x3ED
log.transaction.flags.name
string
Log Entry Report Transaction Flags name
EID 0x3ED
log.transaction.id
number
Log Entry Report Transaction ID
EID 0x3EB
message.type
string
Message type
Message Type 0x01,
Message Type 0x02,
Message Type 0x03,
Message Type 0x04,
Message Type 0x05,
Message Type 0x07,
Message Type 0x0D
message.type.enum
number
Message Type
modem.comm.fail.count
number
Number of times the communications failed to the server
EID 0x047
modem.comm.retry.count
number
Number of times the communications to the server was retried
EID 0x048
modem.connect.fail.count
number
Number of times the modem has failed to connect to the network
EID 0x045
modem.connect.retry.count
number
Number of times the modem has retried connecting to the network
EID 0x046
modem.firmware.reflash.result
number
Modem firmware reflash result code
EID 0x14B
modem.firmware.version
string
Firmware version of the modem
EID 0x14A
modem.name
string
Name of the modem
EID 0x149
modem.power.on.count
number
The number of times the modem has been powered on
EID 0x03F
modem.state.enum
number
Modem state: 0 - powered off, 1 - powered on and connection in progress, 2 - connection active, 3 - backoff
EID 0x05D
modem.uptime
number
seconds
The total time the modem has been powered on
EID 0x040
motion.sensor.type
number
Motion sensor type: 0 - accelerometer motion sense is active, GNSS motion sens is disabled; 1 - GNSS based motion sense with falback to accelerometer motion sense when GNSS fix unavailable, 2 - GNSS fix is available and GNSS motion sense is active
EID 0x09D
motion.start.count
number
The number of accelerometer or GNSS based motion start events that have occurred.
EID 0x042
motion.stop.count
number
The number of accelerometer or GNSS based motion stop events that have occurred
EID 0x043
movement.status
boolean
Current movement state
EID 0x015,
EID 0xC02,
EID 0xC03,
EID 0xC04
network.signal.rssi
number
dbm
Network signal strength
EID 0x01D
overspeeding.duration
number
seconds
Overspeeding interval duration
EID 0x09E...0x0A0
peer
string
IP:port from which device connecting to the channel
position.altitude
number
meters
Altitude value for position
EID 0x009
position.direction
number
degrees
Heading angle at position detection moment
EID 0x00C
position.fix.type
number
GNSS fix type enum (0 = "not fixed", 1 = "2D", 2 = "3D", null = "unknown")
EID 0x010
position.hdop
number
Horizontal dilution of precision
EID 0x00D
position.latitude
number
degrees
Latitude coordinate value
EID 0x007
position.longitude
number
degrees
Longitude coordinate value
EID 0x008
position.pdop
number
Position dilution of precision
EID 0x00F
position.satellites
number
Quantity of satellites used to calculate coordinates for given position information
EID 0x00A
position.speed
number
km/h
Instant speed at position detection moment
EID 0x00B
position.timestamp
number
seconds
Timestamp when coordinates where calculated
EID 0x087
position.valid
boolean
Is position information accurate and valid for given timestamp
EID 0x010
position.vdop
number
Vertical dilution of precision
EID 0x00E
protocol.id
number
ID of protocol
record.seqnum
number
Registered record sequence number
EID 0x3FD
report.reason
number
Transmission reason code
Message Type 0x01
resets.count
number
Number of resets since power was first applied and maintained
EID 0x057
script.int32.variable
number
A signed int32 script variable that can be set and read within an executing MC-4x script
EID 0x06D...0x070,
EID 0x0CC...0x0CF
script.uint32.variable
number
An unsigned uint32 script variable that can be set and read within an executing MC-4x script
EID 0x071...0x074,
EID 0x0D0...0x0DB
segment.max.acceleration
number
g
Maximum acceleration value that occured on the segment
EID 0x0A3
segment.max.braking.acceleration
number
g
Maximum braking acceleration value that occured on the segment
EID 0x0A2
segment.max.speed
number
km/h
Maximum speed on the segment
EID 0x0A1
server.timestamp
number
seconds
Timestamp when server received a message
system.power.state
number
System pover state
EID 0x12B
system.uptime
number
seconds
Total time the system has been awake
EID 0x03A
system.wake.count
number
Number of times the system has woken up from sleep
EID 0x039
timestamp
number
seconds
Message timestamp
EID 0x001
timestamp.key
number
Message timestamp in seconds with message sequence number appended as the value fractional part. Used to distinguish between several messages that have the same timestamp.
EID 0x001,
EID 0x3FD
total.idle.seconds
number
seconds
Total time that vehicle was in idling state
EID 0x052
towing.events.count
number
The number of towing events
EID 0x07D
tpms.cti.status.flags
array
TPMS CTI Status Flags Array
EID 0x114
tpms.tire.air.leakage.rate
array
TPMS Tire Air Leakage Rate Array, Pa/sec
EID 0x113
tpms.tire.location
array
TPMS Tire Location Array
EID 0x110
tpms.tire.pressure
array
TPMS Tire Pressure Array, kPa
EID 0x111
tpms.tire.pressure.reference
array
TPMS Tire Pressure Reference Array, kPa
EID 0x116
tpms.tire.pressure.signal.detect
array
TPMS Tire Pressure Signal Detect Array
EID 0x115
tpms.tire.temperature
array
TPMS Tire Temperature Array, °C
EID 0x112
trip.duration
number
seconds
Trip duration
EID 0x06B
trip.mileage
number
km
Distance driven since engine start
EID 0x06C
turn.events.count
number
Number of turn events
EID 0x07E
udp.bytes.received
number
UDP bytes received
EID 0x058
udp.bytes.sent
number
UDP bytes sent
EID 0x059
udp.packets.received
number
UDP packets received
EID 0x05A
udp.packets.sent
number
UDP packets sent
EID 0x05B
udp.requests.unsolicited
number
Count of unsolicited inbound requests received via UDP
EID 0x0DC
vehicle.bus.type
number
Verified vehicle bus type
EID 0x0DF
vehicle.mileage
number
km
Total calculated mileage
EID 0x0A4
vehicle.vin
string
VIN of vehicle
EID 0x038
Properties
Custom command
custom
Send custom command to device
payload: Hex data to be sent to the device