Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Adapter Hyundai (Bluelink) oder KIA (UVO)

    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

    Adapter Hyundai (Bluelink) oder KIA (UVO)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Newan
      Newan last edited by

      Api hat sich geändert. Muss ein update machen. Melde mich

      M 1 Reply Last reply Reply Quote 5
      • M
        Michaelnorge @Newan last edited by

        @newan Ok 👍

        1 Reply Last reply Reply Quote 0
        • Newan
          Newan last edited by

          Bitte testet 2.2.2

          T M Meister Mopper 3 Replies Last reply Reply Quote 0
          • T
            theGrinch @Newan last edited by

            @newan funktioniert wieder. Danke.

            1 Reply Last reply Reply Quote 0
            • M
              Michaelnorge @Newan last edited by

              @newan Scheint zu funktionieren, danke 👍

              1 Reply Last reply Reply Quote 0
              • Neuschwansteini
                Neuschwansteini last edited by

                @newan Hi, schlechter Zeitpunkt, die App geht bei mir gerade nicht, und auch der Adapter meldet

                ManagedBluelinkyError: @EuropeController.login: [401] Unauthorized on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/notifications/register - {"retCode":"F","resCode":"4017","resMsg":"Invalid request value - Invalid Application Id. - -8169.12299990654","msgId":"2abc2c4c-44b4-4d07-8264-10b36dff2a24"}
                
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  Michaelnorge @Neuschwansteini last edited by

                  @ilovegym Sicher dass das Update geklappt hat?

                  Neuschwansteini 1 Reply Last reply Reply Quote 0
                  • Neuschwansteini
                    Neuschwansteini @Michaelnorge last edited by

                    @michaelnorge So, die App geht wieder, und jetzt holt der Adapter V2.2.2 auch Daten, allerdings mit fallback get smallstatus...

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Michaelnorge @Neuschwansteini last edited by

                      @ilovegym Ja, das habe ich hier auch noch.

                      1 Reply Last reply Reply Quote 0
                      • Meister Mopper
                        Meister Mopper @Newan last edited by

                        @newan sagte in Adapter Hyundai (Bluelink) oder KIA (UVO):

                        Bitte testet 2.2.2

                        Bei mir erscheint im latest repo lediglich 2.2.0 auch nach iobroker update.

                        Neuschwansteini 1 Reply Last reply Reply Quote 0
                        • Neuschwansteini
                          Neuschwansteini @Meister Mopper last edited by

                          @meister-mopper ja ist nur auf Git, nicht im latest.

                          Meister Mopper 1 Reply Last reply Reply Quote 0
                          • Meister Mopper
                            Meister Mopper @Neuschwansteini last edited by

                            @ilovegym
                            Dann warte ich mal lieber, bis 2.2.2 oder höher im stable repo auftaucht.
                            @Newan
                            Kannst Du in etwa abschätzen, wann das soweit sein wird?

                            Newan 1 Reply Last reply Reply Quote 0
                            • Newan
                              Newan @Meister Mopper last edited by

                              @meister-mopper müssen das noch mit dem fallback und den Listen klären. Danach wäre es zeit

                              K 1 Reply Last reply Reply Quote 1
                              • K
                                klausiob @Newan last edited by

                                @newan Nach ersten Start ging Login. Hat 1 Vehicle gefunden, VehicleConfig abgerufen, am Ende aber:

                                {"main":{"language":"en"},"fallback":{"language":"en"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}
                                

                                Dann driveHistory-Data geloggt? Dann einige Ausgaben der Art von cumulated03:

                                undefined is not a valid state value for id "bluelink.0.xxxxx.driveHistory.cumulated03.consumption.battery"
                                ....
                                Read new status from api for
                                Error on API-Request Status
                                @EuropeVehicle.status: [400] Bad Request on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/xxx/status - {"retCode":"F","resCode":"4006","resMsg":"Remote control unavailable(tmu timeout) - Remote control unavailable(tmu timeout)","msgId":"xxx"}
                                

                                Und meine App auf Handy hat wieder auf EN umgeschaltet.

                                Newan 1 Reply Last reply Reply Quote 0
                                • Newan
                                  Newan @klausiob last edited by

                                  @klausiob kannst du den vollen debug log (ohne User und Passwort ) hier posten?
                                  Das mit der Sprache hatte ich auf github schon gesagt das ich da kein Ansatz habe

                                  K 1 Reply Last reply Reply Quote 0
                                  • K
                                    klausiob @Newan last edited by

                                    @newan

                                    2022-02-11 09:02:56.014 - info: host.hsmart4 "system.adapter.bluelink.0" enabled
                                    2022-02-11 09:02:56.222 - info: host.hsmart4 instance system.adapter.bluelink.0 started with pid 6731
                                    2022-02-11 09:02:57.923 - debug: bluelink.0 (6731) Redis Objects: Use Redis connection: 0.0.0.0:9001
                                    2022-02-11 09:02:57.965 - debug: bluelink.0 (6731) Objects client ready ... initialize now
                                    2022-02-11 09:02:57.967 - debug: bluelink.0 (6731) Objects create System PubSub Client
                                    2022-02-11 09:02:57.968 - debug: bluelink.0 (6731) Objects create User PubSub Client
                                    2022-02-11 09:02:57.970 - debug: bluelink.0 (6731) Objects client initialize lua scripts
                                    2022-02-11 09:02:57.985 - debug: bluelink.0 (6731) Objects connected to redis: 0.0.0.0:9001
                                    2022-02-11 09:02:57.995 - debug: bluelink.0 (6731) objectDB connected
                                    2022-02-11 09:02:57.997 - debug: bluelink.0 (6731) Redis States: Use Redis connection: 0.0.0.0:9000
                                    2022-02-11 09:02:58.008 - debug: bluelink.0 (6731) States create System PubSub Client
                                    2022-02-11 09:02:58.009 - debug: bluelink.0 (6731) States create User PubSub Client
                                    2022-02-11 09:02:58.020 - debug: bluelink.0 (6731) States connected to redis: 0.0.0.0:9000
                                    2022-02-11 09:02:58.022 - debug: bluelink.0 (6731) statesDB connected
                                    2022-02-11 09:02:58.328 - info: bluelink.0 (6731) starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.bluelink, node: v14.18.1, js-controller: 3.3.22
                                    2022-02-11 09:02:58.365 - info: bluelink.0 (6731) Login to api
                                    2022-02-11 09:03:02.214 - info: bluelink.0 (6731) 1 Vehicles found
                                    2022-02-11 09:03:02.216 - debug: bluelink.0 (6731) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-07-09 13:36:33.723","brandIndicator":"H",
                                    "id":"xxx","vin":"xxx","generation":"2022"},
                                    "controller":{"userConfig":{"username":"","password":"PW","region":"EU","brand":"hyundai","autoLogin":true,"pin":"1632","vin":"","language":"en"},
                                    "session":{"accessToken":"Bearer...","refreshToken":"-_I1OML-xxx","deviceId":"xxx","tokenExpiresAt":1644652981,"controlTokenExpiresAt":0},
                                    "_environment":{"brand":"hyundai",
                                    "host":"prd.eu-ccapi.hyundai.com:8080",
                                    "baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"xxxx",
                                    "endpoints":{"session":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/authorize?response_type=code&state=test&client_id=xxx&redirect_uri=https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect",
                                    "login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin",
                                    "language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language",
                                    "redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect",
                                    "token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token",
                                    "integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo",
                                    "silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},
                                    "basicToken":"Basic...==","GCMSenderID":"xxxx"},
                                    "authStrategies":{"main":{"language":"en"},"fallback":{"language":"en"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}]
                                    2022-02-11 09:03:02.452 - debug: bluelink.0 (6731) driveHistory-Data: {"cumulated":[
                                    {"period":0,"consumption":{"total":344638,"engine":340253,"climate":1405,"devices":2980,"battery":0},"regen":8170,"distance":87},
                                    {"period":1,"consumption":{"total":43079,"engine":42531,"climate":175,"devices":372,"battery":0},"regen":1021,"distance":10.875},
                                    {"period":2,"consumption":{}}],
                                    "history":[
                                    {"period":0,"rawDate":"20220203","date":"2022-02-02T23:00:00.000Z","consumption":{"total":150,"engine":0,"climate":0,"devices":150,"battery":0},"regen":0,"distance":0},
                                    {"period":0,"rawDate":"20220202","date":"2022-02-01T23:00:00.000Z","consumption":{"total":68148,"engine":67728,"climate":0,"devices":420,"battery":0},"regen":990,"distance":12},
                                    {"period":0,"rawDate":"20220130","date":"2022-01-29T23:00:00.000Z","consumption":{"total":67667,"engine":67257,"climate":0,"devices":410,"battery":0},"regen":1451,"distance":14},
                                    {"period":0,"rawDate":"20220123","date":"2022-01-22T23:00:00.000Z","consumption":{"total":73843,"engine":72146,"climate":887,"devices":810,"battery":0},"regen":3944,"distance":41},
                                    {"period":0,"rawDate":"20220119","date":"2022-01-18T23:00:00.000Z","consumption":{"total":190,"engine":0,"climate":0,"devices":190,"battery":0},"regen":0,"distance":0},
                                    {"period":0,"rawDate":"20220118","date":"2022-01-17T23:00:00.000Z","consumption":{"total":134172,"engine":133122,"climate":490,"devices":560,"battery":0},"regen":1785,"distance":20},
                                    {"period":0,"rawDate":"20220116","date":"2022-01-15T23:00:00.000Z","consumption":{"total":302,"engine":0,"climate":12,"devices":290,"battery":0},"regen":0,"distance":0},
                                    {"period":0,"rawDate":"20220112","date":"2022-01-11T23:00:00.000Z","consumption":{"total":166,"engine":0,"climate":16,"devices":150,"battery":0},"regen":0,"distance":0}]}
                                    2022-02-11 09:03:02.485 - info: bluelink.0 (6731) undefined is not a valid state value for id "bluelink.0.xxx.driveHistory.cumulated03.regen"
                                    2022-02-11 09:03:02.487 - info: bluelink.0 (6731) undefined is not a valid state value for id "bluelink.0.xxx.driveHistory.cumulated03.distance"
                                    2022-02-11 09:03:02.524 - info: bluelink.0 (6731) undefined is not a valid state value for id "bluelink.0.xxx.driveHistory.cumulated03.consumption.total"
                                    2022-02-11 09:03:02.525 - info: bluelink.0 (6731) undefined is not a valid state value for id "bluelink.0.xxx.driveHistory.cumulated03.consumption.engine"
                                    2022-02-11 09:03:02.526 - info: bluelink.0 (6731) undefined is not a valid state value for id "bluelink.0.xxx.driveHistory.cumulated03.consumption.climate"
                                    2022-02-11 09:03:02.527 - info: bluelink.0 (6731) undefined is not a valid state value for id "bluelink.0.xxx.driveHistory.cumulated03.consumption.devices"
                                    2022-02-11 09:03:02.528 - info: bluelink.0 (6731) undefined is not a valid state value for id "bluelink.0.xxx.driveHistory.cumulated03.consumption.battery"
                                    2022-02-11 09:03:03.562 - debug: bluelink.0 (6731) Read new status from api for xxxx
                                    2022-02-11 09:03:04.028 - info: bluelink.0 (6731) Error on API-Full-Status - Fallback GetNormalStatus
                                    2022-02-11 09:03:04.125 - error: bluelink.0 (6731) Error on API-Request Status
                                    2022-02-11 09:03:04.126 - error: bluelink.0 (6731) @EuropeVehicle.status: [400] Bad Request on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/xxx/status - {"retCode":"F","resCode":"4006","resMsg":"Remote control unavailable(tmu timeout) - Remote control unavailable(tmu timeout)","msgId":"xxx"}
                                    2022-02-11 09:08:22.376 - info: host.hsmart4 "system.adapter.bluelink.0" disabled
                                    2022-02-11 09:08:22.393 - info: host.hsmart4 stopInstance system.adapter.bluelink.0 (force=false, process=true)
                                    2022-02-11 09:08:22.470 - info: host.hsmart4 stopInstance system.adapter.bluelink.0 send kill signal
                                    2022-02-11 09:08:22.470 - info: bluelink.0 (6731) Got terminate signal TERMINATE_YOURSELF
                                    2022-02-11 09:08:22.472 - info: bluelink.0 (6731) Adapter bluelink cleaned up everything...
                                    2022-02-11 09:08:22.473 - info: bluelink.0 (6731) terminating
                                    2022-02-11 09:08:22.474 - info: bluelink.0 (6731) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                    
                                    

                                    Habe mal noch ein paar Umbrüche reingemacht zur Übersicht.
                                    Mit XXX habe ich PW,User und IDs ersetzt.

                                    Newan 1 Reply Last reply Reply Quote 0
                                    • Newan
                                      Newan @klausiob last edited by

                                      @klausiob Danke, muss ich mir anschauen, das sind wieder andere Werte für driveHistory

                                      K 1 Reply Last reply Reply Quote 0
                                      • K
                                        klausiob @Newan last edited by

                                        @newan Habe gerade nochmal den Adapter angeworfen. Jetzt kamen keinerlei Fehler. Die undefinierten Werte hingen evtl. mit dem Adapterstart nach Update zusammen oder dass der Adapter tagelang sich nicht einwählen konnte. Das sollen ja die Verbrauchswerte sein in welcher Maßeinheit? Wh wie beim Solardach? Hast Du mal eine API-Beschreibung was die Werte bedeuten, die meisten sind ja selbstsprechend? Was bedeutet auch z.B.:

                                        Folgende Ladezeiten Moeglichkeiten wurden gefunden:

                                        {"etc1":{"value":44,"unit":1},"etc2":{"value":710,"unit":1},"etc3":{"value":175,"unit":1},"atc":{"value":125,"unit":1}}
                                        
                                        Newan 1 Reply Last reply Reply Quote 0
                                        • Newan
                                          Newan @klausiob last edited by

                                          @klausiob Kenne auch keine API Doc und suche das immer so raus.

                                          1 Reply Last reply Reply Quote 0
                                          • Newan
                                            Newan last edited by

                                            Hilfe gesucht, könnt ihr bitte den REsult vom Smalabruf auf die vorhandenen Objekte zuweisen:

                                            {
                                                "chassis":{
                                                   "hoodOpen":false,
                                                   "trunkOpen":false,
                                                   "locked":false,
                                                   "openDoors":{
                                                      "frontRight":false,
                                                      "frontLeft":false,
                                                      "backLeft":false,
                                                      "backRight":false
                                                   },
                                                   "tirePressureWarningLamp":{
                                                      "rearLeft":false,
                                                      "frontLeft":false,
                                                      "frontRight":false,
                                                      "rearRight":false,
                                                      "all":false
                                                   }
                                                },
                                                "climate":{
                                                   "active":false,
                                                   "steeringwheelHeat":false,
                                                   "sideMirrorHeat":false,
                                                   "rearWindowHeat":false,
                                                   "defrost":false,
                                                   "temperatureSetpoint":14,
                                                   "temperatureUnit":0
                                                },
                                                "engine":{
                                                   "ignition":false,
                                                   "accessory":false,
                                                   "rangeGas":338,
                                                   "range":393,
                                                   "rangeEV":0,
                                                   "plugedTo":0,
                                                   "charging":false,
                                                   "estimatedCurrentChargeDuration":1,
                                                   "estimatedPortableChargeDuration":9,
                                                   "estimatedStationChargeDuration":6,
                                                   "batteryCharge12v":73,
                                                   "batteryChargeHV":97
                                                },
                                                "lastupdate":"2022-01-10T16:46:55.000Z"
                                             }
                                            

                                            Würde mir reichen wir ihr eure IDs dahinter schreibt in welche Objekte ihr welchen Wert haben wollt. Weil das JSON vom Full und small komplett anders aussieht wäre ich über die Fleißarbeit sehr dankbar!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            892
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            127
                                            1989
                                            686586
                                            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