Replies: 13 comments 7 replies
-
Would be nice to have this! |
Beta Was this translation helpful? Give feedback.
-
Second best thing would be if there was a (community based?) list of SuperCharge locations and costs per kWh per country that you could easily import into Teslamate as Geofences. |
Beta Was this translation helpful? Give feedback.
-
This would seriously be such an awesome addition that I'm surprised that it's not already in there. Does anyone know if there are any specific restrictions posed by Tesla that would make this extra hard or impossible to implement? |
Beta Was this translation helpful? Give feedback.
-
I am a bit confused. I just installed Teslamate. Went to a SC today and expected the charge fee to show up in Teslamate but it does not. The charge session does show up but the cost column is empty. |
Beta Was this translation helpful? Give feedback.
-
Good suggestion but with prices varying based on time etc, a better approach is still to pull the data via an api. Adding 10-15 SoC’s as poi’s will be cumbersome to maintain.
Cheers,
/Peter
… 29 aug. 2022 kl. 08:15 skrev bikeymouse ***@***.***>:
If you make this SuC or any other charge point a Point of Interest you can add the cost per Kwh so next charges will be calculated automatically based on that.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
TeslaFI has already implemented this and it's adding a 5m window for time differences |
Beta Was this translation helpful? Give feedback.
-
Any news on this idea? It would still be a neat feature. If I could, I would program it :-) |
Beta Was this translation helpful? Give feedback.
-
It would be awesome |
Beta Was this translation helpful? Give feedback.
-
I would also appreciate such a feature. I also pulled the current endpoint for the charging history the Tesla App is using (looks almost the same as the account API, but maybe that can help someone) :)
GraphQL Query/Variablesquery getChargingHistoryV2(
$pageNumber: Int!
$sortBy: String
$sortOrder: SortByEnum
$latestSession: Boolean
) {
me {
charging {
historyV2(
pageNumber: $pageNumber
sortBy: $sortBy
sortOrder: $sortOrder
latestSession: $latestSession
) {
data {
...SparkHistoryItemFragment
}
totalResults
hasMoreData
pageNumber
}
}
}
}
fragment SparkHistoryItemFragment on SparkHistoryItem {
countryCode
programType
billingType
vin
isMsp
credit {
distance
distanceUnit
}
chargingPackage {
distance
distanceUnit
energyApplied
}
chargingVoucher {
voucherValue
}
invoices {
fileName
contentId
invoiceType
}
chargeSessionId
siteLocationName
chargeStartDateTime
chargeStopDateTime
unlatchDateTime
fees {
...SparkHistoryFeeFragment
}
vehicleMakeType
sessionId
surveyCompleted
surveyType
postId
cabinetId
din
isDcEnforced
siteAmenities
siteEntryLocation {
latitude
longitude
}
siteAddress {
...SparkAddressFragment
}
sessionSource
additionalNotes {
left
right
}
}
fragment SparkHistoryFeeFragment on SparkHistoryFee {
sessionFeeId
feeType
payorUid
amountDue
currencyCode
pricingType
usageBase
usageTier1
usageTier2
usageTier3
usageTier4
rateBase
rateTier1
rateTier2
rateTier3
rateTier4
totalTier1
totalTier2
totalTier3
totalTier4
uom
isPaid
uid
totalBase
totalDue
netDue
status
showPeriods
periods {
...SparkHistoryFeePeriodsFragment
}
}
fragment SparkHistoryFeePeriodsFragment on SparkHistoryFeePeriods {
sessionFeePeriodId
startDateTime
stopDateTime
actualQuantity
rate
}
fragment SparkAddressFragment on SparkAddressType {
street
streetNumber
city
district
state
countryCode
country
postalCode
} Variables: {
"sortBy": "start_datetime",
"sortOrder": "DESC",
"pageNumber": 1
} Response looks like this:{
"countryCode": "NL",
"programType": "PTSCH",
"billingType": null,
"vin": "LRW3E7ET7RC000000",
"isMsp": false,
"credit": null,
"chargingPackage": null,
"chargingVoucher": null,
"chargeSessionId": "00000000-0000-0000-0000-000000000000",
"siteLocationName": "Heerlen, Netherlands",
"chargeStartDateTime": "2024-10-25T20:34:50+02:00",
"chargeStopDateTime": "2024-10-25T21:08:29+02:00",
"unlatchDateTime": "2024-10-25T21:08:33+02:00",
"vehicleMakeType": "TESLA",
"sessionId": 000000000,
"surveyCompleted": false,
"surveyType": "CSAT",
"postId": "3",
"cabinetId": "XX0000000000X0",
"din": "STST-SM-00000",
"isDcEnforced": false,
"siteAmenities": [
"AMENITIES_RESTROOMS",
"AMENITIES_CAFE",
"AMENITIES_LODGING",
"AMENITIES_RESTAURANT",
"AMENITIES_TWENTY_FOUR_HOUR"
],
"sessionSource": null,
"additionalNotes": [
],
"siteEntryLocation": {
"latitude": 50.892974,
"longitude": 5.955635
},
"siteAddress": {
"street": "Terworm",
"streetNumber": "10",
"city": "Heerlen",
"district": null,
"state": null,
"countryCode": "NL",
"country": "Netherlands",
"postalCode": "6411 RV"
},
"invoices": [
{
"fileName": "000000000_DE-DE.pdf",
"contentId": "00000000-0000-0000-0000-000000000000",
"invoiceType": "IMMEDIATE"
}
],
"fees": [
{
"sessionFeeId": 000000000,
"feeType": "CHARGING",
"payorUid": null,
"amountDue": null,
"currencyCode": "EUR",
"pricingType": "PAYMENT",
"usageBase": 48.595,
"usageTier1": 9,
"usageTier2": 23,
"usageTier3": null,
"usageTier4": null,
"rateBase": 0.23,
"rateTier1": 0,
"rateTier2": 0,
"rateTier3": null,
"rateTier4": null,
"totalTier1": 0,
"totalTier2": 0,
"totalTier3": 0,
"totalTier4": 0,
"uom": "kWh",
"isPaid": true,
"uid": null,
"totalBase": 11.17,
"totalDue": 11.17,
"netDue": null,
"status": "PAID",
"showPeriods": null,
"periods": null
},
{
"sessionFeeId": 000000000,
"feeType": "PARKING",
"payorUid": null,
"amountDue": null,
"currencyCode": "EUR",
"pricingType": "NO_CHARGE",
"usageBase": 0,
"usageTier1": 0,
"usageTier2": 0,
"usageTier3": null,
"usageTier4": null,
"rateBase": 0,
"rateTier1": 0,
"rateTier2": 0,
"rateTier3": null,
"rateTier4": null,
"totalTier1": 0,
"totalTier2": 0,
"totalTier3": 0,
"totalTier4": 0,
"uom": "min",
"isPaid": true,
"uid": null,
"totalBase": 0,
"totalDue": 0,
"netDue": null,
"status": "PAID",
"showPeriods": null,
"periods": null
}
]
} |
Beta Was this translation helpful? Give feedback.
-
Would love this |
Beta Was this translation helpful? Give feedback.
-
I vote for this awesome feature! <3 |
Beta Was this translation helpful? Give feedback.
-
@JakobLichterfeld , Can you please let the interested parties know if this requested feature is something that can be looked or has if it been completely discarded? |
Beta Was this translation helpful? Give feedback.
-
See: #3266 (comment) |
Beta Was this translation helpful? Give feedback.
-
Actual supercharger fees for a session can be pulled from the Tesla API by hitting https://www.tesla.com/teslaaccount/charging/api/history?vin=5YJ3XXXXXXXXXX. It would be a cool feature to pull supercharging actual costs from the acct API after a charging session completes instead of relying on geofenced cost numbers.
Beta Was this translation helpful? Give feedback.
All reactions