AITCオープンラボ
第五回 デジタルガジェット祭り!
スマートスピーカー特集
Google Homeを使ってノンプログラミングではじめる
スマートハウスライフ
2018年6月29日
先端IT活用推進コンソーシアム
シニア技術者勉強会 運営メンバー
ウルシステムズ株式会社 近藤繁延
Google Home + 学習リモコン=スマートハウス
• Google Homeと学習リモコンを使って、プログラムを書かずに
自宅をスマートハウス化したので紹介します。
2
必要なもの
Google Home Mini
RM Mini3
(学習リモコン)
Raspberry Pi 3
IFTTT
slack
hubot
キーデバイス:RM Mini3
• RM Mini3はWifi内蔵の学習リモコンです。
3
構成図
4
デモ
5
・・・の予定でしたが
本日は、デモが動きません・・・
bin/hubot --adapter slack
npm WARN hubot-help@0.2.2 requires a peer of coffee-script@^1.12.6 but none is installed. You must install peer
dependencies yourself.
audited 391 packages in 9.825s
[Sun Jun 24 2018 08:21:15 GMT+0000 (UTC)] INFO hubot-slack adapter v4.5.1
warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration
guide.
warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration
guide.
[Sun Jun 24 2018 08:21:16 GMT+0000 (UTC)] INFO Logged in as @homebot in workspace home
[Sun Jun 24 2018 08:21:16 GMT+0000 (UTC)] INFO Connected to Slack RTM
[Sun Jun 24 2018 08:21:18 GMT+0000 (UTC)] INFO hubot-redis-brain: Using default redis on localhost:6379
[Sun Jun 24 2018 08:21:18 GMT+0000 (UTC)] INFO hubot-redis-brain: Data for hubot brain retrieved from Redis
Discovered Broadlink RM device at xxx.xxx.xxx.xxx (xx:xx:xx:xx:xx:xx)
[Sun Jun 24 2018 08:21:48 GMT+0000 (UTC)] ERROR An error occurred while processing an RTM event: a is not defined.
6
実行時エラー
7
年始には
動いていたのに
原因は、なんとモジュールのバグでした
• HubotがSlackとの連携に使用しているhubot-slackの最新版
(Ver4.5.1)でバグが原因で、実行するとエラーになります。
8
中の人から
バグ認定
どうしたらよいか?
• コミッタの方から、次期バージョン(Ver4.5.2)で修正版を提
供すると連絡をいただきました。少しお待ちください。
9
今週末までに
リリースしたい
4.5.2にアップデートして
参考
http://ur0.biz/KJgh
10
Coming Soon!!
11
結果はQiitaの記事にアップします。
https://qiita.com/mininobu

第5回 デジタルガジェット祭り! スマートスピーカー特集(3)