evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Spotty Energie

Open Ferenz12 opened this issue 1 year ago • 8 comments

Hello! Please add the dynamic electricity price spottyenergie (api) from Austria. Thanks

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Ferenz12 avatar Oct 23 '24 19:10 Ferenz12

Gibts ein Api?

andig avatar Oct 23 '24 19:10 andig

JaVon meinem iPhone gesendetAm 23.10.2024 um 21:39 schrieb andig @.***>: Gibts ein Api?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Ferenz12 avatar Oct 24 '24 06:10 Ferenz12

Gibts ein Api?

Technische Details zur Schnittstelle:

Server: https://i.spottyenergie.at/ Ressource: /api/prices/[priceType]/[contractId] Aufruf: HTTP GET Verschlüsselung: SSL (HTTPS) Datenformat: JSON

Erforderliche Pfadparameter:

priceType: MARKET, CONSUMPTION, GENERATION

contractId: Deine Vertrags-ID im UUID-Format

Optionale Abfrageparameter:

timezone: Definiert die Zeitzone für Zeitstempel. Standardmäßig werden alle Zeitstempel in UTC zurückgegeben. Du kannst dies überschreiben. Unterstützter Wert: at

Beispiel-URL mit allen Parametern:

https://i.spottyenergie.at/api/prices/MARKET/ffffffff-4444-6666-2222-aaaaaabbbbbb?timezone=at

Beispielantwort:

[{"from":"2024-08-19T00:00:00+02:00","price":8.79},{"from":"2024-08-19T01:00:00+02:00","price":8.21},{"from":"2024-08-19T02:00:00+02:00","price":8.50},{"from":"2024-08-19T03:00:00+02:00","price":8.38},{"from":"2024-08-19T04:00:00+02:00","price":8.21},{"from":"2024-08-19T05:00:00+02:00","price":8.71},{"from":"2024-08-19T06:00:00+02:00","price":11.97},{"from":"2024-08-19T07:00:00+02:00","price":14.38},{"from":"2024-08-19T08:00:00+02:00","price":12.75},{"from":"2024-08-19T09:00:00+02:00","price":11.26},{"from":"2024-08-19T10:00:00+02:00","price":9.49},{"from":"2024-08-19T11:00:00+02:00","price":8.85},{"from":"2024-08-19T12:00:00+02:00","price":9.43},{"from":"2024-08-19T13:00:00+02:00","price":8.21},{"from":"2024-08-19T14:00:00+02:00","price":8.21},{"from":"2024-08-19T15:00:00+02:00","price":7.60},{"from":"2024-08-19T16:00:00+02:00","price":8.24},{"from":"2024-08-19T17:00:00+02:00","price":7.80},{"from":"2024-08-19T18:00:00+02:00","price":10.14},{"from":"2024-08-19T19:00:00+02:00","price":12.19},{"from":"2024-08-19T20:00:00+02:00","price":12.09},{"from":"2024-08-19T21:00:00+02:00","price":10.52},{"from":"2024-08-19T22:00:00+02:00","price":8.50},{"from":"2024-08-19T23:00:00+02:00","price":7.72}]

TomF79 avatar Oct 24 '24 07:10 TomF79

Vielen Dank 😊 Von meinem iPhone gesendetAm 24.10.2024 um 09:31 schrieb TomF79 @.***>:

Gibts ein Api?

