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

Disable Error Logs #296

Open
Marty56 opened this issue Dec 10, 2023 · 6 comments
Open

Disable Error Logs #296

Marty56 opened this issue Dec 10, 2023 · 6 comments

Comments

@Marty56
Copy link

Marty56 commented Dec 10, 2023

Es wäre super, wenn der VW-Connect Adapter eine Funktion hätte, bei der mal alle Error Logs abschalten könnte.
Aufgrund der dysfunktionalen VW Server spammt mir der Adapter regelmäßig das Log File voll, so dass es unleserlich wird.

Mein Workaround:
Bei jedem Adapter Update patche ich manuell "main.js" und tausche "log.error" durch "log.warn" aus.

@TA2k
Copy link
Owner

TA2k commented Dec 10, 2023

hast du eine beispielmeldung

@Marty56
Copy link
Author

Marty56 commented Dec 10, 2023


2023-12-09 21:30:09.856 - error: vw-connect.0 (13527) ""
--
2023-12-09 21:30:09.857 - error: vw-connect.0 (13527) AxiosError: Request failed with status code 403
2023-12-09 21:30:09.858 - error: vw-connect.0 (13527) https://api.connect.skoda-auto.cz/api/v1/air-conditioning/TMBJC7NYXMF025168/status
2023-12-09 21:30:09.980 - error: vw-connect.0 (13527) ""
2023-12-09 21:30:09.981 - error: vw-connect.0 (13527) AxiosError: Request failed with status code 403
2023-12-09 21:30:09.981 - error: vw-connect.0 (13527) https://api.connect.skoda-auto.cz/api/v1/air-conditioning/TMBJC7NYXMF025168/settings
2023-12-09 21:30:10.088 - error: vw-connect.0 (13527) ""
2023-12-09 21:30:10.088 - error: vw-connect.0 (13527) AxiosError: Request failed with status code 403
2023-12-09 21:30:10.089 - error: vw-connect.0 (13527) https://api.connect.skoda-auto.cz/api/v1/air-conditioning/TMBJC7NYXMF025168/timers
2023-12-09 21:30:10.202 - error: vw-connect.0 (13527) ""
2023-12-09 21:30:10.202 - error: vw-connect.0 (13527) AxiosError: Request failed with status code 403
2023-12-09 21:30:10.202 - error: vw-connect.0 (13527) https://api.connect.skoda-auto.cz/api/v1/charging/TMBJC7NYXMF025168/status
2023-12-09 21:30:10.320 - error: vw-connect.0 (13527) ""
2023-12-09 21:30:10.320 - error: vw-connect.0 (13527) AxiosError: Request failed with status code 403
2023-12-09 21:30:10.321 - error: vw-connect.0 (13527) https://api.connect.skoda-auto.cz/api/v1/charging/TMBJC7NYXMF025168/settings
2023-12-09 21:30:10.443 - error: vw-connect.0 (13527) ""
2023-12-09 21:30:10.443 - error: vw-connect.0 (13527) AxiosError: Request failed with status code 403
2023-12-09 21:30:10.443 - error: vw-connect.0 (13527) https://api.connect.skoda-auto.cz/api/v2/vehicle-status/TMBJC7NYXMF025168


So etwas kommt je nach Tagesform der VW Server 4-5 Mal am Tag. Manchmal sind die Einträge auch länger, manchmal auch kürzer.
Es scheint, dass manche APIs von VW öfters die Response verweigern als andere.

Ich habe den entsprechenden VW Service übrigens nicht mehr abonniert und sollte eigentlich keine Ortsdaten mehr erhalten.
Komischerweise liefert der Adapter immer noch die Koordinaten des Orts. Was mich natürlich freut.

Es wäre auch schön, wenn man nicht den ganzen Müll, wie zum Beispiel den eigenen Namen in den Datenpunkten erhält, sondern in meinem Fall nur km Stand, charging status und Ortskoordinaten. Eigentlich das was Tronity in seiner API auch liefert.

/

@TA2k
Copy link
Owner

TA2k commented Dec 10, 2023

Sind es immer die gleichen Uhrzeiten

@Marty56
Copy link
Author

Marty56 commented Dec 10, 2023

nein, die Millisekunden sind unterschiedlich.

@TA2k
Copy link
Owner

TA2k commented Dec 10, 2023

Was ist der Zeitabstand zwischen den Fehlern

@Marty56
Copy link
Author

Marty56 commented Dec 10, 2023

Diese Fehlerbursts tauchen unregelmäßig auf. Ich habe Abstände von 1,5 - 3 h gesehen.
Außerdem ist die Anzahl der Fehler variabel.

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