Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
OK:Googleから始めるスマートホーム生活 / OK: Smart home life s...
Search
Endo_Hizumi
August 26, 2020
380
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OK:Googleから始めるスマートホーム生活 / OK: Smart home life starting from Google
リモコンを取りに行くのめんどくさいから、声で操作するシステムを作ったの話
Endo_Hizumi
August 26, 2020
More Decks by Endo_Hizumi
See All by Endo_Hizumi
欲しいを叶える個人開発の進め方 / How to Run an Indie Project That Brings Your Ideas to Life
endohizumi
0
1.2k
JSでギャルゲー!~JavaScriptでノベルゲーエンジン作ったった~
endohizumi
1
490
意志の力が9割。アニメから学ぶAI時代のこれから。
endohizumi
1
200
JSでギャルゲーをつくろう!(第3版)
endohizumi
0
310
JSでギャルゲーをつくろう!(第2版)
endohizumi
0
100
JSでギャルゲーをつくろう!
endohizumi
0
550
テレビを飲み込め! Webの嵐!! / Swallow the TV! Web storm! !!
endohizumi
1
140
クソアプリで基礎固め / Tutorial in your joke app for Vue.js
endohizumi
0
280
jQuery使いがVue.jsを使った話 / thank you jQuery,Hello Vue.js
endohizumi
0
220
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
360
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
520
Prompt Engineering for Job Search
mfonobong
0
480
Exploring anti-patterns in Rails
aemeredith
4
520
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
350
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
300
Are puppies a ranking factor?
jonoalderson
2
4k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Transcript
2020年8月26日(水) オタクが最新技術を追うLTイベント#16 遠藤ヒズミ
自己紹介 名前:菊地 峻輔 HN:遠藤ヒズミ (@endo_hizumi) → 業務:SESのサーバーサイドエンジニア 座右の銘:怠惰を求めて勤勉に至る 趣味:惰眠・Webアプリ開発・プラモデル制作 好きな物:ニチアサとお布団
今回のやったこと リモコンを取りに行くのが面倒なので、 椅子の上で声で家電を動かしたい 電気つけて 席から距離がある
スマートホームシステム構成図 IFTTT WebHook
部屋の蛍光灯が点くまで ”電気をつけて”とGoogle Assistantに話しかけます IFTTT WebHook
部屋の蛍光灯が点くまで IFTTTに設定されたAppletが呼ばれます IFTTT WebHook
部屋の蛍光灯が点くまで IFTTTが自宅のRaspberry Piに立てた サーバーのAPIを叩く IFTTT WebHook
部屋の蛍光灯が点くまで Raspberry Piから赤外線を送信して 照明を操作 IFTTT WebHook 赤外線
部屋の蛍光灯が点くまで Raspberry Piから赤外線を送信して 照明を操作 IFTTT WebHook ngrok経由で、IFTTTとRaspberry Piを連携
オレオレスマートリモコン『Quiche (キッシュ)』 特徴 • Raspberry Pi上の動作するPythonで書かれたソフトウェア • REST API経由で指定された家電の操作・登録が出来る •
APIサーバーと赤外線リモコンのコントローラーの2つで構成されている 主な機能 • リモコンの赤外線パターンを登録・JSONファイルに保存 • 保存したJSONを読み取って、家電へ赤外線を送信 GitHubのリポジトリURL→
Quicheの動作環境 ソフトウェア 言語:Python3.8 フレームワーク:Flask ハードウェア 機種:Raspberry Pi 3 model B+
追加モジュール:ADRSIR ラズベリー・パイ専用 学習リモコン基板 https://bit-trade-one.co.jp/product/module/adrsir/
やってみた感想 • やりたいことが土日でやれる程度にさくっとできたので、満足。 • いざという時にリモコンが無くても意図した操作ができるから QoLが上がる • Raspberry Pi側はREST APIで家電を操作出来るので声以外
でも動かせる • 加えて、センサーを追加して拡張出来る => つまりどう拡張しようか考えが浮かんで楽しい
問題点 • 市販品(Nature Remo)買った方が安い • 現状の環境だと何らの方法でデーモン化しないとセッション終 了で止まる • 家電増やしたときのIFTTTへのコマンド登録が面倒である •
無料版のngrokだと起動時にURLが変わるのでIFTTTへの再 設定が必要である => コスト以外だと、連携方法が今後の一番の課題です
Quicheで お手持ちのRaspberry Piも スマートリモコンにしませんか! レッツクローン! プリーズスター! →
おしまい