Megastek S921

Megastek S921 home base station is an auxiliary device for prisoners' ankle models MT200X and MT65. If the ankle is within 15-20 meters of S921, the station will report the location (at home) to the server. Beyond this range, S921 will not be able to detect the ankle and report outdoor information. S921 is installed in a fixed position.

The device features a power off alarm, SOS emergency alarm, removal alarm, hit alarm, heartbeat package, internal battery, Wi-Fi, and more.

Usage specifics
Parameters (55)
Commands (1)
Megastek S921
Flespi parses telemetry data from your Megastek S921 into a standardized JSON and lets you send commands to Megastek S921 via API.

Here’s the like of JSON you get

{
    "ident": "352625333222111",
    "position.altitude": 273.61,
    "position.hdop": 0.7,
    "position.latitude": 49.069782,
    "position.longitude": 28.632826,
    "position.satellites": 18,
    "server.timestamp": 1650636570.426424,
    "timestamp": 1650636570.426424,
    "device.type.id": "Megastek S921",
    "channel.id": 1111,
    "protocol.id": "megastek"
    "engine.ignition.status": true
    ...
}

How to consume this nice JSON

The easiest way is to make a REST API request like this
curl -X GET  --header 'Authorization: FlespiToken XXX' 'https://flespi.io/gw/devices/<device id>/messages'

How to send commands to Megastek S921?

You can send a specific command. Show all commands

You can also

Modify messages

Add or remove parameters, inject data from LBS and reverse-geocoding services, etc.
Learn what plugins can do

Aggregate data

Determine trips and stops, catch events, detect geofence ins/outs, and more.
Learn about flespi analytics capabilities
activity.time
number
minute
The activity time during the sleep quality inspection period
alarm.event
boolean
Alarm event triggered
base.station.imei
string
Base station IMEI
base.station.remove.alarm
boolean
Base station removal alarm
base.station.signal.level
number
percentage
Base station signal level
battery.charging.status
boolean
Battery charging status
battery.level
number
percentage
Internal battery level
battery.low.alarm
boolean
Battery low alarm event
beidou.position.satellites
number
Quantity of satellites from BEIDOU used to calculate coordinates for given position information
blood.oxygen.saturation
number
percentage
Blood oxygen saturation SpO2
channel.id
number
ID of channel that received a message
deep.sleep.time
number
minute
The deep sleep time during the sleep quality inspection period
device.id
number
ID of device that received a message
device.name
string
Name of device that received a message
device.self.name
string
Device name reported by the device
device.type.id
number
ID of device type of device that received a message
disassemble.alarm
boolean
Disassemble alarm event
event.code
string
Protocol-specific event code string
external.powersource.status
boolean
External power source connection status
geofence.alarm
boolean
Geofence alarm event
geofence.id
number
Geofence ID
geofence.name
string
Geofence name
geofence.status
boolean
Geofence entered status
glonass.position.satellites
number
Quantity of satellites from GLONASS used to calculate coordinates for given position information
gps.position.satellites
number
Quantity of satellites from GPS used to calculate coordinates for given position information
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
heart.rate
number
bpm
Heart rate
ident
string
Device unique identifier like serial number, IMEI, etc
message.buffered.status
boolean
Black box message
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.speed
number
km/h
Instant speed at position detection moment
position.valid
boolean
Is position information accurate and valid for given timestamp
protocol.id
number
ID of protocol
restart.alarm
boolean
Restart alarm event
sensor.temperature
number
celsius
Temperature sensor value
server.timestamp
number
seconds
Timestamp when server received a message
shallow.sleep.time
number
minute
The shallow sleep time during the sleep quality test period
shutdown.alarm
boolean
Shutdown alarm event
sos.alarm
boolean
SOS alarm trigerred
startup.alarm
boolean
Startup alarm event
steps.count
number
The total number of steps for the day
timestamp
number
seconds
Message timestamp
vehicle.mileage
number
km
Total calculated mileage
wifi.mac.address
string
WiFi MAC address
wifi.signal.strength
number
WiFi signal strength, RSSI
wristband.connected.status
boolean
Wristband connection status
Properties
Custom Command
custom
Send custom command to device
payload: Command payload
Read GPRS schedule upload interval
{"payload":"R005"}
Set GPRS schedule upload interval 30 seconds
{"payload":"W005,1"}