Skip to content

Löschen alter Ladedaten #5159

Closed Answered by Steffen294
Kludi2019 asked this question in Allgemein
Nov 14, 2022 · 6 comments · 20 replies
Discussion options

You must be logged in to vote

Hallo Gerhard,

man kann die Datenbank von Hand bearbeiten um z.B. Testeinträge oder alte Ladungen zu löschen.
Dazu muss sqlite3 installiert werden:

sudo apt-get install sqlite3 [Enter]

Jede abgeschlossene Ladung erzeugt einen Eintrag in der Datenbank. Diese werden wie folgt angezeigt:

sqlite3 [Enter]

sqlite> .open /root/.evcc/evcc.db [Enter]
oder
sqlite> .open /home/pi/.evcc/evcc.db [Enter]

sqlite> SELECT * FROM sessions; [Enter]

Dann die Zeilen wie folgt löschen.

Beispiel:
Ladung in Zeile 4 entfernen:

sqlite> DELETE FROM sessions WHERE rowid=4; [Enter]

sqlite> .exit [Enter]

Grüße Steffen

Replies: 6 comments 20 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@andig
Comment options

@Steffen294
Comment options

@Uli977
Comment options

@123aerox
Comment options

@Uli977
Comment options

Answer selected by Kludi2019
Comment options

You must be logged in to vote
5 replies
@int5749
Comment options

@andig
Comment options

@int5749
Comment options

@Steffen294
Comment options

@derHeidecker
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@Gronir
Comment options

@naltatis
Comment options

@Gronir
Comment options

@naltatis
Comment options

@Gronir
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
10 participants