Hi OVMS Developers,
With a little help from my AI friends, I have submitted a Pull Request to expand the Maxus T90 EV (MT90) vehicle module.
Summary of Enhancements BMS Telemetry (0x748 / 0x7C8):
PID 0xD117: 0.1% high-resolution SOC (takes precedence over the VCU integer SOC 0xE002).
PID 0xB105: Pack current (0.1 A resolution, offset 32768, negative during charge). Calculates instant pack power and integrates session ms_v_charge_kwh.
PID 0xB11E: Pack voltage (0.1 V resolution).
PID 0xB110: Max/Min/Avg cell temperatures with multi-frame collection.
State Machine & Charging Detection:
PID 0xE015: VCU ignition state tracking (ms_v_env_on).
PID 0xE018: VCU High-Voltage active status.
Charging state (PollState 2) active when HV is engaged (0xE018 > 0) while ignition (0xE015) is off. Includes a 120s watchdog to detect charge completion/sleep.
Passive Body CAN Decoding (CAN1 500kbps):
0x281: Lock / unlock status (ms_v_env_locked).
0x375: Front/Rear door states (ms_v_door_fl/fr/rl/rr) and headlight status.
0x510: HVAC fan speed step (ms_v_env_cabinfan) and "temperature" setpoint.
0x540: 24-bit little-endian odometer decoding (0.1 km resolution).
Multi-frame Reassembly:
Multi-frame collection for extended VIN (0xF190) across 3 CAN frames (3 + 7 + 7 bytes) to reliably capture full 17-character VINs.
Validation Tested on a physical Maxus T90 EV during a 58 km commute followed by a 7 kW AC charging session to 100% SOC. Telemetry logs confirm clean voltage/current dynamics, precise SOC tracking, and accurate charge duration/energy accumulation.
The Pull Request is available here: https://github.com/jmariuse2/Open-Vehicle-Monitoring-System-3/pull/new/maxus...
Documentation (components/vehicle_maxus_t90/docs/index.rst) has also been updated. I welcome any feedback or code review suggestions.
Best regards,
Jan Marius Evang