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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Adapter Hyundai (Bluelink) oder KIA (UVO)

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

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

      @newan super Adapter, hatte gestern bereits die erste Version installiert und konnte auch meinen Ladezustand in % (soc) sehen. Seitdem ich upgegraded habe ist der Wert Leer. Generell werden keine Werte für die Battery geladen. Ideen?

      Update, es gibt nun den Wert "Vehicle minutes to charged", schau mal bitte ob der für dich passt. Falls nicht gibt es im Debug log folgendes:

      bluelink.0	2021-03-28 23:10:52.261	debug	(6875) {"etc1":{"value":97,"unit":1},"etc2":{"value":1150,"unit":1},"etc3":{"value":340,"unit":1},"atc":{"value":335,"unit":1}}
      bluelink.0	2021-03-28 23:10:52.260	debug	(6875) Folgende Ladezeiten Moeglichkeiten wurden gefunden:
      

      Derzeit nutze ich atc!

      M 1 Reply Last reply Reply Quote 1
      • M
        Michaelnorge last edited by

        Hab den Adapter eine ganze Nacht am Laufen gehabt und bekomme regelmässig alle 30 Minuten diese Fehlermeldungen:

        bluelink.0	2021-03-29 04:05:51.036	error	(10840) @EuropeVehicle.Fullstatus: [401] Unauthorized on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/3dd4b153-xxxx-xxxx-xxxx-a4725ed30ace/location - {"error":"Key not authorized:
        bluelink.0	2021-03-29 04:05:51.035	error	at process._tickCallback (internal/process/next_tick.js:68:7)
        bluelink.0	2021-03-29 04:05:51.035	error	at P (/opt/iobroker/node_modules/kuvork/dist/index.js:17:136)
        bluelink.0	2021-03-29 04:05:51.035	error	at Generator.throw (<anonymous>)
        bluelink.0	2021-03-29 04:05:51.035	error	at NN.<anonymous> (/opt/iobroker/node_modules/kuvork/dist/index.js:17:154415)
        bluelink.0	2021-03-29 04:05:51.035	error	at o.manageBluelinkyError (/opt/iobroker/node_modules/kuvork/dist/index.js:17:12327)
        bluelink.0	2021-03-29 04:05:51.035	error	at new h (/opt/iobroker/node_modules/kuvork/dist/index.js:17:12108)
        bluelink.0	2021-03-29 04:05:51.035	error	(10840) ManagedBluelinkyError: @EuropeVehicle.Fullstatus: [401] Unauthorized on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/3dd4b153-xxxx-xxxx-xxxx-a4725ed30ace/location - {"error
        bluelink.0	2021-03-29 04:05:51.032	error	(10840) unhandled promise rejection: @EuropeVehicle.Fullstatus: [401] Unauthorized on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/3dd4b153-xxxx-xxxx-xxxx-a4725ed30ace/location - {
        bluelink.0	2021-03-29 04:05:51.031	error	(10840) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
        
        Newan 1 Reply Last reply Reply Quote 0
        • Newan
          Newan @Michaelnorge last edited by

          @michaelnorge sieht so aus als würde der api tocken ausgelaufen sein. Läuft aber weiter?

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

            @newan Ja kein Problem, läuft weiter.

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

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

              sieht so aus als würde der api tocken ausgelaufen sein. Läuft aber weiter?

              Jetzt hat er sich der Adapter doch aufgehängt, allerdings ist der Fehler ein Anderer:

              host.raspberrypi	2021-03-29 08:23:00.781	warn	Do not restart adapter system.adapter.bluelink.0 because restart loop detected
              host.raspberrypi	2021-03-29 08:23:00.781	info	Restart adapter system.adapter.bluelink.0 because enabled
              host.raspberrypi	2021-03-29 08:23:00.780	error	instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              bluelink.0	2021-03-29 08:23:00.145	warn	(23677) Terminated (UNCAUGHT_EXCEPTION): Without reason
              bluelink.0	2021-03-29 08:23:00.144	info	(23677) terminating
              bluelink.0	2021-03-29 08:23:00.143	info	(23677) Adapter bluelink cleaned up everything...
              bluelink.0	2021-03-29 08:23:00.014	error	(23677) @EuropeVehicle.Fullstatus: [400] Bad Request on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/3dd4b153-xxxx-x-xxxxxxxx-a4725ed30ace/status - {"retCode":"F","resCode":"4004","
              bluelink.0	2021-03-29 08:23:00.014	error	at process._tickCallback (internal/process/next_tick.js:68:7)
              bluelink.0	2021-03-29 08:23:00.014	error	at P (/opt/iobroker/node_modules/kuvork/dist/index.js:17:136)
              bluelink.0	2021-03-29 08:23:00.014	error	at Generator.throw (<anonymous>)
              bluelink.0	2021-03-29 08:23:00.014	error	at NN.<anonymous> (/opt/iobroker/node_modules/kuvork/dist/index.js:17:154415)
              bluelink.0	2021-03-29 08:23:00.014	error	at o.manageBluelinkyError (/opt/iobroker/node_modules/kuvork/dist/index.js:17:12327)
              bluelink.0	2021-03-29 08:23:00.014	error	at new h (/opt/iobroker/node_modules/kuvork/dist/index.js:17:12108)
              bluelink.0	2021-03-29 08:23:00.014	error	(23677) ManagedBluelinkyError: @EuropeVehicle.Fullstatus: [400] Bad Request on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/3dd4b153-xxxx-xxxx-xxxx-a4725ed30ace/status - {"retCode"
              bluelink.0	2021-03-29 08:23:00.013	error	(23677) unhandled promise rejection: @EuropeVehicle.Fullstatus: [400] Bad Request on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/3dd4b153-xxxx-xxxx-xxxx-a4725ed30ace/status - {"re
              bluelink.0	2021-03-29 08:23:00.012	error	(23677) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              bluelink.0	2021-03-29 08:22:59.101	info	(23677) Read new status from api
              bluelink.0	2021-03-29 08:22:59.055	info	(23677) Vehicles found
              bluelink.0	2021-03-29 08:22:55.118	info	(23677) Login to ap
              

              Jetzt scheint allerdings das System selbst einen Loop entdeckt zu haben und weigert sich, bluelink.0 neu zu starten.

              Das wäre im Übrigen keine schlechte Idee, direkt bei den Objekten ein "online-true" zu haben, dann sieht man immer auf den ersten Blick wenn der Adapter nicht läuft. Man kann sich dann warnen lassen oder es wird in der VIS angezeigt.

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

                @newan vielen Dank, habe es gerade getestet und sehe als objekt "Vehicle minutes to charged" allerdings ist auch dieser Wert leer.

                Ich sehe auch viele error messages im Log:

                2021-03-29 12:37:00.713 - info: bluelink.0 (9873) Login to api
                2021-03-29 12:37:05.140 - info: bluelink.0 (9873) Vehicles found
                2021-03-29 12:37:05.204 - info: bluelink.0 (9873) Read new status from api
                2021-03-29 12:37:12.182 - info: bluelink.0 (9873) Set new status
                2021-03-29 12:37:12.200 - error: bluelink.0 (9873) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                2021-03-29 12:37:12.201 - error: bluelink.0 (9873) unhandled promise rejection: Cannot read property '0' of undefined
                2021-03-29 12:37:12.201 - error: bluelink.0 (9873) TypeError: Cannot read property '0' of undefined
                at Bluelink.setNewStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:206:71)
                2021-03-29 12:37:12.202 - error: bluelink.0 (9873) Cannot read property '0' of undefined
                2021-03-29 12:37:12.215 - info: bluelink.0 (9873) Adapter bluelink cleaned up everything...
                2021-03-29 12:37:12.216 - info: bluelink.0 (9873) terminating

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

                  @mmemme ok da scheint es wirklich andere Daten zu geben, erden den Debuglog erweitern.
                  @Michaelnorge Danke, ich werde die lib aktualisieren und dann schauen wir uns das nochmal an, ok

                  Melde mich!

                  A M 2 Replies Last reply Reply Quote 1
                  • A
                    Aiouh @Newan last edited by

                    @newan Servus,
                    Nachdem der 1.0.0 immer wieder mal rot war und hing, habe ich heute die V 1.0.0 gelöscht und V 1.0.1 installiert.
                    Die Installation ging jetzt fehlerfrei durch.
                    Es sind auch alle Objekte da, inkl. verbleibender Ladezeit. Super Job ! Gut wäre noch ein Zeitstempel für das last update.
                    Und als Teaser, damit die Jungs und Mädels sehen was man bereits an Daten bekommt und auch steuern kann, hier mal ein Screenshot. Eine Spende für die tolle Arbeit lohnt also 😉
                    bluelink_all_objects.JPG

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

                      @newan vielen Dank. Sobald ich was testen soll bitte melden 🙂

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

                        Neue Version 1.0.2
                        Bitte das Fabrikat neu speichern!

                        Ich habe eine neue lib nun in den Abhängigkeiten, mal sehen wie stabil diese für die Hyundais läuft.

                        @mmemme Bitte mal ein Debuglog von einem Api Aufruf von der neuen Version von deinem Auto, danke! (Bitte persönliche Daten wie VIN etc entfernen!)

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

                          Ich habe bei soc-12v einen Wert von 255.
                          Sind das gar Prozentangaben (von 1-100) ?

                          Gestern hat meine 12v-Batterie versagt, da zeigte die einen wert von 23 an.
                          Gemessen hatte sie nur noch 4,5 Volt.

                          76f69c12-d829-49b9-9675-a7db7ff1c5f9-image.png

                          A Newan 2 Replies Last reply Reply Quote 0
                          • A
                            Aiouh @Michaelnorge last edited by

                            @michaelnorge Meine 12V Batt. zeigte 67%, nach Volladen per externem Lader immer noch 67%. Erst nachdem ich ein paar Minuten rumgefahren bin, ging der Wert auf 84%. Sieht so aus als ob Kia die Batterie irgendwie während der Fahrt "vermisst". Die reine Spannung ist wohl nicht das Kriterium. (Das Versagen mit der 12V Batt hatte ich auch schon, wurde angeblich jetzt mit einem Update behoben - sagt "man".) Habe immer einen 12V booster im Auto...

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

                              @michaelnorge Möglich das es bis 255 geht, dann sind es Werte die noch in Prozent umgerechnet werden müssen. Habe deshalb bei den meisten Objekten noch keine Einheit hinter.

                              Könnten wir aber gemeinsam mal vervollständigen, wo welche Einheit hinkommt!

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

                                @newan Vielen Dank, und schon installiert 🙂

                                Anbei das Logfile (die Daten kommen an):

                                2021-03-30 17:10:43.152 - info: host.raspberrypi "system.adapter.bluelink.0" enabled
                                2021-03-30 17:10:43.230 - info: host.raspberrypi instance system.adapter.bluelink.0 started with pid 12924
                                2021-03-30 17:10:45.089 - debug: bluelink.0 (12924) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                2021-03-30 17:10:45.136 - debug: bluelink.0 (12924) Objects client ready ... initialize now
                                2021-03-30 17:10:45.140 - debug: bluelink.0 (12924) Objects create System PubSub Client
                                2021-03-30 17:10:45.141 - debug: bluelink.0 (12924) Objects create User PubSub Client
                                2021-03-30 17:10:45.142 - debug: bluelink.0 (12924) Objects client initialize lua scripts
                                2021-03-30 17:10:45.160 - debug: bluelink.0 (12924) Objects connected to redis: 127.0.0.1:9001
                                2021-03-30 17:10:45.172 - debug: bluelink.0 (12924) objectDB connected
                                2021-03-30 17:10:45.175 - debug: bluelink.0 (12924) Redis States: Use Redis connection: 127.0.0.1:9000
                                2021-03-30 17:10:45.197 - debug: bluelink.0 (12924) States create System PubSub Client
                                2021-03-30 17:10:45.198 - debug: bluelink.0 (12924) States create User PubSub Client
                                2021-03-30 17:10:45.204 - debug: bluelink.0 (12924) States connected to redis: 127.0.0.1:9000
                                2021-03-30 17:10:45.205 - debug: bluelink.0 (12924) statesDB connected
                                2021-03-30 17:10:45.387 - info: bluelink.0 (12924) starting. Version 1.0.2 in /opt/iobroker/node_modules/iobroker.bluelink, node: v10.24.0, js-controller: 3.2.16
                                2021-03-30 17:10:45.419 - info: bluelink.0 (12924) Login to api
                                2021-03-30 17:10:45.419 - debug: bluelink.0 (12924) {"username":"XXX","password":"XXX","pin":"XXX","brand":"kia","vin":"XXX","region":"EU"}
                                2021-03-30 17:10:48.778 - info: bluelink.0 (12924) Vehicles found
                                2021-03-30 17:10:48.804 - info: bluelink.0 (12924) Read new status from api
                                2021-03-30 17:10:54.792 - info: bluelink.0 (12924) Set new status
                                2021-03-30 17:10:54.793 - debug: bluelink.0 (12924) {"vehicleLocation":{"coord":{"lat":53.096422,"lon":6.833247,"alt":0,"type":0},"head":155,"speed":{"value":0,"unit":0},"accuracy":{"hdop":10,"pdop":10},"time":"20210330171053"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"01H","unit":0,"hvacTempType":1},"defrost":false,"lowFuelLight":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":84,"batteryPlugin":2,"remainTime2":{"etc2":{"value":125,"unit":1},"etc3":{"value":50,"unit":1},"atc":{"value":0,"unit":1}},"drvDistance":[{"rangeByFuel":{"gasModeRange":{"value":299,"unit":1},"evModeRange":{"value":35,"unit":1},"totalAvailableRange":{"value":334,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1270","timeSection":0}},"reservChargeSet":false}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1270","timeSection":0}},"reservChargeSet":false}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}}}},"ign3":true,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"seatHeaterVentState":{"frSeatHeatState":2,"flSeatHeatState":2,"rlSeatHeatState":2,"rrSeatHeatState":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"windowOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"smartKeyBatteryWarning":false,"fuelLevel":59,"washerFluidStatus":false,"breakOilStatus":false,"time":"20210330171052"},"odometer":{"value":501.2,"unit":1}}
                                2021-03-30 17:10:54.911 - error: bluelink.0 (12924) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                2021-03-30 17:10:54.912 - error: bluelink.0 (12924) unhandled promise rejection: Cannot read property '0' of undefined
                                2021-03-30 17:10:54.912 - error: bluelink.0 (12924) TypeError: Cannot read property '0' of undefined
                                at Bluelink.setNewStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:208:77)
                                2021-03-30 17:10:54.913 - error: bluelink.0 (12924) Cannot read property '0' of undefined
                                2021-03-30 17:10:54.929 - info: bluelink.0 (12924) Adapter bluelink cleaned up everything...
                                2021-03-30 17:10:54.930 - info: bluelink.0 (12924) terminating
                                2021-03-30 17:10:54.931 - warn: bluelink.0 (12924) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2021-03-30 17:10:55.477 - error: host.raspberrypi instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                2021-03-30 17:10:55.478 - info: host.raspberrypi Restart adapter system.adapter.bluelink.0 because enabled
                                2021-03-30 17:10:55.478 - warn: host.raspberrypi Do not restart adapter system.adapter.bluelink.0 because restart loop detected
                                2021-03-30 17:11:11.423 - info: host.raspberrypi "system.adapter.bluelink.0" disabled

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

                                  @mmemme Genau so siehts bei mir auch aus.

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

                                    @mmemme Fehler gefunden, aber das Problem ist ich finde keine SocLimit für euch?
                                    Könnt ihr das in der App einstellen? Bei Kia gibt es ja ein Slow und Fast Limit zum laden?
                                    Ihr habt Hyundai oder?

                                    Was sagt:

                                    "fuelLevel":59,
                                    

                                    Ist das deine Ladekapazität derzeit?

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

                                      @newan Ich kann kein Limit in der App setzen, ich fahre einen Kia Sorento PHEV ich denke da kann mann dann auch kein Slow/Fast einstellen da ich auf max 3.3kW Ladeleistung komme. Ich vermute fuelLevel ist mein aktueller Benzinstand und "batteryStatus" ist die aktuelle Ladekapazität.

                                      M Newan 2 Replies Last reply Reply Quote 0
                                      • M
                                        mmemme @mmemme last edited by

                                        @mmemme @Newan der "batteryStatus" Wert stimmt überein mit der UVO-App Ladestandsanzeige.

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

                                          @mmemme AHHHH du hast einen PHEV 🙂
                                          Na dann muss ich ja noch Reichweite Gas und Reichweite EV einbauen ^^

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

                                            @mmemme Version 1.0.3 bitte testen!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            411
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            126
                                            1951
                                            570269
                                            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