ラズパイを利用してGoogle Home miniで自発的に話してもらう設定をしたのですが、下記のエラーが発生してしまいます。
色々調べましたが解決方法が見つけられてないため、ご教示をお願い致します。
<エラー内容>
FetchError: network timeout at: https://translate.google.com
at Timeout._onTimeout (/home/pi/XXXXXXXX/node_modules/google-home-notifier/node_modules/node-fetch/index.js:126:13)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
<実行プログラムソース>
var googlehome = require('./google-home-notifier');
var longuage = 'ja';
googlehome.ip('xxx.xxx.xxx.xxx);
var text = 'google check';
googlehome.notifiy(text, function(notifyRes){
console.log(notifyRes);
});
あなたの回答
tips
プレビュー