NEWS
Adapter Hyundai (Bluelink) oder KIA (UVO)
-
@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!! -
@arteck ich teste heute mittag noch das setzen der einzelnen Werte, erstmal was futtern jetzt...
-
@arteck sagte in Adapter Hyundai (Bluelink) oder KIA (UVO):
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 tutalsoooo der Datenpunkt wurde mit 0 angelegt, ich habe alle 4 Werte durchprobiert, es schaltete sich nur die Clima und Frontscheibenheizung an, lt App ( im I5 sass ich jetzt nicht), in der App waren auf der Remote-Seite alle Haken gesetzt, und in der Status Anzeige nach einem Refresh nur Clima und Frontscheibe aktiv...
Habs nicht geschafft vom iobroker die Lenkradheizung und Heckscheibe anzuwerfen.. kann aber auch daran liegen, dass das Fahrzeug schon vorgeheizt war... vor ner Stunde.. und da ist die Intelligence vom Auto selbst ja schlauer und startet das nicht nochmal.. so zumindest meine Erfahrung... muss morgen / spaeter nochmal testen...
Vielleicht noch jemand dabei ?
Fehler kommen auf jeden Fall keine mehr, auch die Sprache funktioniert und bleibt jetzt auf Deutsch.
-
@arteck was immer du heute geändert hast, mit der heutigen GIT Version läuft bei mir auch alles wieder...
-
dann belibt nur die heater funktion zu testen