Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter PSA v0.0.x Peugeot Opel Citroen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter PSA v0.0.x Peugeot Opel Citroen

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      holgerwolf @sigi234 last edited by

      @sigi234 e2008, 11/2020

      sigi234 T 2 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @holgerwolf last edited by

        @holgerwolf sagte in Test Adapter PSA v0.0.x Peugot Opel Citroen:

        @sigi234 e2008, 11/2020

        Ok, meiner : 2008 12/2014

        Ev. ist er zu alt, kann mich nicht einloggen, aber @tombox ist schon drann.

        T 1 Reply Last reply Reply Quote 0
        • T
          tombox @sigi234 last edited by

          @sigi234 @holgerwolf Login is gefixt für Sonderzeichen. Vehicles müssten jetzt auch geholt werden außer bei den älteren account da schaue ich noch

          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @tombox last edited by sigi234

            @tombox sagte in Test Adapter PSA v0.0.x Peugot Opel Citroen:

            @sigi234 @holgerwolf Login is gefixt für Sonderzeichen. Vehicles müssten jetzt auch geholt werden außer bei den älteren account da schaue ich noch

            psa.0
            2021-06-23 09:44:52.511	error	Get vehicles failed
            
            psa.0
            2021-06-23 09:44:52.511	error	{"uuid":"xxxxxxxxxxxxxx","code":40410,"message":"No vehicule found"}
            
            psa.0
            2021-06-23 09:44:52.511	error	Get Vehicles failed
            
            psa.0
            2021-06-23 09:44:52.510	error	Error: Request failed with status code 404
            
            psa.0
            2021-06-23 09:44:52.089	warn	State "psa.0.info.connection" has no existing object, this might lead to an error in future versions
            
            psa.0
            2021-06-23 09:44:52.084	info	Login successful
            
            psa.0
            2021-06-23 09:44:52.083	debug	{"scope":"openid profile","expires_in":3599,"token_type":"Bearer","refresh_token":"xxxxxxxxxxx-xxxxxxxx-5ea8a30a1ed7","id_token":"xxxxxx","access_token":"xxxxxxxxxxx"}
            
            psa.0
            2021-06-23 09:44:51.694	info	starting. Version 0.0.1 in C:/Program Files/iobroker/Home/node_modules/iobroker.psa, node: v12.22.1, js-controller: 3.3.14
            
            psa.0
            2021-06-23 09:44:51.485	debug	statesDB connected
            
            psa.0
            2021-06-23 09:44:51.484	debug	States connected to redis: 127.0.0.1:9010
            
            psa.0
            2021-06-23 09:44:51.463	debug	States create User PubSub Client
            
            psa.0
            2021-06-23 09:44:51.462	debug	States create System PubSub Client
            
            psa.0
            2021-06-23 09:44:51.456	debug	Redis States: Use Redis connection: 127.0.0.1:9010
            
            psa.0
            2021-06-23 09:44:51.455	debug	objectDB connected
            
            psa.0
            2021-06-23 09:44:51.451	debug	Objects connected to redis: 127.0.0.1:9011
            
            psa.0
            2021-06-23 09:44:51.432	debug	Objects client initialize lua scripts
            
            psa.0
            2021-06-23 09:44:51.432	debug	Objects create User PubSub Client
            
            psa.0
            2021-06-23 09:44:51.431	debug	Objects create System PubSub Client
            
            psa.0
            2021-06-23 09:44:51.431	debug	Objects client ready ... initialize now
            
            psa.0
            2021-06-23 09:44:51.401	debug	Redis Objects: Use Redis connection: 127.0.0.1:9011
            
            psa.0
            2021-06-23 09:44:47.728	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            
            psa.0
            2021-06-23 09:44:47.728	warn	Clear yet terminated interval 484
            
            psa.0
            2021-06-23 09:44:47.727	warn	Clear yet terminated interval undefined
            
            psa.0
            2021-06-23 09:44:47.728	info	terminating
            
            psa.0
            2021-06-23 09:44:47.726	info	Got terminate signal TERMINATE_YOURSELF
            
            H 1 Reply Last reply Reply Quote 0
            • H
              holgerwolf @sigi234 last edited by holgerwolf

              Nächster Fehler:

              psa.0
              	2021-06-23 10:06:20.129	error	Get device status failed
              psa.0
              	2021-06-23 10:06:20.129	error	{"httpCode":"401","httpMessage":"Unauthorized","moreInformation":"Token is invalid"}
              psa.0
              	2021-06-23 10:06:20.129	error	Get 1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3dstatus failed
              psa.0
              	2021-06-23 10:06:20.128	error	Error: Request failed with status code 401
              psa.0
              	2021-06-23 10:06:20.121	error	Get device status failed
              psa.0
              	2021-06-23 10:06:20.121	error	{"httpCode":"401","httpMessage":"Unauthorized","moreInformation":"Token is invalid"}
              psa.0
              	2021-06-23 10:06:20.121	error	Get 1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3dlastPosition failed
              psa.0
              	2021-06-23 10:06:20.120	error	Error: Request failed with status code 401
              psa.0
              	2021-06-23 10:06:20.095	error	Get Details failed
              psa.0
              	2021-06-23 10:06:20.094	error	{"httpCode":"401","httpMessage":"Unauthorized","moreInformation":"Invalid client id or secret."}
              psa.0
              	2021-06-23 10:06:20.094	error	Get 1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3d.details failed
              psa.0
              	2021-06-23 10:06:20.094	error	Error: Request failed with status code 401
              psa.0
              	2021-06-23 10:06:19.938	debug	{"_links":{"self":{"href":"https://api.groupe-psa.com/connectedcar/v4/user"},"vehicles":{"href":"https://api.groupe-psa.com/connectedcar/v4/user/vehicles"}},"_embedded":{"vehicles":[{"id":"YYYY","vin":"XXXX","brand":"Peugeot","pictures":["http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=001","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=002","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=003","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=004","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=005","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=006","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=007","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=008","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=009","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=010","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=011","http://visuel3d.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP1SYUESFB0A0B0&color=0MM60NSM&trim=0P2A0RFX&OPT1=DE30&OPT2=DLZ0&OPT3=DTC0&view=012"],"_links":{"alerts":{"href":"https://api.groupe-psa.com/connectedcar/v4/user/vehicles/1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3d/alerts"},"trips":{"href":"https://api.groupe-psa.com/connectedcar/v4/user/vehicles/1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3d/trips"},"self":{"href":"https://api.groupe-psa.com/connectedcar/v4/user/vehicles/1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3d"},"lastPosition":{"href":"https://api.groupe-psa.com/connectedcar/v4/user/vehicles/1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3d/lastPosition"},"telemetry":{"href":"https://api.groupe-psa.com/connectedcar/v4/user/vehicles/1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3d/telemetry"},"maintenance":{"href":"https://api.groupe-psa.com/connectedcar/v4/user/vehicles/1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3d/maintenance"},"status":{"href":"https://api.groupe-psa.com/connectedcar/v4/user/vehicles/1566c497a565574615331686154456f334f546b314f544d6a497a4133595752684d57466c4d6d49334f474d31597a67335a6a64694f5463314e7a6c6d5a546c684d6d4e6c595459334d3245774d4455354d54686b4e3249794e4756694e7a686c5a6a566a4d325130596d45784f574d3d/status"}}}]}}
              psa.0
              	2021-06-23 10:06:19.554	warn	State "psa.0.info.connection" has no existing object, this might lead to an error in future versions
              psa.0
              	2021-06-23 10:06:19.541	info	Login successful
              psa.0
              	2021-06-23 10:06:19.540	debug	{"scope":"openid profile","expires_in":3599,"token_type":"Bearer","refresh_token":"XXXX"}
              

              Wo hatte ich denn ein Sonderzeichen?

              sigi234 1 Reply Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @holgerwolf last edited by

                @holgerwolf sagte in Test Adapter PSA v0.0.x Peugot Opel Citroen:

                Wo hatte ich denn ein Sonderzeichen?

                Das war bei mir im Passwort denke ich. 😏

                1 Reply Last reply Reply Quote 0
                • T
                  tombox @holgerwolf last edited by

                  @holgerwolf Probier nochmal

                  T H 2 Replies Last reply Reply Quote 0
                  • T
                    tombox @tombox last edited by

                    @sigi234 Die api geht anscheinend nur für die neuen emodelle
                    @holgerwolf Es sieht gut aus erste Daten kommen rein ich versuche noch die fernsteuerung mit reinzumachen

                    1 Reply Last reply Reply Quote 0
                    • H
                      holgerwolf @tombox last edited by

                      @tombox Gleicher 401 error wie oben:

                      psa.0
                      	2021-06-23 11:18:05.549	error	{"httpCode":"401","httpMessage":"Unauthorized","moreInformation":"Invalid client id or secret."}
                      

                      Ich habe den Adapter auch mal komplett deinstalliert und neu aufgesetzt. Gleiches Ergebnis.

                      Was nutzt du den eigentlich für den Adapter? Ich zapfe die PSA API ja auch durch ein paar andere Methoden an:
                      Direkt in der Wallbox (OpenWB). Dort muss ich aber zusätzlich zum Login und PW noch die Client ID und Secret angeben. Die habe ich vorher mit dieser Methode erzeugt:
                      https://github.com/flobz/psa_car_controller/blob/master/docs/Install.md

                      Erzeugst du die Client Daten selbst?

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tombox @holgerwolf last edited by

                        @holgerwolf Nochmal die aktuelle github version installieren. alle objekte löschen
                        Ja

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          holgerwolf @tombox last edited by

                          @tombox Jetzt gehts. Hat sich wohl irgendwas überschnitten.

                          Batteriestatus, Position, und Kilometer (in Meilen) werden aktualsiert.

                          Danke und Gruß
                          Holger

                          1 Reply Last reply Reply Quote 0
                          • M
                            michihorn @tombox last edited by

                            @tombox Hey super, vielen Dank für den Adapter, Installation klappte sofort er hat auch sofort Daten geliefert, allerdings von meinem letzten Dienstwagen einen 3008 Hybrid, aktuell habe ich einen 508 SW Hybrid. Kann es sein das die Daten noch kommen? In der APP ist nur noch der aktuelles DW drin.
                            Gruß
                            Michael

                            T 2 Replies Last reply Reply Quote 0
                            • T
                              tombox @michihorn last edited by

                              @michihorn Schreib mich mal an müsste mich mir genau anschauen ob etwas auffälliges in deinem account ist

                              1 Reply Last reply Reply Quote 0
                              • H
                                holgerwolf last edited by

                                Ich glaube gerade jetzt hat PSA was an der API geändert. Ist auch schon Thema im OpenWB-Forum:
                                https://openwb.de/forum/viewtopic.php?f=5&t=1206&start=240

                                Es werden jetzt pro Status-Änderungen einzelne Bäume mit Zeitstempel als Objekte angelegt:

                                aa97d631-a213-43d6-a5ff-9cd031ed9fa2-grafik.png

                                Zusätzlich gibt es noch einen Fuel-Level (Hybrid oder Verbrenner?)

                                T 2 Replies Last reply Reply Quote 0
                                • T
                                  tombox @holgerwolf last edited by

                                  @holgerwolf schaue ich mir gleich an und passe es an das es schöner aussieht

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tombox @holgerwolf last edited by

                                    @holgerwolf Ich kann die Änderung nicht nachvollziehen bei mir kommen sie noch nach dem alten format

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      holgerwolf @tombox last edited by

                                      @tombox Bei mir kamen die Änderungen auch erst nach der ersten, neuen Fahrt. Gestern war noch alles ok, bei anderen kam schon die neue Struktur.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tombox @michihorn last edited by

                                        @michihorn @sigi234
                                        Das problem ist dass das "neue" fahrzeug nicht die neue API unterstützt.
                                        Ich habe jetzt die alte API hinzugefügt aber die liest nur den km stand aus mehr nicht.

                                        sigi234 1 Reply Last reply Reply Quote 1
                                        • sigi234
                                          sigi234 Forum Testing Most Active @tombox last edited by sigi234

                                          @tombox sagte in Test Adapter PSA v0.0.x Peugot Opel Citroen:

                                          Ich habe jetzt die alte API hinzugefügt aber die liest nur den km stand aus mehr nicht.

                                          psa.0
                                          2021-06-25 12:55:31.731	error	Get vehicles failed
                                          
                                          psa.0
                                          2021-06-25 12:55:31.731	error	No compatible vehicles found. Maybe your vehicle is too old.
                                          
                                          psa.0
                                          2021-06-25 12:55:31.730	error	{"uuid":"dfb1e1a3-3558-4cf5-b96c-3594639db06c","code":40410,"message":"No vehicule found"}
                                          
                                          psa.0
                                          2021-06-25 12:55:31.730	error	Get Vehicles failed
                                          
                                          psa.0
                                          2021-06-25 12:55:31.730	error	Error: Request failed with status code 404
                                          
                                          psa.0
                                          2021-06-25 12:55:31.350	warn	receive old api failed
                                          
                                          psa.0
                                          2021-06-25 12:55:31.350	warn	TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "token"
                                          
                                          psa.0
                                          2021-06-25 12:55:31.286	info	Login successful
                                          
                                          psa.0
                                          2021-06-25 12:55:30.791	info	starting. Version 0.0.3 in C:/Program Files/iobroker/Home/node_modules/iobroker.psa, node: v12.22.1, js-controller: 3.3.14
                                          
                                          psa.0
                                          2021-06-25 12:57:28.735	error	Get Vehicles failed
                                          
                                          psa.0
                                          2021-06-25 12:57:28.735	error	Error: Request failed with status code 404
                                          
                                          psa.0
                                          2021-06-25 12:57:28.349	warn	receive old api failed
                                          
                                          psa.0
                                          2021-06-25 12:57:28.348	warn	TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "token"
                                          
                                          psa.0
                                          2021-06-25 12:57:28.344	debug	{"returnCode":"AUTHENTICATION_FAILED"}
                                          
                                          psa.0
                                          2021-06-25 12:57:28.260	info	Login successful
                                          
                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            tombox @sigi234 last edited by

                                            @sigi234 probier nochmal via github

                                            sigi234 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            946
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            citroen corsa corsa-e e208 opel peugeot psa
                                            44
                                            334
                                            46481
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo