Morey protocol

Integration level: params + settings
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
battery.type
number
nternal battery type: 0 - no battery, 66 - rechargeable battery
battery.voltage
number
volts
Internal battery voltage
can.32bit.value
number
Custom 32bit CAN value
can.average.fuel.economy
number
km/liters
CAN average fuel economy
can.data.cvpfc1.frame
string
Custom vehicle parameter frame data of instance 1, in HEX format
can.data.cvpfc2.frame
string
Custom vehicle parameter frame data of instance 2, in HEX format
can.data.cvpfc3.frame
string
Custom vehicle parameter frame data of instance 3, in HEX format
can.data.cvpfc4.frame
string
Custom vehicle parameter frame data of instance 4, in HEX format
can.data.frame
string
CAN data frame value in HEX representation
can.dtc.active.status
boolean
CAN DTC active status, true - DTC code is active, false - DTC code is cleared
can.dtc.number
number
Number of diagnostic trouble codes
can.engine.coolant.level
number
percentage
Engine coolant level
can.engine.coolant.pressure
number
kPa
Engine coolant pressure
can.engine.coolant.temperature
number
celsius
Engine coolant temperature read from CAN
can.engine.motorhours
number
hours
Total engine motorhours read from CAN
can.engine.oil.level
number
Engine oil level
can.engine.oil.pressure
number
kPa
CAN Engine oil pressure
can.engine.oil.temperature
number
celsius
Engine oil temperature
can.engine.rpm
number
rpm
Engine RPM read from CAN
can.fuel.consumption
number
liters/h
Engine fuel rate read from CAN
can.fuel.idle.consumed
number
liters
Fuel volume totally consumed during idling state of the vehicle read from CAN
can.fuel.level
number
percentage
Fuel level in tank read from CAN
can.j1708.dtc
number
J1708 CAN DTC
can.j1939.dtc
number
J1939 CAN DTC
can.total.average.fuel.economy
number
km/liters
CAN total average fuel economy
can.total.engine.idle.time
number
hours
Time of engine running in idling status (vehicle stopped) since vehicle manufacture, read from CAN
can.vehicle.mileage
number
km
Total vehicle mileage read from CAN
can.vehicle.speed
number
km/h
Vehicle speed read from CAN
channel.id
number
ID of channel that received a message
custom.user.id
number
Custom user-specified number
device.firmware.version
string
Firmware revision
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
engine.motorhours
number
hours
Total calculated engine motorhours
engine.not.running.time
number
seconds
Total time the engine was NOT running after an initial GNSS fix
engine.turn.off.count
number
Number of times ignition has been turned off after initial GNSS fix
engine.turn.on.count
number
Number of times the MC-4x has transitioned from engine not running to engine running
engine.turn.on.rpm.count
number
Engine off to on transitions detected by RPM
engine.turn.on.voltage.count
number
Engine off to on transitions detected by voltage
fuel.consumed
number
liters
Fuel volume totally consumed by vehicle
geofence.status
boolean
Geofence entered status
gnss.fail.count
number
Number of times the GNSS has failed to obtain a valid fix
gnss.state.enum
number
Protocol-specific GNSS state code. May contain information about GNSS fix status, sleep status, ON/OFF, Overcurrent/protect state.
gnss.vehicle.mileage
number
km
Vehicle mileage calculated by global navigation system (GNSS)
gsm.backoff.status
boolean
Cellular communication backoff status
harsh.acceleration.number
number
Number of harsh Acceleration events
harsh.braking.number
number
Number of harsh braking events
ident
string
Device unique identifier like serial number, IMEI, etc
idle.events.count
number
Number of idle events that have occurred
jolt.count
number
Number of jolt events that have occurred
key.switch.state
number
Key switch state: -1 = Invalid, 0 = Key Off, 1 = Key On
modem.comm.fail.count
number
Number of times the communications failed to the server
modem.comm.retry.count
number
Number of times the communications to the server was retried
modem.connect.fail.count
number
Number of times the modem has failed to connect to the network
modem.connect.retry.count
number
Number of times the modem has retried connecting to the network
modem.firmware.reflash.result
number
Modem firmware reflash result code
modem.firmware.version
string
Firmware version of the modem
modem.name
string
Name of the modem
modem.power.on.count
number
The number of times the modem has been powered on
modem.state.enum
number
Modem state: 0 - powered off, 1 - powered on and connection in progress, 2 - connection active, 3 - backoff
modem.uptime
number
seconds
The total time the modem has been powered on
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
motion.start.count
number
The number of accelerometer or GNSS based motion start events that have occurred.
motion.stop.count
number
The number of accelerometer or GNSS based motion stop events that have occurred
movement.status
boolean
Current movement state
network.signal.rssi
number
dbm
Network signal strength
overspeeding.duration
number
seconds
Overspeeding interval duration
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.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.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
position.valid
boolean
Is position information accurate and valid for given timestamp
position.vdop
number
Vertical dilution of precision
protocol.id
number
ID of protocol
record.seqnum
number
Registered record sequence number
report.reason
number
Transmission reason code
resets.count
number
Number of resets since power was first applied and maintained
script.int32.variable
number
A signed int32 script variable that can be set and read within an executing MC-4x script
script.uint32.variable
number
An unsigned uint32 script variable that can be set and read within an executing MC-4x script
segment.max.acceleration
number
g
Maximum acceleration value that occured on the segment
segment.max.braking.acceleration
number
g
Maximum braking acceleration value that occured on the segment
segment.max.speed
number
km/h
Maximum speed on the segment
server.timestamp
number
seconds
Timestamp when server received a message
system.power.state
number
System pover state
system.uptime
number
seconds
Total time the system has been awake
system.wake.count
number
Number of times the system has woken up from sleep
timestamp
number
seconds
Message timestamp
total.idle.seconds
number
seconds
Total time that vehicle was in idling state
towing.events.count
number
The number of towing events
trip.duration
number
seconds
Trip duration
trip.mileage
number
km
Distance driven since engine start
udp.bytes.received
number
UDP bytes received
udp.bytes.sent
number
UDP bytes sent
udp.packets.received
number
UDP packets received
udp.packets.sent
number
UDP packets sent
udp.requests.unsolicited
number
Count of unsolicited inbound requests received via UDP
vehicle.bus.type
number
Verified vehicle bus type
vehicle.mileage
number
km
Total calculated mileage
vehicle.vin
string
VIN of vehicle
Properties
Custom command
custom
Send custom command to device
payload: Hex data to be sent to the device