TA2k / ioBroker.ford

ioBroker Adapter for FordPass
MIT License
7 stars 4 forks source link

Adapter ohne Funktion #28

Closed henkeldavid86 closed 9 months ago

henkeldavid86 commented 9 months ago

Hallo. Ich habe seit einiger Zeit Probleme mit dem Adapter.

das ist mein Log:

ford.0 2023-11-25 13:33:36.010 error Error: getaddrinfo ENOTFOUND sso.ci.ford.comundefined
ford.0 2023-11-25 13:33:35.961 error "<!doctype html>\n<html ng-app=\"app\">\n \n \n <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta name=\"description\" content=\"Sign in or create your Ford account. Access all Ford has to offer in shopping, ownership, and mobility experiences with one single account.\">\n Ford - Sign In Or Create A New Account\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=EDGE\">\n <link id=\"favicon\" rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://www.account.ford.com/favicon.ico\">\n <link id=\"completeStyle\" href=\"https://www.account.ford.com/static/css/main.d9f26451.chunk.css\" rel=\"stylesheet\">\n <script type=\"text/javascript\" id=\"SCRIPT_RUNTIME\" src=\"https://www.account.ford.com/static/js/runtime-main.f4de8767.js\">\n <script type=\"text/javascript\" id=\"SCRIPT_CHUNK\" src=\"https://www.account.ford.com/static/js/2.cc3aef49.chunk.js\">\n \n \n \n <div id=\"ci-error\" data-error-message=\"CSIAQ0154E Das System kann den Client mit ID [9fb503e0-715b-47e8-adfd-ad4b7770f73b] nicht finden.\">\n <div class=\"ibm-ci-data-container\" data-ibm-login-url=\"@ACTION@\" data-ibm-login-error-text=\"CSIAQ0154E Das System kann den Client mit ID [9fb503e0-715b-47e8-adfd-ad4b7770f73b] nicht finden.\">\n <div id=\"page\">\n <script type=\"text/javascript\" id=\"SCRIPT_MAIN\" src=\"https://www.account.ford.com/static/js/main.0229317c.chunk.js\">\n \n \n"
ford.0 2023-11-25 13:33:35.961 error AxiosError: Request failed with status code 400
ford.0 2023-11-25 13:33:35.798 silly States user redis pmessage ford.0.*/ford.0.info.connection:{"val":false,"ack":true,"ts":1700915615792,"q":0,"from":"system.adapter.ford.0","user":"system.user.admin","lc":1694627808813}
ford.0 2023-11-25 13:33:35.756 silly States system redis pmessage system.adapter.ford.0.logLevel/system.adapter.ford.0.logLevel:{"val":"silly","ack":true,"ts":1700915615735,"q":0,"from":"system.adapter.ford.0","lc":1700913854492}
ford.0 2023-11-25 13:33:35.506 info starting. Version 0.1.5 in /opt/iobroker/node_modules/iobroker.ford, node: v18.17.1, js-controller: 5.0.16
ford.0 2023-11-25 13:33:35.154 debug Plugin sentry Initialize Plugin (enabled=true)
ford.0 2023-11-25 13:33:30.887 info terminating
ford.0 2023-11-25 13:33:30.598 silly States user redis pmessage ford.0.*/ford.0.info.connection:{"val":false,"ack":true,"ts":1700915610545,"q":0,"from":"system.adapter.ford.0","user":"system.user.admin","lc":1694627808813}
ford.0 2023-11-25 13:33:30.385 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
ford.0 2023-11-25 13:33:30.383 debug Plugin sentry destroyed
ford.0 2023-11-25 13:33:30.381 info terminating
ford.0 2023-11-25 13:33:30.379 info Got terminate signal TERMINATE_YOURSELF
ford.0 2023-11-25 13:33:30.378 silly States system redis pmessage system.adapter.ford.0.sigKill/system.adapter.ford.0.sigKill:{"val":-1,"ack":false,"ts":1700915610375,"q":0,"from":"system.host.odroid","lc":1700915610375}

Verbunden mit Host vorhanden

Lebenszeichen vorhanden

Verbunden mit Gerät oder Dienst nicht vorhanden

habe auch schon verschiedene Versionen des Adapters versucht ohne Erfolg. FordPass App Funktioniert ohne Probleme.

