Hi everyone, I wanted to share a project that isn't mine (GitHub - yash-srivastava/Overdrive-release: Advanced Sentry Mode for BYD Vehicles · GitHub), but it's an app for the BYD tablet whose main function is to record camera footage. It also gathers other valuable information like telemetry, but I spoke with the developer and asked if that telemetry could be sent via MQTT, and he implemented that functionality a while ago. I'm sharing all the information it retrieves from the car in JSON format. The sensor data needs to be generated using YAML, but that's nothing an AI can't handle quickly.
{
"utc": 1779878511,
"soc": 34,
"power": 1,
"speed": 0,
"lat": -34.89337279,
"lon": -56.18355795,
"is_charging": 0,
"is_dcfc": 0,
"is_parked": 0,
"elevation": 40.662109375,
"ext_temp": 13,
"batt_temp": 14,
"odometer": 70003,
"soh": 94.28359317000744,
"capacity": 14.2,
"gear": "D",
"consumption_50km": 11.7,
"driving_time_hours": 196.6,
"key_battery": 0,
"ev_range_km": 137,
"vin": "byd3D31AFC660C3813B",
"hv_pack_v": 500.9,
"cell_v_max": 3.273,
"cell_v_min": 3.267,
"cell_v_delta": 0.006000000000000227,
"capacity_ah": 125,
"cell_t_max": 15,
"cell_t_min": 14,
"cell_t_avg": 14,
"cell_t_delta": 1,
"inside_temp": 24,
"volt_12v": 13.6,
"batt_12v_level": 65535,
"accel_pct": 0,
"brake_pct": 0,
"steering_deg": -6.4,
"energy_mode": 3,
"op_mode": 1,
"total_elec_con": 8307,
"total_fuel_con": 0,
"ev_mileage_km": 1048575,
"charging_state": 15,
"charger_state": 1,
"charging_mode": 0,
"charging_gun": 1,
"charging_type": 1,
"charging_v2l": 0,
"wireless_charging_left": -2147482648,
"wireless_charging_right": -2147482648,
"wireless_charging_status": -2147482648,
"tyre_p_state_fl": 0,
"tyre_p_state_fr": 0,
"tyre_p_state_rl": 0,
"tyre_p_state_rr": 0,
"tyre_leak_fl": 0,
"tyre_leak_fr": 0,
"tyre_leak_rl": 0,
"tyre_leak_rr": 0,
"tyre_signal_fl": 0,
"tyre_signal_fr": 0,
"tyre_signal_rl": 0,
"tyre_signal_rr": 0,
"tyre_t_fl": 40,
"tyre_t_fr": 40,
"tyre_t_rl": 40,
"tyre_t_rr": 40,
"tyre_system_state": 0,
"tyre_temp_state": 0,
"door_lock": [
-1,
-1,
-1,
-1,
-1,
-1,
-1
],
"window_open": [
0,
0,
255,
0,
255,
255
],
"light_left_turn": -10011,
"light_right_turn": -10011,
"light_low_beam": 0,
"light_high_beam": 0,
"light_rear_fog": 0,
"light_front_fog": 0,
"light_hazard": 0,
"light_drl": 1,
"ac_on": 1,
"ac_cycle": 1,
"ac_wind": 3,
"ac_fan": 2,
"temp_unit": 1,
"seatbelt": [
65535,
0,
-10011,
0,
-10011
],
"seat_heat": [
0,
0
],
"seat_cool": [
0,
0
],
"sunroof_state": 0,
"sunroof_pos": 65535,
"drift_mode": 0,
"engine_coolant_level": 1,
"oil_level": 0,
"engine_code": "NULL",
"emergency_alarm": -2147482648,
"power_level": 2,
"mcu_status": 0,
"radar_distances": [
150,
150,
150,
150,
150,
150,
150,
150,
150
],
"speed_limit_warning": 0,
"key_start_state": 0,
"key_bt_low_power": 0,
"key_detection_reminder": 0,
"vd_timestamp": 1779878510
}