NEWS
Test Tesla-Motors v1.0.0
Test Tesla-Motors v1.0.0
-
@tombox nein. Keine Neustart oder Logoff (weder ioBroker noch Tesla selber)
einmal pro Tag (während home office
) schaue ich ins Log vom ioBroker.
Erste Fehlermeldungen waren um 06:14 vorhanden.Einzig das Backup vom ioBroker lief heute von 06:00 bis 06:07 Uhr (wie sonst auch jeden Tag)
-
@marlan99 ich hatte just heute morgen die gleichen Meldungen im Log - und bemerkt, dass die Instanz zwar "grün" war, aber seit etlichen Stunden keine Objekte mehr aktualisiert wurden.
Nach einem Restart der Instanz geht's nun wieder. Sieht für mich nach einem Schluckauf der Tesla-Server aus, der den Adapter dann "verwirrt".
Werde mir erstmal einen automatischen Adapter-Restart "jede Woche" oder so einrichten... -
@tombox nein. Keine Neustart oder Logoff (weder ioBroker noch Tesla selber)
einmal pro Tag (während home office
) schaue ich ins Log vom ioBroker.
Erste Fehlermeldungen waren um 06:14 vorhanden.Einzig das Backup vom ioBroker lief heute von 06:00 bis 06:07 Uhr (wie sonst auch jeden Tag)
-
@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:


