Fitrider M2 eBike

Fitrider M2 is an electric bicycle with a swappable battery design and build-in IoT/GPS. The bike features 14 or 16-inch wheels, a 10.4Ah battery, air tires, rear-wheel drive, front/tail lights, a quick-folding frame, and a drum brake, gyroscope. The bike can operate in three modes: pedaling without electric assist, pedaling with electric assist, and 100% electric.

Usage specifics
Parameters (27)
Settings (32)
Fitrider M2 eBike
Flespi parses telemetry data from your Fitrider M2 eBike into a standardized JSON and lets you send commands to Fitrider M2 eBike 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": "Fitrider M2 eBike",
    "channel.id": 1111,
    "protocol.id": "fitrider"
    "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 Fitrider M2 eBike?

You can use pre-defined settings to send instructions more conveniently. Show all settings

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
battery.level
number
percentage
Internal battery level
battery.voltage
number
volts
Internal battery voltage
channel.id
number
ID of channel that received a message
device.firmware.version
string
Firmware revision
device.id
number
ID of device that received a message
device.imei
string
IMEI of the device
device.name
string
Name of device that received a message
device.type.id
number
ID of device type of device that received a message
error.type
number
Protocol-specific error identification number
event.enum
number
Protocol-specific event code
fall.alarm
boolean
Fall alarm event
hardware.version
string
Hardware version
ident
string
Device unique identifier like serial number, IMEI, etc
payload.text
string
Text Payload received from device
peer
string
IP:port from which device connecting to the channel
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.timestamp
number
seconds
Timestamp when coordinates where calculated
power.on.status
boolean
Power-on device status
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
timestamp
number
seconds
Message timestamp
total.trip.duration
number
seconds
Total trips duration
trip.duration
number
seconds
Trip duration
trip.mileage
number
km
Distance driven since engine start
vehicle.mileage
number
km
Total calculated mileage
Properties
A28. Alarm buzzer
alarm_buzzer
A53. Set APN settings
apn
apn: APN
user: Username
password: Password
A62. Battery lock
battery_lock
A60. Battery unlock
battery_unlock
A71. Chainlock unlock
chainlock_unlock
A5. Clear single riding mileage
clear_single_mileage
A7. Clear single riding time
clear_single_time
A9. Clear total riding mileage
clear_total_mileage
A11. Clear total riding time
clear_total_time
A73. Enter pause mode
enter_pause
A75. Exit pause mode
exit_pause
A101. Set IOT parameters
iot_params
ip: Server IP address
port: Server port
user: Username
password: Password
A104. Modify IOT SN
iot_serial
sn: IOT serial number
A43. Lamp mode setting
lamp_mode
Used to set speed unit as kilometers/miles on display
mode: Mode
A37. Lamp switch setting
lamp_switch
switch: Off/On
A107. Motor lock
motor_lock
A105. Motor unlock
motor_unlock
A3. Power OFF
power_off
A1. Power ON
power_on
A97. Query $G signal intensity
query_4g_signal
A83. Query status of chain lock
query_chainlock_status
A18. Query GPS location data
query_gps
A21. Qurey hardware and firmware version
query_hw_fw
A24. Query IMEI number
query_imei
A77. Query IOT Log
query_iot_log
A15. Query vehicle parameters
query_params
A35. Query server parameters
query_server_params
A20. Reboot IOT
reboot
A33. Set server parameters
server_params
ip: Server IP address
port: Server port
times: Times of repeat packets
heartbeat: Heartbeat packet interval
veh_number: Vehicle number
rep_interval: GPS reporting interval
A58. Special alarm buzzer
special_alarm_buzzer
i: Time of buzzer ring
l: Time of that the buzzer does not sound
v: Number of rings
A13. Set the speed limit data
speed_limit
speed: Speed limit value
A39. Vibration sensitivity setting
vibration
sensitivity: Vibration sensitivity level