ããã«ã¡ã¯ãããããï¼id:karaageï¼ã§ããæç¥çã§ã¢ãã¥ããç³»ä¼æ¥ã®ã¨ã³ã¸ãã¢ã¨ãã¦ãæãã妻ã¨åä¾ã®ããã«æ¥å¤ä¸çæ¸å½åãã¦ãã¾ããã¾ããæ¬æ¥ã¨ã¯é¢ä¿ãªãã趣å³ã§é»åå·¥ä½ãã½ããéçºããã¦ãã¦ãä½ã£ããã®ãæè¡çãªå 容ãã¯ã¦ãªããã°ã§çºä¿¡ãã¦ãã¾ããä»åã¯ãAmazon Dashãã¿ã³ï¼Amazon Dash Buttonï¼ãHackãã¦é¢ç½ããã¨ããããã¨æãã¾ãã
- â ãããããDashãã¿ã³ãã®ã·ã¹ãã æ¦è¦
- â ã¯ã³ããã·ã¥ã§ãè¶ã»ã風åã沸ããããæé¤ãããããã
- â ã«ã³ãã«æé¤ãããã
- â 家åºèåã®æ ½å¹åçãããã°ã«èªåæ稿
- â ãããããDashãã¿ã³ãå°ç¨ã©ãã«ä½æ
- â ãããããDashãã¿ã³ãã®IoTããã¤ã¹ã¨ãã¦ã®å¯è½æ§
- â èè ãããã£ã¼ã«
- é¢é£ã¨ã³ããªã¼
Amazon Dashãã¿ã³ã¯ããæ°ã«å ¥ãã®ååãã¯ã³ããã·ã¥ã§æ³¨æã§ãã便å©ãªãã¿ã³ã§ããããã«ã°ã©ããã¦ã£ã«ãã³ã½ã³ããªã©ã対å¿ãã¦ããååãã¨ã®ãã¿ã³ã販売ããã¦ãã¾ãã
â½ Amazon Dash Button ãæ°ã«å ¥ãã®ååãã¯ã³ããã·ã¥ã§
ã¨ãããã3ã¤è²·ã
Amazon Dashãã¿ã³ãããããããªãããã¤ãã¤ãã¦ããã¨ã妻ãããããä½ã«ä½¿ãã®ï¼ãã¨èãããã®ã§ãAmazon Dashãã¿ã³ã¯ãã¯ã³ããã·ã¥ã§ååã注æã§ãã便å©ãªãã¿ã³ãªãã ãã©ãRaspberry Piã¨ããé»åå·¥ä½ã«ãã使ãããå°åã³ã³ãã¥ã¼ã¿åºæ¿ã使ããã¨ã§ãåå注æ以å¤ã®åããã¨ãã§ãããã ï¼ Raspberry Piã使ãã°ä½ã§ãã§ãããã ï¼ãã¨èª¬æããã¨ããããã¤ãã¿ãããªãããããªããã®ãããªãã¦ããã¿ã³ãæ¼ããããè¶ã沸ãããããæé¤ããã¦ããããã¤ä½ã£ã¦ï¼ãã¨è²´éãªãæè¦ãããã ããã®ã§ãAmazon Dashãã¿ã³ã使ã£ã¦å¦»ãå©ãããããªãã¿ã³ãåä»ãã¦ãããããDashãã¿ã³ããä½ã£ã¦ã¿ããã¨ã«ãã¾ãããæ¬è¨äºã§ã¯ããã®å 容ããç´¹ä»ãã¾ããã¿ããªä»ãã¦ãã¦ããããªï¼
â ãããããDashãã¿ã³ãã®ã·ã¹ãã æ¦è¦
ä»åAmazon Dashãã¿ã³ãHackãã¦ä½ããããããDashãã¿ã³ãã®ã·ã¹ãã æ¦è¦ã¯ä»¥ä¸ã¨ãªãã¾ãã
ãªãã ãåããã§ããï¼
ããã§ã¯ãæ©éãã®ãããããDashãã¿ã³ãã使ã£ã¦ã©ããªãã¨ãã§ããããè¦ã¦ããããã¨æãã¾ãã
â ã¯ã³ããã·ã¥ã§ãè¶ã»ã風åã沸ããããæé¤ãããããã
ã¾ãã¯ãã¯ã³ããã·ã¥ã§ãè¶ã»ã風åã沸ãããæé¤ãããã¨ãã£ã家åºã®ä»äºãããªãä»çµã¿ã§ãããã¯ã³ããã·ã¥ã§ãè¶ã沸ãã!? ã©ããªéæ³ã ï¼ãã¨æãããæ¹ãããããããã¾ãããã種ã¯ç°¡åã§ãã妻ããã¿ã³ãæ¼ãã¨å¤«ã§ããç§ã®ã¹ããã«éç¥ãæ¥ã¦ãç§ãçç¶ã¨ããã·ã¥ãä»äºãããªãã®ã§ããç¾ä»£ã®éæ³ã¨ã¯ãã¿ãªçããéãæ±ãã¦ããã®ãã®ãªã®ã§ãã
æ©é試ä½ãããããããDashãã¿ã³ãã§ãã¹ããã¦ã¿ã¾ãã
ãã¿ã³ãæ¼ããããã³ã«ã¹ããã«éç¥ãæ¥ãæ§å
ä»åãTwitterçµç±ã¨ãã£ããã½ããã®Slackçµç±ã§ã®éç¥ã両æ¹è©¦ãã¦ã¿ã¾ãããRaspberry Piã¨Twitterã¨ã®é£æºã«é¢ãã¦ã¯ã以åä½ã£ã温度ããã¤ã¼ãããbotãæµç¨ãã¾ãããèå³ãããæ¹ã¯åèã«ãã¦ã¿ã¦ãã ããã
Slackã«é¢ãã¦ã¯ãITç³»æ¯ã¡ãããã¨å¹³ æç¾ããï¼id:mana-catï¼ã®è¨äºãåèã«ããã¦ããã ãã¾ããã
Slackã®æ¹ãç°¡åã«ä½¿ããã¨ãã§ããéå ¬éæ å ±ã¨ãã¦ãã©ã¤ãã¼ããªç¨éã«ã使ããã®ã§ãä»åã®ç¨éã«ã¯ããé©ãã¦ããããªã¨æãã¾ããã
éç¥ãæ¥ãã®ã§ãæ©éãè¶ã沸ããã«è¡ãã¾ãã
ããããç§ããè¶ã沸ãããããã§ã
â ã«ã³ãã«æé¤ãããã
ããã«æãã妻ã®ããã¨ã¯ãããç§ã®èº«ä½ã¯ã²ã¨ã¤ãªã®ã§å°ãã§ãä»äºã¯æ¸ããããã®ã人æ ã¨ãããã®ã§ããæè¿æã家ã§ã¯ã«ã³ããè²·ã£ãã°ãããªã®ã§ãæé¤ã¯ã«ã³ãã«ãã£ã¦ããããã¨ã«ãã¾ãããã¨ã¯ãããããããéç¥ãæ¥ã¦ããã«ã³ãã®ã¹ã¤ãããæ¼ãã«è¡ãã®ãé¢åã§ãããããããDashãã¿ã³ããæ¼ãããç´æ¥ã«ã³ããæé¤ãã¦ãããã便å©ããã§ããããããªãã¨ãã§ããã®ã§ããããï¼ ã§ãããã§ããRaspberry Piã使ãã°ã§ãããã§ãï¼
ä½ãæ¹ã¯æ¯è¼çç°¡åã§ããã¾ãã¯ãæ¹é ãããã«ã³ããç¨æãã¾ããããæ¹é ãããã«ã³ããææãã¦ããªãæ¹ã¯ãä¸è¨ã®è¨äºããåç §ãã ããããã£ã¨ããéã«æ¹é ãããã«ã³ãã®åºæ¥ä¸ããã§ããï¼â»ã¡ã¼ã«ã¼ãæ³å®ãã¦ãã使ãæ¹ã§ã¯ãªãã®ã§ã試ãéã¯ã注æãã ããï¼
ããã¨ãããããDashãã¿ã³ããçµã¿åããã¦ãã¹ãããåç»ã以ä¸ã¨ãªãã¾ãã
â½ https://www.youtube.com/watch?v=VNPRaJpH5SY
ãããããDashãã¿ã³ããæ¼ãã¨ã«ã³ããæé¤ãå§ãã¾ãããã¿ã³ã2åæ¼ãã¦ããã®ã¯ã1åæ¼ãã¨ã«ã³ããã¹ãªã¼ãããèµ·åãããã1åæ¼ãã¨æé¤ãå§ããä»æ§ã®ããã§ããã¿ã¤ãã使ã£ã¦ã³ãã³ãã2åéããããªã½ãããä½ãã°ã¯ã³ããã·ã¥ã§ãããããã§ããï¼
妻ã«è¦ããã¨ãããããããªã¢ã³ã³ä½¿ããâ¦â¦ãã¨ææ ããµããã³ã¡ã³ããããã ãã¾ããï¼ ä½ã£ã¦ããæ°ä»ãããï¼
ã§ãã話ãã¦ãããã¡ã«ãå¨ãã«ã³ããæããã®ã§ããªã¢ã³ã³ãå±ããªãçé¢ã§ã«ã³ããèµ·åããã¨ãã使ãæ¹ãããããã ããã¨ããæ°ããªçºè¦ãã§ãã¾ããããã ãã¾ãã¯é ç·ãããåºãã®åºæ¿ããªãã¨ãããªãã¨ããã¾ããããããã¯ã¾ãå¥ã®ã話ã
â 家åºèåã®æ ½å¹åçãããã°ã«èªåæ稿
ä»ã®å¿ç¨ä¾ã¨ãã¦ãããããDashãã¿ã³ããRaspberry Piã®ã«ã¡ã©ã®ãªã¢ã¼ãã·ã£ãã¿ã¼ã¨ãã¦ä½¿ããã¨ã«ããã£ã¬ã³ã¸ãã¦ã¿ã¾ãããåç´ã«åçãæ®ãã ãã ã¨ãã¾ãé¢ç½ããªãã®ã§ãã¤ãã§ã«æ®å½±ããåçãããã°ã«æ稿ãã¦ãã¾ããã¨ã«ãã¾ãããããã£ï¼ ãããªåçãæ軽ã«æ稿ã§ãããããªç¡æããã°ããã®ä¸ã®ä¸ã«åå¨ããã®ãã£ã¦ï¼ããããããã®ã§ãããã¯ã¦ãªããã°ãã¨ããããã°ãã
å®ã¯ãã¯ã¦ãªããã°ã¯ããã°æ稿ç¨ã®APIãç¨æãã¦ããããã¡ã¼ã«ã§ã®æ稿ã«å¯¾å¿ãã¦ãããã¨ãè²ã ãªæ¹æ³ã§è¨äºãæ´æ°ã§ããããã°ãµã¼ãã¹ãªã®ã§ããä»åã¯ãç»åãæ軽ã«æ稿ã§ããã¡ã¼ã«ã§ã®æ稿ã試ãã¦ã¿ã¾ãããå®ã¯ãã£ã¦ã¿ãã¨çµæ§å¤§å¤ã ã£ãã®ã§ããããããã¾ãå¥ã®ã話ã
æ®å½±å¯¾è±¡ã¯ãæè¿å®¶åºèåãå§ããã®ã§ããã®åçãã¢ãããããã¨ã«ãã¾ãããRaspberry Piã®é²æ°´ã±ã¼ã¹çã®ãã¼ãã¦ã§ã¢ã¯ãæ¨å¹´Raspberry Piã使ã£ã¦å®¶åºèåã®æ ½å¹è¨é²ãä»ããéã«ä½¿ã£ããã®ããã£ãã®ã§ããã¡ããå©ç¨ãã¾ãã
以ä¸ã®ããã«ã»ããã£ã³ã°ãã¦ããã¦ãããããDashãã¿ã³ããæ¼ãã¨ã
èªåã§ããã°ãæ´æ°ããã¾ããï¼
ããã°ã«æ¸ããã¨ããªãã¨ãåãã®ããªãï¼ å®¶åºèåã¨ãããããDashãã¿ã³ãããããã°ã¯ã³ããã·ã¥ããã ãã§æ¯æ¥ããã°ãæ´æ°ã§ãã¦ãªã¹ã¹ã¡ã§ãï¼
Raspberry Piã«æ¸©åº¦ã湿度ã»ã³ãµãä»ããã¨ããã£ã¨æ¬æ ¼çãªæ ½å¹æ¥è¨ãç°¡åã«ä½ãããã§ãããã¾ããã«ã¡ã©ã®ãªã¢ã¼ãã·ã£ãã¿ã¼ã¨ãã¦ã®ä½¿ãæ¹ã¯ãä»ã«ãå¿ç¨ä¾ãèãããããã§ããä¾ãã°ãæ¯æ¥å®¶æåçãæ®ãã¨ãã使ãæ¹ããæ軽ã«å®¶æã®è¨é²ãæ®ãã¦ããããªã¨ãæãã¾ãã
â ãããããDashãã¿ã³ãå°ç¨ã©ãã«ä½æ
ä»ã®ã¾ã¾ã ã¨ãã©ã®ãã¿ã³ãä½ã®ãã¿ã³ãããã¨è¦åããã¤ããªãã®ã§ãå°ç¨ã®ã©ãã«ãä½ãã¨å®ç¨çã«ãªãã¾ããããã£ã¨æçã湧ãã¾ããããªãã¨ãã³ãã¬ã¼ããå ¬éãã¦ãã ãã£ã¦ããæ¹ãè¦ã¤ããã®ã§ãããããã使ããã¦ããã ãã¾ãã
â½ Amazon Dash Buttonã(æ£ãããªãæ¹åã§)使ã£ã¦ã¿ã - Qiita
ãã©ã³ãã¯ããããµããã¨ï¼ãã使ã£ã¦ãMacã®ãã¬ãã¥ã¼ã¢ããªã§ããã£ã¨ãã¶ã¤ã³ãã¦ãããªã³ã¿ã§ãã£ã«ã ã©ãã«ã«å°å·ãã¾ããå¾ã¯åãã ããªã®ã§ããããããä¸å¨ç¨ãªç§ã«ã¯å¤§å¤â¦â¦
ç§ãä½ã£ããã®
ãµã¤ãºã¯åã£ã¦ãªãããã·ã¼ã«ã¯åãã¦ããâ¦â¦ä¸å¨ç¨ã«ãã»ã©ãããã¾ããå¨ç¨ãªå¦»ã«ãã«ãããé¡ããã¾ããã妻ãå©ããããã®ããã¤ã¹ãä½ã£ã¦ããã¯ããã妻ã«å©ããæ±ããã¨ã¯ããããã«ã
妻ãä½ã£ããã®
ç´ æ´ãããä»ä¸ããï¼ ç§ããã£ãã諦ããå°ããç©´ãã¡ããã¨éãã¦ããã¾ããããã夫婦ã®æã®çµæ¶ã§ãããã³ãã¨ãã¦ã¯ãå¥ãããã¿ã¤ãã®ã·ã¼ã«ãè²·ããã¨ã¨ã100%ã®ãµã¤ãºã§å°å·ãããã¨ã§ããäºåã®åã2ã3ã»ããããã¨å®å¿ã§ãã
â ãããããDashãã¿ã³ãã®IoTããã¤ã¹ã¨ãã¦ã®å¯è½æ§
ä»åãããããDashãã¿ã³ããã妻ã®æä¼ãè¦æ±ã®ã¹ããéç¥ãããã«ã³ãã®ã³ã³ããã¼ã«ããªã¢ã¼ãæ®å½±ãããã°ã¸ã®èªåæ稿ã¾ã§æ§ã ãªç¨éã«ä½¿ã£ã¦ã¿ã¾ãããä»ã«ãããããã®ä½¿ãéãèãããããã§ãããé»æºã³ã¼ãä¸è¦ã§Wi-Fiã«ç¹ããã¹ã¤ããã¨ãã¦ãããã»ã©å®ãæ軽ã«ä½¿ãããã®ã¯ããã¯ãªãããããªãããªã¨æãã¾ããæè¿IoTï¼Internet of Thingsï¼ã¨ããè¨èãããèãããã«ãªãã¾ããããæ軽ã«ãããã«ç¹ããã¹ã¤ããã§ãããããããDashãã¿ã³ãã¯ãã¾ãã«IoTããã¤ã¹ã¨ãã¦ç¡éã®å¯è½æ§ãç§ãã¦ããããããªãããªã¨æãã¾ãã
ãããããDashãã¿ã³ãã®ã»ããã¢ããæ¹æ³ãã½ããã¦ã§ã¢ã®ä½¿ãæ¹ã¨ãã£ãæè¡çãªè§£èª¬è¨äºã¯ãå¾æ¥ç§ã®ããã°ã§å ¬éäºå®ã§ããæ¬è¨äºããã解説è¨äºã«ãªã³ã¯ã追å äºå®ã§ãã®ã§ããããã®è¨äºã§èå³ãæã£ãæ¹ã¯æ¯é試ãã¦ã¿ã¦ãã ãããï¼â»2017å¹´6æ13æ¥è¿½è¨ï¼è¨äºã¸ã®ãªã³ã¯ã追å ãã¾ããï¼
â èè ãããã£ã¼ã«
ããããï¼id:karaageï¼
- ããã°ï¼[karaage.]ï¼http://karaage.hatenadiary.jpï¼
- Twitterï¼[@karaage0703]ï¼https://twitter.com/karaage0703ï¼