Google Home에 혼란스러워 보았습니다.
4646 단어 스마트 스피커만재GoogleHomedialogflow
LT는 5분 만에 세세한 부분까지 말할 수 없었기 때문에 좀 더 세세한 부분도 포함해 메모해 둡니다.
슬라이드
Google Home을 만나 보았습니다. // Speaker Deck
동영상

구성

인간이 말하면 양쪽(Google Home과 Google Assistant App)이 반응해 버리기 때문에, google-home-notifier 에서 Google Home에 말하게 해, 다른 쪽의 앱을 기동하는 방법을 생각했습니다.
Actions on Google에서는 두 개의 앱을 만들었고 각각에 다음과 같은 인텐트를 준비했습니다.
앱 1(츳코미 담당)
앱 2(노망 담당)
앱 2의 인텐트 2와 3은, 앱 1로부터 「네, 테스트 버젼의 상대입니다(피론♪)」가 자동적으로 들어가 버려, 거기서 1개의 발화라고 인식되어 버리므로, 일단 「아무래-」 라고 돌려 두면서, 앱 1 인텐트 1의 도중으로부터의 발화를 훅 하는 트릭입니다.
시퀀스로 나타내면 다음과 같이 됩니다.

node.js 코드
처음 트리거하는 nodes.js의 코드는 다음과 같습니다.
index.js
var googlehome = require('google-home-notifier');
googlehome.device('Google Home', 'ja');
googlehome.ip('192.168.10.xxx');
googlehome.notify('オーケー、グーグル。漫才に繋いで', function(res) {
console.log(res);
});
Reference
이 문제에 관하여(Google Home에 혼란스러워 보았습니다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/ottijp/items/3bcef9ac1dc3746ad3cb텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)