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

Improve ford-connect #14071

Open
3 tasks
andig opened this issue May 26, 2024 · 39 comments
Open
3 tasks

Improve ford-connect #14071

andig opened this issue May 26, 2024 · 39 comments
Assignees

Comments

@andig
Copy link
Member

andig commented May 26, 2024

Der erste Ansatz für ford-connect ist in wenigen Minuten im Nightly. Was noch fehlt:

  • Persistenz des Refresh Tokens da dieser leider abläuft
  • Beschreibung für evcc token <ford> um Code in Token zu verwandeln
  • Nutzung VIN, wie ist unklar

Originally posted by @andig in #13949 (comment)

@andig andig added the backlog Things to do later label May 26, 2024
@andig andig self-assigned this May 26, 2024
@Chris591
Copy link
Contributor

an die Vin bin ich auch noch nicht ran gekommen. Nur der Nickname kommt in frage im Augenblick.
Oder man müsste die ID nutzen - da würde es dann auch nach einem umbenennen oder so keine Fehler geben.
sollte man aber abfragen also zum token speichern oder?

@Chris591
Copy link
Contributor

Fahrzeug konnte ich über die UI einrichten - nur den RFID token kann man nicht einrichten.
mal schauen ob es stabil und über Neustarts läuft.

@andig
Copy link
Member Author

andig commented May 27, 2024

Was hat ein RFID Token mit Ford zu tun?

@Chris591
Copy link
Contributor

nichts nur mit dem Auto an sich - zum identifizieren - keine Ahnung wo das in Zukunft hin sollte.

@andig
Copy link
Member Author

andig commented May 27, 2024

Was ist denn das konkrete Problem?

@Chris591

This comment was marked as off-topic.

@Chris591
Copy link
Contributor

ach eine Sache - der Status steht als Status: drinnen. ist aber für mich kein Problem nur ob es so sein sollte ist die Frage.
Bild 27 05 24 um 16 20

@Chris591
Copy link
Contributor

aber es ist auch nicht angeschlossen!

@andig
Copy link
Member Author

andig commented May 27, 2024

naja die Freischaltung der Wallbox - Aber eigentlich wird diese ja eh nur freigeschaltet wenn das Auto erkannt wurde oder?

Ich verstehe nur Bahnhof. Bitte aussagekräfties Issue.

aber es ist auch nicht angeschlossen!

Bitte

evcc vehicle --log trace

@Chris591

This comment was marked as off-topic.

@andig
Copy link
Member Author

andig commented May 27, 2024

Das hat nichts mit Ford zu tun- OT.

@Chris591

This comment was marked as resolved.

@Chris591

This comment was marked as resolved.

@Chris591

This comment was marked as resolved.

@andig
Copy link
Member Author

andig commented May 27, 2024

Fixed in master

@Chris591
Copy link
Contributor

weiß nicht ob das mit Ford oder der UI Konfiguration zutun hat.
Bild 27 05 24 um 22 27
Hier hab ich ihn Mach-E genannt.
Bild 27 05 24 um 22 27
Hier wird aber der Nickname angezeigt.

@Chris591
Copy link
Contributor

Chris591 commented May 28, 2024

leider hab ich im log nichts mehr sehen können - aber er war offline und hat geladen - als ich in die Konfiguration gegangen bin hat er nach kurzer alles angezeigt vom Auto aber am LP stand er immer noch als Offline und hat keinen SoC angezeigt.
nach einem Neustart von EVCC lief alles wieder.

doch noch was gefunden:
[main ] ERROR 2024/05/28 10:00:17 creating vehicle db:1 failed: cannot create vehicle type 'template': cannot create vehicle type 'ford-connect': cannot get vehicles: unexpected status: 429 (Too Many Requests)
das war während dem starten von EVCC. Danach hat er es aber auch nicht wieder probiert - hab EVCC dann ca 80 Minuten später als ich es gesehen hab neugestartet - vorher in der Konfiguration nachgeschaut und da sah alles gut aus.
nach dem Neustart läuft auch alles wieder wie es soll.

@Chris591
Copy link
Contributor

Fixed in master

confirmed - Status wird jetzt als "A" angezeigt wenn nicht verbunden.

@Chris591

This comment was marked as off-topic.

@djrepose

This comment was marked as off-topic.

@Wondermusic

This comment was marked as off-topic.

@andig
Copy link
Member Author

andig commented May 30, 2024

Es gehört nicht hier hin. Mach bitte eine Diskussion auf.

@Max112233445566
Copy link

Max112233445566 commented May 30, 2024

weiß nicht ob das mit Ford oder der UI Konfiguration zutun hat. Bild 27 05 24 um 22 27 Hier hab ich ihn Mach-E genannt. Bild 27 05 24 um 22 27 Hier wird aber der Nickname angezeigt.

Ist bei mir auch so, EVCC nimmt hier die Bezeichnung aus der Ford API und nicht aus der evcc.yaml.

{
"status": "SUCCESS",
"vehicle": {
"vehicleId": "ff80....",
"make": "F",
"modelName": "Kuga - TD (CX482 EU)",
"modelYear": "2020",
"color": "Frozen White",
"nickName": "Dennis",

@andig
Copy link
Member Author

andig commented May 30, 2024

Das wäre ein Bug falls in der yaml ein anderer Title vergeben wäre

@Max112233445566
Copy link

@andig ja, es ist ein Bug, Title ist ungleich nickName

@miniluma
Copy link

miniluma commented Jun 3, 2024

Wahrscheinlich bin ich zu doof: Ich habe alle bekannten Infos im yaml eingetragen und erhalte das:

evcc token ev5 -c ./evcc.yaml -l debug
[main  ] INFO 2024/06/03 12:40:46 evcc 0.126.5
[main  ] INFO 2024/06/03 12:40:46 using config file: ./evcc.yaml
[main  ] FATAL 2024/06/03 12:40:46 1 error(s) decoding:

* '' has invalid keys: accesstoken, clientid, clientsecret, template

Eine Idee, was ich falsch mache? Mein Ziel ist es, den RefreshToken zu erzeugen.

@hackfred64

This comment was marked as resolved.

@andig
Copy link
Member Author

andig commented Jun 3, 2024

Nightly nehmen…

@hackfred64

This comment was marked as resolved.

@miniluma

This comment was marked as off-topic.

@andig
Copy link
Member Author

andig commented Jun 3, 2024

Dann bitte neues Issue mit trace log. Das hat- mit Verlaub- alles nichts mit den weiteren Themen hier zu tun!

@hackfred64

This comment was marked as resolved.

@hackfred64 hackfred64 mentioned this issue Jun 3, 2024
@hackfred64

This comment was marked as off-topic.

@Max112233445566

This comment was marked as off-topic.

@hackfred64

This comment was marked as off-topic.

@hackfred64

This comment was marked as off-topic.

@hackfred64

This comment was marked as off-topic.

@masterB77

This comment was marked as off-topic.

@andig
Copy link
Member Author

andig commented Jun 3, 2024

Locking here due all the off-topic comments. Feels like being in a room, trying to have a conversation, with everybody just shouting anything that comes to their minds. Please use discussions. Please read topics and stick to the topic.

@evcc-io evcc-io locked as off-topic and limited conversation to collaborators Jun 3, 2024
@andig andig removed the backlog Things to do later label Oct 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants