Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vampire Drain dashboard showing double entries #716

Closed
SJPprime opened this issue May 13, 2020 · 2 comments · Fixed by #726
Closed

Vampire Drain dashboard showing double entries #716

SJPprime opened this issue May 13, 2020 · 2 comments · Fixed by #726
Labels
kind:bug Something isn't working note:needs investigation The issue must be investigated first

Comments

@SJPprime
Copy link

Describe the bug
Vampire Drain dashboard shows two entries for each time period of vampire drain. The start and end times are the same for each entry.
Expected behavior
Only one entry should be listed for a period of vampire drain

How to reproduce it (as minimally and precisely as possible):
Look at the vampire drain dashboard. Is it related to the fact I have two vehichles being monitored by teslamate?

Relevant entries from the logs

teslamate.log

Screenshots
Screenshot from 2020-05-13 11-47-18

Data
I do not know how to export the data for vampire drain but will do so if someone can instruct me

Environment

  • TeslaMate version: 1.19.2
  • Type of installation: Docker
  • OS TeslaMate is installed on: Raspbian
  • User OS & Browser: Linux Mint and Google Chrome
@adriankumpf adriankumpf added kind:bug Something isn't working note:needs investigation The issue must be investigated first labels May 14, 2020
@petariga
Copy link

petariga commented May 16, 2020

I know about another case with exactly the same double entries in vampire drain and this Tesla account has also 2 vehicles so it could be connected as suggested by @SJPprime

@Dulanic
Copy link
Collaborator

Dulanic commented May 17, 2020

Fixed once he migrates the PR, was easy change. #726

adriankumpf pushed a commit that referenced this issue May 19, 2020
* Fix duplicate values with multiple cars

Fix for duplicates in vampire drain. Fixes #716

Added where id = $car_id on c where clause.

* Update vampire-drain.json
TsuyoshiUshi added a commit to TsuyoshiUshi/teslamate that referenced this issue Jul 15, 2022
* Fix duplicate values with multiple cars

Fix for duplicates in vampire drain. Fixes teslamate-org/teslamate#716

Added where id = $car_id on c where clause.

* Update vampire-drain.json
flooppmtn added a commit to flooppmtn/teslamate that referenced this issue Aug 24, 2022
* Fix duplicate values with multiple cars

Fix for duplicates in vampire drain. Fixes teslamate-org/teslamate#716

Added where id = $car_id on c where clause.

* Update vampire-drain.json
ClarkWalker pushed a commit to ClarkWalker/wall that referenced this issue Nov 12, 2022
* Fix duplicate values with multiple cars

Fix for duplicates in vampire drain. Fixes teslamate-org/teslamate#716

Added where id = $car_id on c where clause.

* Update vampire-drain.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Something isn't working note:needs investigation The issue must be investigated first
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants