$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
睡眠をエンジニアリングする
Search
Takumi Yoshida
January 13, 2017
Technology
0
260
睡眠をエンジニアリングする
IRkitとMeshやRaspberry Piを組み合わせてエアコンのON/OFFを室温によって調整する
Takumi Yoshida
January 13, 2017
Tweet
Share
More Decks by Takumi Yoshida
See All by Takumi Yoshida
golangで作るslackbot
ytakky2014
0
170
GKEでは StackDriver Loggingに どうやってログを送っているか
ytakky2014
3
5.4k
Auralization of Tech News +Change in technology interest for my 4 years.
ytakky2014
0
120
Webメディアでのdataflow活用
ytakky2014
1
550
PHP7+Laravel5.3 on Google App Engine
ytakky2014
0
1.2k
DevOps In All About
ytakky2014
0
3.6k
Other Decks in Technology
See All in Technology
RAG/Agent開発のアップデートまとめ
taka0709
0
180
生成AI活用の型ハンズオン〜顧客課題起点で設計する7つのステップ
yushin_n
0
230
SREには開発組織全体で向き合う
koh_naga
0
360
ActiveJobUpdates
igaiga
1
130
AWS CLIの新しい認証情報設定方法aws loginコマンドの実態
wkm2
6
750
OCI Oracle Database Services新機能アップデート(2025/09-2025/11)
oracle4engineer
PRO
1
210
JEDAI認定プログラム JEDAI Order 2026 エントリーのご案内 / JEDAI Order 2026 Entry
databricksjapan
0
130
文字列の並び順 / Unicode Collation
tmtms
3
600
EM歴1年10ヶ月のぼくがぶち当たった苦悩とこれからへ向けて
maaaato
0
280
Lambdaの常識はどう変わる?!re:Invent 2025 before after
iwatatomoya
1
590
AIの長期記憶と短期記憶の違いについてAgentCoreを例に深掘ってみた
yakumo
4
380
エンジニアリングマネージャー はじめての目標設定と評価
halkt
0
290
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
286
14k
Side Projects
sachag
455
43k
Producing Creativity
orderedlist
PRO
348
40k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Done Done
chrislema
186
16k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Context Engineering - Making Every Token Count
addyosmani
9
520
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Transcript
ਭΛΤϯδχΞϦϯά͢Δ y.takky2014
ࣗݾհ !Z@UBLLZ ZUBLLZ ϒϩάIUUQZUBDLZIBUFOBCMPHDPN
None
ਭڥΛΤϯδχΞϦϯά ͢Δͷ໋Ͱ͋Δ
Έ • ΤΞίϯ͚ͭͬͺͳ͠Ͱ৸Δͷ ͕ΒΕΔ • ిؾ͔͔Δ • ΤϯδχΞͳΒΤΞίϯΛ੍ޚ͖ͩ͢
IOTͰͳΜͱ͔͢Δ ԹܭͱΤΞίϯͷϦϞίϯΛ ͳΜͱ͔͢Ε͍͚ͦ͏
ΤΞίϯΛԿͱ͔͢Δ ιϦϡʔγϣϯ
IRKIT
None
IRKITͱ • ֎ઢֶशϦϞίϯσόΠε • API͕ެ։͞Ε͍ͯΔ • ֎෦͔Βୟ͚Δ Internet HTTP API
• εϚϗ͔ΒcurlͰ֎ग़தʹ ΤΞίϯ͕͚ΒΕΔ!!!
IRKITͷઃఆ • ެࣜHP௨Γʹ͍͚ͬͯͰ͖Δ • http://getirkit.com/ • GET /messagesͰΤΞίϯͷ ONͱOFFͷ֎ઢ৴߸ύλʔϯΛऔಘɹ ϝϞ͓ͬͯ͘
ԹΛऔಘ͢Δ ιϦϡʔγϣϯ
MESH
MESHͱ • SONY͕࡞ͬͨBluetoothͰͭͳ͕Δిࢠλά • Android/iOSΞϓϦͰϒϩοΫΛܨ͛Δ͚ͩ Ͱಈ࡞ͤ͞ΒΕΔ • IFTTTͱͷ࿈ܞ • SDKͰࣗ࡞ϒϩοΫͷ࡞
None
࡞ͬͨϨγϐ • ԹͷมԽΛΩʔʹ25Ҏ্ͳΒ1 15ҎԼͳΒ0Λgoogle εϓϨουγʔτʹૹΔΑ͏ ʹ • Google App ScriptͰIRKITʹϦΫΤετΛૹΓ
ON/OFF (25ͰOFF / 15ͰON) • ιʔε https://github.com/ytakky2014/gas-temperature
None
MESH·ͱΊ • ؆୯ʹԹ/࣪ͷଌఆͱԹ/࣪ͷมԽΛ Ωʔʹͯ͠IFTTT࿈ܞ͕Ͱ͖Δ • ؆୯ʹઃఆग़དྷΔͷͰڭҭతʹ͍͍ • ଓ͕݁ߏΕ͍͢ɻ ͍҆Tabletങͬͯৗ࣌ଓ͠ͱ͘ͱྑ͍͔ɻ
Raspberry pi3 + Թηϯα
Raspberrypi3 • ؆қίϯϐϡʔλ • 3Ͱwifi/Bluetooth͕ΦϯϘʔυͰࡌ • GPIO(൚༻ೖग़ྗ)Λඋ͍͑ͯΔ • GPIOʹηϯαͷೖྗΛͰ͖Δ
ࣸਅ
Rasberrypi3+Թηϯα • ؆୯ͳγΣϧεΫϦϓτ+cronͰ ؒଳ͚ͩԹऔಘ+ פ͚Ε(15ҎԼ)ON /ॵ͚Ε(25Ҏ্)OFFΛࣗಈԽ • https://github.com/ytakky2014/raspi- temperature
ࣸਅ
MackerelͰࣨԹࢹ • Mackerel : αʔόࢹπʔϧ • ΧελϜϝτϦοΫεʢҙͷʣΛ ߘՄೳ • ιʔε:
https://github.com/ytakky2014/ mackerel_temp
None
Raspberrypi3·ͱΊ • ϥζύΠ༷ʑͳηϯαՃग़དྷΔͷͰ֦ுੑ ͕Α͍ • ֦ுੑΛߟ͑ΔͱMESH(¥6980)ΑΓ͍҆ • ຊମ ¥5780+microSD+micro USBॆిث
• খܕίϯϐϡʔλͳͷͰ༷ʑͳγεςϜͱ࿈ܞ • ࣗ༻։ൃڥͱͯ͠
·ͱΊ • IOTָ͍͠ • IOTͷ͕ͬͯདྷ͍ͯΔ • ळ༿ݪͷઍੴి2߸ళͱ͔IOTڭҭ͚ͷύʔπ ͷऔѻ͕૿͍͑ͯΔؾ͕͢Δ • MESH͔ͳΓ؆୯ʹ࣮ߦͰ͖Δ
• ͕ΤϯδχΞͰগ͠Γͳ͞Λײ͡Δ͔
APPENDIX • github : https://github.com/ytakky2014 • irkit : http://getirkit.com/ •
Raspberry Pi3 : https://www.raspberrypi.org/ • ୈ18ճʮϥζϕϦʔύΠͰख࡞ΓԹܭʂʯ http://deviceplus.jp/hobby/raspberrypi_entry_018/ • MESH • http://meshprj.com/jp/