NEWS
Test Tesla-Motors v1.0.0
-
@tombox first things first: Vielen Dank für diesen tollen Adapter, damit macht das Scripten Spass! :-)
bei mir tauchten heute ausshliesslich diese Meldungen im Log auf, ohne eine weitere "Vorgeschichte", sich jede Minute (= Abrufintervall) wiederholend:
2022-01-12 06:15:02.266 - ESC[31merrorESC[39m: tesla-motors.0 (21309) Error: Request failed with status code 401 2022-01-12 06:15:02.276 - ESC[31merrorESC[39m: tesla-motors.0 (21309) "" 2022-01-12 06:15:02.387 - ESC[32minfoESC[39m: tesla-motors.0 (21309) receive 401 error. Refresh Token in 30 seconds -
@tombox identisch auch bei mir. Hänge mal mein gesamtes Log hier als Anhang bei (hat nichts geheimes drin :-) )
@marlan99 @JLeg na, gut... ich war auch dabei heute um 6:17 Uhr. Ich war davon ausgegangen dass der token abgelaufen war und hatte einen neuen geholt. Lief dann sofort wieder. Vielleicht hätte ein Neustart des Adapters gereicht (wie oben geschrieben).
Edit.: hab grad nachgeschaut: "tesla-motors.0.info.tokenExpire" war die ganze auf "false".
-
@marlan99 @JLeg na, gut... ich war auch dabei heute um 6:17 Uhr. Ich war davon ausgegangen dass der token abgelaufen war und hatte einen neuen geholt. Lief dann sofort wieder. Vielleicht hätte ein Neustart des Adapters gereicht (wie oben geschrieben).
Edit.: hab grad nachgeschaut: "tesla-motors.0.info.tokenExpire" war die ganze auf "false".
-
Edit.: hab grad nachgeschaut: "tesla-motors.0.info.tokenExpire" war die ganze auf "false".
was sagt denn dieser Wert genau aus? -
-
@marlan99 ich denke da mein Tesla spinnt, habe die jetzt versehentlich alle token gelöscht

-
@marlan99 @JLeg na, gut... ich war auch dabei heute um 6:17 Uhr. Ich war davon ausgegangen dass der token abgelaufen war und hatte einen neuen geholt. Lief dann sofort wieder. Vielleicht hätte ein Neustart des Adapters gereicht (wie oben geschrieben).
Edit.: hab grad nachgeschaut: "tesla-motors.0.info.tokenExpire" war die ganze auf "false".
-
@lobomau ich habe in der neuen github version den token refresh im fehlerfall verbessert und auch die charging history eingebaut die in der neusten firmware unterstützt wird
@tombox gerade updated und die Instanz restarted fortlaufend .
Habe es auch mit neuem Token versucht. Leider kein ErfolgAuszug aus dem Log:
host.iobroker 2022-01-12 21:02:09.145 info instance system.adapter.tesla-motors.0 started with pid 18054 host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.739 info instance system.adapter.tesla-motors.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.737 error Caught by controller[45]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.737 error Caught by controller[45]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[45]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.737 error Caught by controller[45]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.737 error Caught by controller[45]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[43]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[44]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[42]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[43]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[40]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[42]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[39]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[38]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[38]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[38]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[38]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[41]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.730 error Caught by controller[38]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.730 error Caught by controller[37]: 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(). The promise rejected with the reason: -
@tombox gerade updated und die Instanz restarted fortlaufend .
Habe es auch mit neuem Token versucht. Leider kein ErfolgAuszug aus dem Log:
host.iobroker 2022-01-12 21:02:09.145 info instance system.adapter.tesla-motors.0 started with pid 18054 host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.739 info instance system.adapter.tesla-motors.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker 2022-01-12 21:02:06.739 error Caught by controller[45]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.737 error Caught by controller[45]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.737 error Caught by controller[45]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[45]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.737 error Caught by controller[45]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.737 error Caught by controller[45]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.736 error Caught by controller[44]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[43]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[43]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.735 error Caught by controller[44]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[42]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[42]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.734 error Caught by controller[43]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[40]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:157:21) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[41]: at runNextTicks (internal/process/task_queues.js:60:5) host.iobroker 2022-01-12 21:02:06.733 error Caught by controller[42]: 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(). The promise rejected with the reason: host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[39]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[38]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[38]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[38]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.731 error Caught by controller[38]: at Array.forEach (<anonymous>) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:90:26 host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at Json2iob.parse (/opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:84:24) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[39]: at processImmediate (internal/timers.js:437:9) host.iobroker 2022-01-12 21:02:06.732 error Caught by controller[41]: TypeError: arrayElement[options.preferedArrayName].replace is not a function host.iobroker 2022-01-12 21:02:06.730 error Caught by controller[38]: at /opt/iobroker/node_modules/iobroker.tesla-motors/lib/json2iob.js:199:73 host.iobroker 2022-01-12 21:02:06.730 error Caught by controller[37]: 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(). The promise rejected with the reason:
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden

