Code Monkey home page Code Monkey logo

Comments (11)

NirKli avatar NirKli commented on June 9, 2024 2

Are you referring to the trim badge displayed in the TeslaMate UI?

Yes. As well as what is in the database.

Understood. Since the trim badge data is sourced from the Tesla API, it's possible that Tesla labels this model in that particular way. We can investigate further to see if there's a discrepancy between Tesla's API data and the actual model specifics.

from teslamate.

cwanja avatar cwanja commented on June 9, 2024

What is stored in your cars table, removing the VIN?

What shows on the TeslaMate home page?

from teslamate.

NirKli avatar NirKli commented on June 9, 2024

Are you referring to the trim badge displayed in the TeslaMate UI?

from teslamate.

cwanja avatar cwanja commented on June 9, 2024

Are you referring to the trim badge displayed in the TeslaMate UI?

Yes. As well as what is in the database.

from teslamate.

pezbailarin avatar pezbailarin commented on June 9, 2024

This is my "cars" table, including the VIN. Sorry for the bad formatting.

id | eid | vid | model | efficiency | inserted_at | updated_at | vin | name | trim_badging | set
tings_id | exterior_color | spoiler_type | wheel_type | display_priority | marketing_name
----+-----------------+------------------+-------+------------+---------------------+---------------------+-------------------+--------------+--------------+----
---------+----------------+--------------+------------+------------------+----------------
1 | 929884241727749 | 1689304849517060 | 3 | 0.143 | 2023-12-12 19:02:18 | 2023-12-17 12:35:58 | LRW3E7FS7RC963406 | 10.000 Gauss | 50 |
1 | PearlWhite | None | Glider18 | 1 | SR+

from teslamate.

cwanja avatar cwanja commented on June 9, 2024

3 & 50 & SR+

Those attributes are the reason TeslaMate is displaying Model 3 SR+. You can see that in the marketing_name.

Current code looks at the model and marketing_name. Anyone with a non-Model 3 Highland share their cars table? My guess is it will be the same (looking at TeslaMate code), thus not able to differentiate between a Highland and non-Highland.

from teslamate.

pezbailarin avatar pezbailarin commented on June 9, 2024

I see. I didn't know if that was directly read from my car or somehow decoded from VIN. Well, thanks for taking a look, maybe I have a SR+ after all!

from teslamate.

cwanja avatar cwanja commented on June 9, 2024

I see. I didn't know if that was directly read from my car or somehow decoded from VIN. Well, thanks for taking a look, maybe I have a SR+ after all!

It is pulled directly from the API. If you are comfortable making API calls, you could pull your vehicle_data from the API and confirm what comes from Tesla.

https://www.teslaapi.io/vehicles/state-and-settings

from teslamate.

pezbailarin avatar pezbailarin commented on June 9, 2024

Definitely beyond my skills. Already took a while to learn enough to understand what a "cars" table is, and how to retrieve it:)

from teslamate.

DominikK0702 avatar DominikK0702 commented on June 9, 2024

Here i have the 'cars' table with a model 3 highland and a model y.

id eid vid model efficiency inserted_at updated_at vin name trim_badging settings_id exterior_color spoiler_type wheel_type display_priority marketing_name
2 9297092945XXXXX 1689XXXXXXXXXX Y 1702902957000 1702902958000 LRWYXXXXXXXXXXX 74D 2 MidnightSilver None Induction20Black 1 LR AWD
1 9298844120XXXXX 1689XXXXXXXXXX 3 1702902957000 1702904712000 LRW3XXXXXXXXXXX 74D 1 StealthGrey None Glider18 1 LR AWD

from teslamate.

cwanja avatar cwanja commented on June 9, 2024

Here i have the 'cars' table with a model 3 highland and a model y.

id eid vid model efficiency inserted_at updated_at vin name trim_badging settings_id exterior_color spoiler_type wheel_type display_priority marketing_name
2 9297092945XXXXX 1689XXXXXXXXXX Y 1702902957000 1702902958000 LRWYXXXXXXXXXXX 74D 2 MidnightSilver None Induction20Black 1 LR AWD
1 9298844120XXXXX 1689XXXXXXXXXX 3 1702902957000 1702904712000 LRW3XXXXXXXXXXX 74D 1 StealthGrey None Glider18 1 LR AWD

This adds more confusion in that yours is referenced as a LR AWD Model 3 Highland. Based upon this, there is not yet a way to designate a Highland Model 3 from the API.

Still interested if either of you could pull your vehicle_data to see what the API returns.

from teslamate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.