Was kann ich tun? Bessten Dank.

Aprilia1982 commented 9 months ago

Jupp, das glaube hier.

TA2k commented 9 months ago

ioBroker auf beta repo umstellen und 0.2.0 installieren

Aprilia1982 commented 9 months ago

Danke. Version per URL von GitHub installiert und läuft.

henkeldavid86 commented 9 months ago

Bei mir nicht.

ford.0 2023-11-26 00:24:35.934 error {"error":"invalid_request","error_description":"AADB2C90083: The request is missing required parameter: code.\r\nCorrelation ID: ea5ac65a-77ea-4637-a1d9-cf205b363a1f\r\nTimestamp: 2023-11-25 23:24:35Z\r\n"}

ford.0 2023-11-26 00:24:35.934 error AxiosError: Request failed with status code 400

ford.0 2023-11-26 00:24:33.163 silly States user redis pmessage ford.0.*/ford.0.info.connection:{"val":false,"ack":true,"ts":1700954673158,"q":0,"from":"system.adapter.ford.0","user":"system.user.admin","lc":1694627808813}

ford.0 2023-11-26 00:24:33.144 silly States system redis pmessage system.adapter.ford.0.logLevel/system.adapter.ford.0.logLevel:{"val":"silly","ack":true,"ts":1700954673128,"q":0,"from":"system.adapter.ford.0","lc":1700913854492}

ford.0 2023-11-26 00:24:32.885 info starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.ford, node: v18.17.1, js-controller: 5.0.16

ford.0 2023-11-26 00:24:32.314 debug Plugin sentry Initialize Plugin (enabled=true)

ford.0 2023-11-26 00:24:32.266 silly statesDB connected

ford.0 2023-11-26 00:24:32.265 debug States connected to redis: 127.0.0.1:9000

ford.0 2023-11-26 00:24:32.212 debug States create User PubSub Client

ford.0 2023-11-26 00:24:32.210 debug States create System PubSub Client

ford.0 2023-11-26 00:24:32.185 debug Redis States: Use Redis connection: 127.0.0.1:9000

ford.0 2023-11-26 00:24:32.182 silly objectDB connected

ford.0 2023-11-26 00:24:32.179 silly redis psubscribe cfg.o.enum.*

ford.0 2023-11-26 00:24:32.145 silly redis psubscribe cfg.o.system.user.*

ford.0 2023-11-26 00:24:32.141 debug Objects connected to redis: 127.0.0.1:9001

ford.0 2023-11-26 00:24:32.134 debug Objects client initialize lua scripts

ford.0 2023-11-26 00:24:32.070 debug Objects create User PubSub Client

ford.0 2023-11-26 00:24:32.068 debug Objects create System PubSub Client

ford.0 2023-11-26 00:24:32.052 debug Objects client ready ... initialize now

ford.0 2023-11-26 00:24:32.012 debug Redis Objects: Use Redis connection: 127.0.0.1:9001

leider nein

StefanWausH commented 9 months ago

Hier leider auch nicht. Version ist auch schon 0.2.0 von hier. Ändert Ford das API eigentlich dauernd? Die Nerven damit langsam...

TA2k commented 9 months ago

Bei mir geht der Login Bitte mal GitHub version installieren die hat mehr logs

StefanWausH commented 9 months ago

Ok. Hab den npm Adapter gelöscht und den Git installiert. Dann auf debug in den Log Optionen gestellt und einen Meterlangen Text bekommen, den ich hier gar nicht hätte posten können. Dachte mir platzt der Raspi.... :) Irgendwo da drin gab es eine Zeile "verify your E-Mail" und siehe da, Ford hat die Passwort Anforderungen geändert. Also auf der Ford Seite E-Mail verifizieren lassen, neues Passwort gesetzt - geht wieder! Bis die Pfeifen bei Ford wieder was ändern... lol Also besten Dank an dieser Stelle nochmal für den tollen Adapter!

TA2k commented 9 months ago

kannst du mir die log Datei trotzdem mal per mail schicken dann kann ich das anpassen tombox2020@gmail.com

henkeldavid86 commented 9 months ago

Danke. Mit der Github Version 0.2.0 und nachdem ich auf der Ford Seite den Account aktualisiert habe geht er wieder. Danke für den Suport. Super Adapter. Gute Arbeit.