I am familiar with the old codes: BT40|BT60|BT85|PBT8 Anyone know what the code is for P85+, 70D, 85D, and P85D? Thanks!
Sorry I guess I was a little unclear. I am talking about the official Tesla Option Codes that define your vehicle configuration.
P85D is simple, it's "P85D". Mercury: Descriptions from the following sources: - Tesla Model S Options Decoder - 2015 Tesla All Models Colors of Touch Up Paint - Tesla scripts If you look up "window.Tesla.pricebook_changes" in script.min.js referenced by the source at Model S Design Studio | Tesla Motors, there's some interesting commentary there about changes in options/configurations in the configurator.
From the configurator source (scripts.min.js): Web searches are handy. This URL has a lot of goodies to read: http://www.teslamotors.com/configurator/pricebook/?pricebook=MS_US
Based on experimentation with what the API provides for different cars: 85D's have BT85 70D's have BT70 I think some P85D cars have BT85 and some don't (I know some P85D owners were complaining about VisibleTesla saying they had a 70 kWh battery we changed the code to presume they had the BT85 code and the fall through default was 70 kWh battery). All P85D's have the P85D code.
Thanks. If the 85D returns BT85 how do you differentiate between an 85 and an 85D? Is there an AWD code also returned? - - - Updated - - - Thanks! I just figured that out today as I looked through the references that Brian provided.
AWD vehicles have the code DV4W. Newer RWD vehicles will have DV2W (but you can't count on that since older ones won't). The logic in this file from the TesaClient library that's used by VisibleTesla may be instructive to you: TeslaClient/Options.java at master · jpasqua/TeslaClient · GitHub Doesn't look like jpasqua has committed a fix for the P85D vehicles showing as 70 kWh batteries though.