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, 今何度?〜オムロンセンサ/isaax/Ambientを使って部屋の温度を知る〜
Search
Yuta Yasugahira
March 13, 2019
Technology
550
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OK Google, 今何度?〜オムロンセンサ/isaax/Ambientを使って部屋の温度を知る〜
2019年3月13日のisaax勉強会#27のLT資料です。
Yuta Yasugahira
March 13, 2019
More Decks by Yuta Yasugahira
See All by Yuta Yasugahira
両方読んでみてわかった!XP初版と2版からの学び / Learning from XP 1st and 2nd
yasugahira0810
3
1.9k
会読のススメ〜XP会読会から学んだこと〜 / Encouragement of Reading and Discussion
yasugahira0810
0
480
平成30年のナウい勉強方法
yasugahira0810
1
610
Railsチュートリアル完走後の次の一歩
yasugahira0810
2
2.7k
Other Decks in Technology
See All in Technology
[Kiro Meetup #7] Kiro Crew Dive Deep
konippi
0
350
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2.5k
2026-09-08 そのJavaモダナイゼーション、AIに丸投げで大丈夫?IBM Bobで変わる品質と効率
yutanonaka
1
200
特殊変数大全
dak2
0
130
ScotSecure West 2026 - Glasgow
raybugg
0
180
AIエージェントを安全で速い現場監督にする:Jev・Obsidian・メタハーネス
x5gtrn
PRO
0
120
リアーキテクチャ後の障害ゼロを目指したShadow Testingの取り組み
nihonbuson
PRO
1
180
事業課題から技術的負債に向き合う
sansantech
PRO
2
2.4k
「今盗んで、後で解く」に備える ― AWSのポスト量子暗号入門
yama3133
2
250
Making AI Agents Safe and Fast- Jev, Obsidian, and the Meta-Harness
x5gtrn
PRO
0
140
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
6
770
Von-Neumann Machines, Dreams & The Futures of IT
ufried
0
130
Featured
See All Featured
Designing for Performance
lara
611
70k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
290
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
500
Scaling GitHub
holman
464
140k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
sira's awesome portfolio website redesign presentation
elsirapls
0
420
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
We Have a Design System, Now What?
morganepeng
55
8.3k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Believing is Seeing
oripsolob
1
220
Transcript
OK Google, ࠓԿʁ ʙΦϜϩϯηϯα/isaax/AmbientΛͬͯ෦ͷԹΛΔʙ isaaxษڧձ#27ʢ2019.3.13ʣ ҆ϲฏ༤ଠ
ࣗݾհ ໊લɿ҆ϲฏ ༤ଠʢyasugahira0810ʣ ࣄɿSIerͰ৽نϏδωεൃ IoT ɿ2018ळ͔ΒڵຯΛ࣋ͪ࢝ΊΔ isaaxษڧձ2݄ͷ#25͕ॳࢀՃ
ࠓ͓͢͠Δ༰ ˎGoogle Homeʹ෦ͷԹΛڭ͑ͯΒ͏ σϑΥϧτͰڭ͑ͯ͘ΕΔͷ֎ͷԹ ෦ͷԹΛڭ͑ͯ͘ΕΔ΄͏͕͏Ε͍͠ isaaxษڧձ#25ͰֶΜͩ༰Λͪΐͬͱൃల࣮ͤͯͨ͞͠ 16.8℃Ͱ͢ OK Google, ࠓԿʁ
←֎ͷԹ 10℃Ͱ͢ OK Google, ࠓԿʁ σϑΥϧτ Γ͍ͨ͜ͱ ←෦ͷԹ
͢͜ͱɾ͞ͳ͍͜ͱ Ambient ΞϓϦͷมߋΛGitHubө isaax͕ΞϓϦͷมߋΛݕ isaax͕isaaxd(*1)ΞϓϦΛ Ϋϥυͷηϯασʔλॻࠐ Ϋϥυ͔Βͷηϯασʔλಡࠐɾग़ྗ αϯϓϧΞϓϦΛมߋͯ͠ ηϯασʔλΛՄࢹԽ͢Δͧʂ Raspberry
Pi্Ͱηϯα σʔλΛՄࢹԽͰ͖ͨ(*2) ϋ ϯ ζ Φ ϯ ͷ ༰ ൃ ల ՝ ͬ͘͟Γ࣮ͨ͠ͷྲྀΕ ͞ͳ͍ ͢ *1 Raspberry PiʹΠϯετʔϧ͞ΕͨisaaxͷΤʔδΣϯτ *2 ՄࢹԽͨ͠ηϯασʔλLANͰͳ͍ͱ֬ೝͰ͖ͳ͍ ৄࡉͳखॱisaaxษڧձͷࢿྉࢲͷϒϩάΛ ͝ཡ͍ͩ͘͞ɻ࠷ޙʹ·ͱΊͯURLΛه͠·͢ɻ
Ϋϥυͷηϯασʔλͷॻࠐ ˎAmbientͷར༻४උΛ͢Δ ˎisaaxd͕࣮ߦ͢ΔstartεΫϦϓτΛमਖ਼͢Δ • Raspberry Pi্ͷηϯασʔλΛΫϥυʹ্͛Δํ๏৭ʑ͋Δ • ࠓճૉʹखॱ͕༻ҙ͞Ε͍ͯΔAmbientΛ͏ • ΞΧϯτొɺνϟωϧ࡞ɺID/Ωʔͷ֬ೝΛ࣮ࢪ
• ͬͯΔ͜ͱ؆୯ & खॱஸೡͳͷͰɺಛʹ໎Θͳ͍ͣ • ఆظతʹηϯασʔλΛAmbient ॻ͖ࠐΉΑ͏startεΫϦϓτΛमਖ਼ • isaaxڥมαʔϏεΛ͏ͱAmbientͷ ID/ΩʔΛϓϩάϥϜʹॻ͖ࠐ·ͣʹࡁΉ • AmbientͰάϥϑ͕ඳը͞ΕΔͱ͏Ε͍͠ʂ • ͜ΕͰ֎͔ΒͰ෦ͷԹΛ֬ೝͰ͖Δ
ˎambient-libͰAmbientʹஷΊͨσʔλΛಡΈऔΔ ˎ෦ͷԹڭ͑ͯΒ͑Δ͕ɺରͷճ͕ଟ͍ • Ambient͕༻ҙ͍ͯ͠ΔNode.jsϥΠϒϥϦʔambient-libΛར༻͢Δ • DialogflowͰAmbient্ͷ࠷৽ͷηϯασʔλ1݅ΛಡΈࠐΉ • Ambient͕ηϯασʔλΛฦ͢·ͰͭΑ͏ಉظॲཧΛॻ͘ • Node.jsશવΘ͔ͬͯͳͯ͘ɺ͜͜Ͱ͍ͩͿۤ࿑ͨ͠
Ϋϥυ͔Βͷηϯασʔλͷಡࠐɾग़ྗ ʮࠓԿʁʯͷҰݴͰ෦ͷԹΛڭ͑ͯΒ͍͍ͨ ΞϓϦ໊Λࢦఆ →Default Welcome Intent͕ฦΔ తͷIntentͷϑϨʔζΛࢦఆ →෦ͷԹΛڭ͑ͯ͘ΕΔ ର ̍ ର ̎
ˎݺͼ͔͚ͷͰDefault Welcome IntentΛলུ ˎΤΠϦΞεΛͬͯΞϓϦ໊Λলུ VUIͷϢʔβϏϦςΟͷվળ ʮΞϓϦ໊ΛͬͯϑϨʔζʯͰDefault Welcome IntentΛলུʢઃఆෆཁʣ ㅟ ㅟ
ㅟ ㅟ ㅟ ㅟ ㅟ ㅟ Τ Π Ϧ Ξ ε ର̍ճͰࡁΉ͕·ͩΠϚΠν Google HomeΞϓϦͰઃఆ ʢগ͠༨ܭͳϑϨʔζೖΔ͕ʣ ʮࠓԿʯͰ෦ͷԹΛΕͨ
• ΦϜϩϯηϯα/isaax/AmbientΛͬͯΫϥυ্Ͱ෦ͷԹΛՄࢹԽ • Google HomeΛͬͯʮࠓԿʁʯͰ෦ͷԹΛΕΔΑ͏ʹͨ͠ ·ͱΊ 16.8℃Ͱ͢ OK Google, ࠓԿʁ
͍ɻԹܭͷςετόʔδϣϯͰ͢ɻ 16.8℃Ͱ͢ OK Google, ࠓԿʁ Γ͔ͨͬͨ͜ͱ ·͊ɺΑ͠ʂʢΑΓྑ͍Γํ͝ଘͷํڭ͍͑ͯͩ͘͞ʣ ͬͨ͜ͱ
• isaaxษڧձ#25ͷϋϯζΦϯςΩετ ΦϜϩϯઈରѹηϯαධՁϞδϡʔϧΛRaspberryPiʹܨ͍ͰՄࢹԽ(ೖฤ) <https://camp.isaax.io/ja/examples/2smpb-02e-raspberry-pi> • isaaxษڧձ#25ͷϋϯζΦϯΛ෮शͨ͠ϒϩάهࣄ ΦϜϩϯઈରѹηϯα2SMPB-02EΛͬͯΈͨ <http://sonomirai.hatenablog.com/entry/2019/02/13/002711> • ΫϥυͷηϯασʔλͷॻࠐͰࢀর͢ΔϋϯζΦϯςΩετ
ΦϜϩϯڥηϯαɾAmbientɾisaaxϋϯζΦϯ <https://camp.isaax.io/ja/examples/visualize_omron_iot_sensor_with_ambient_and_isaax> • ηϯασʔλॻࠐͷίʔυ <https://github.com/yasugahira0810/2smpb02e-with-isaax/blob/master/sample2.py> • ηϯασʔλಡऔͷίʔυɾઃఆ index.js<https://gist.github.com/yasugahira0810/657ed179825c8a71686dc249d69a6624> package.json<https://gist.github.com/yasugahira0810/97dd92d43cc37b10da55eb6fdc6c0d87> • VUIͷϢʔβϏϦςΟͷվળͷৄࡉͳखॱʹ͍ͭͯͷϒϩάهࣄ Google HomeͱobnizͰ෦ͷిؾΛON/OFF͢Δ <http://sonomirai.hatenablog.com/entry/2018/12/10/083146> ࢀߟ