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

    • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Adapter Hyundai (Bluelink) oder KIA (UVO)

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

      ich habe jetzt nach neuinstallation aber nur ein Fahrzeug in den Objekten

      B 1 Reply Last reply Reply Quote 0
      • B
        bigal @bigal last edited by

        @bigal udn der Adapter Startet ständig neu.... da stimmt was nicht

        1 Reply Last reply Reply Quote 0
        • B
          bigal last edited by

          bluelink.0
          	2025-10-31 07:52:06.706	error	Cannot read properties of null (reading 'val')
          bluelink.0
          	2025-10-31 07:52:06.705	error	TypeError: Cannot read properties of null (reading 'val') at Bluelink.readStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:353:63) at async _e.<anonymous> (/opt/iobroker/node_modules/iobroker.bluelink/main.js:297:21)
          bluelink.0
          	2025-10-31 07:52:06.704	error	unhandled promise rejection: Cannot read properties of null (reading 'val')
          bluelink.0
          	2025-10-31 07:52:06.703	error	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().
          
          1 Reply Last reply Reply Quote 0
          • R
            rewenode @fichte_112 last edited by

            Hier gibt es ja eine Super Windows-Anleitung für das token:
            Bei mir läuft ioB im Docker Container. Ich nehme mal an, refresh_token kann ich auch auf meinem Mac machen.
            Was ändert sich da bzgl der Pfade?
            Ich könnte vlt. auch nach dieser Anleitung gehen:
            https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/wiki/Kia-Europe-Login-Flow
            Aber das scheint sich nur auf Kia zu beziehen.

            Kann mir vlt. ein Mac/Linux user auf die Sprünge helfen?

            Danke

            H 1 Reply Last reply Reply Quote 0
            • H
              HansJochen @rewenode last edited by

              @rewenode

              Die von Dir verlinkte Linux Anweisung
              https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/wiki/Kia-Europe-Login-Flow
              funktioniert bei mir unter Linux auch mit Hyundai problemlos. Das Einzige, was ich ändern musste, war den Pfad zum Hyundai Skript zu verwenden, also

              wget -O ApiToken.py https://raw.githubusercontent.com/Newan/ioBroker.bluelink/refs/heads/master/py/HyundaiFetchApiToken_2.py
              

              und dementsprechend dieses nachher ausführen:

              python3 ApiToken.py
              

              Unter MacOS stelle ich mir das ähnlich vor. Ob und wie man da aber erst mal wget installieren muss oder es dafür andere Hausmittel gibt, weiß ich nicht. Sonst sollte es auch reichen, das Skript mit einem Browser zu öffnen und unter dem Namen "ApiToken.py" abzuspeichern.

              R 1 Reply Last reply Reply Quote 2
              • R
                rewenode @HansJochen last edited by rewenode

                @hansjochen Herzlichen Dank! Woher wusstest du, dass ich heute loslegen will😊
                Was den Mac betrifft, sind die Befehle dank homebrew ziemlich kompatibel/identisch.

                H 1 Reply Last reply Reply Quote 0
                • H
                  HansJochen @rewenode last edited by

                  @rewenode

                  Reiner Zufall. Habe die Zeremonie selbst erst gestern Abend durchgeführt 🙂

                  Schade, dass Hyundai/Kia da so einen Käse mit den Captchas eingebaut hat. Für Automatisierer ist das eine völlig unnötige Hürde.

                  Gutes Gelingen!

                  1 Reply Last reply Reply Quote 0
                  • E
                    earl80 last edited by earl80

                    Bei mir wird der Adapter mit Token kurz grün und dann wird er beendet:

                    
                    bluelink.0
                    2025-11-04 08:23:12.739	info	Adapter bluelink cleaned up everything...
                    
                    bluelink.0
                    2025-11-04 08:23:12.731	error	Cannot read properties of null (reading 'val')
                    
                    bluelink.0
                    2025-11-04 08:23:12.730	error	TypeError: Cannot read properties of null (reading 'val') at Bluelink.readStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:353:63) at async _e.<anonymous> (/opt/iobroker/node_modules/iobroker.bluelink/main.js:297:21)
                    
                    bluelink.0
                    2025-11-04 08:23:12.729	error	unhandled promise rejection: Cannot read properties of null (reading 'val')
                    
                    bluelink.0
                    2025-11-04 08:23:12.728	error	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
                    2025-11-04 08:23:12.723	debug	Read new status from api for KMXXXXXXXXXXXXXXX
                    
                    bluelink.0
                    2025-11-04 08:23:12.708	info	Update for KXXXXXXXXXXXX successfull
                    
                    bluelink.0
                    2025-11-04 08:23:12.654	debug	Set 95 battery state for KXXXXXXXXXXXXXXXX
                    
                    bluelink.0
                    2025-11-04 08:23:12.483	debug	{"etc1":{"value":27,"unit":1},"etc2":{"value":590,"unit":1},"etc3":{"value":135,"unit":1},"atc":{"value":135,"unit":1}}
                    
                    bluelink.0
                    2025-11-04 08:23:12.482	debug	Folgende Ladezeitenmöglichkeiten wurden gefunden:
                    
                    bluelink.0
                    2025-11-04 08:23:07.770	debug	RAW {"vehicleLocation":{"coord":{"lat":48.888533,"lon":9.204364,"alt":0,"type":0},"head":242,"speed":{"value":0,"unit":0},"accuracy":{"hdop":0,"pdop":0},"time":"20251103162651"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":49,"batteryPlugin":0,"remainTime2":{"etc1":{"value":27,"unit":1},"etc2":{"value":590,"unit":1},"etc3":{"value":135,"unit":1},"atc":{"value":135,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":221,"unit":1},"totalAvailableRange":{"value":221,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":9,"time":{"time":"1959","timeSection":1}},"end":{"day":9,"time":{"time":"1959","timeSection":1}}},"targetSOClist":[{"targetSOClevel":90,"dte":{"rangeByFuel":{"evModeRange":{"value":417,"unit":1},"totalAvailableRange":{"value":417,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":80,"dte":{"rangeByFuel":{"evModeRange":{"value":367,"unit":1},"totalAvailableRange":{"value":367,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2,"batteryPreconditioning":false,"batterySoh":100,"batteryPower":{"batteryFstChrgPower":0,"batteryStndChrgPower":0,"batteryDischrgPower":0}},"ign3":false,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":95,"batState":0,"sjbDeliveryMode":1,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false,"leftBifuncLamp":false,"rightBifuncLamp":false},"turnSignalLamp":{"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"windowOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"smartKeyBatteryWarning":false,"fuelLevel":0,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":true,"time":"20251103162652","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:03:05"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":8936.9,"unit":1}}
                    
                    bluelink.0
                    2025-11-04 08:23:07.769	debug	Set fullStatus for KMXXXXXXXXXXXXX
                    
                    bluelink.0
                    2025-11-04 08:23:07.480	info	Read new update for KXXXXXXXXXXXXX from the server
                    
                    bluelink.0
                    2025-11-04 08:23:07.475	debug	Read new status from api for XXXXXXXXXXXXXXX
                    
                    bluelink.0
                    2025-11-04 08:23:07.133	debug	[{"vehicleConfig":{"nickname":"IONIQ6","name":"IONIQ6","regDate":"2025-05-23 15:26:55.994","brandIndicator":"H","id":"3dXXXXXXXXXXX-f3XXXXXXXXX","vin":"KMXXXXXXXXXXXXX","generation":"2023","ccuCCS2ProtocolSupport":false},"controller":{"userConfig":{"username":"XXXXXXXXXXXXXXXXXXX","password":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","region":"EU","brand":"hyundai","autoLogin":true,"pin":"XXXX","vin":"","stamp":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","language":"de"},"session":{"accessToken":"Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","deviceId":"4de957XXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                    
                    bluelink.0
                    2025-11-04 08:23:07.131	info	2 Vehicles found
                    
                    arteck 1 Reply Last reply Reply Quote 0
                    • arteck
                      arteck Developer Most Active @earl80 last edited by

                      @earl80 zeigmal

                      8840041a-3ada-44df-8a7f-f831ca2a1e44-1761893131548-5cd251e4-0b19-4478-b607-bf437c1027b4-grafik.png

                      E 1 Reply Last reply Reply Quote 0
                      • R
                        rewenode last edited by

                        @hansjochen Danke nochmal. Hat bestens geklappt.

                        1 Reply Last reply Reply Quote 0
                        • E
                          earl80 @arteck last edited by earl80

                          @arteck Ich habe es mal von false auf true und zurück, daher ist "force update" rot...

                          Screenshot 2025-11-04 140304.png

                          
                          host.raspberrypi
                          2025-11-04 14:05:25.931	error	instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                          
                          bluelink.0
                          2025-11-04 14:05:25.275	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                          
                          bluelink.0
                          2025-11-04 14:05:25.273	info	terminating
                          
                          bluelink.0
                          2025-11-04 14:05:25.272	info	Adapter bluelink cleaned up everything...
                          
                          bluelink.0
                          2025-11-04 14:05:25.268	error	Cannot read properties of null (reading 'val')
                          
                          bluelink.0
                          2025-11-04 14:05:25.268	error	TypeError: Cannot read properties of null (reading 'val') at Bluelink.readStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:353:63) at async _e.<anonymous> (/opt/iobroker/node_modules/iobroker.bluelink/main.js:297:21)
                          
                          bluelink.0
                          2025-11-04 14:05:25.267	error	unhandled promise rejection: Cannot read properties of null (reading 'val')
                          
                          bluelink.0
                          2025-11-04 14:05:25.267	error	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
                          2025-11-04 14:05:25.262	debug	Read new status from api for KMXXXXXXXXXXXX
                          
                          arteck 1 Reply Last reply Reply Quote 0
                          • arteck
                            arteck Developer Most Active @earl80 last edited by arteck

                            @earl80 ich finde den Fehler aber kein plan warum der bei dir kommt...

                            ich brauche die Logindaten..muss ich hier nachstellen

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            750
                            Online

                            32.4k
                            Users

                            81.2k
                            Topics

                            1.3m
                            Posts

                            148
                            2296
                            858006
                            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