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

Experimental: add telemetry for virtual power plant #4343

Merged
merged 9 commits into from
Sep 19, 2022
Merged

Conversation

andig
Copy link
Member

@andig andig commented Sep 8, 2022

With this PR, we can gather current charge power and total charged energy for participating installations. To opt-in set

telemetry: true

to participate. Requires sponsorship (since we need a unique identifier anyways to not double-count).

Data privacy policy: https://cloud.evcc.io/privacy

Community api is available at https://api.evcc.io/total

Todo:

  • accumulate multiple loadpoint's power
  • more statistics (especially saved energy, costs, CO2)
  • remove dead instances (server)
  • persist data (server)
  • guard against spam (server)
  • integrate with UI and website

@andig andig added the enhancement New feature or request label Sep 8, 2022
@andig andig requested a review from naltatis September 9, 2022 16:47
core/savings.go Outdated Show resolved Hide resolved
core/site.go Outdated Show resolved Hide resolved
core/site.go Outdated Show resolved Hide resolved
@andig andig requested a review from naltatis September 18, 2022 11:20
cmd/config.go Outdated
@@ -28,6 +28,7 @@ type config struct {
Network networkConfig
Log string
SponsorToken string
Community bool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich finde den Namen der Option noch zu generisch. community ist ja ein breiter Begriff. Ich hätte erstmal nicht erwartet, dass das dazu führt, dass meine Instanz Daten sendet. Im Titel hier steht "Community Virtual Power Plant". Das ist für nen Confignamen zu lang, aber vielleicht finden wir ja was dazwischen.

Ich finde der Name sollte auch ausdrücken, dass wir hier nur anonyme Daten sammeln und nicht in die Steuerung eingreifen. Tesla, Elli, Sonnen und co. nennen ihre netzdienlichen Ladelösungen ja auch "Virtual Power Plants". Das ist ja nicht das was wir hier vor haben.

Ideen: shareChargingData, publishStats, communityMetrics, contributeChargingMetrics, shareMetrics oder irgend eine Kombination aus diesen Wörtern :D

@thierolm
Copy link
Contributor

publishAnonymizedMetrics

@andig
Copy link
Member Author

andig commented Sep 19, 2022

Agreed on telemetry for time being.

@andig andig merged commit f57f9ed into master Sep 19, 2022
@andig andig deleted the feature/community branch September 19, 2022 15:09
@andig andig changed the title Experimental: add community virtual power plant Experimental: add telemetry for virtual power plant Sep 19, 2022
@Hofyyy

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants