NEWS
Text2command stürzt ab
-
Hi,
ich hab das Problem, das mein text2command abstürzt. Ich will über Telegram mit dem Befehl "Wohnzimmertemperatur" die Temperatur genannt bekommen, zum Einsatz kommt ein Mi Smart Home Temperatur Sensor
text2command Version 1.2.1
telegram 1.1.4
Das Log
host.ioPi 2018-05-21 17:36:56.527 error instance system.adapter.text2command.0 terminated with code 0 (OK) Caught 2018-05-21 17:36:56.527 error by controller[0]: at Socket.emit (events.js:188:7) Caught 2018-05-21 17:36:56.526 error by controller[0]: at emitOne (events.js:96:13) Caught 2018-05-21 17:36:56.526 error by controller[0]: at Socket. (/opt/iobroker/node_modules/redis/index.js:274:27) Caught 2018-05-21 17:36:56.525 error by controller[0]: at JavascriptRedisParser.execute (/opt/iobroker/node_modules/redis-parser/lib/parser.js:574:12) Caught 2018-05-21 17:36:56.525 error by controller[0]: at JavascriptRedisParser.returnReply (/opt/iobroker/node_modules/redis/index.js:192:18) Caught 2018-05-21 17:36:56.525 error by controller[0]: at RedisClient.return_reply (/opt/iobroker/node_modules/redis/index.js:824:9) Caught 2018-05-21 17:36:56.524 error by controller[0]: at normal_reply (/opt/iobroker/node_modules/redis/index.js:726:21) Caught 2018-05-21 17:36:56.524 error by controller[0]: at Command.callback (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:287:17) Caught 2018-05-21 17:36:56.524 error by controller[0]: at adapter.getForeignState (/opt/iobroker/node_modules/iobroker.text2command/lib/simpleControl.js:410:21) Caught 2018-05-21 17:36:56.523 error by controller[0]: at parseTemplates (/opt/iobroker/node_modules/iobroker.text2command/lib/simpleControl.js:657:29) Caught 2018-05-21 17:36:56.522 error by controller[0]: TypeError: Cannot read property 'length' of null text2command.0 2018-05-21 17:36:56.494 info terminating text2command.0 2018-05-21 17:36:55.985 error at Socket.emit (events.js:188:7) text2command.0 2018-05-21 17:36:55.985 error at emitOne (events.js:96:13) text2command.0 2018-05-21 17:36:55.985 error at Socket. (/opt/iobroker/node_modules/redis/index.js:274:27) text2command.0 2018-05-21 17:36:55.985 error at JavascriptRedisParser.execute (/opt/iobroker/node_modules/redis-parser/lib/parser.js:574:12) text2command.0 2018-05-21 17:36:55.985 error at JavascriptRedisParser.returnReply (/opt/iobroker/node_modules/redis/index.js:192:18) text2command.0 2018-05-21 17:36:55.985 error at RedisClient.return_reply (/opt/iobroker/node_modules/redis/index.js:824:9) text2command.0 2018-05-21 17:36:55.985 error at normal_reply (/opt/iobroker/node_modules/redis/index.js:726:21) text2command.0 2018-05-21 17:36:55.985 error at Command.callback (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:287:17) text2command.0 2018-05-21 17:36:55.985 error at adapter.getForeignState (/opt/iobroker/node_modules/iobroker.text2command/lib/simpleControl.js:410:21) text2command.0 2018-05-21 17:36:55.985 error at parseTemplates (/opt/iobroker/node_modules/iobroker.text2command/lib/simpleControl.js:657:29) text2command.0 2018-05-21 17:36:55.985 error TypeError: Cannot read property 'length' of null text2command.0 2018-05-21 17:36:55.984 error uncaught exception: Cannot read property 'length' of null text2command.0 2018-05-21 17:36:55.907 info Say ID mihome.0.devices.weather_v1_158d0001fa5cab.temperature text2command.0 2018-05-21 17:36:55.900 warn Timeout for external processor: telegram.0.communicate.users text2command.0 2018-05-21 17:36:55.898 info processText: "Wohnzimmertemperatur"
-
Ist mir grade noch in den Logs aufgefallen
text2command.0 2018-05-21 17:50:18.097 warn Timeout for external processor: telegram.0.communicate.users text2command.0 2018-05-21 17:50:18.095 info processText: "aussen" text2command.0 2018-05-21 17:50:17.086 info processText: "aussen" text2command.0 2018-05-21 17:50:17.069 info processText: "aussen"
-
Wie sieht die konfig aus? Welchen Typ der Anfrage hast du genommen? Er wartet auf die Ausführung einer Funktion … nicht das du den falschen Typ nutzt
-
Hier Screenshots
-
Worum ist das „id bearbeiter“ so gesetzt wie es ist? Wenn du das nicht nutzt dann nimm das mal raus