EUCData
Represents real-time telemetry data from an Electric Unicycle.
Physical measurements use metric units regardless of the wheel's display preference: speed in km/h, distance in km, voltage in V, current in A, temperature in °C, power in W, time durations in seconds, angles in degrees, torque in N·m, and tire pressure in kPa. usesMiles reports a wheel setting only; it does not change the units of these values.
Some protocol settings are encoded integers whose meaning or mode mapping varies by manufacturer/firmware. Those fields are identified as protocol-specific below rather than assigning a possibly misleading shared interpretation. Unsupported or unavailable optional measurements are null.
Parameters
Internal protocol frame identifier.
Current signed speed in km/h.
Battery-pack voltage in V.
Battery current in A; sign convention can depend on the protocol.
Primary wheel temperature in °C; the physical sensor represented varies by protocol.
Estimated or reported state of charge, in percent (0..100).
Current trip distance in km where reported. Legacy Ninebot telemetry only supplies an odometer, which is exposed in both distance and totalDistance.
Battery power in W, reported or derived from voltage and current.
PWM duty cycle in percent where available.
Unix epoch timestamp in milliseconds.
Raw BLE frame bytes used to produce this value.
Manufacturer name.
Device model name.
Device serial number, if available.
Device firmware version, if available.
Normalized charging state.
Elapsed ride/session time in seconds; may be estimated when the wheel does not report it.
Individual battery-cell voltages in V.
Motor temperature in °C.
Lifetime/odometer distance in km.
Protocol-specific pedals-mode code; mapping is not uniform across manufacturers.
Protocol-specific alarm-mode code.
Protocol-specific roll-angle-mode code.
True when the wheel reports imperial display mode, false for metric, or null when unknown. Metric units are still used for decoded physical measurements.
Auto-power-off delay in minutes (whole minutes, truncated). Protocols that encode this as a live countdown expose the time still remaining before the wheel auto-sleeps rather than a fixed configured delay, so the value can decrease frame to frame (Gotway/Begode do this and report seconds, truncated here to minutes).
Configured tilt-back speed threshold in km/h where its unit is defined by the protocol; otherwise the protocol's encoded integer is preserved.
Protocol-specific LED mode code.
Protocol-specific front-light mode code (for example, Begode 0=off, 1=on, 2=strobe).
Protocol-specific alert bit field.
Normalized wheel alarm state, if available.
Session top speed in km/h.
Protocol-specific fan status code; interpretation can vary.
Protocol-specific charging status code; use isCharging for the normalized state.
MOSFET temperature in °C.
Controller/board temperature in °C.
IMU temperature in °C.
Tire pressure in kPa.
CPU load in percent where available.
Speed limit in km/h. KingSong reports the configured max-speed/tilt-back setting here (also in wheelMaxSpeed); InMotion and Ninebot may report a runtime limit.
Alarm 1 speed threshold in km/h.
Alarm 2 speed threshold in km/h.
Alarm 3 speed threshold in km/h.
Configured maximum speed in km/h, as REPORTED by the wheel (never the last value written): the value io.github.tritbool.euc.ble.protocols.CommandType.SET_SPEED_LIMIT sets. Filled by every protocol that reports it: KingSong (settings frame), Gotway/ExtremeBull and Leaperkim/Nosfet (tiltback), Ninebot Z (speed-limit report), InMotion V9/P6 (status page tiltback). Null while the wheel has not reported it. Clients should read this field rather than brand-specific ones.
KingSong-reported trip distance in km; null until that value is received.
Pitch angle in degrees.
Motor phase current in A.
Roll angle in degrees.
Estimated torque in N·m.
Protocol-reported ride state/name; values can vary by manufacturer.
Cumulative lifetime ride time in seconds.
Cumulative lifetime powered-on time in seconds.
KingSong F6 runtime speed ceiling in km/h, independent of the configured speedLimit. Null until received; the reason for a reduction is not reported here.
InMotion V9/P6: true while the offroad/classic ride mode is active, from the status page polled alongside realtime. Null while the wheel has not answered one.
InMotion V9/P6: pedal sensitivity percent of the ACTIVE ride mode, from the status page. Null while the wheel has not answered one.
InMotion V9: pedal mounting angle in tenths of a degree, from the status page. Null while the wheel has not answered one.
InMotion V9: voice/speaker volume percent, from the status page. Null while the wheel has not answered one.
InMotion V9: true while the speaker is switched off, from the status page.
InMotion V9: AVAS wave-sound switch, from the status page.
InMotion V9: daytime running light switch, from the status page.