Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
えねぶらぁとうんこボタン #enebular
Search
n0bisuke
August 02, 2018
0
320
えねぶらぁとうんこボタン #enebular
enebular meetup vol1にて!
https://enebular.connpass.com/event/92935/
いつかのIoTLTでやったやつ+α
n0bisuke
August 02, 2018
Tweet
Share
More Decks by n0bisuke
See All by n0bisuke
WebHID APIでHIDデバイスをブラウザから制御!! #iotlt
n0bisuke
1
690
IFTTTが有料化したのでIntegromatの話 #iotlt
n0bisuke
0
570
M5Core2触ってみたけど上下注意 #iotlt vol67
n0bisuke
0
960
PubNubを久々に使ってみたよ! #iotlt #m5stick #pubnub #djuko
n0bisuke
1
750
ATOM Echoでビデオ会議通知 #IoTLT
n0bisuke
0
540
オンラインLTをやってみた所感 #devreljp
n0bisuke
1
670
マイコンボード再活用なワイの配信環境 ~ラズパイやJetson Nanoを積ボードにしてる人必見~ #iotlt
n0bisuke
1
360
在宅テレカン時の 例の夫婦問題を解決する #iotlt #m5atom #m5stack
n0bisuke
1
840
嫁が来たらPCを閉じたいからアラートする #MiBand #RaspberryPi #iotlt
n0bisuke
1
880
Featured
See All Featured
BBQ
matthewcrist
85
9.3k
Become a Pro
speakerdeck
PRO
25
5k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Code Review Best Practice
trishagee
64
17k
The Language of Interfaces
destraynor
154
24k
Speed Design
sergeychernyshev
25
620
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
The Pragmatic Product Professional
lauravandoore
31
6.3k
For a Future-Friendly Web
brad_frost
175
9.4k
4 Signs Your Business is Dying
shpigford
180
21k
Transcript
@n0bisuke ͑ͶͿΒ͊ͱ͏Μ͜Ϙλϯ #enebular 2018/8/2
ੁݪ ͷͼ͚͢ dotstudio, Inc. ɾWeb Engineer ɾMicrosoft MVP (Node.js) ɾLINE
API Expert ɾσδλϧϋϦουେֶେֶӃ ඇৗۈߨࢣ ɾࠃ࠷େIoTίϛϡχςΟʮIoTLTʯͷਓ nobisuke sugawara
dotstudio, inc. ཧ೦ : Ϟϊͮ͘ΓΛָ͠ΉਓΛ૿͢ 2016ۀ
ͪΌΜͷ݈߁ཧʹ͔ܽͤͳ͍ഉᔔهɺ ԡ͚ͩ͢Ͱ؆୯ʮ͏Μ͜Ϙλϯʯ https://unkobtn.com/
͏Μ͜ϘλϯͷϋοΧʔίʔε ϋοΫͰ͖Δ͏Μ͜Ϙλϯ
͏Μ͜ϘλϯͷϋοΧʔίʔε ɾESP8266͕ೖ͍ͬͯΔ ɾϘλϯΛԡ͢ͱWebଆ Ͱ”Կ͔͢Δ”τϦΨʔ͕ ࡞ΕΔ
ͯ͞ɺԿΖ͏͔
͏Μ͜ϘλϯͰAmazon DashͰ͏Μ͜Λങ͏ ϒϨετωλ → Amazon APIͷ࣮ؒʹ߹Θͳͦ͞͏…
͏Μ͜ϘλϯͰAmazon DashͰ͏Μ͜Λങ͏ ϒϨετωλ ͏Μ͜ϘλϯΛΧϨʔ৯ͨϘλϯʹ → Amazon APIͷ࣮ؒʹ߹Θͳͦ͞͏…
͏Μ͜ϘλϯͰAmazon DashͰ͏Μ͜Λങ͏ ϒϨετωλ ͏Μ͜ϘλϯΛΧϨʔ৯ͨϘλϯʹ → Amazon APIͷ࣮ؒʹ߹Θͳͦ͞͏… → ԼͰҾ͔ΕΔͱࢦఠ͞Εͨɻ
͏Μ͜ϘλϯͰAmazon DashͰ͏Μ͜Λങ͏ ϒϨετωλ ͏Μ͜ϘλϯΛΧϨʔ৯ͨϘλϯʹ → Amazon APIͷ࣮ؒʹ߹Θͳͦ͞͏… → ԼͰҾ͔ΕΔͱࢦఠ͞Εͨɻ →
͏Μ͜ϘλϯϋοΫ͢ΔͱԿͬͯԼͳͷͰ…
͏Μ͔͜ΒΕͨͳ͍ͱ
ͯ͞ɺվΊͯɺ ͏Μ͜ϘλϯͰԿΖ͏͔
Έͳ͞Μͬͨ͜ͱ͕͋ΔΞϨ
None
ΈΜͳͬͨ͜ͱ͕͋Δ ࠇ൘ফ͠མͱ͍ͨͣ͠Β
ΈΜͳͬͨ͜ͱ͕͋Δ ࠇ൘ফ͠མͱ͍ͨͣ͠Β Ͱ͍͖ͬͯ
͏Μ͜ϘλϯͷΈཱͯ Μ͚ͩͮͱFTDIมΞμϓλ͕ඞཁ
ΦϑΟεʹ͋ͬͨNefry IoTϚΠίϯϘʔυNefry 4980ԁ(੫ผ)
ΦϑΟεʹ͋ͬͨαʔϘϞʔλ ͨͿΜ1000ԁ͘Β͍
ΦϑΟεʹ͋ͬͨͨΘ͠ (ࠇ൘ফ͠ͳ͔ͬͨ)
ΈཱͯͯΈͨ(ͨΘ͠αΠυ) Nefry + ϞόΠϧόοςϦʔ
ࢼ͠ʹಈ͔ͯ͠ΈΔ
ςετ࣮ࢪ
Έ HTTP MQTT མͪΔ
enebularͰԿΛͯ͠Δ͔
enebularͰ ɾ͏Μ͜Ϙλϯ͔ΒͷPOSTड͚औΓ ɾNefry BTͷMQTT Publish
࣮ࡍʹ͍ͨͣΒελʔτ
͓٬͞ΜདྷΔલ… ׂͱϏϏͬͯΔɻ
ଧͪ߹Θͤελʔτ… ͦͯ͠ࣄ͕݅
ϞόΠϧόοςϦʔ͝ͱམ͖ͪͯͨ…ۤস
ڠྗ͋Γ͕ͱ͏͍͟͝·͢ ։͖ͬͯࡱΓͯ͠͠Έͨɻ
࠷ޙँΓ·ͨ͠ɻ
enebularॴײ
͍࢝Ί ɾνϡʔτϦΞϧͭΒ͍ ɾNode-Redͷྑ͞Έ ɾhttps͑ΔͷͰαʔόʔ༻ҙ͠ͳͯ͘͝ʹΐ͝ʹΐ ɾTwitte BOT͕ΊͪΌͭ͘͘Εͨ
·ͱΊ ɾ͏Μ͜ϘλϯɺenebularɺNefryָ͍͠ ɾண͔ͬ͠Γ͠·͠ΐ͏ ɾଧͪ߹ΘͤͰఱҪʹؾΛ͚ͭΑ͏ ɾenebular ɾ IoTLTͳͲ LTΑ͘ΔਓɺٸͳLTґཔͳͲ ʹରԠ͍ͨ͠ਓ͓͢͢ΊͰ͖ͦ͏ʂ