Technische Details zur Schnittstelle: Server: https://i.spottyenergie.at/ Ressource: /api/prices/[priceType]/[contractId] Aufruf: HTTP GET Verschlüsselung: SSL (HTTPS) Datenformat: JSON Erforderliche Pfadparameter: priceType: MARKET, CONSUMPTION, GENERATION contractId: Deine Vertrags-ID im UUID-Format Optionale Abfrageparameter: timezone: Definiert die Zeitzone für Zeitstempel. Standardmäßig werden alle Zeitstempel in UTC zurückgegeben. Du kannst dies überschreiben. Unterstützter Wert: at Beispiel-URL mit allen Parametern: https://i.spottyenergie.at/api/prices/MARKET/ffffffff-4444-6666-2222-aaaaaabbbbbb?timezone=at Beispielantwort: [{"from":"2024-08-19T00:00:00+02:00","price":8.79},{"from":"2024-08-19T01:00:00+02:00","price":8.21},{"from":"2024-08-19T02:00:00+02:00","price":8.50},{"from":"2024-08-19T03:00:00+02:00","price":8.38},{"from":"2024-08-19T04:00:00+02:00","price":8.21},{"from":"2024-08-19T05:00:00+02:00","price":8.71},{"from":"2024-08-19T06:00:00+02:00","price":11.97},{"from":"2024-08-19T07:00:00+02:00","price":14.38},{"from":"2024-08-19T08:00:00+02:00","price":12.75},{"from":"2024-08-19T09:00:00+02:00","price":11.26},{"from":"2024-08-19T10:00:00+02:00","price":9.49},{"from":"2024-08-19T11:00:00+02:00","price":8.85},{"from":"2024-08-19T12:00:00+02:00","price":9.43},{"from":"2024-08-19T13:00:00+02:00","price":8.21},{"from":"2024-08-19T14:00:00+02:00","price":8.21},{"from":"2024-08-19T15:00:00+02:00","price":7.60},{"from":"2024-08-19T16:00:00+02:00","price":8.24},{"from":"2024-08-19T17:00:00+02:00","price":7.80},{"from":"2024-08-19T18:00:00+02:00","price":10.14},{"from":"2024-08-19T19:00:00+02:00","price":12.19},{"from":"2024-08-19T20:00:00+02:00","price":12.09},{"from":"2024-08-19T21:00:00+02:00","price":10.52},{"from":"2024-08-19T22:00:00+02:00","price":8.50},{"from":"2024-08-19T23:00:00+02:00","price":7.72}]

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Ferenz12 avatar Oct 24 '24 07:10 Ferenz12

Das lässt sich als custom Tarif abbilden. Gerne PR.

andig avatar Oct 24 '24 07:10 andig

Servus, das Funktioniert leider nicht. Von Spotty wird mir das so ausgegeben:

{

    "from": "2024-10-24T00:00:00+02:00",

    "price": 9.4

Es wird mir kein end ausgegeben von Spotty

Ich habe in die evcc.yaml jetzt eingetragen:

tariffs:

grid:

type: custom

price:

  source: http

  uri: https://example.com/api/price (nur hier das von Spotty übernommen)

Vielen Dank

Von: andig @.> Gesendet: Donnerstag, 24. Oktober 2024 09:54 An: evcc-io/evcc @.> Cc: Ferenz12 @.>; Author @.> Betreff: Re: [evcc-io/evcc] Spotty Energie (Issue #16816)

Das lässt sich als custom Tarif abbilden. Gerne PR.

— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/16816#issuecomment-2434556232 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BIDPF3UBSGRWFIXY7D3ZVMLZ5CRTLAVCNFSM6AAAAABQPRDPPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZUGU2TMMRTGI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BIDPF3W7TGR2BLRTXI7IWB3Z5CRTLA5CNFSM6AAAAABQPRDPPKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTURDRQUQ.gif Message ID: @.*** @.***> >

Ferenz12 avatar Oct 24 '24 15:10 Ferenz12

Schau Dir einfach die Beispiele an, insbesondere https://github.com/evcc-io/evcc/blob/master/templates/definition/tariff/allinpower.yaml. Das ist schon fast die fertige JQ Expression dafür.

PR welcome.

andig avatar Oct 24 '24 15:10 andig

Reopening in case someone wants to help.

andig avatar Oct 24 '24 20:10 andig

Sorry aber ich kann dir leider nicht ganz folgen. Allinpower ist ein template also was soll ich mir da abschauen und ich weiß weder wo dieses template hinterlegt bzw konfiguriert ist?! Ich habe jetzt den SmartEngergie genommen (der ruft die Daten von der gleichen Börse ab) und habe bei charges 0.0258 und bei tax -0.2 (ohne Mwst) eingegeben. Jetzt passt es einigermaßen.

Von: andig @.> Gesendet: Donnerstag, 24. Oktober 2024 17:41 An: evcc-io/evcc @.> Cc: Ferenz12 @.>; Author @.> Betreff: Re: [evcc-io/evcc] Spotty Energie (Issue #16816)

Schau Dir einfach die Beispiele an, insbesondere allinpower.

— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/16816#issuecomment-2435637867 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BIDPF3XICZUMJ3WBWMAAGPLZ5EIJRAVCNFSM6AAAAABQPRDPPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZVGYZTOOBWG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BIDPF3VQRYOT7MYR7QWLP6LZ5EIJRA5CNFSM6AAAAABQPRDPPKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTURFTRGW.gif Message ID: @.*** @.***> >

Ferenz12 avatar Oct 25 '24 10:10 Ferenz12