teslamate-org / teslamate

A self-hosted data logger for your Tesla 🚘
https://docs.teslamate.org
MIT License
6.01k stars 749 forks source link

What happend to Vampire drain? #450

Closed airmaxx closed 4 years ago

airmaxx commented 4 years ago

Describe the bug

Since 27.1.20 vampire drain stops showing values: TR Loss | kWh, Ø-Power and TR Loss / h only show a minus, while there a snwoflake icon in one column from that date on.

Expected behavior

See the loss that occured

Operating environment

ArnoPW commented 4 years ago

Same here in v1.16. As soon as a snowflake is shown, no other information is shown. I have some with and some without snowflakes. All without snowflake show values, with snowflakes all minus symbols.

image

Koofteh123 commented 4 years ago

I'm seeing some data disappearing in vampire drain. For example my longest sleep in the table was 2.x days but now the longest entry is only 12 hours. Does anyone know what is happening?

olexs commented 4 years ago

I'm seeing some data disappearing in vampire drain. For example my longest sleep in the table was 2.x days but now the longest entry is only 12 hours. Does anyone know what is happening?

The "vampire drain" view is set to last 90 days per default. If your longest sleep is older than that, it'll disappear from view. You can change the date range in the top right corner of Grafana.

Koofteh123 commented 4 years ago

I'm seeing some data disappearing in vampire drain. For example my longest sleep in the table was 2.x days but now the longest entry is only 12 hours. Does anyone know what is happening?

The "vampire drain" view is set to last 90 days per default. If your longest sleep is older than that, it'll disappear from view. You can change the date range in the top right corner of Grafana.

Thanks for the reply. I know about that window but still missing entries. I wonder if some are being hidden automatically? When I restore a backup I see the entry but it disappears by itself.

adriankumpf commented 4 years ago

I wonder if some are being hidden automatically?

I see no reason why that should happen. If the period is selected accordingly, the entry should be visible. Have you ever tried scrolling down the table? :)

adriankumpf commented 4 years ago

Regarding the actual issue: this is a duplicate of https://github.com/adriankumpf/teslamate/issues/404.

The vampire drain is calculated based on the lost range. If the battery cools down due to cold weather and thus the range is artificially reduced, it is not possible to determine the Vampire drain accurately.

See #390 for solutions on how to display those values anyway. However, I would recommend to use the SOC difference if the consumption values cannot be determined instead of relying on incorrect data.