Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Node-RED × IoT 事始め ~ESPr × Node-RED × Milkcocoa~ / IoT using Node-RED
shanonim
June 28, 2017
Technology
1
970
Node-RED × IoT 事始め ~ESPr × Node-RED × Milkcocoa~ / IoT using Node-RED
2017.06.28
Node-RED UG勉強会 Vol.5 「Node-RED x IoT」
https://node-red.connpass.com/event/57219/
shanonim
June 28, 2017
Tweet
Share
More Decks by shanonim
See All by shanonim
shanonim
0
140
shanonim
1
180
shanonim
0
380
shanonim
1
5.6k
shanonim
1
490
shanonim
2
270
shanonim
3
790
shanonim
0
860
shanonim
1
840
Other Decks in Technology
See All in Technology
nihonbuson
2
1.7k
minamizaki
0
590
kappa4
4
2.2k
clustervr
0
160
layerx
1
820
ishiayaya
PRO
0
330
yuhta28
1
210
kawaguti
0
110
shomaekawa
3
1.2k
ocise
1
940
kenya888
1
130
kurotanshi
0
180
Featured
See All Featured
pedronauck
652
110k
morganepeng
92
13k
bkeepers
52
4.1k
chrislema
231
16k
pauljervisheath
196
15k
tammielis
237
23k
caitiem20
308
17k
chriscoyier
499
130k
brad_frost
156
6.4k
dotmariusz
94
5.1k
afnizarnur
176
14k
jakevdp
774
200k
Transcript
Node-RED × IoT ࣄ࢝Ί ~ ESPr × Node-RED × Milkcocoa
~ 2017.6.28 (wed) Node-RED UGษڧձ Vol.5 ʮNode-RED x IoTʯ @shanonim
ࣰݪ߂ޫ )JSPNJUTV4IJOPIBSB !TIBOPOJN
None
None
Node-RED
None
What’s Node-RED • ϊϯϓϩάϥϛϯά • ϒϥβ্Ͱ෦Λܨ͛ͯIoTͰ͖Δ • node-module͕installͰ͖Δ • @1ft-seabass
͞Μ͕Α͔͍ͭͬͯ͘Δ
None
ࠓ͢͜ͱ • How to Use • Install and Access •
Hello World • Node-RED × IoT • node-red-contrib-milkcocoa • node-red-dashboard
Install and Access
Install and Access • install Node-RED • http://127.0.0.1:1880/
Install and Access
Hello World
Hello World • connect inject node and debug node
Hello World • edit inject node
Hello World click injected!!
☺
Node-RED × IoT
with Milkcocoa
• IoTʹಛԽͨ͠BaaS • MQTTϦΞϧλΠϜ௨৴ • σʔλͷอଘɾߋ৽ɾऔಘ • ๛ͳSDK
node-red-contrib-milkcocoa • A collection of Node-RED nodes for Milkcocoa
node-red-contrib-milkcocoa
milkcocoa app_id
API Key API Secret
None
Success
Node-RED × IoT with Milkcocoa Push Detection
Push Detection • subscribe push event on Milkcocoa push to
milkcocoa detect event from milkcocoa
Push Detection
push() onPush()
Sample IoTing
ESPr (Arduino) × Light Sensor × Node-RED with Milkcocoa
ESPr (Arduino) × Light Sensor × Node-RED with Milkcocoa Internet
Things
Monitoring Brightness 1VTI &41S%FWFMPQFS &418300.։ൃϘʔυ PO1VTI
ESPr Grove Shield Light Sensor
None
Monitoring Brightness
Monitoring Brightness • Add function for getting value
Demo
It’s hard to see…
Data Visualization
Looks good!
Data Visualization • node install node-red-dashboard
Data Visualization • can change setting
Demo
·ͱΊ
·ͱΊ • ͳ͍ͥ··ͰΒͳ͔ͬͨͷ͔… • node-moduleͰເ͕͕Δ • ࢹ֮Խ is େ •
Deploy to Heroku or Bluemix
Happy IoTing!!