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

Maybe an idea for improvement? #4

Open
mlapp opened this issue Feb 9, 2022 · 21 comments
Open

Maybe an idea for improvement? #4

mlapp opened this issue Feb 9, 2022 · 21 comments

Comments

@mlapp
Copy link

mlapp commented Feb 9, 2022

Hi there,
I have a Ford Mustang Mach E and I keep getting errors in the adapter. I had already reported that. Unfortunately, your last change did not cause any change. Perhaps it is possible to include a selection of the API calls to be retrieved in the adapter setup?
My guess is that the adapter pulls data that an electric car doesn't have. In addition, many users should only need statusv4 and remote and if you could select that, the Ford server would not be so heavily loaded.
Please take this as an idea and not as a criticism. The adapter is pretty awesome.

@mlapp
Copy link
Author

mlapp commented Feb 9, 2022

I'm not sure, but I think this bug is new.
Maybe the information will help.
error: Error: getaddrinfo EAI_AGAIN usapi.cv.ford.com
error https://usapi.cv.ford.com/api/vehicles/v4/VIN/status

@TA2k
Copy link
Owner

TA2k commented Feb 13, 2022

Das ist ein nicht erreichbarkeit bei ford

@mlapp
Copy link
Author

mlapp commented Feb 15, 2022

OK, was hälst du von meinem Vorschlag? Die Api-Endpunkte auswählbar zu machen?

@TA2k
Copy link
Owner

TA2k commented Feb 15, 2022

Eigentlich die Endpunkte für alle Fahrzeuge gleich. so sieht es zumindest in der app aus

@mlapp
Copy link
Author

mlapp commented Feb 15, 2022

Anscheinend nicht. Daher dürften meine ständigen Fehler kommen.
Er versucht anscheinend immer zwei Endpunkte abzurufen, die es beim Elektroauto nicht gibt.
Kann ich dir beim Fehlersuchen irgendwie helfen?
Mit nem Protokoll oder so?

@TA2k
Copy link
Owner

TA2k commented Feb 15, 2022

Welchen exakten fehler Ja Log würde sehr helfen

@mlapp
Copy link
Author

mlapp commented Feb 15, 2022

Soll ich das hier posten oder kann ich es dir auch direkt zukommen lassen?

@TA2k
Copy link
Owner

TA2k commented Feb 15, 2022

tombox2020@gmail.com

@mlapp
Copy link
Author

mlapp commented Feb 15, 2022

Mach ich dir fertig und schicke es dir zu.

@TA2k
Copy link
Owner

TA2k commented Feb 15, 2022

I debug log level wäre es noch am besten

@TA2k
Copy link
Owner

TA2k commented Feb 15, 2022

Please try the github version and test again

@mlapp
Copy link
Author

mlapp commented Feb 15, 2022

Habe von GitHub installiert ist allerdings noch die 0.0.8er Version und es hat sich auch nichts geändert.
Die Fehler sind immer noch im Log.
Was mir aber gerade noch aufgefallen ist. Unter Objekte ist der Datenpunkt "fuelrec" leer. Er hat keine Unterpunkte.
Was bei einem Elektroauto auch Sinn ergibt. Vielleicht hat der Adapter beim Abrufen dieser Informationen die Probleme und läuft auf Fehler.

@TA2k
Copy link
Owner

TA2k commented Feb 16, 2022

Bitte nochmal installieren

@mlapp
Copy link
Author

mlapp commented Feb 16, 2022

Leider immer noch keine Änderung.
Der Adapter funktioniert sonst aber perfekt.
Ich bekomme nur immer diese Fehlermeldungen.

@TA2k
Copy link
Owner

TA2k commented Feb 16, 2022

Welche version wird nach neuinstallation angezeigt 0.0.9 ?

@mlapp
Copy link
Author

mlapp commented Feb 16, 2022

Nein immer noch die 0.0.8

@TA2k
Copy link
Owner

TA2k commented Feb 16, 2022

Dann bitte nochmal installieren

@mlapp
Copy link
Author

mlapp commented Feb 16, 2022

Jetzt wurde die 0.0.9 installiert und die Fehler werden weniger.
Jetzt kommt nur noch 2 bzw. 1 Fehler. Vorher waren es 3 bzw. 2.
Es wird besser :-)

@TA2k
Copy link
Owner

TA2k commented Feb 16, 2022

kannst du den einen fehler noch posten

@mlapp
Copy link
Author

mlapp commented Feb 16, 2022

Es bleiben die gleichen Fehler wie vorher.
Error: Request failed with status code 404
{"statusCode":404,"message":"Resource not found"}

Vielleicht noch erklärend zu meiner Vorgehensweise.
In der Konfig das Adapters ist "Update bei jedem Intervall anfordern" nicht ausgewählt.
"Aktuallisierungsintervall 1 Minute"

Das Update fordere ich, wenn nötig, über den Datenpunkt "ford.0.VIN.remote.status" = true an und der Wert wird nach erfolgtem Update vom Adapter wieder auf False gesetzt.
Die Fehler treten immer nur nach dem manuellen anfordern des Updates auf.
Vielleicht hilft dir die Info weiter.

@mlapp
Copy link
Author

mlapp commented Mar 12, 2022

Fehler ist mit der 0.10 behoben.
Super, endlich ist das Log wieder sauber :-)
Danke

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

No branches or pull requests

2 participants