tesla_api 3.0.3 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +36 -0
- data/.tool-versions +1 -1
- data/docs/README.md +1 -1
- data/docs/api-basics/authentication.md +163 -36
- data/docs/api-basics/vehicles.md +5 -6
- data/docs/miscellaneous/endpoints.md +26 -4
- data/docs/vehicle/commands/climate.md +2 -0
- data/docs/vehicle/commands/homelink.md +1 -1
- data/docs/vehicle/commands/sharing.md +2 -2
- data/docs/vehicle/commands/valet.md +7 -5
- data/docs/vehicle/commands/wake.md +4 -1
- data/docs/vehicle/commands/windows.md +6 -2
- data/docs/vehicle/optioncodes.md +134 -61
- data/docs/vehicle/state/chargestate.md +17 -16
- data/docs/vehicle/state/climatestate.md +13 -19
- data/docs/vehicle/state/data.md +73 -61
- data/docs/vehicle/state/guisettings.md +1 -0
- data/docs/vehicle/state/nearbychargingsites.md +49 -74
- data/docs/vehicle/state/vehicleconfig.md +3 -3
- data/docs/vehicle/state/vehiclestate.md +43 -19
- data/lib/tesla_api/autopark.rb +6 -6
- data/lib/tesla_api/client.rb +88 -16
- data/lib/tesla_api/stream.rb +13 -13
- data/lib/tesla_api/vehicle.rb +5 -1
- data/lib/tesla_api/version.rb +1 -1
- data/spec/cassettes/client-login.yml +254 -46
- data/spec/cassettes/client-refresh.yml +109 -49
- data/spec/cassettes/vehicle-vehicle_data.yml +115 -0
- data/spec/lib/tesla_api/client_spec.rb +20 -8
- data/spec/lib/tesla_api/vehicle_spec.rb +12 -0
- data/tesla_api.gemspec +2 -2
- metadata +13 -11
- data/.travis.yml +0 -16
@@ -4,6 +4,9 @@
|
|
4
4
|
|
5
5
|
Wakes up the car from a sleeping state.
|
6
6
|
|
7
|
+
The API will return a response immediately, however it could take several seconds before the car is actually online and ready to receive other commands.
|
8
|
+
One way to deal with this is to call this endpoint in a loop until the returned state says "online", with a timeout to give up. In some cases, the wake up can be slow, so consider using a timeout of atleast 30 seconds.
|
9
|
+
|
7
10
|
### Response
|
8
11
|
|
9
12
|
```json
|
@@ -21,7 +24,7 @@ Wakes up the car from a sleeping state.
|
|
21
24
|
"in_service": false,
|
22
25
|
"id_s": "12345678901234567",
|
23
26
|
"calendar_enabled": true,
|
24
|
-
"api_version":
|
27
|
+
"api_version": 7,
|
25
28
|
"backseat_token": null,
|
26
29
|
"backseat_token_updated_at": null
|
27
30
|
}
|
@@ -4,13 +4,17 @@
|
|
4
4
|
|
5
5
|
Controls the windows. Will vent or close all windows simultaneously.
|
6
6
|
|
7
|
+
`lat` and `lon` values must be near the current location of the car for
|
8
|
+
`close` operation to succeed. For `vent`, the `lat` and `lon` values are
|
9
|
+
ignored, and may both be `0` (which has been observed from the app itself).
|
10
|
+
|
7
11
|
### Parameters
|
8
12
|
|
9
13
|
| Parameter | Example | Description |
|
10
14
|
| :-------- | :------ | :-------------------------------------------------------------------------- |
|
11
15
|
| command | close | What action to take with the windows. Allows the values `vent` and `close`. |
|
12
|
-
| lat | 0 |
|
13
|
-
| lon | 0 |
|
16
|
+
| lat | 0 | Your current latitude. See Notes above. |
|
17
|
+
| lon | 0 | Your current longitude. See Notes above. |
|
14
18
|
|
15
19
|
### Response
|
16
20
|
|
data/docs/vehicle/optioncodes.md
CHANGED
@@ -10,6 +10,9 @@ edit this page and submit a_
|
|
10
10
|
[_pull request_](https://github.com/timdorr/tesla-api/pulls)_. It is much
|
11
11
|
appreciated!_
|
12
12
|
|
13
|
+
**As of August 2019, Option Codes cannot be relied on.** Vehicles now
|
14
|
+
return a generic set of codes related to a Model 3.
|
15
|
+
|
13
16
|
| Code | Title | Description |
|
14
17
|
| :--- | :--- | :--- |
|
15
18
|
| MDLS | Model S | This vehicle is a Model S |
|
@@ -21,6 +24,7 @@ appreciated!_
|
|
21
24
|
| RENA | Region: North America | |
|
22
25
|
| RENC | Region: Canada | |
|
23
26
|
| REEU | Region: Europe | |
|
27
|
+
| ACL1 | Ludicrous Mode | Model X |
|
24
28
|
| AD02 | NEMA 14-50 | |
|
25
29
|
| AD04 | European 3-Phase | |
|
26
30
|
| AD05 | European 3-Phase, IT | |
|
@@ -41,29 +45,31 @@ appreciated!_
|
|
41
45
|
| AF00 | No HEPA Filter | Standard air filter, no air ionizer |
|
42
46
|
| AF02 | HEPA Filter | |
|
43
47
|
| AH00 | No Accessory Hitch | |
|
44
|
-
|
|
45
|
-
| APF0 | Autopilot Firmware 2.0 Base | |
|
46
|
-
| APF1 | Autopilot Firmware 2.0 Enhanced | |
|
47
|
-
| APF2 | Full Self-Driving Capability | |
|
48
|
-
| APH0 | Autopilot 2.0 Hardware | |
|
49
|
-
| APH2 | Autopilot 2.0 Hardware | |
|
48
|
+
| APB1 | Autopilot with convenience features | Model S |
|
50
49
|
| APBS | Autopilot | Model 3 Autopilot |
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
| APF0 | Autopilot Firmware 2.0 Base | |
|
51
|
+
| APF1 | Autopilot Firmware 2.0 Enhanced | |
|
52
|
+
| APFB | Full Self-Driving Hardware | Car has FSD hardware, but sofware option is not purchased |
|
53
|
+
| APF2 | Full Self-Driving Hardware (Activated) | Car has active FSD software purchase |
|
54
|
+
| APH1 | Hardware 1.0 | |
|
55
|
+
| APH2 | Hardware 2.0 | |
|
56
|
+
| APH3 | Hardware 2.5 | |
|
57
|
+
| APPF | Full Self-Driving Capability | |
|
58
|
+
| APH4 | Hardware 3.0 | |
|
56
59
|
| AU00 | No Audio Package | |
|
57
60
|
| AU01 | Ultra High Fidelity Sound | |
|
58
61
|
| AU3P | Sound Studio Package | Premium audio package |
|
59
62
|
| BC0B | Black Brake Calipers | |
|
60
63
|
| BC0R | Red Brake Calipers | |
|
61
64
|
| BC3B | Black Brake Calipers, Model 3 | |
|
62
|
-
| BCMB | Black Brake Calipers | |
|
65
|
+
| BCMB | Black Brake Calipers, Mando Brakes | |
|
63
66
|
| BCYR | Performance Brakes | |
|
64
67
|
| BG30 | No Badge | Model 3 |
|
68
|
+
| BG31 | AWD Badge | Model 3 |
|
69
|
+
| BG32 | Performance AWD Badge | Model 3 |
|
65
70
|
| BP00 | No Ludicrous | |
|
66
71
|
| BP01 | Ludicrous Speed Upgrade | |
|
72
|
+
| BP02 | Uncorked Acceleration | Non-Performance |
|
67
73
|
| BR00 | No Battery Firmware Limit | |
|
68
74
|
| BR03 | Battery Firmware Limit (60kWh) | |
|
69
75
|
| BR05 | Battery Firmware Limit (75kWh) | |
|
@@ -81,6 +87,7 @@ appreciated!_
|
|
81
87
|
| BTX8 | 85 kWh | |
|
82
88
|
| CC01 | Five Seat Interior | |
|
83
89
|
| CC02 | Six Seat Interior | |
|
90
|
+
| CC03 | Seven Seat Interior | |
|
84
91
|
| CC04 | Seven Seat Interior | |
|
85
92
|
| CC12 | Six Seat Interior with Center Console | |
|
86
93
|
| CDM0 | No CHAdeMO Charging Adaptor | |
|
@@ -94,16 +101,22 @@ appreciated!_
|
|
94
101
|
| COL0 | Signature | |
|
95
102
|
| COL1 | Solid | |
|
96
103
|
| COL2 | Metallic | |
|
97
|
-
| COL3 | Tesla Multi-Coat | |
|
104
|
+
| COL3 | Tesla Multi-Coat | |
|
105
|
+
| COBE | Country: Belgium | |
|
106
|
+
| CODE | Country: Germany | |
|
107
|
+
| COES | Country: Spain | |
|
108
|
+
| COFR | Country: France | |
|
109
|
+
| CONL | Country: Netherlands | |
|
98
110
|
| COUS | Country: United States | |
|
99
|
-
|
|
111
|
+
| CPF0 | Standard Connectivity | |
|
112
|
+
| CPF1 | Premium Connectivity | |
|
100
113
|
| CPW1 | 20" Performance Wheels | |
|
101
|
-
| CW00 | Weather Package | No Cold Weather Package |
|
114
|
+
| CW00 | No Weather Package | No Cold Weather Package |
|
102
115
|
| CW02 | Weather Package | Subzero Weather Package |
|
103
116
|
| DA00 | No Autopilot | |
|
104
117
|
| DA01 | Active Safety (ACC,LDW,SA) | Drivers Assistance Package |
|
105
118
|
| DA02 | Autopilot Convenience Features | |
|
106
|
-
| DCF0 | Autopilot Convenience Features
|
119
|
+
| DCF0 | Autopilot Convenience Features | |
|
107
120
|
| DRLH | Left Hand Drive | |
|
108
121
|
| BC3R | Performance Brakes | Model 3 |
|
109
122
|
| DRRH | Right Hand Drive | |
|
@@ -118,9 +131,10 @@ appreciated!_
|
|
118
131
|
| FG00 | No Exterior Lighting Package | |
|
119
132
|
| FG01 | Fog Lamps | Exterior Lighting Package |
|
120
133
|
| FG02 | Fog Lamps | Fog Lamps |
|
121
|
-
| FG31 | Fog Lamps | Premium Fog Lights
|
122
|
-
| FM3B | Performance Package
|
123
|
-
|
|
134
|
+
| FG31 | Fog Lamps | Premium Fog Lights | Model 3
|
135
|
+
| FM3B | Performance Package | Model 3 |
|
136
|
+
| FM3U | Acceleration Boost | Model 3 Long Range All-Wheel Drive |
|
137
|
+
| FMP6 | Performance Firmware | |
|
124
138
|
| FR01 | Base Front Row | |
|
125
139
|
| FR02 | Ventilated Front Seats | |
|
126
140
|
| FR03 | FR03 | |
|
@@ -129,35 +143,41 @@ appreciated!_
|
|
129
143
|
| HC00 | No Home Charging installation | |
|
130
144
|
| HC01 | Home Charging Installation | |
|
131
145
|
| HM31 | Teck Package - Homelink | Homelink |
|
132
|
-
| HL31 | Head Lamp
|
146
|
+
| HL31 | Head Lamp | Model 3 Uplevel Headlamps |
|
133
147
|
| HP00 | No HPWC Ordered | |
|
134
148
|
| HP01 | HPWC Ordered | |
|
135
|
-
| ID3W |
|
149
|
+
| ID3W | Wood Decor | Model 3 |
|
136
150
|
| IDBA | Dark Ash Wood Decor | |
|
137
151
|
| IDBO | Figured Ash Wood Decor | |
|
138
152
|
| IDCF | Carbon Fiber Decor | |
|
153
|
+
| IDHM | Matte Obeche Wood Decor | |
|
139
154
|
| IDOK | Oak Decor | |
|
140
155
|
| IDOM | Matte Obeche Wood Decor | |
|
141
156
|
| IDOG | Gloss Obeche Wood Decor | |
|
142
157
|
| IDLW | Lacewood Decor | |
|
143
158
|
| IDPB | Piano Black Decor | |
|
144
159
|
| IN3BB | All Black Partial Premium Interior | |
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
160
|
+
| IN3BW | Black and White Interior | Model 3 Interior |
|
161
|
+
| IN3PB | All Black Premium Interior | Model 3 Interior |
|
162
|
+
| IN3PW | All White Premium Interior | Model 3 Interior |
|
163
|
+
| INBBW | White Interior | |
|
164
|
+
| INB3C | Premium beige interior with oak wood finishes | Model X |
|
165
|
+
| INBC3W | Premium black and white interior with Carbon Fiber decor | Model X |
|
166
|
+
| INBFP | Classic Black Interior | |
|
167
|
+
| INBPP | Black Interior | |
|
168
|
+
| INBPW | White Seats Interior | |
|
169
|
+
| INBTB | Multi-Pattern Black Interior | |
|
170
|
+
| INFBP | Black Premium Interior | |
|
171
|
+
| INLPC | Cream Interior | |
|
172
|
+
| INLPP | Black / Light Headliner Interior | |
|
153
173
|
| INWPT | Tan Interior | |
|
154
174
|
| INYPB | All Black Premium Interior | |
|
155
175
|
| INYPW | Black and White Premium Interior | |
|
156
|
-
| IL31 | Interior Ambient Lighting | |
|
176
|
+
| IL31 | Interior Ambient Lighting Interior | |
|
157
177
|
| IVBPP | All Black Interior | |
|
158
178
|
| IVBSW | Ultra White Interior | |
|
159
179
|
| IVBTB | All Black Interior | |
|
160
|
-
| IVLPC | Vegan Cream | |
|
180
|
+
| IVLPC | Vegan Cream Interior | |
|
161
181
|
| IX00 | No Extended Nappa Leather Trim | |
|
162
182
|
| IX01 | Extended Nappa Leather Trim | |
|
163
183
|
| LLP1 | LLP1 | |
|
@@ -176,40 +196,71 @@ appreciated!_
|
|
176
196
|
| LT6P | LT6P | |
|
177
197
|
| LT6W | White Base Lower Trim | |
|
178
198
|
| LTPB | Lower Trim PUR Black | |
|
199
|
+
| LTPW | Lower Trim PUR White | |
|
179
200
|
| ME01 | Memory Seats | |
|
180
201
|
| ME02 | Seat Memory | Seat Memory LHD Driver |
|
181
|
-
| MI00 |
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
202
|
+
| MI00 | 1st Generation Production| Model 3 (2019), Model S (Nosecone), Model X (2016) |
|
203
|
+
| MI01 | 2nd Generation Production | Model 3 (2020), Model S (2016 Facelit), Model X (2017) |
|
204
|
+
| MI02 | 3rd Generation Production | Model 3 (2021), Model X (2017) |
|
205
|
+
| MI03 | 4th Generation Production | Model S (2018), Model X (2018) |
|
206
|
+
| MI04 | 5th Generation Production | Model S (2019/2020), Model X (2020/2021) |
|
186
207
|
| MR31 | Tech Package - Mirror -YES | Uplevel Mirrors |
|
187
|
-
| MT300 | Standard Range Rear-Wheel Drive | |
|
188
|
-
| MT301 | Standard Range Plus Rear-Wheel Drive | |
|
189
|
-
| MT302 | Long Range Rear-Wheel Drive | |
|
190
|
-
| MT303 | Long Range All-Wheel Drive | |
|
191
|
-
| MT304 | Long Range All-Wheel Drive Performance | |
|
192
|
-
| MT305 | Mid Range Rear-Wheel Drive | |
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
208
|
+
| MT300 | Standard Range Rear-Wheel Drive | Model 3 |
|
209
|
+
| MT301 | Standard Range Plus Rear-Wheel Drive | Model 3 |
|
210
|
+
| MT302 | Long Range Rear-Wheel Drive | Model 3 |
|
211
|
+
| MT303 | Long Range All-Wheel Drive | Model 3 |
|
212
|
+
| MT304 | Long Range All-Wheel Drive Performance | Model 3 |
|
213
|
+
| MT305 | Mid Range Rear-Wheel Drive | Model 3 |
|
214
|
+
| MT307 | Mid Range Rear-Wheel Drive | Model 3 |
|
215
|
+
| MT308 | Standard Range Plus Rear-Wheel Drive | Model 3 2019 Refresh |
|
216
|
+
| MT309 | Standard Range Plus Rear-Wheel Drive | Model 3 2019 Refresh |
|
217
|
+
| MT314 | Standard Range Plus Rear-Wheel Drive | Model 3 2021 Refresh |
|
218
|
+
| MT320 | Standard Range Plus Rear-Wheel Drive | Model 3 2021 Refresh |
|
219
|
+
| MT336 | Standard Range Plus Rear-Wheel Drive | Model 3 2020 Refresh |
|
220
|
+
| MT337 | Standard Range Plus Rear-Wheel Drive | Model 3 2021 Refresh |
|
221
|
+
| MT310 | Long Range All-Wheel Drive | Model 3 |
|
222
|
+
| MT311 | Long Range All-Wheel Drive Performance | Model 3 |
|
223
|
+
| MT315 | Long Range All-Wheel Drive | Model 3 2021 Refresh |
|
224
|
+
| MT316 | Long Range All-Wheel Drive | Model 3 2021 Refresh |
|
225
|
+
| MT317 | Long Range All-Wheel Drive Performance | Model 3 2021 Refresh |
|
226
|
+
| MTS01 | Standard Range | Model S |
|
227
|
+
| MTS03 | Long Range | Model S |
|
228
|
+
| MTS04 | Performance | Model S |
|
229
|
+
| MTS05 | Long Range | Model S |
|
230
|
+
| MTS06 | Performance | Model S |
|
231
|
+
| MTS07 | Long Range Plus | Model S |
|
232
|
+
| MTS08 | Performance | Model S |
|
233
|
+
| MTS09 | Plaid+ | Model S Refresh 2021 |
|
234
|
+
| MTS10 | Long Range | Model S Refresh 2021 |
|
235
|
+
| MTS11 | Plaid | Model S Refresh 2021 |
|
236
|
+
| MTX01 | Standard Range | Model X |
|
237
|
+
| MTX03 | Long Range | Model X |
|
238
|
+
| MTX04 | Performance | Model X |
|
239
|
+
| MTX05 | Long Range Plus | Model X |
|
240
|
+
| MTX06 | Performance | Model X |
|
241
|
+
| MTX07 | Long Range Plus | Model X |
|
242
|
+
| MTX08 | Performance | Model X |
|
243
|
+
| MTX10 | Long Range | Model X Refresh 2021 |
|
244
|
+
| MTX11 | Plaid | Model X Refresh 2021 |
|
245
|
+
| MTY02 | Long Range Rear-Wheel Drive | Model Y |
|
246
|
+
| MTY03 | Long Range All-Wheel Drive | Model Y |
|
247
|
+
| MTY04 | Long Range All-Wheel Drive Performance | Model Y |
|
196
248
|
| OSSB | Safety CA Black | |
|
197
249
|
| OSSW | Safety CA White | |
|
198
250
|
| PA00 | No Paint Armor | |
|
199
251
|
| PBCW | Solid White Color | |
|
200
252
|
| PBSB | Solid Black Color | |
|
201
|
-
|
|
253
|
+
| PBT85 | Performance 85kWh | |
|
202
254
|
| PC30 | No Performance Chassis | |
|
203
255
|
| PC31 | Performance Chassis | |
|
204
256
|
| PF00 | No Performance Legacy Package | |
|
205
257
|
| PF01 | Performance Legacy Package | |
|
206
258
|
| PI00 | No Premium Interior | |
|
207
259
|
| PI01 | Premium Upgrades Package | |
|
208
|
-
| PK00 | Parking Sensors | |
|
260
|
+
| PK00 | Parking Sensors | No Parking Sensors |
|
209
261
|
| PMAB | Anza Brown Metallic Color | |
|
210
262
|
| PMBL | Obsidian Black Multi-Coat Color | |
|
211
263
|
| PMMB | Monterey Blue Metallic Color | |
|
212
|
-
| PMMR | Red Multi-Coat Color | |
|
213
264
|
| PMNG | Midnight Silver Metallic Color | |
|
214
265
|
| PMSG | Green Metallic Color| |
|
215
266
|
| PMSS | San Simeon Silver Metallic Color | |
|
@@ -230,12 +281,14 @@ appreciated!_
|
|
230
281
|
| RS3H | Second Row Seat Rear Seats (Heated) | Model 3 |
|
231
282
|
| PX00 | No Performance Plus Package | |
|
232
283
|
| PX01 | Performance Plus | |
|
284
|
+
| PX4D | 90 kWh Performance | |
|
233
285
|
| PX6D | Zero to 60 in 2.5 sec | |
|
234
286
|
| P85D | P85D | |
|
235
287
|
| QLBS | Black Premium Interior | |
|
236
288
|
| QLFC | Cream Premium Interior | |
|
237
289
|
| QLFP | Black Premium Interior | |
|
238
290
|
| QLFW | White Premium Interior | |
|
291
|
+
| QLPW | White Premium Interior | |
|
239
292
|
| QLWS | White Premium Interior | |
|
240
293
|
| QNET | Tan NextGen | |
|
241
294
|
| QPBT | Black Textile Interior | |
|
@@ -245,6 +298,7 @@ appreciated!_
|
|
245
298
|
| QTFC | Cream Premium Interior | |
|
246
299
|
| QTFP | Black Premium Seats | |
|
247
300
|
| QTFW | White Premium Interior | |
|
301
|
+
| QTPB | Black Leather Tesla Premium Seats | |
|
248
302
|
| QTPC | Cream Premium Seats | |
|
249
303
|
| QTPP | Black Premium Seats | |
|
250
304
|
| QTPT | Tan Premium Seats | |
|
@@ -254,30 +308,37 @@ appreciated!_
|
|
254
308
|
| QVPC | Vegan Cream Seats | |
|
255
309
|
| QVPP | Vegan Cream Seats | |
|
256
310
|
| QVSW | White Tesla Seats | |
|
311
|
+
| QXMB | Black Leather Seat | |
|
257
312
|
| RCX0 | No Rear Console | |
|
258
313
|
| RCX1 | Rear Console | |
|
259
|
-
| RF3G |
|
260
|
-
| RFBK | Black Roof | |
|
261
|
-
| RFBC | Body Color Roof |
|
262
|
-
| RFFG | Glass Roof | |
|
263
|
-
|
|
264
|
-
| RFP2 | Sunroof | |
|
265
|
-
| RFPX |
|
314
|
+
| RF3G | Glass Roof | Model 3 |
|
315
|
+
| RFBK | Black Roof | Model S |
|
316
|
+
| RFBC | Body Color Roof | Model S |
|
317
|
+
| RFFG | Glass Roof | Model S 2017 Production Refresh |
|
318
|
+
| RFPO | All Glass Panoramic Roof | Model S 2015 Production Refresh |
|
319
|
+
| RFP2 | Sunroof | Model S 2016 Production Refresh |
|
320
|
+
| RFPX | Glass Roof | Model X |
|
321
|
+
| RSF1 | Rear Heated Seats | |
|
322
|
+
| RU00 | No Range Upgrade | |
|
266
323
|
| S01B | Black Textile Seats | |
|
267
324
|
| S02B | Seat | BLK Leather |
|
268
325
|
| S02P | S02P | |
|
326
|
+
| S02W | White Seats | |
|
269
327
|
| S07W | White Seats | |
|
270
328
|
| S31B | S31B | |
|
271
329
|
| S32C | S32C | |
|
272
330
|
| S32P | S32P | |
|
273
331
|
| S32W | S32W | |
|
274
332
|
| S3PB | Seat Black PUR Premium Seats | |
|
333
|
+
| S3PW | Seat White PUR Premium Seats | |
|
334
|
+
| SA3P | Seat Adjustment - Power | Model 3 |
|
275
335
|
| SC00 | No Supercharging | |
|
276
336
|
| SC01 | Supercharging Enabled | |
|
277
337
|
| SC04 | Pay Per Use Supercharging | |
|
278
338
|
| SC05 | Free Supercharging | |
|
279
339
|
| SLR0 | No Rear Spoiler | |
|
280
340
|
| SP00 | No Security Package | |
|
341
|
+
| SP01 | Security Package | |
|
281
342
|
| SR01 | Standard 2nd row | Second Row Seat |
|
282
343
|
| SR06 | Seven Seat Interior | |
|
283
344
|
| SR07 | Standard 2nd row | |
|
@@ -288,19 +349,21 @@ appreciated!_
|
|
288
349
|
| STY5S | Five Seat Interior | |
|
289
350
|
| STY7S | Seven Seat Interior | |
|
290
351
|
| SU00 | Standard Suspension | |
|
291
|
-
| SU01 | Smart Air Suspension | |
|
292
|
-
|
|
352
|
+
| SU01 | Smart Air Suspension | |
|
353
|
+
| SU03 | Suspension Update | Model X 2020 |
|
354
|
+
| SU3C | Coil Spring Suspension | |
|
293
355
|
| T3MA | Tires M3 | 18 Michelin All Season, Square |
|
294
356
|
| TIC4 | Tires | All-Season Tires |
|
295
357
|
| TIG2 | Summer Tires | |
|
296
358
|
| TIM7 | Summer Tires | |
|
297
359
|
| TIMP | Tires | Michelin Primacy 19" Tire |
|
298
|
-
| TIP0 | All-season Tires | |
|
360
|
+
| TIP0 | All-season Tires | Pirelli Scorpion Zero Asimmetrico 22” Tire |
|
299
361
|
| TM00 | Model Trim | General Production Series Vehicle |
|
300
362
|
| TM02 | General Production Signature Trim | |
|
301
363
|
| TM0A | ALPHA PRE-PRODUCTION NON-SALEABLE | |
|
302
364
|
| TM0B | BETA PRE-PRODUCTION NON-SALEABLE | |
|
303
365
|
| TM0C | PRE-PRODUCTION SALEABLE | |
|
366
|
+
| TP01 | No Technology Package | |
|
304
367
|
| TP01 | Tech Package - No Autopilot | |
|
305
368
|
| TP02 | Tech Package with Autopilot | |
|
306
369
|
| TP03 | Tech Package with Enhanced Autopilot | |
|
@@ -323,10 +386,13 @@ appreciated!_
|
|
323
386
|
| SPT31 | Performance Upgrade | Model 3 |
|
324
387
|
| SPTY1 | Performance Upgrade | Model Y |
|
325
388
|
| W32P | 20" Performance Wheels | Model 3 |
|
389
|
+
| W32D | 20" Gray Performance Wheels | Model 3 |
|
326
390
|
| W38B | 18" Aero Wheels | For the Model 3 and Model Y |
|
327
391
|
| W39B | 19" Sport Wheels | |
|
328
392
|
| WR00 | No Wrap | |
|
393
|
+
| WS90 | 19" Tempest Wheels | Model S Refresh 2021 |
|
329
394
|
| WT19 | 19" Wheels | |
|
395
|
+
| WS10 | 21" Arachnid Wheels | Model S Refresh 2021 |
|
330
396
|
| WT20 | 20" Silver Slipstream Wheels | |
|
331
397
|
| WT22 | 22" Silver Turbine Wheels | |
|
332
398
|
| WTAB | 21" Black Arachnid Wheels | |
|
@@ -336,12 +402,15 @@ appreciated!_
|
|
336
402
|
| WTNS | 20" Nokian Winter Tires (studded) | |
|
337
403
|
| WTP2 | 20" Pirelli Winter Tires | |
|
338
404
|
| WTSC | 20" Sonic Carbon Wheels | |
|
405
|
+
| WTSD | 20" Two-Tone Slipstream Wheels | |
|
339
406
|
| WTSG | 21" Turbine Wheels | |
|
340
407
|
| WTSP | 21" Turbine Wheels | |
|
341
408
|
| WTSS | 21" Turbine Wheels | |
|
409
|
+
| WTHX | 20" Turbine Wheels | |
|
410
|
+
| WTTG | 19" Cyclone Wheels | |
|
342
411
|
| WTTB | 19" Cyclone Wheels | |
|
343
412
|
| WTTC | 21" Sonic Carbon Twin Turbine Wheels | |
|
344
|
-
| WTUT | 22" Onyx Black Wheels | |
|
413
|
+
| WTUT | 22" Onyx Black Wheels | 22" Ultrasonic Turbine wheels |
|
345
414
|
| WTW2 | 19" Nokian Winter Wheel Set | |
|
346
415
|
| WTW3 | 19" Pirelli Winter Wheel Set | |
|
347
416
|
| WTW4 | 19" Winter Tire Set | |
|
@@ -350,6 +419,8 @@ appreciated!_
|
|
350
419
|
| WTW7 | 19" Nokian Winter Tires (non-studded) | |
|
351
420
|
| WTW8 | 19" Pirelli Winter Tires | |
|
352
421
|
| WTX1 | 19" Michelin Primacy Tire Upgrade | |
|
422
|
+
| WX00 | 20" Cyberstream Wheels | Model X Refresh 2021 |
|
423
|
+
| WX20 | 22" Turbine Wheels | Model X Refresh 2021 |
|
353
424
|
| WXNN | No 20" Nokian Winter Tires (non-studded) | |
|
354
425
|
| WXNS | No 20" Nokian Winter Tires (studded) | |
|
355
426
|
| WXP2 | No 20" Pirelli Winter Tires | |
|
@@ -364,9 +435,10 @@ appreciated!_
|
|
364
435
|
| WY19B | 19" Sport Wheels | |
|
365
436
|
| WY20P | 20" Performance Wheels | |
|
366
437
|
| X001 | Override: Power Liftgate | |
|
438
|
+
| X002 | Override: Manual Liftgate | |
|
367
439
|
| X003 | Maps & Navigation | |
|
368
440
|
| X004 | Override: No Navigation | |
|
369
|
-
| X007 |
|
441
|
+
| X007 | Exterior Lights Override: Premium exterior lighting YES | |
|
370
442
|
| X010 | Base Mirrors | |
|
371
443
|
| X011 | Override: Homelink | |
|
372
444
|
| X012 | Override: No Homelink | |
|
@@ -376,7 +448,8 @@ appreciated!_
|
|
376
448
|
| X020 | No Performance Exterior | |
|
377
449
|
| X021 | No Rear Carbon Fiber Spoiler | |
|
378
450
|
| X024 | Performance Package | |
|
379
|
-
| X025 | Performance Powertrain | |
|
451
|
+
| X025 | No Performance Powertrain | |
|
452
|
+
| X026 | Door handle | No light handle |
|
380
453
|
| X027 | Lighted Door Handles | Light handle |
|
381
454
|
| X028 | Battery Badge | Normal Badging |
|
382
455
|
| X029 | Remove Battery Badge | |
|
@@ -10,46 +10,47 @@ Information on the state of charge in the battery and its various settings.
|
|
10
10
|
{
|
11
11
|
"response": {
|
12
12
|
"battery_heater_on": false,
|
13
|
-
"battery_level":
|
14
|
-
"battery_range":
|
15
|
-
"charge_current_request":
|
16
|
-
"charge_current_request_max":
|
13
|
+
"battery_level": 90,
|
14
|
+
"battery_range": 224.47,
|
15
|
+
"charge_current_request": 40,
|
16
|
+
"charge_current_request_max": 40,
|
17
17
|
"charge_enable_request": true,
|
18
|
-
"charge_energy_added":
|
18
|
+
"charge_energy_added": 29.41,
|
19
19
|
"charge_limit_soc": 90,
|
20
20
|
"charge_limit_soc_max": 100,
|
21
21
|
"charge_limit_soc_min": 50,
|
22
22
|
"charge_limit_soc_std": 90,
|
23
|
-
"charge_miles_added_ideal":
|
24
|
-
"charge_miles_added_rated":
|
25
|
-
"charge_port_cold_weather_mode":
|
26
|
-
"charge_port_door_open":
|
23
|
+
"charge_miles_added_ideal": 118.5,
|
24
|
+
"charge_miles_added_rated": 95.0,
|
25
|
+
"charge_port_cold_weather_mode": null,
|
26
|
+
"charge_port_door_open": true,
|
27
27
|
"charge_port_latch": "Engaged",
|
28
28
|
"charge_rate": 0.0,
|
29
29
|
"charge_to_max_range": false,
|
30
30
|
"charger_actual_current": 0,
|
31
31
|
"charger_phases": null,
|
32
|
-
"charger_pilot_current":
|
32
|
+
"charger_pilot_current": 40,
|
33
33
|
"charger_power": 0,
|
34
34
|
"charger_voltage": 0,
|
35
|
-
"charging_state": "
|
36
|
-
"conn_charge_cable": "
|
37
|
-
"est_battery_range":
|
35
|
+
"charging_state": "Complete",
|
36
|
+
"conn_charge_cable": "SAE",
|
37
|
+
"est_battery_range": 171.24,
|
38
38
|
"fast_charger_brand": "<invalid>",
|
39
39
|
"fast_charger_present": false,
|
40
40
|
"fast_charger_type": "<invalid>",
|
41
|
-
"ideal_battery_range":
|
41
|
+
"ideal_battery_range": 280.59,
|
42
42
|
"managed_charging_active": false,
|
43
43
|
"managed_charging_start_time": null,
|
44
44
|
"managed_charging_user_canceled": false,
|
45
45
|
"max_range_charge_counter": 0,
|
46
|
+
"minutes_to_full_charge": 0,
|
46
47
|
"not_enough_power_to_heat": false,
|
47
48
|
"scheduled_charging_pending": false,
|
48
49
|
"scheduled_charging_start_time": null,
|
49
50
|
"time_to_full_charge": 0.0,
|
50
|
-
"timestamp":
|
51
|
+
"timestamp": 1604977209418,
|
51
52
|
"trip_charging": false,
|
52
|
-
"usable_battery_level":
|
53
|
+
"usable_battery_level": 90,
|
53
54
|
"user_charge_enable_request": null
|
54
55
|
}
|
55
56
|
}
|