teslamate icon indicating copy to clipboard operation
teslamate copied to clipboard

RWD shows up as SR+ despite SR+ not being sold for 2.5 years

Open ygx0 opened this issue 1 year ago • 9 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

What happened?

Any base model Model 3 shows up as SR+ despite different battery sizes, model years, and feature differences.

Expected Behavior

2022 and 2023 base model Model 3s should show up as RWD instead of SR+

Steps To Reproduce

Home Page Car Model Name

Relevant log output

N/A

Screenshots

No response

Additional data

No response

Type of installation

Docker

Version

1.28.5

ygx0 avatar May 10 '24 23:05 ygx0

I believe this is the mapping for the model names, but I am not sure how to specify RWD cars.

https://github.com/teslamate-org/teslamate/blob/a15631f2ff18b99023d562897de0f56ee3c38c0b/lib/teslamate/vehicles/vehicle.ex#L72

ygx0 avatar May 10 '24 23:05 ygx0

I can confirm this with my M3 RWD standard 2024 highland

famaia avatar May 11 '24 15:05 famaia

what is returned by the vehicle_config for model3 rwd?

https://github.com/teslamate-org/teslamate/issues/2494

swiffer avatar May 19 '24 13:05 swiffer

is there a shell command I can run to dump the result of the vehicle_config call?

ygx0 avatar Jul 10 '24 18:07 ygx0

what is returned by the vehicle_config for model3 rwd?

#2494

Here's my vehicle_config on my Model 3 2024 RWD SR 18". Hope it helps

"vehicle_config": { "aux_park_lamps": "None", "badge_version": 1, "can_accept_navigation_requests": true, "can_actuate_trunks": true, "car_special_type": "base", "car_type": "model3", "charge_port_type": "CCS", "cop_user_set_temp_supported": false, "dashcam_clip_save_supported": true, "default_charge_to_max": true, "driver_assist": "TeslaAP4", "ece_restrictions": true, "efficiency_package": "M3POPPYSEED2024", "eu_vehicle": true, "exterior_color": "UltraRed", "exterior_trim": "Black", "exterior_trim_override": "", "has_air_suspension": false, "has_ludicrous_mode": false, "has_seat_cooling": true, "headlamp_type": "Global", "interior_trim_type": "Black2", "key_version": 2, "motorized_charge_port": true, "paint_color_override": "", "performance_package": "Base", "plg": true, "pws": true, "rear_drive_unit": "PM216MOSFET", "rear_seat_heaters": 1, "rear_seat_type": 0, "rhd": false, "roof_color": "RoofColorGlass", "seat_type": null, "sentry_preview_supported": false, "spoiler_type": "None", "sun_roof_installed": null, "supports_qr_pairing": false, "third_row_seats": "None", "timestamp": 1720772906758, "trim_badging": "50", "use_range_badging": true, "utc_offset": 7200, "webcam_selfie_supported": true, "webcam_supported": true, "wheel_type": "Glider18" }

tomassanjuann avatar Jul 12 '24 08:07 tomassanjuann

Anything more needed? I can provide whatever needed to solve this. It's strange to see my M3 Highland as SR+ 😂

tomassanjuann avatar Jul 22 '24 08:07 tomassanjuann

🤣 haven't found the time to look into it yet. Will try this week

swiffer avatar Jul 22 '24 10:07 swiffer

Yeah, so looks like the problem is they still use "trim_badging": "50" which is indistinguishable for SR+ cars and RWD cars.

Probably "efficiency_package": "M3POPPYSEED2024" would be the best one to use to identify.

@tomassanjuann what did you run to get this result, so I can run it for a 2023 RWD too and we have both values to filter on.

ygx0 avatar Jul 22 '24 10:07 ygx0

Yeah, so looks like the problem is they still use "trim_badging": "50" which is indistinguishable for SR+ cars and RWD cars.

Probably "efficiency_package": "M3POPPYSEED2024" would be the best one to use to identify.

@tomassanjuann what did you run to get this result, so I can run it for a 2023 RWD too and we have both values to filter on.

Make a GET request to /api/1/vehicles/{vehicle_tag}/vehicle_data

https://developer.tesla.com/docs/fleet-api?shell#vehicle_data

tomassanjuann avatar Jul 23 '24 14:07 tomassanjuann