23
Temboo , Zapier Gateway 흉내내기 Ethernet Shield 로 SMS 보내기 Free

Free sms test for IoT device

Embed Size (px)

Citation preview

Page 1: Free sms test for IoT device

Temboo, Zapier Gateway 흉내내기Ethernet Shield로 SMS 보내기

Free

Page 2: Free sms test for IoT device

2 / 23

원하는것~~지난 달에 소개되어 화제가 되고 있는Kaizen님의 WIZ550io와 SNS 를 이용한 개인용 화재 경보 시스템 만들기 를 확장해보기

Page 3: Free sms test for IoT device

3 / 23

Text me the weather every morning , http://sergeswin.com/939

Page 4: Free sms test for IoT device

4 / 23

http://techcrunch.com/2010/02/09/twilio-sms-api/

https://learn.adafruit.com/sending-an-sms-with-temboo/overview

http://scuola.arduino.cc/courses/lessons/cover/o3XbMVm

https://twitter.com/luvs2_u/status/451496962332692480

Page 5: Free sms test for IoT device

5 / 23

http://pixabay.com/en/google-search-engine-76522/

http://techawakening.org/free-sms-alerts-new-email-on-gmail-with-google-docs/1130/

https://ankitmathur111.wordpress.com/2014/01/28/new-gmail-in-inbox-setup-sms-alerts-for-new-gmails-in-your-mailbox

Get Free SMS Alerts for New and Important Emails on Gmail with Google Docs

Page 6: Free sms test for IoT device

6 / 23

Action1. Gmail 부터 SMS까지의

환경을구성한다.

문자로 보내기를 원하는 메일에 “smsMail” 라벨을 추가하는 필터를 설정한다.모든 메일을 하고 싶다면 검색조건없이 들어오는 모든 메일에 해당 라벨을 붙이면 된다.

Page 7: Free sms test for IoT device

7 / 23

Page 8: Free sms test for IoT device

8 / 23

https://gist.github.com/anonymous/8733440

기존코드를제거하고,Gist의코드를전부복사한다.

파일명은 smsMail로변경한다.

Page 9: Free sms test for IoT device

9 / 23

Authorize를받고모든창을닫는다.

새로창을열고다시 Spreadsheet파일을열면

여기서도Authorize를받는다.

Page 10: Free sms test for IoT device

10 / 23

이전화면의Script Editor 창에서Trigger를설정한다.

5분에한번씩문자를보낼수있다.

Page 11: Free sms test for IoT device

11 / 23

구글캘린더에서문자를받을

휴대폰정보를설정한다.

Page 12: Free sms test for IoT device

12 / 23

자동생성되어있는“smsMail” 달력의

SMS 알림을설정한다.

Action1 성공~

Page 13: Free sms test for IoT device

13 / 23

Action2. Things에서 Gmail로메시지를보내면끝~

http://www.cyberkendra.com/2014/06/flaw-in-gmail-which-exposed-email.html

출처 -http://crispconcept.com/products/transparent-arduino-uno-ethernet-shield-enclosure

Page 14: Free sms test for IoT device

14 / 23

또어쩔수없이이들의힘을빌려야하나?

Page 15: Free sms test for IoT device

15 / 23

http://googleappengine.blogspot.kr/2012/10/streak-brings-crm-to-inbox-with-google.html

https://speakerdeck.com/abahgat/google-app-engine-for-beginners

GAE–Google App Engine for simple Proxy

Simple Temboo, Zaiper를구현해보자

Page 16: Free sms test for IoT device

16 / 23

GAE SDK를설치한다.

Page 17: Free sms test for IoT device

17 / 23

이값이접속하는주소가된다. 즉, 이 GAE의주소는

http://bstoryweb.appspot.com

Page 18: Free sms test for IoT device

18 / 23

동일한이름으로개발 PC에Application을만들면,

자동으로아래 4개파일이생성이된다.

여기 2개파일을간단히수정하여Gmail을대신보내주는웹서버를구현한다.

Page 19: Free sms test for IoT device

19 / 23

코드 참조 : https://cloud.google.com/appengine/docs/python/mail/sendingmail

https://cloud.google.com/appengine/docs/python/gettingstartedpython27/handlingforms

반드시동일한App이름

“temp” 파라메터로들어온값을지정된 gmail로보내주는코드

Page 20: Free sms test for IoT device

20 / 23

서버로업로드

자신의계정정보를넣고, OK를누른다.

Page 21: Free sms test for IoT device

21 / 23

HTTPClient 예제에서앞서개발한 GAE 로접속을한다.

온도값은 “temp”라는값에넘겨주면된다.예) bstoryweb.appspot.com/?temp=온도값

mbed 그룹으로가서,

그냥 PC 브라우저에서접속해도동일하게동작한다.

Action2 성공~

Page 22: Free sms test for IoT device

22 / 23

http://creativebits.org/gmail/5_tools_speed_your_gmail

http://play.google.com

http://www.notablesolutions.com/products/autostore/route/document-management-systems/

http://bstoryweb.appspot.com/?temp=28

Page 23: Free sms test for IoT device

23 / 23

감사합니다Thank you

마지막페이지의파워포인트템플릿에대한저작권은“친절한혜강씨“인 SunRiver님에게있습니다.

Copyright ⓒ SunRiver

http://leehyekang.blog.me/110117557706