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

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • 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.
    • Neuschwansteini
      Neuschwansteini @arteck last edited by

      @arteck
      aktuelle Version 3.0.3 bringt beim starten gleich das bei mir:

      2024-10-02 07:12:56.559  - info: host.iobroker instance system.adapter.bluelink.0 in version "3.0.3" (non-npm: Newan/ioBroker.bluelink) started with pid 2841
      2024-10-02 07:12:57.894  - info: bluelink.0 (2841) starting. Version 3.0.3 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v20.17.0, js-controller: 6.0.11
      2024-10-02 07:12:57.903  - info: bluelink.0 (2841) Login to api
      2024-10-02 07:12:59.264  - info: bluelink.0 (2841) 1 Vehicles found
      2024-10-02 07:12:59.393  - info: bluelink.0 (2841) Read new update for KMHxxx from the server
      2024-10-02 07:13:00.005  - info: influxdb.0 (610) Store 1001 buffered influxDB history points
      2024-10-02 07:13:00.145  - error: bluelink.0 (2841) TypeError: newStatus.ccs2Status.state.VehiclehasOwnProperty is not a function
          at Bluelink.setNewFullStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:665:48)
          at async Bluelink.readStatusVin (/opt/iobroker/node_modules/iobroker.bluelink/main.js:370:15)
          at async Bluelink.readStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:333:11)
          at async Pe.<anonymous> (/opt/iobroker/node_modules/iobroker.bluelink/main.js:292:17)
      2024-10-02 07:13:00.149  - info: bluelink.0 (2841) Update for KMHxxx successfull
      
      

      Abholen direct von car bringt immer noch ein double-request Error, im Adapter habe ich die Abfragen auf 48 stehen, das funktioniert, er holt alle 30 Minuten vom Server hab.
      Direct pull vom Server geht auch ohne Fehler.

      1 Reply Last reply Reply Quote 0
      • F
        fichte_112 @arteck last edited by

        @arteck
        Bei mir kommt beim Abholen der Daten folgende Fehlermeldung.

        TypeError: newStatus.ccs2Status.state.VehiclehasOwnProperty is not a function at Bluelink.setNewFullStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:665:48) at async Bluelink.readStatusVin (/opt/iobroker/node_modules/iobroker.bluelink/main.js:370:15) at async Bluelink.onStateChange (/opt/iobroker/node_modules/iobroker.bluelink/main.js:163:22)
        
        1 Reply Last reply Reply Quote 0
        • M
          MichaelWit @arteck last edited by

          @arteck

          Ich bekomme mit der aktuellen Version folgenden Fehler:

          TypeError: Cannot read properties of undefined (reading '0') at Bluelink.setNewFullStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:587:89) at async Bluelink.readStatusVin (/opt/iobroker/node_modules/iobroker.bluelink/main.js:370:15) at async Bluelink.readStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:333:11) at async Pe.<anonymous> (/opt/iobroker/node_modules/iobroker.bluelink/main.js:292:17)
          1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active last edited by arteck

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

            VehiclehasOwnProperty

            installiert mal von GIT.. da fehlte ein punkt

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

            Abholen direct von car bringt immer noch ein double-request Error,

            hab ich aber auch.. bei meinem KIA

            M 1 Reply Last reply Reply Quote 1
            • F
              fichte_112 last edited by

              @arteck Die Daten werden jetzt ohne Fehler abgeholt.
              Vielen Dank

              1 Reply Last reply Reply Quote 0
              • M
                MichaelWit @arteck last edited by

                @arteck

                Sieht jetzt gut aus.

                Dankeschön 🙂

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

                  @arteck

                  Aktuelle Version 3.0.3 holt bei mir keine Daten des SOC ab, 12 v geht, aber der soc steht da immer bei 63,5%.. und zur Zeit sinds 59…
                  Bin auf die 3.0.1 zurück, da gehts…

                  Edit: 3.0.4 von Git hat auch das Problem... SOC wird nicht aktualisiert..

                  arteck 1 Reply Last reply Reply Quote 0
                  • F
                    fichte_112 @arteck last edited by

                    @arteck bei mir werden die Daten der Batterie auch nicht aktualisiert. Bin heute nicht gefahren. Daher habe ich es nicht bemerkt. Habe es aber gerade getestet.

                    1 Reply Last reply Reply Quote 0
                    • arteck
                      arteck Developer Most Active @Neuschwansteini last edited by

                      @ilovegym jetzt

                      F Neuschwansteini 2 Replies Last reply Reply Quote 0
                      • F
                        fichte_112 @arteck last edited by

                        @arteck bei mir funktioniert es jetzt.

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

                          @arteck

                          Vielen lieben Dank fuer deine Updates!
                          Mir ist jetzt folgendes aufgefallen:

                          Aktuelle Version installiert: 3.1.0 getestet:

                          force_refresh Server - geht
                          force_refresh Car - geht nicht, error - duplicate request, holt auch keine Daten

                          
                          bluelink.0
                          2024-10-05 10:11:37.708	error	@EuropeVehicle.status: [400] Bad Request on [GET] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/1efdaa96-ad82-4d6f-aacf-ea53b51423d9/status - {"retCode":"F","resCode":"4004","resMsg":"Duplicate request - Duplicate request","msgId":"71a12490-82f1-11ef-aba2-38615d933127"}
                          
                          bluelink.0
                          2024-10-05 10:11:37.708	error	Error on API-Request Status, ErrorCount:1
                          

                          door lock / unlock - geht nicht, error:

                          bluelink.0
                          2024-10-05 10:12:09.355	error	Error onStateChange ManagedBluelinkyError: @EuropeVehicle.unlock: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/1efdaa96-ad82-4d6f-aacf-ea53b51423d9/control/door - {"retCode":"F","resCode":"4004","resMsg":"Duplicate request - Duplicate request","msgId":"8474efc0-82f1-11ef-aba2-df909eb82f85"}
                          
                          

                          start charging, geht, stop charging error:

                          bluelink.0
                          2024-10-05 10:20:04.208	error	Error onStateChange ManagedBluelinkyError: @EuropeVehicle.stopCharge: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/1efdaa96-ad82-4d6f-aacf-ea53b51423d9/control/charge - {"retCode":"F","resCode":"4002","resMsg":"Invalid request body - Invalid deviceId. ","msgId":"9f88bd90-82f2-11ef-bd47-69d9b0cdd3fc"}
                          

                          Folder general, location und odometer funktionieren.

                          andere Datenpunkte die nicht gefuellt werden(interessant hier charge, plugin) :
                          Screenshot 2024-10-05 at 10.21.45.png

                          Peter V. 1 Reply Last reply Reply Quote 0
                          • Peter V.
                            Peter V. @Neuschwansteini last edited by

                            @arteck
                            jetzt läuft es, auch die Position wird angezeigt.
                            Perfekt. Vielen Dank

                            Peter V. 1 Reply Last reply Reply Quote 0
                            • Peter V.
                              Peter V. @Peter V. last edited by

                              @arteck
                              nach Update von 3.0.4 auf 3.1.0 folgender Fehler:

                              TypeError: Cannot read properties of undefined (reading 'hasOwnProperty') at Bluelink.setNewFullStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:667:136) at async Bluelink.readStatusVin (/opt/iobroker/node_modules/iobroker.bluelink/main.js:370:17) at async Bluelink.readStatus (/opt/iobroker/node_modules/iobroker.bluelink/main.js:333:13) at async Pe.<anonymous> (/opt/iobroker/node_modules/iobroker.bluelink/main.js:292:17)
                              
                              arteck 1 Reply Last reply Reply Quote 0
                              • arteck
                                arteck Developer Most Active @Peter V. last edited by arteck

                                @peter-v sagte in Adapter Hyundai (Bluelink) oder KIA (UVO):

                                hasOwnProperty

                                installier nochmal von GIT
                                dann adapter auf debug stellen und nach ccs2Status: suchen
                                danach kommt ein langer String den brauch ich ..

                                alternativ in den Objects aufklappen und screenshot machen

                                01dfa841-d42e-4681-aed8-aba23e3b8f20-grafik.png

                                genauer schauen aber ich brauch das was unter

                                vehicleStatusRaw.ccs2Status
                                

                                steht

                                Peter V. 2 Replies Last reply Reply Quote 0
                                • Peter V.
                                  Peter V. @arteck last edited by Peter V.

                                  @arteck ``````
                                  code_text

                                  ccs2Status: {"resCode":"0000","ServiceNo":"RVS-K","RetCode":"S","lastUpdateTime":"1728326849741","state":{"Vehicle":{"DrivingReady":0,"Body":{"Windshield":{"Front":{"Defog":{"State":0},"WasherFluid":{"LevelLow":0}},"Rear":{"Defog":{"State":0}}},"Hood":{"Open":0},"Lights":{"Rear":{"Right":{"TurnSignal":{"Warning":0},"StopLamp":{"Warning":0}},"Left":{"TurnSignal":{"Warning":0},"StopLamp":{"Warning":0}}},"Front":{"Right":{"High":{"Warning":0},"Low":{"Warning":0},"TurnSignal":{"Warning":0}},"Left":{"High":{"Warning":0},"Low":{"Warning":0},"TurnSignal":{"Warning":0}},"HeadLamp":{"SystemWarning":0}},"DischargeAlert":{"State":0},"TailLamp":{"Alert":0},"Hazard":{"Alert":0}},"Trunk":{"Open":0}},"Cabin":{"Window":{"Row2":{"Right":{"Open":0},"Left":{"Open":0}},"Row1":{"Passenger":{"Open":0},"Driver":{"Open":0}}},"SteeringWheel":{"Heat":{"State":0}},"Seat":{"Row2":{"Right":{"Climate":{"State":2}},"Left":{"Climate":{"State":2}}},"Row1":{"Passenger":{"Climate":{"State":2}},"Driver":{"Climate":{"State":2}}}},"HVAC":{"Row1":{"Driver":{"Temperature":{"Value":"OFF","Unit":0},"Blower":{"SpeedLevel":0}}},"Temperature":{"RangeType":1}},"Door":{"Row2":{"Right":{"Open":0,"Lock":0},"Left":{"Open":0,"Lock":0}},"Row1":{"Passenger":{"Open":0,"Lock":0},"Driver":{"Open":0,"Lock":0}}}},"Chassis":{"Axle":{"Tire":{"PressureLow":0},"Row1":{"Left":{"Tire":{"PressureLow":0}},"Right":{"Tire":{"PressureLow":0}}},"Row2":{"Left":{"Tire":{"PressureLow":0}},"Right":{"Tire":{"PressureLow":0}}}},"Brake":{"Fluid":{"Warning":0}}},"Drivetrain":{"Transmission":{"ParkingPosition":0},"InternalCombustionEngine":{"OilLevelWarning":0},"FuelSystem":{"DTE":{"Unit":1,"Total":401},"LowFuelWarning":0,"FuelLevel":59},"Odometer":13905.5},"Electronics":{"PowerSupply":{"Accessory":0},"Battery":{"Level":97,"SensorReliability":0},"FOB":{"LowBattery":0},"AutoCut":{"BatteryPreWarning":0}},"Green":{"Reservation":{"OffPeakTime":{"Mode":1},"Departure":{"Schedule2":{"Sun":0,"Sat":0,"Fri":0,"Thu":0,"Wed":0,"Tue":0,"Mon":0},"Schedule1":{"Sun":0,"Sat":0,"Fri":0,"Thu":0,"Wed":0,"Tue":0,"Mon":0}}},"ChargingInformation":{"SequenceDetails":510,"SequenceSubcode":-1}},"RemoteControl":{"SleepMode":1},"Date":"20241007184729.734","Location":{"GeoCoord":{"Latitude":47.973883,"Longitude":10.266247,"Type":0,"Altitude":0},"Speed":{"Value":0,"Unit":0},"TimeStamp":{"Year":2024,"Mon":10,"Day":7,"Hour":18,"Min":47,"Sec":28}},"Service":{"ConnectedCar":{"RemoteControl":{"Available":1,"WaitingTime":168}}}}}}
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Peter V.
                                    Peter V. @arteck last edited by

                                    @arteck Screenshot 2024-10-07 225520.png

                                    arteck 1 Reply Last reply Reply Quote 0
                                    • arteck
                                      arteck Developer Most Active @Peter V. last edited by

                                      @peter-v so guckmal jetzt ..von GIT

                                      Peter V. Neuschwansteini 2 Replies Last reply Reply Quote 0
                                      • Peter V.
                                        Peter V. @arteck last edited by

                                        @arteck
                                        Jetzt ist es ohne Fehler.
                                        Genial, danke 😉

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

                                          @arteck

                                          Hi,
                                          in lib/tools.js muss in Zeile 55 zwischen Stadt und Land noch ein Leerzeichen und Komma
                                          also anstatt:

                                                      const addr = ([addrDetails.road ? addrDetails.road : null,addrDetails.house_number ? [' ',addrDetails.house_number,''].join('') : null,addrDetails.road ? ', ' : null,addrDetails.postcode ? String(addrDetails.postcode) + ', ' : null,addrDetails.town ? String(addrDetails.town) + '' : null,addrDetails.village ? [' (',addrDetails.village,')'].join('') : null,addrDetails.county ? '' + String(addrDetails.county) : null, addrDetails.city ? '' + String(addrDetails.city) : null,addrDetails.state ? ', ' + String(addrDetails.state) : null,addrDetails.country ? ', ' + String(addrDetails.country) : null,!addrDetails.country ? 'not found' : null].join(''));
                                          
                                          

                                          ein:

                                                       const addr = ([addrDetails.road ? addrDetails.road : null,addrDetails.house_number ? [' ',addrDetails.house_number,''].join('') : null,addrDetails.road ? ', ' : null,addrDetails.postcode ? String(addrDetails.postcode)>
                                          
                                          

                                          🙂
                                          wenn ich gelernt hab, wie ein PR geht, mach ich das mal..

                                          arteck 1 Reply Last reply Reply Quote 0
                                          • arteck
                                            arteck Developer Most Active @Neuschwansteini last edited by

                                            @ilovegym da passt was nicht in dem geposteten

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            516
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            125
                                            1947
                                            559352
                                            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