Comments (5)
Thank you! All short charges are now calculated
from teslamateagile.
Yeah so this is also a limitation in TeslaMate itself as the code is pretty much ported directly from there, A possible way to work around this would be to provide a way to manually specify the amount of phases in the config, then it will calculate them for everything hopefully. Will keep this issue open to track implementation of this, and also open to any suggestions for better ways to do it.
from teslamateagile.
I have a similar issue with longer charges not able to determine phases:
2023-04-11 07:06:25.251 info: TeslaMateAgile.PriceHelper[0]
Looking for finished charging processes with no cost set in the 'Hjemme' geofence (id: 1)
2023-04-11 07:06:25.294 info: TeslaMateAgile.PriceHelper[0]
Calculating cost for charges 04/10/2023 22:05:23 UTC - 04/11/2023 03:17:55 UTC
2023-04-11 07:06:25.714 warn: TeslaMateAgile.PriceHelper[0]
Unable to determine phases for charges
2023-04-11 07:06:25.714 info: TeslaMateAgile.PriceHelper[0]
Calculated cost 0 and energy 0 kWh for charging process 468
But sometimes it works and I haven't figured out why:
2023-04-10 14:06:23.316 info: TeslaMateAgile.PriceHelper[0]
Calculating cost for charges 04/10/2023 09:32:11 UTC - 04/10/2023 12:01:17 UTC
2023-04-10 14:06:23.756 info: TeslaMateAgile.PriceHelper[0]
Phase correction: 2 -> 3
2023-04-10 14:06:23.765 info: TeslaMateAgile.PriceHelper[0]
Calculated cost 6.68 and energy 9.81 kWh for charging process 466
Any suggestions?
from teslamateagile.
I also have this error from the Tibber API sometimes:
2023-04-11 06:06:25.227 info: TeslaMateAgile.PriceHelper[0]
Calculating cost for charges 04/10/2023 22:05:23 UTC - 04/11/2023 03:17:55 UTC
2023-04-11 06:06:26.091 fail: TeslaMateAgile.PriceHelper[0]
Failed to calculate charging cost / energy for charging process 468
System.Exception: Mismatch of requested price info from Tibber API (expected: 7, actual: 6)
at TeslaMateAgile.Services.TibberService.GetPriceData(DateTimeOffset from, DateTimeOffset to) in /src/TeslaMateAgile/Services/TibberService.cs:line 105
at TeslaMateAgile.PriceHelper.CalculateChargeCost(IEnumerable`1 charges) in /src/TeslaMateAgile/Helpers/PriceHelper.cs:line 86
at TeslaMateAgile.PriceHelper.Update() in /src/TeslaMateAgile/Helpers/PriceHelper.cs:line 79
If these happen, they are OK the next time TeslaMateAgile is Looking for finished charging processes with no cost set
and doesn't seem to affect the error in my previous post
from teslamateagile.
v1.12.0 is now released with a new TeslaMate__Phases
setting which will allow these short charges to be calculated 🙂
from teslamateagile.
Related Issues (20)
- Unable to calculate cost of some charges HOT 11
- Create REST endpoint to get price at specific datetime HOT 3
- Failed to update prices - System.ArgumentException: totalHours HOT 6
- Failed to calculate charging cost / energy for charging process HOT 6
- Enhancement / Feature Upgrade - integration of EMS evcc HOT 2
- Unable to download docker image HOT 2
- Feature request - Make available in Home Assitant hassio HOT 15
- Feature request: Day of week in FIxedPricing
- Updating price from Home Assistant fails because "The input string 'unavailable' was not in a correct format." HOT 3
- Tibber "Failed to calculate charging cost" HOT 8
- Feature Request: Fixed Pricing Based on Day of Week HOT 2
- TeslaMateAgile.PriceHelper Tibber fails HOT 6
- No data available if multiple homes exist HOT 10
- Feature request : Show the energy prices in a dashboard HOT 5
- Feature request: monitoring multiple geofence IDs HOT 3
- Help needed: "number-based entity" in HomeAssistant clarification HOT 4
- TeslaMateAgile.PriceHelper Tibber fail HOT 5
- Everything is wonderfull HOT 1
- Option for setting negative prices to 0 in Energinet HOT 7
- Unable to connect to testamate HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teslamateagile.