{"action":"created","issue":{"url":"https://api.github.com/repos/eouia/MMM-Hotword/issues/5","repository_url":"https://api.github.com/repos/eouia/MMM-Hotword","labels_url":"https://api.github.com/repos/eouia/MMM-Hotword/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/eouia/MMM-Hotword/issues/5/comments","events_url":"https://api.github.com/repos/eouia/MMM-Hotword/issues/5/events","html_url":"https://github.com/eouia/MMM-Hotword/issues/5","id":357852332,"node_id":"MDU6SXNzdWUzNTc4NTIzMzI=","number":5,"title":"Autorestart doesn't work","user":{"login":"leScepter","id":25381793,"node_id":"MDQ6VXNlcjI1MzgxNzkz","avatar_url":"https://avatars2.githubusercontent.com/u/25381793?v=4","gravatar_id":"","url":"https://api.github.com/users/leScepter","html_url":"https://github.com/leScepter","followers_url":"https://api.github.com/users/leScepter/followers","following_url":"https://api.github.com/users/leScepter/following{/other_user}","gists_url":"https://api.github.com/users/leScepter/gists{/gist_id}","starred_url":"https://api.github.com/users/leScepter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leScepter/subscriptions","organizations_url":"https://api.github.com/users/leScepter/orgs","repos_url":"https://api.github.com/users/leScepter/repos","events_url":"https://api.github.com/users/leScepter/events{/privacy}","received_events_url":"https://api.github.com/users/leScepter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-06T22:33:12Z","updated_at":"2018-09-07T13:50:07Z","closed_at":null,"author_association":"NONE","body":"I don't know what I did wrong, but the module doesn't restart after the first time I input a request. Here's my config file:\r\n\r\n```{\r\n                        module: \"MMM-Hotword\",\r\n                        config: {\r\n                                record: {\r\n                                        sampleRate    : 16000,      // audio sample rate\r\n                                        threshold     : 0.5,        // silence threshold (rec only)\r\n                                        thresholdStart: null,       // silence threshold to start recording, overrides threshold (rec only)\r\n                                        thresholdEnd  : null,       // silence threshold to end recording, overrides threshold (rec only)\r\n                                        silence       : 1.0,        // seconds of silence before ending\r\n                                        verbose       : false,      // log info to the console\r\n                                        recordProgram : 'arecord',  // Defaults to 'arecord' - also supports 'rec' and 'sox'\r\n                                        device        : \"plughw:1,0\" // recording device (e.g.: 'plughw:1')\r\n                                },\r\n                                snowboy: [\r\n                                        {\r\n                                                hotwords: \"smart mirror\", //this will be sent to other module for distinguishing which hotword is detected.\r\n                                                file: \"resources/models/smart_mirror.umdl\",\r\n                                                sensitivity: '0.5',\r\n                                        },\r\n                                ],\r\n                                autorestart: true,\r\n                        }\r\n                },\r\n```\r\n\r\nHere's the output:\r\n```\r\n[HOTWORD] <<  smart mirror  >> is detected.\r\n[HOTWORD] stops listening\r\nassistant ready\r\nTranscription: show  --- Done: false\r\nTranscription: show me  --- Done: false\r\nTranscription: show me the  --- Done: false\r\nTranscription: show me the time  --- Done: false\r\nTranscription: show me the time  --- Done: false\r\nTranscription: show me the time  --- Done: false\r\nTranscription: show me the time  --- Done: false\r\nTranscription: show me the time  --- Done: false\r\nend-of-utterance\r\nTranscription: show me the time  --- Done: true\r\nAssistant Text Response: It's 6:25.\r\nConversation Completed\r\n```\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/eouia/MMM-Hotword/issues/comments/419445472","html_url":"https://github.com/eouia/MMM-Hotword/issues/5#issuecomment-419445472","issue_url":"https://api.github.com/repos/eouia/MMM-Hotword/issues/5","id":419445472,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQ0NTQ3Mg==","user":{"login":"leScepter","id":25381793,"node_id":"MDQ6VXNlcjI1MzgxNzkz","avatar_url":"https://avatars2.githubusercontent.com/u/25381793?v=4","gravatar_id":"","url":"https://api.github.com/users/leScepter","html_url":"https://github.com/leScepter","followers_url":"https://api.github.com/users/leScepter/followers","following_url":"https://api.github.com/users/leScepter/following{/other_user}","gists_url":"https://api.github.com/users/leScepter/gists{/gist_id}","starred_url":"https://api.github.com/users/leScepter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leScepter/subscriptions","organizations_url":"https://api.github.com/users/leScepter/orgs","repos_url":"https://api.github.com/users/leScepter/repos","events_url":"https://api.github.com/users/leScepter/events{/privacy}","received_events_url":"https://api.github.com/users/leScepter/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T13:50:07Z","updated_at":"2018-09-07T13:50:07Z","author_association":"NONE","body":"There are errors but I believe they don't actually error from MMM-Hotword?\r\n\r\n```\r\nError while parsing the 'allow' attribute: 'autoplay;' is an invalid feature name.\r\nwww-widgetapi.js\r\n```\r\n\r\n```\r\nFailed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost:8080').\r\nwww-widgetapi.js\r\n```"}}
{"actor":{"display_login":"leScepter"}}