MMM-Powerwall icon indicating copy to clipboard operation
MMM-Powerwall copied to clipboard

Vehicle images might not be accurate

Open MikeBishop opened this issue 5 years ago • 1 comments

Right now, the car shown is always, well, mine. 😁

It should be possible to build the compositor URLs from the VehicleData and display the car indicated, but that's going to take some work. Some kind souls have already contributed some pointers in the right direction, but this is a big chunk of work for a relatively minor result.

MikeBishop avatar Jun 10 '20 02:06 MikeBishop

4ee9797 uses the API to generate compositor URLs that reflect the settings in the API, at least so far as vehicle model, exterior color, and wheels are concerned. However, it's entirely possible this conversion is incomplete. I think it should produce a reasonable image in most/all cases.

If you notice that your vehicle image is broken, please provide the following:

  • The correct URL for your vehicle image, e.g. from your account page on Tesla.com
  • The values returned from the Tesla API (https://owner-api.teslamotors.com/api/1/vehicles/<vehicle id>/data_request/vehicle_config)

MikeBishop avatar Jun 13 '20 20:06 MikeBishop