NEWS
Adapter Hyundai (Bluelink) oder KIA (UVO)
-
danke für die schnelle Antwort
Ich verstehe, dass es so aussieht als wäre die API grade nicht da, ich habe das Problem aber immer. Ich habe es sofort danach per Blue Link App probiert und es funktionierte ohne Probleme:Ich habe es auch jetzt nochmal getestet, das Problem bleibt bestehen:
2023-01-07 17:18:26.698 - info: bluelink.0 (746776) Login to api 2023-01-07 17:18:30.898 - info: bluelink.0 (746776) 1 Vehicles found 2023-01-07 17:18:53.526 - info: bluelink.0 (746776) State value to set for "bluelink.0.KMHKR81XXXXXXXXXX.vehicleStatus.doorOpen.frontLeft" has to be type "boolean" but received type "number" 2023-01-07 17:18:53.575 - info: bluelink.0 (746776) State value to set for "bluelink.0.KMHKR81XXXXXXXXXX.vehicleStatus.doorOpen.frontRight" has to be type "boolean" but received type "number" 2023-01-07 17:18:53.623 - info: bluelink.0 (746776) State value to set for "bluelink.0.KMHKR81XXXXXXXXXX.vehicleStatus.doorOpen.backLeft" has to be type "boolean" but received type "number" 2023-01-07 17:18:53.671 - info: bluelink.0 (746776) State value to set for "bluelink.0.KMHKR81XXXXXXXXXX.vehicleStatus.doorOpen.backRight" has to be type "boolean" but received type "number" 2023-01-07 17:18:53.740 - info: bluelink.0 (746776) State value to set for "bluelink.0.KMHKR81XXXXXXXXXX.vehicleStatus.steerWheelHeat" has to be type "boolean" but received type "number" 2023-01-07 17:19:30.685 - info: bluelink.0 (746776) Starting clima for vehicle 2023-01-07 17:19:30.868 - error: bluelink.0 (746776) 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(). 2023-01-07 17:19:30.869 - error: bluelink.0 (746776) unhandled promise rejection: @EuropeVehicle.start: [503] Service Unavailable on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/27972170-3287-4d84-aa30-4847f048e162/control/temperature - {"retCode":"F","resCode":"5031","resMsg":"Unavailable remote control - Service Temporary Unavailable","msgId":"8eedf86c-2516-4759-be49-01d593e5886b"} 2023-01-07 17:19:30.870 - error: bluelink.0 (746776) ManagedBluelinkyError: @EuropeVehicle.start: [503] Service Unavailable on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/27972170-3287-4d84-aa30-4847f048e162/control/temperature - {"retCode":"F","resCode":"5031","resMsg":"Unavailable remote control - Service Temporary Unavailable","msgId":"8eedf86c-2516-4759-be49-01d593e5886b"} at U (/opt/iobroker/node_modules/bluelinky/dist/index.js:17:11700) at G. (/opt/iobroker/node_modules/bluelinky/dist/index.js:17:16700) at Generator.throw () at a (/opt/iobroker/node_modules/bluelinky/dist/index.js:17:136) at processTicksAndRejections (internal/process/task_queues.js:95:5) 2023-01-07 17:19:30.871 - error: bluelink.0 (746776) @EuropeVehicle.start: [503] Service Unavailable on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v2/spa/vehicles/27972170-3287-4d84-aa30-4847f048e162/control/temperature - {"retCode":"F","resCode":"5031","resMsg":"Unavailable remote control - Service Temporary Unavailable","msgId":"8eedf86c-2516-4759-be49-01d593e5886b"} 2023-01-07 17:19:30.882 - info: bluelink.0 (746776) Adapter bluelink cleaned up everything... 2023-01-07 17:19:30.883 - info: bluelink.0 (746776) terminating 2023-01-07 17:19:30.885 - warn: bluelink.0 (746776) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-01-07 17:19:31.433 - error: host.raspberrypi instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-01-07 17:19:31.434 - info: host.raspberrypi Restart adapter system.adapter.bluelink.0 because enabled
@Michaelnorge Wo finde ich den Button "jqui-icon toggle" ?
Ich klicke mich fleißig durch das iobroker UI, finde ihn aber nicht. -
@williwilliwilli
Hast du die aktuelle Version von Git gezogen? Es gab mal eine mit so einem Fehler, aber @arteck hatte das gefixed…
-
@williwilliwilli
installier bitte die GIT version.. du scheinst was älteres da zu haben -
Hallo zusammen, wenn ich manuell auf die letzte GIT Version update funktioniert bei mir der Adapter leider gar nicht mehr. In der Instanz-Liste wird nur noch folgendes angezeigt
Im LOG ist vom Bluelink Adapter gar nichts zu sehen nur der Host Adapter spukt folgendes aus
Kann mir jemand sagen wo das Problem liegen könnte?
-
@stefan-cloer sagte in Adapter Hyundai (Bluelink) oder KIA (UVO):
Kann mir jemand sagen wo das Problem liegen könnte?
Merkwürdig, hast Du einen alten JS-Controller installiert?
-
Nein, der Javascript Controller ist Version 6.1.4
-
-
ich habe eine version zum testen da ich es nicht kann auf GIT
https://github.com/Newan/ioBroker.bluelink/tarball/heating_number
unter heating sollten jetzt zahlen eingebbar sein
und dann schauen obs tutevtl. Datenpunkt löschen der wird dann neu erzeugt
in zuge dessen auch die Temperatur.. irgendwie hab ich das geühl das es F ist und nicht C
-
@arteck sagte in Adapter Hyundai (Bluelink) oder KIA (UVO):
https://github.com/Newan/ioBroker.bluelink/tarball/heating_number
Guten Morgen,
startet bei mir leider nicht:2023-01-11 09:17:34.239 - info: host.iobrokerS instance system.adapter.bluelink.0 started with pid 3666387 2023-01-11 09:17:34.366 - error: host.iobrokerS Caught by controller[0]: /opt/iobroker/node_modules/iobroker.bluelink/main.js:99 2023-01-11 09:17:34.367 - error: host.iobrokerS Caught by controller[0]: let airTempF = (airTempC.val × 9/5) + 32; 2023-01-11 09:17:34.367 - error: host.iobrokerS Caught by controller[0]: 2023-01-11 09:17:34.367 - error: host.iobrokerS Caught by controller[0]: SyntaxError: Invalid or unexpected token 2023-01-11 09:17:34.367 - error: host.iobrokerS Caught by controller[0]: at Object.compileFunction (node:vm:360:18) 2023-01-11 09:17:34.367 - error: host.iobrokerS Caught by controller[0]: at wrapSafe (node:internal/modules/cjs/loader:1094:15) 2023-01-11 09:17:34.367 - error: host.iobrokerS Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1129:27) 2023-01-11 09:17:34.368 - error: host.iobrokerS Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10) 2023-01-11 09:17:34.368 - error: host.iobrokerS Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1043:32) 2023-01-11 09:17:34.368 - error: host.iobrokerS Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:878:12) 2023-01-11 09:17:34.368 - error: host.iobrokerS Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) 2023-01-11 09:17:34.368 - error: host.iobrokerS Caught by controller[0]: at node:internal/main/run_main_module:22:47 2023-01-11 09:17:34.368 - error: host.iobrokerS instance system.adapter.bluelink.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2023-01-11 09:17:34.369 - info: host.iobrokerS Restart adapter system.adapter.bluelink.0 because enabled 2023-01-11 09:17:37.395 - info: tuya.0 (3639062) bf51aaad135aa1ced0dhmw: Error on Reconnect (3): connect EHOSTUNREACH 10.1.12.101:6668 2023-01-11 09:17:42.722 - info: host.iobrokerS "system.adapter.bluelink.0" disabled
-
@arteck die Temp ist im Original von der bluelinkapp diese 02H0 die im Adapter irgendwo umgerechnet werden..
-
@ilovegym jetzt, guck nochmal
-
@arteck nee haengt jetzt in ner rebuild-schleife, versucht es 3x, bricht dann ab.
2023-01-11 09:41:52.409 - info: host.iobrokerS instance system.adapter.bluelink.0 started with pid 3696947 2023-01-11 09:41:52.903 - error: host.iobrokerS Caught by controller[0]: node:internal/modules/cjs/loader:408 2023-01-11 09:41:52.903 - error: host.iobrokerS Caught by controller[0]: throw err; 2023-01-11 09:41:52.903 - error: host.iobrokerS Caught by controller[0]: ^ 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.bluelink/node_modules/bluelinky/dist/index.js'. Please verify that the package.json has a valid "main" entry 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:400:19) 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:613:18) 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:981:27) 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:841:27) 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1067:19) 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18) 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.bluelink/main.js:4:19) 2023-01-11 09:41:52.904 - error: host.iobrokerS Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1165:14) 2023-01-11 09:41:52.906 - error: host.iobrokerS Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10) 2023-01-11 09:41:52.906 - error: host.iobrokerS Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1043:32) { 2023-01-11 09:41:52.906 - error: host.iobrokerS Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2023-01-11 09:41:52.906 - error: host.iobrokerS Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.bluelink/node_modules/bluelinky/package.json', 2023-01-11 09:41:52.907 - error: host.iobrokerS Caught by controller[0]: requestPath: 'bluelinky' 2023-01-11 09:41:52.907 - error: host.iobrokerS Caught by controller[0]: } 2023-01-11 09:41:52.907 - error: host.iobrokerS instance system.adapter.bluelink.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2023-01-11 09:41:52.907 - info: host.iobrokerS Rebuild for adapter system.adapter.bluelink.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
hab dann im Verzeichnis node_modules/iobroker.bluelink das manuell angestossen:
ilovegym@iobrokerS /opt/iobroker/node_modules/iobroker.bluelink $ npm install --production npm WARN config production Use `--omit=dev` instead. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 added 137 packages, and audited 138 packages in 20s 6 packages are looking for funding run `npm fund` for details 2 moderate severity vulnerabilities Some issues need review, and may require choosing a different dependency. Run `npm audit` for details.
-
nochmal bitte
-
@arteck sagte in Adapter Hyundai (Bluelink) oder KIA (UVO):
nochmal bitte
jetzt kommt das:
2023-01-11 10:10:17.367 - info: host.iobrokerS "system.adapter.bluelink.0" enabled 2023-01-11 10:10:17.416 - info: host.iobrokerS instance system.adapter.bluelink.0 started with pid 3730679 2023-01-11 10:10:17.865 - error: host.iobrokerS Caught by controller[0]: node:internal/modules/cjs/loader:408 2023-01-11 10:10:17.865 - error: host.iobrokerS Caught by controller[0]: throw err; 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: ^ 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/bluelinky/dist/index.js'. Please verify that the package.json has a valid "main" entry 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:400:19) 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:613:18) 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:981:27) 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:841:27) 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1067:19) 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18) 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.bluelink/main.js:4:19) 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1165:14) 2023-01-11 10:10:17.866 - error: host.iobrokerS Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10) 2023-01-11 10:10:17.867 - error: host.iobrokerS Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1043:32) { 2023-01-11 10:10:17.867 - error: host.iobrokerS Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2023-01-11 10:10:17.867 - error: host.iobrokerS Caught by controller[0]: path: '/opt/iobroker/node_modules/bluelinky/package.json', 2023-01-11 10:10:17.867 - error: host.iobrokerS Caught by controller[0]: requestPath: 'bluelinky' 2023-01-11 10:10:17.867 - error: host.iobrokerS Caught by controller[0]: } 2023-01-11 10:10:17.867 - error: host.iobrokerS instance system.adapter.bluelink.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2023-01-11 10:10:17.867 - info: host.iobrokerS Rebuild for adapter system.adapter.bluelink.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. 2023-01-11 10:10:18.662 - info: lightcontrol.0 (3668) [ Controller ] Reaching, Group="BueroOGB" Property="actualLux" NewVal="5", OldVal="5" 2023-01-11 10:10:23.419 - info: host.iobrokerS "system.adapter.bluelink.0" disabled
-
@ilovegym ok nimm wieder das orginal
https://github.com/Newan/ioBroker.bluelink
muss ich später schauen
-
@arteck ok kein thema!
der ging auch nicht, kam auch dieser Fehler, musste erst den Adapter komplett loeschen, dann aus dem latest installieren, der wollte starten, kam aber immer der Fehler dass die Sprache DE nicht unterstuetzt wird, obwohl ich EN eingestellt habe... ?
2023-01-11 10:33:07.025 - info: host.iobrokerS instance system.adapter.bluelink.0 started with pid 3758144 2023-01-11 10:33:07.806 - debug: bluelink.0 (3758144) Redis Objects: Use Redis connection: 10.10.2.10:6379 2023-01-11 10:33:07.826 - debug: bluelink.0 (3758144) Objects client ready ... initialize now 2023-01-11 10:33:07.828 - debug: bluelink.0 (3758144) Objects create System PubSub Client 2023-01-11 10:33:07.829 - debug: bluelink.0 (3758144) Objects create User PubSub Client 2023-01-11 10:33:08.245 - debug: bluelink.0 (3758144) Objects client initialize lua scripts 2023-01-11 10:33:08.249 - debug: bluelink.0 (3758144) Objects connected to redis: 10.10.2.10:6379 2023-01-11 10:33:08.300 - debug: bluelink.0 (3758144) Redis States: Use Redis connection: 10.10.2.10:6379 2023-01-11 10:33:08.306 - debug: bluelink.0 (3758144) States create System PubSub Client 2023-01-11 10:33:08.307 - debug: bluelink.0 (3758144) States create User PubSub Client 2023-01-11 10:33:08.317 - debug: bluelink.0 (3758144) States connected to redis: 10.10.2.10:6379 2023-01-11 10:33:08.470 - info: bluelink.0 (3758144) starting. Version 2.2.6 (non-npm: Newan/ioBroker.bluelink#heating_number) in /opt/iobroker/node_modules/iobroker.bluelink, node: v16.19.0, js-controller: 4.0.24 2023-01-11 10:33:08.496 - info: bluelink.0 (3758144) Login to api 2023-01-11 10:33:08.498 - error: bluelink.0 (3758144) Error in login/on function 2023-01-11 10:33:08.499 - error: bluelink.0 (3758144) The language code DE is not managed. Only cs, da, nl, en, fi, fr, de, it, pl, hu, no, sk, es, sv are. 2023-01-11 10:33:07.806 - debug: bluelink.0 (3758144) Redis Objects: Use Redis connection: 10.10.2.10:6379 2023-01-11 10:33:07.826 - debug: bluelink.0 (3758144) Objects client ready ... initialize now 2023-01-11 10:33:07.828 - debug: bluelink.0 (3758144) Objects create System PubSub Client 2023-01-11 10:33:07.829 - debug: bluelink.0 (3758144) Objects create User PubSub Client 2023-01-11 10:33:08.245 - debug: bluelink.0 (3758144) Objects client initialize lua scripts 2023-01-11 10:33:08.249 - debug: bluelink.0 (3758144) Objects connected to redis: 10.10.2.10:6379 2023-01-11 10:33:08.300 - debug: bluelink.0 (3758144) Redis States: Use Redis connection: 10.10.2.10:6379 2023-01-11 10:33:08.306 - debug: bluelink.0 (3758144) States create System PubSub Client 2023-01-11 10:33:08.307 - debug: bluelink.0 (3758144) States create User PubSub Client 2023-01-11 10:33:08.317 - debug: bluelink.0 (3758144) States connected to redis: 10.10.2.10:6379 2023-01-11 10:33:08.470 - info: bluelink.0 (3758144) starting. Version 2.2.6 (non-npm: Newan/ioBroker.bluelink#heating_number) in /opt/iobroker/node_modules/iobroker.bluelink, node: v16.19.0, js-controller: 4.0.24 2023-01-11 10:33:08.496 - info: bluelink.0 (3758144) Login to api 2023-01-11 10:33:08.498 - error: bluelink.0 (3758144) Error in login/on function 2023-01-11 10:33:08.499 - error: bluelink.0 (3758144) The language code DE is not managed. Only cs, da, nl, en, fi, fr, de, it, pl, hu, no, sk, es, sv are.
Bin dann auf den letzten Snapshot zurueck, hatte ja vorher einen gemacht..
-
-
@arteck sagte in Adapter Hyundai (Bluelink) oder KIA (UVO):
ahh sehr gut
kannst nochmal schauen
ja, jetzt kommt auch nur das
2023-01-11 11:35:06.470 - info: bluelink.0 (56583) starting. Version 2.2.6 (non-npm: Newan/ioBroker.bluelink#heating_number) in /opt/iobroker/node_modules/iobroker.bluelink, node: v16.19.0, js-controller: 4.0.24 2023-01-11 11:35:06.518 - info: bluelink.0 (56583) Login to api 2023-01-11 11:35:06.520 - error: bluelink.0 (56583) Error in login/on function 2023-01-11 11:35:06.520 - error: bluelink.0 (56583) The language code DE is not managed. Only cs, da, nl, en, fi, fr, de, it, pl, hu, no, sk, es, sv are.
ich habs auf EN stehen.. der Adapter gibt sonst keine Meldungen aus, auch nicht auf debug, und reagiert nicht auf force_refresh oder sonstwas..
-
@ilovegym kannst du den ändern..speichern und nochmal ändern.. ich glaube du hast da was falsches in den alten einstellungen
ahh gefunden ..habs in master korrigiert aber incht in meiner änderung..
instalier mal neu
-
@arteck ah, da hatte ich schon die Instanz geloescht.. aber nicht schlimm, nochmal runtergeladen, installiert, jetzt kommt kein Fehler beim Login, Objekte werden angelegt.
Hab versucht mal die clima zu starten kommt das:
2023-01-11 11:58:44.385 - error: bluelink.0 (81824) ManagedBluelinkyError: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/notifications/register - {"retCode":"F","resCode":"9999","resMsg":"Undefined Error - Response timeout","msgId":"e9101f46-6bfe-46f5-adb0-cff1ac87ae40"} 2023-01-11 11:58:44.386 - error: bluelink.0 (81824) Please logout in the app and relogin in the app 2023-01-11 11:58:44.385 - error: bluelink.0 (81824) ManagedBluelinkyError: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/notifications/register - {"retCode":"F","resCode":"9999","resMsg":"Undefined Error - Response timeout","msgId":"e9101f46-6bfe-46f5-adb0-cff1ac87ae40"} 2023-01-11 11:58:44.386 - error: bluelink.0 (81824) Please logout in the app and relogin in the app
hab ich gemacht was da stand, jetzt gehts
super, danke!!