Skip to content

Verwijderen verkeerde data🙋 #1552

Discussion options

You must be logged in to vote

Heb je er al veel gegevens in staan? Want je kunt overwegen om anders de database weg te gooien en opnieuw aan te maken en dan de deploy opnieuw te doen.

En anders geldt dit, vanaf morgen zou die dan weer goed moeten gaan: https://dsmr-reader.readthedocs.io/en/latest/how-to/troubleshooting/smart-meter-replacement.html


Je kunt handmatig de records verwijderen uit de tabellen dsmr_datalogger_dsmrreading, dsmr_consumption_electricityconsumption en dsmr_consumption_gasconsumption als je de IDs weet.

Bijvoorbeeld:

sudo su - postgres
psql dsmrreader

SELECT id, timestamp, electricity_delivered_1 FROM dsmr_datalogger_dsmrreading ORDER BY id ASC LIMIT 100;
# of
SELECT * FROM dsmr_datalogger_dsmr…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by dennissiemensma
Comment options

You must be logged in to vote
2 replies
@dennissiemensma
Comment options

@dennissiemensma
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1551 on January 08, 2022 09:54.