NEWS
[Hilfe] iobroker custom Alexa text2command
-
Hallo,
ich versuche eigene Fragen/Wörter an Alexa zu senden und Alexas Antwort zu manipulieren.
Oder auch das sie Rückfragen stellt.
Ich bekomme jedoch schon bei einem Einfachen Status von Alexa zu hören : "Die Verarbeitung von Status ist nicht möglich"
iot.0 2020-09-23 21:09:09.043 debug (15402) Response from text2command: test test text2command.0 2020-09-23 21:09:09.041 info (15894) Response: test test text2command.0 2020-09-23 21:09:09.036 info (15894) Say ID javascript.0.textAnswerAlexa text2command.0 2020-09-23 21:09:09.035 warn (15894) Timeout for external processor: javascript.0.textProcessorAlexa text2command.0 2020-09-23 21:09:09.034 info (15894) processText: "de;askDevice status" javascript.0 2020-09-23 21:09:08.035 info (594) script.js.Alexa.common: {'language':'de','command':'askDevice status','withLanguage':true,'from':'system.adapter.iot.0'} text2command.0 2020-09-23 21:09:08.031 info (15894) processText: "de;askDevice status" iot.0 2020-09-23 21:09:08.029 debug (15402) sendTo "send" to system.adapter.text2command.0 from system.adapter.iot.0: de;askDevice statuson({id: 'javascript.0.textProcessorAlexa', ack: false, change: 'any'}, function (obj) { var task = JSON.parse(obj.state.val); // value looks like // { // "command": "text to process", // command that was received by text2command // "language": "en", // language in command or system language // "withLanguage": false // indicator if language was defined in command (true) or used default language (false) // } // response to text2command with ack=true console.log(task); if(task.command = 'askDevice status'){ setState('javascript.0.textAnswerAlexa', 'test test', true); } });Müsste sie den nicht "test test" sagen?
Bei text2command habe ich bei den Einstellungen Antwort und Bearbeiter ID entsprechend eingetragen.
Danke für die Hilfe
-
Hallo,
ich versuche eigene Fragen/Wörter an Alexa zu senden und Alexas Antwort zu manipulieren.
Oder auch das sie Rückfragen stellt.
Ich bekomme jedoch schon bei einem Einfachen Status von Alexa zu hören : "Die Verarbeitung von Status ist nicht möglich"
iot.0 2020-09-23 21:09:09.043 debug (15402) Response from text2command: test test text2command.0 2020-09-23 21:09:09.041 info (15894) Response: test test text2command.0 2020-09-23 21:09:09.036 info (15894) Say ID javascript.0.textAnswerAlexa text2command.0 2020-09-23 21:09:09.035 warn (15894) Timeout for external processor: javascript.0.textProcessorAlexa text2command.0 2020-09-23 21:09:09.034 info (15894) processText: "de;askDevice status" javascript.0 2020-09-23 21:09:08.035 info (594) script.js.Alexa.common: {'language':'de','command':'askDevice status','withLanguage':true,'from':'system.adapter.iot.0'} text2command.0 2020-09-23 21:09:08.031 info (15894) processText: "de;askDevice status" iot.0 2020-09-23 21:09:08.029 debug (15402) sendTo "send" to system.adapter.text2command.0 from system.adapter.iot.0: de;askDevice statuson({id: 'javascript.0.textProcessorAlexa', ack: false, change: 'any'}, function (obj) { var task = JSON.parse(obj.state.val); // value looks like // { // "command": "text to process", // command that was received by text2command // "language": "en", // language in command or system language // "withLanguage": false // indicator if language was defined in command (true) or used default language (false) // } // response to text2command with ack=true console.log(task); if(task.command = 'askDevice status'){ setState('javascript.0.textAnswerAlexa', 'test test', true); } });Müsste sie den nicht "test test" sagen?
Bei text2command habe ich bei den Einstellungen Antwort und Bearbeiter ID entsprechend eingetragen.
Danke für die Hilfe
@mariva sagte in [Hilfe] iobroker custom Alexa text2command:
Oder auch das sie Rückfragen stellt.
-
@mariva sagte in [Hilfe] iobroker custom Alexa text2command:
Oder auch das sie Rückfragen stellt.