{"id":99556,"date":"2018-05-24T05:00:27","date_gmt":"2018-05-23T20:00:27","guid":{"rendered":"https:\/\/min2club.com\/talk\/?p=99556"},"modified":"2018-04-26T23:28:59","modified_gmt":"2018-04-26T14:28:59","slug":"%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2","status":"publish","type":"post","link":"https:\/\/min2club.com\/talk\/2018\/05\/24\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2\/","title":{"rendered":"\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30e2\u30b8\u30e5\u30fc\u30eb\u3001Raspberry Pi\u3001Google Home\u3067\u5feb\u9069\u306a\u304a\u90e8\u5c4b\u4f5c\u308a (\u5f8c\u534a)"},"content":{"rendered":"<p>&#8220;<a href=\"https:\/\/wp.me\/p1fUvU-pHE\">\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3092\u6d3b\u7528\u3057\u3066Philips Hue \u96fb\u7403\u5c02\u7528\u306e\u30aa\u30f3\u30aa\u30d5\u3092\u81ea\u52d5\u5316\u3001\u7701\u96fb\u529b\u5316\u3092\u5b9f\u73fe<\/a>&#8221;<\/p>\n<p>&#8220;<a href=\"https:\/\/wp.me\/p1fUvU-pIp\">\u30ef\u30f3\u30b3\u30a4\u30f3\u3067\u304a\u90e8\u5c4b\u306e\u6e29\u5ea6\u3092HomeKit\u3092\u30d9\u30fc\u30b9\u306b\u5916\u51fa\u5148\u3067\u3082\u30e2\u30cb\u30bf\u30fc\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f<\/a>&#8221;<\/p>\n<p>&#8220;<a href=\"https:\/\/wp.me\/p1fUvU-pSB\">Raspberry Pi\u3068Google \u30ab\u30ec\u30f3\u30c0\u3067Google Home\u306b\u30b4\u30df\u306e\u65e5\u3092\u6559\u3048\u3066\u3082\u3089\u3046<\/a>&#8221;<\/p>\n<p>&#8220;<a href=\"https:\/\/wp.me\/p1fUvU-pTf\">\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30e2\u30b8\u30e5\u30fc\u30eb\u3001Raspberry Pi\u3001Google Home\u3067\u5feb\u9069\u306a\u304a\u90e8\u5c4b\u4f5c\u308a (\u524d\u534a)<\/a>&#8220;\u306e\u7d9a\u304d\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u524d\u56de\u306eTALK\u3067\u3001\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb(\u201d<a href=\"https:\/\/www.switch-science.com\/catalog\/2323\/\">BME280\u642d\u8f09\u3000\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30e2\u30b8\u30e5\u30fc\u30eb \u30d4\u30f3\u30d8\u30c3\u30c0\u5b9f\u88c5\u6e08<\/a>\u201c)\u3092\u4f7f\u3063\u3066\u3001\u201c<a href=\"https:\/\/store.google.com\/product\/google_home?hl=ja\">Google Home<\/a>\u201c\u306b\u304a\u90e8\u5c4b\u306e\u30b3\u30f3\u30c7\u30a3\u30b7\u30e7\u30f3\u3092\u5b9a\u671f\u7684\u306b\u558b\u3063\u3066\u3082\u3089\u3046\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u3001\u4eca\u56de\u306eTALK\u3067\u306f\u3001\u305d\u306e\u7d9a\u7de8\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4ee5\u524d\u8cfc\u5165\u3057\u305f\u6642\u306e\u5728\u5eab\u306b\u306a\u3063\u3066\u3044\u305f\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u201d<a href=\"http:\/\/www.aitendo.com\/product\/10254\">PIR\u30bb\u30f3\u30b5\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb [DSUN-PIR ]<\/a>\u201c\u3001\u305d\u3057\u3066\u3001\u3053\u3061\u3089\u306e\u4ee5\u524d\u8cfc\u5165\u3057\u305f&#8221;<a href=\"http:\/\/amzn.to\/2tXg0Lh\">Keynice USB\u6247\u98a8\u6a5f \u5353\u4e0a \u30af\u30ea\u30c3\u30d7\u578b \u9759\u97f3 USB\u30b1\u30fc\u30d6\u30eb1.5m \u30df\u30cb\u6247\u98a8\u6a5f \u98a8\u91cf2\u6bb5\u968e\u8abf\u7bc0 360\u5ea6\u89d2\u5ea6\u8abf\u6574 4\u679a\u7fbd\u6839 USB\u30d5\u30a1\u30f3 &#8211; \u30db\u30ef\u30a4\u30c8<\/a>&#8220;\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u5ba4\u5185\u304c\u4e00\u5b9a\u4ee5\u4e0a\u306e\u6e29\u5ea6\u306b\u306a\u3063\u305f\u6642\u306b\u30df\u30cb\u6247\u98a8\u6a5f\u3092\u30aa\u30f3\u306b\u3001\u4e00\u5b9a\u306e\u6e29\u5ea6\u4ee5\u4e0b\u306b\u306a\u3063\u305f\u3089\u30df\u30cb\u6247\u98a8\u6a5f\u3092\u30aa\u30d5\u306b\u3059\u308b\u3001\u3068\u3044\u3063\u305f\u30db\u30fc\u30e0\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u73fe\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #3366ff;\"><strong>(1) \u6e29\u5ea6\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u8a08\u6e2c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046<\/strong><\/span><\/p>\n<p>\u4eca\u56de\u306f\u3001\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb(\u201d<a href=\"https:\/\/www.switch-science.com\/catalog\/2323\/\">BME280\u642d\u8f09\u3000\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30e2\u30b8\u30e5\u30fc\u30eb \u30d4\u30f3\u30d8\u30c3\u30c0\u5b9f\u88c5\u6e08<\/a>\u201c)\u3067\u8a08\u6e2c\u3057\u305f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306a\u6e29\u5ea6\u3092\u6761\u4ef6\u306b\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u306e\u30aa\u30f3\u30fb\u30aa\u30d5\u3092\u3057\u305f\u3044\u306e\u3067\u3001\u30bb\u30f3\u30b5\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068\u3001\u6e29\u5ea6\u306e\u8a08\u6e2c\u3092\u884c\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u3044\u5185\u5bb9\u306f\u3001\u524d\u56de\u306eTALK&#8221;<a href=\"https:\/\/wp.me\/p1fUvU-pTf\">\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30e2\u30b8\u30e5\u30fc\u30eb\u3001Raspberry Pi\u3001Google Home\u3067\u5feb\u9069\u306a\u304a\u90e8\u5c4b\u4f5c\u308a (\u524d\u534a)<\/a>&#8220;\u3092\u53c2\u8003\u306b\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #3366ff;\"><strong>(2) \u5ba4\u5185\u306b\u4eba\u304c\u3044\u308b\u306e\u304b\u3044\u306a\u3044\u306e\u304b\u3092\u691c\u77e5\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046<\/strong><\/span><\/p>\n<p>\u5ba4\u5185\u306e\u6e29\u5ea6\u3060\u3051\u3092\u6761\u4ef6\u306b\u3057\u3066\u3057\u307e\u3059\u3068\u3001\u4eba\u304c\u3044\u306a\u3044\u6642\u306b\u3082\u30df\u30cb\u6247\u98a8\u6a5f\u304c\u56de\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3001\u4f55\u3068\u3082\u96fb\u6c17\u4ee3\u304c\u52ff\u4f53\u7121\u3044\u3053\u3068\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u201d<a href=\"http:\/\/www.aitendo.com\/product\/10254\">PIR\u30bb\u30f3\u30b5\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb [DSUN-PIR ]<\/a>\u201c\u3092\u4f7f\u3063\u3066\u3001\u5ba4\u5185\u306b\u4eba\u304c\u3044\u308b\u306e\u304b\u3044\u306a\u3044\u306e\u304b\u3092\u691c\u77e5\u3067\u304d\u308b\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u3044\u5185\u5bb9\u306f\u3001\u4ee5\u524d\u306eTALK&#8221;<a href=\"https:\/\/wp.me\/p1fUvU-pHE\">\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3092\u6d3b\u7528\u3057\u3066Philips Hue \u96fb\u7403\u5c02\u7528\u306e\u30aa\u30f3\u30aa\u30d5\u3092\u81ea\u52d5\u5316\u3001\u7701\u96fb\u529b\u5316\u3092\u5b9f\u73fe<\/a>&#8220;\u3092\u53c2\u8003\u306b\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #3366ff;\"><strong>(3) \u30e9\u30ba\u30d1\u30a4\u306eUSB\u30dd\u30fc\u30c8\u3092\u5236\u5fa1\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046<\/strong><\/span><\/p>\n<p>\u4ee5\u524d\u3082\u4f7f\u308f\u305b\u3066\u3082\u3089\u3063\u305f\u5b9f\u7e3e\u304c\u3042\u308b&#8221;<a href=\"https:\/\/github.com\/codazoda\/hub-ctrl.c\">hub-ctrl.c<\/a>&#8220;\u3092\u4eca\u56de\u3082\u4f7f\u3063\u3066\u3001\u30e9\u30ba\u30d1\u30a4\u306eUSB\u30dd\u30fc\u30c8\u306b\u63a5\u7d9a\u3057\u305f\u30c7\u30d0\u30a4\u30b9\u306e\u96fb\u6e90\u306e\u30aa\u30f3\u30fb\u30aa\u30d5\u3092\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p><code>sudo apt-get install libusb-dev<\/code><\/p>\n<p><code>wget http:\/\/www.gniibe.org\/oitoite\/ac-power-control-by-USB-hub\/hub-ctrl.c<\/code><\/p>\n<p><code>gcc -O2 hub-ctrl.c -o hub-ctrl-armhf-static -lusb -static<\/code><\/p>\n<p><code>sudo cp hub-ctrl-armhf-static \/usr\/local\/bin\/hub-ctrl<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>POOH\u304c\u4eca\u56de\u4f7f\u3063\u3066\u3044\u308b&#8221;<a href=\"http:\/\/amzn.to\/2plVhLU\">Raspberry Pi 3 Model B<\/a>&#8220;\u306e\u5834\u5408\u3001USB\u30dd\u30fc\u30c8\u306f\u6b21\u306e\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"99561\" data-permalink=\"https:\/\/min2club.com\/talk\/2018\/05\/24\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2\/img_6259-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6259.jpg?fit=500%2C375&amp;ssl=1\" data-orig-size=\"500,375\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_6259\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6259.jpg?fit=500%2C375&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6259.jpg?resize=500%2C375&#038;ssl=1\" alt=\"\" width=\"500\" height=\"375\" class=\"alignnone size-full wp-image-99561\" srcset=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6259.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6259.jpg?resize=400%2C300&amp;ssl=1 400w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6259.jpg?resize=230%2C173&amp;ssl=1 230w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6259.jpg?resize=350%2C263&amp;ssl=1 350w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6259.jpg?resize=480%2C360&amp;ssl=1 480w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>\u307e\u305a\u306f\u3001\u958b\u767a\u7528\u306e\u30e9\u30ba\u30d1\u30a4\u3092\u4f7f\u3063\u3066\u3001\u3069\u306e\u3088\u3046\u306bUSB\u30dd\u30fc\u30c8\u306e\u96fb\u6e90\u4f9b\u7d66\u3092\u5236\u5fa1\u3067\u304d\u308b\u306e\u304b\u3001\u3044\u308d\u3044\u308d\u306a\u30d1\u30bf\u30fc\u30f3\u3067\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>&#8220;<code>lsusb<\/code>&#8220;\u30b3\u30de\u30f3\u30c9\u3067\u3001USB\u30dd\u30fc\u30c8\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"99731\" data-permalink=\"https:\/\/min2club.com\/talk\/2018\/05\/24\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2\/%e3%82%bf%e3%83%bc%e3%83%9f%e3%83%8a%e3%83%abscreensnapz001-11\/\" data-orig-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/33d54d7a0171037fbbd13eface6a90e8-1.jpg?fit=500%2C63&amp;ssl=1\" data-orig-size=\"500,63\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\u30bf\u30fc\u30df\u30ca\u30ebScreenSnapz001\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/33d54d7a0171037fbbd13eface6a90e8-1.jpg?fit=500%2C63&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/33d54d7a0171037fbbd13eface6a90e8-1.jpg?resize=500%2C63&#038;ssl=1\" alt=\"\" width=\"500\" height=\"63\" class=\"alignnone size-full wp-image-99731\" srcset=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/33d54d7a0171037fbbd13eface6a90e8-1.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/33d54d7a0171037fbbd13eface6a90e8-1.jpg?resize=420%2C53&amp;ssl=1 420w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/33d54d7a0171037fbbd13eface6a90e8-1.jpg?resize=230%2C29&amp;ssl=1 230w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/33d54d7a0171037fbbd13eface6a90e8-1.jpg?resize=350%2C44&amp;ssl=1 350w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/33d54d7a0171037fbbd13eface6a90e8-1.jpg?resize=480%2C60&amp;ssl=1 480w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"99562\" data-permalink=\"https:\/\/min2club.com\/talk\/2018\/05\/24\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2\/img_6260-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6260.jpg?fit=500%2C375&amp;ssl=1\" data-orig-size=\"500,375\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_6260\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6260.jpg?fit=500%2C375&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6260.jpg?resize=500%2C375&#038;ssl=1\" alt=\"\" width=\"500\" height=\"375\" class=\"alignnone size-full wp-image-99562\" srcset=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6260.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6260.jpg?resize=400%2C300&amp;ssl=1 400w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6260.jpg?resize=230%2C173&amp;ssl=1 230w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6260.jpg?resize=350%2C263&amp;ssl=1 350w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6260.jpg?resize=480%2C360&amp;ssl=1 480w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>\u30cd\u30c3\u30c8\u306e\u60c5\u5831\u3092\u53c2\u8003\u306b\u3057\u306a\u304c\u3089\u3001\u624b\u5143\u306b\u3042\u308bUSB\u30cf\u30d6\u306a\u3069\u3082\u4f7f\u3044\u3001\u81ea\u5206\u306a\u308a\u306b\u30c6\u30b9\u30c8\u3057\u3066\u307f\u305f\u7d50\u679c\u3001\u4ee5\u4e0b\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3057\u304b\u6709\u52b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3082\u3001USB \u30dd\u30fc\u30c8#2\u3068\u3044\u3046\u306e\u306f\u3001\u7279\u6b8a\u306a\u30dd\u30fc\u30c8(USB\u30dd\u30fc\u30c8\u3060\u3051\u306f\u306a\u304f\u3066\u3001ETH0\u3082\u30aa\u30f3\u30fb\u30aa\u30d5\u3057\u3066\u3057\u307e\u3046\u307f\u305f\u3044)\u3089\u3057\u304f\u3001\u3053\u306e\u30dd\u30fc\u30c8\u306b\u5bfe\u3057\u3066\u30b3\u30de\u30f3\u30c9\u3092\u767a\u884c\u3059\u308b\u3068\u30014\u500b\u3042\u308bUSB\u30dd\u30fc\u30c8\u5168\u3066\u306e\u96fb\u6e90\u304c\u30aa\u30f3\u30fb\u30aa\u30d5\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p><code>sudo hub-ctrl -b 1 -d 2 -P 2 -p 0 \u00a0&lt;-\u96fb\u6e90\u30aa\u30d5<\/code><\/p>\n<p><code>sudo hub-ctrl -b 1 -d 2 -P 2 -p 1 \u00a0&lt;-\u96fb\u6e90\u30aa\u30f3<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u672c\u5f53\u3060\u3063\u305f\u3089\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u3092\u63a5\u7d9a\u3057\u305fUSB\u30dd\u30fc\u30c8\u3060\u3051\u3092\u5bfe\u8c61\u306b\u3001\u30aa\u30f3\u30fb\u30aa\u30d5\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u307e\u3001\u590f\u5834\u3092\u4e57\u308a\u5207\u3063\u305f\u3089\u3001\u307e\u305f\u5225\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u898b\u3064\u3051\u308c\u3070\u3044\u3044\u3088\u306d\u3048\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u3053\u306e\u307e\u307e\u7d9a\u884c\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u7d50\u679c\u304c\u5206\u304b\u3063\u3066\u3044\u308c\u3070\u3001\u3082\u3068\u3082\u3068USB\u30dd\u30fc\u30c8\u304c1\u500b\u3057\u304b\u306a\u3044\u201d<a href=\"http:\/\/amzn.to\/2FFuEID\">Raspberry Pi Zero WH<\/a>\u201c\u3092\u3001\u590f\u5834\u306e\u9593\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u5c02\u7528\u30e9\u30ba\u30d1\u30a4\u306b\u3057\u3066\u3082\u826f\u304b\u3063\u305f\u304b\u306a\u3042\u3001\u3068\u601d\u3063\u305f\u6b21\u7b2c\u3067\u3059\u3002<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"99563\" data-permalink=\"https:\/\/min2club.com\/talk\/2018\/05\/24\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2\/img_6261-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6261.jpg?fit=500%2C375&amp;ssl=1\" data-orig-size=\"500,375\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_6261\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6261.jpg?fit=500%2C375&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6261.jpg?resize=500%2C375&#038;ssl=1\" alt=\"\" width=\"500\" height=\"375\" class=\"alignnone size-full wp-image-99563\" srcset=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6261.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6261.jpg?resize=400%2C300&amp;ssl=1 400w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6261.jpg?resize=230%2C173&amp;ssl=1 230w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6261.jpg?resize=350%2C263&amp;ssl=1 350w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6261.jpg?resize=480%2C360&amp;ssl=1 480w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>\u57fa\u672c\u7684\u306a\u6e96\u5099\u3068\u30c6\u30b9\u30c8\u3092\u7d42\u3048\u305f\u3068\u3053\u308d\u3067\u3001\u5b9f\u904b\u7528\u3092\u3057\u3066\u3044\u308b\u30e9\u30ba\u30d1\u30a4\u3067\u3001\u6539\u3081\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u4ee5\u524d\u306eTALK&#8221;\u201c<a href=\"https:\/\/wp.me\/p1fUvU-ptb\">Amazon Dash Button\u3067Philips Hue \u96fb\u7403\u5c02\u7528\u306eDimmer \u30b9\u30a4\u30c3\u30c1\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f (2)<\/a>\u201c&#8221;\u3067\u4f7f\u3063\u305f\u201d<a href=\"http:\/\/amzn.to\/2Gx1coV\">Amazon Dash Button<\/a>\u201c\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7bb1\u3092\u6d41\u7528\u3057\u3066\u3001\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3092\u8a2d\u7f6e\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30e9\u30ba\u30d1\u30a4\u306e\u8a2d\u7f6e\u5834\u6240\u304c\u66f8\u658e\u306a\u306e\u3067\u3001\u30bd\u30b3\u30bd\u30b3\u306a\u611f\u3058\u306b\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u306d\u3048\u3002<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"99734\" data-permalink=\"https:\/\/min2club.com\/talk\/2018\/05\/24\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2\/img_6269-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?fit=500%2C375&amp;ssl=1\" data-orig-size=\"500,375\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_6269\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?fit=500%2C375&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?resize=500%2C375&#038;ssl=1\" alt=\"\" width=\"500\" height=\"375\" class=\"alignnone size-full wp-image-99734\" srcset=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?resize=400%2C300&amp;ssl=1 400w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?resize=230%2C173&amp;ssl=1 230w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?resize=350%2C263&amp;ssl=1 350w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?resize=480%2C360&amp;ssl=1 480w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #3366ff;\"><strong>(4) \u5ba4\u5185\u306e\u6e29\u5ea6\u3092\u6761\u4ef6\u306b\u30df\u30cb\u6247\u98a8\u6a5f\u306e\u96fb\u6e90\u30aa\u30f3\u30fb\u30aa\u30d5\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046<\/strong><\/span><\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308bPython\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u524d\u56de\u306eTALK &#8220;<a href=\"https:\/\/wp.me\/p1fUvU-pTf\">\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30e2\u30b8\u30e5\u30fc\u30eb\u3001Raspberry Pi\u3001Google Home\u3067\u5feb\u9069\u306a\u304a\u90e8\u5c4b\u4f5c\u308a (\u524d\u534a)<\/a>&#8220;\u3067\u66f8\u3044\u305f\u201dget_atmospheric_data.py\u201d\u3092\u30d9\u30fc\u30b9\u306b\u3001\u4e00\u90e8\u3092\u66f8\u304d\u63db\u3048\u3066\u3044\u304f\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u66f8\u304d\u63db\u3048\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u540d\u306f\u3001&#8221;control_fan_by_atmospheric_data.py&#8221;\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><code>nano\u00a0control_fan_by_atmospheric_data.py<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u4eca\u56de\u3001\u66f8\u304d\u63db\u3048\u308b\u7b87\u6240\u306f\u3001&#8221;def readData():&#8221;\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><code>def readData():<\/code><\/p>\n<p><code>data = []<\/code><\/p>\n<p><code>for i in range (0xF7, 0xF7+8):<\/code><\/p>\n<p><code>data.append(bus.read_byte_data(i2c_address,i))<\/code><\/p>\n<p><code>pres_raw = (data[0] &lt;&lt; 12) | (data[1] &lt;&lt; 4) | (data[2] &gt;&gt; 4)<\/code><\/p>\n<p><code>temp_raw = (data[3] &lt;&lt; 12) | (data[4] &lt;&lt; 4) | (data[5] &gt;&gt; 4)<\/code><\/p>\n<p><code>hum_raw\u00a0 = (data[6] &lt;&lt; 8)\u00a0 |\u00a0 data[7]<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u4eca\u56de\u306f\u3001\u8a08\u6e2c\u3057\u305f\u6e29\u5ea6\u306e\u307f\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001<\/p>\n<p><code>global temperature_data<\/code><\/p>\n<p><code>compensate_T(temp_raw)<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>&#8220;saved_fan_status_data.txt&#8221;\u3068\u3044\u3046\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u3001\u305d\u3053\u306b\u3001\u76f4\u8fd1\u306e\u30df\u30cb\u6247\u98a8\u6a5f\u306e\u72b6\u614b\u3092\u8a18\u9332\u3057\u307e\u3059\u3002\u521d\u671f\u5024\u3068\u3057\u3066\u3001&#8221;STOP&#8221;\u3068\u3044\u3046\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u3044\u3066\u3001\u30e9\u30ba\u30d1\u30a4\u306b\u4fdd\u5b58\u3057\u3066\u304a\u3044\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u3042\u3001\u305d\u308c\u3068\u3001\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067&#8221;hub-ctrl -b 1 -d 2 -P 2 -p 1&#8243;\u3068\u5b9f\u884c\u3057\u3066\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u3092\u30aa\u30d5\u306b\u3057\u3066\u304a\u3044\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><code>file = open('\/home\/pi\/saved_fan_status_data.txt', 'r')<\/code><\/p>\n<p><code>saved_fan_status_data = file.readline()<\/code><\/p>\n<p><code>file.close()<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u8a08\u6e2c\u3057\u305f\u6e29\u5ea6\u304c25\u5ea6\u4ee5\u4e0a\u3067\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u304c\u30aa\u30d5\u3060\u3063\u305f\u3089\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u3092\u30aa\u30f3\u306b\u3057\u307e\u3059\u3002\u6e29\u5ea6\u306e\u5024\u306f\u3001\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u5b63\u7bc0\u306b\u3088\u3063\u3066\u3001\u9069\u6642\u5909\u66f4\u3057\u3066\u4e0b\u3055\u3044\u3002\u4eca\u56de\u306f\u3001\u6625\u5148\u306b\u52d5\u4f5c\u30c6\u30b9\u30c8\u3092\u884c\u3063\u305f\u306e\u3067\u300125\u5ea6\u3092\u57fa\u6e96\u5024\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><code>if (temperature_data &gt;= 25) and (saved_fan_status_data == \"STOP\"):<\/code><\/p>\n<p><code>os.system(\"sudo hub-ctrl -b 1 -d 2 -P 2 -p 1\")<\/code><\/p>\n<p><code>saved_fan_status_data = \"START\"<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u8a08\u6e2c\u3057\u305f\u6e29\u5ea6\u304c25\u5ea6\u672a\u6e80\u3067\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u304c\u30aa\u30f3\u3060\u3063\u305f\u3089\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u3092\u30aa\u30d5\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><code>elif (temperature_data &lt; 25) and (saved_fan_status_data == \"START\"):<\/code><\/p>\n<p><code>os.system(\"sudo hub-ctrl -b 1 -d 2 -P 2 -p 0\")<\/code><\/p>\n<p><code>saved_fan_status_data = \"STOP\"<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u30df\u30cb\u6247\u98a8\u6a5f\u306e\u72b6\u614b\u3092\u3001&#8221;saved_fan_status_data.txt&#8221;\u3068\u3044\u3046\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u9332\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><code>file = open('\/home\/pi\/saved_fan_status_data.txt', 'w')<\/code><\/p>\n<p><code>file.writelines(saved_fan_status_data)<\/code><\/p>\n<p><code>file.close()<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u6e29\u5ea6\u3092\u8a08\u6e2c\u3059\u308b\u95a2\u6570\u90e8\u5206\u306f\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570 &#8220;temperature_data&#8221;\u306b\u8a08\u6e2c\u3057\u305f\u6e29\u5ea6\u3092\u4fdd\u5b58\u3059\u308b\u3088\u3046\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><code>def compensate_T(adc_T):<\/code><\/p>\n<p><code>global t_fine<\/code><\/p>\n<p><code>v1 = (adc_T \/ 16384.0 - digT[0] \/ 1024.0) * digT[1]<\/code><\/p>\n<p><code>v2 = (adc_T \/ 131072.0 - digT[0] \/ 8192.0) * (adc_T \/ 131072.0 - digT[0] \/ 8192.0) * digT[2]<\/code><\/p>\n<p><code>t_fine = v1 + v2<\/code><\/p>\n<p><code>temperature = t_fine \/ 5120.0<\/code><\/p>\n<p><code>global temperature_data<\/code><\/p>\n<p><code>temperature_data = temperature<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u30a8\u30e9\u30fc\u304c\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u4e00\u5ea6\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code>python control_fan_by_atmospheric_data.py<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #3366ff;\"><strong>(5)\u00a0\u66f8\u3044\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9a\u671f\u7684\u306b\u5b9f\u884c\u3059\u308b\u30af\u30fc\u30ed\u30f3\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046<\/strong><\/span><\/p>\n<p>cron\u3092\u4f7f\u3063\u3066\u3001\u4e0a\u8a18\u3067\u7528\u610f\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u309220\u5206\u9593\u9694\u3067\u5b9a\u671f\u7684\u306b\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><code>crontab -e<\/code><\/p>\n<p><code>*\/10 * * * * python \/home\/pi\/control_fan_by_atmospheric_data.py<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><code>sudo \/etc\/init.d\/cron start<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #3366ff;\"><strong>(6) \u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u306e\u691c\u77e5\u7d50\u679c\u3092\u30df\u30cb\u6247\u98a8\u6a5f\u306e\u96fb\u6e90\u30aa\u30f3\u30fb\u30aa\u30d5\u306e\u6761\u4ef6\u306b\u52a0\u3048\u3066\u307f\u307e\u3057\u3087\u3046<\/strong><\/span><\/p>\n<p>\u3053\u3053\u3067\u3001\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u201d<a href=\"http:\/\/www.aitendo.com\/product\/10254\">PIR\u30bb\u30f3\u30b5\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb [DSUN-PIR ]<\/a>\u201c\u306e\u51fa\u756a\u3067\u3059\u3002<\/p>\n<p>\u5148\u7a0b\u3001\u66f8\u3044\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3001\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3067\u691c\u77e5\u3057\u305f\u30c7\u30fc\u30bf\u3092\u52a0\u5473\u3057\u305f\u6761\u4ef6\u3092\u52a0\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001<\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5148\u982d\u306b\u8ffd\u8a18\u3002<\/p>\n<p><code>import wiringpi as pi<\/code><\/p>\n<p><code>import time<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u7d9a\u3044\u3066\u3001\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3067\u5ba4\u5185\u306b\u4eba\u304c\u3044\u308c\u3070&#8221;True&#8221;\u3001\u3044\u306a\u3051\u308c\u3070&#8221;False&#8221;\u3092\u8fd4\u3059\u3088\u3046\u306a\u95a2\u6570\u3092\u66f8\u304d\u52a0\u3048\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><code>def readPIRSensor():<\/code><\/p>\n<p><code>SENSOR_PIN = 18<\/code><\/p>\n<p><code>pi.wiringPiSetupGpio()<\/code><\/p>\n<p><code>pi.pinMode( SENSOR_PIN, pi.INPUT )<\/code><\/p>\n<p><code>if ( pi.digitalRead( SENSOR_PIN ) == pi.HIGH ):<\/code><\/p>\n<p><code>return True<\/code><\/p>\n<p><code>else:<\/code><\/p>\n<p><code>return False<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>&#8220;def readData():\u3067\u3001\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3067\u691c\u51fa\u3057\u305f\u7d50\u679c\u3092\u3082\u3068\u306b\u3001\u30df\u30cb\u6247\u98a8\u6a5f\u306e\u30aa\u30f3\u30fb\u30aa\u30d5\u3059\u308b\u6761\u4ef6\u3092\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><code>someone = readPIRSensor()<\/code><\/p>\n<p><code>if (temperature_data &gt;= 25) and (saved_fan_status_data == \"STOP\") and (someone):<\/code><\/p>\n<p><code>\u3000os.system(\"sudo hub-ctrl -b 1 -d 2 -P 2 -p 1\")<\/code><\/p>\n<p><code>\u3000saved_fan_status_data = \"START\"<\/code><\/p>\n<p><code>elif (temperature_data &lt; 25) and (saved_fan_status_data == \"START\"):<\/code><\/p>\n<p><code>\u3000os.system(\"sudo hub-ctrl -b 1 -d 2 -P 2 -p 0\")<\/code><\/p>\n<p><code>\u3000saved_fan_status_data = \"STOP\"<\/code><\/p>\n<p><code>elif (someone == False):<\/code><\/p>\n<p><code>\u3000os.system(\"sudo hub-ctrl -b 1 -d 2 -P 2 -p 0\")<\/code><\/p>\n<p><code>\u3000saved_fan_status_data = \"STOP\"<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u3001\u5ba4\u5185\u306b\u4eba\u304c\u3044\u308b\u6642\u306f\u3001\u6e29\u5ea6\u306b\u5fdc\u3058\u305f\u30df\u30cb\u6247\u98a8\u6a5f\u306e\u30aa\u30f3\u30fb\u30aa\u30d5\u3092\u3057\u3001\u5ba4\u5185\u306b\u4eba\u304c\u3044\u306a\u3044\u6642\u306f\u30df\u30cb\u6247\u98a8\u6a5f\u3092\u30aa\u30d5\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>p.s&gt;<\/p>\n<p>\u6298\u89d2\u3001USB\u30dd\u30fc\u30c8\u304c4\u3064\u3082\u3042\u308b\u306e\u306b\u52ff\u4f53\u7121\u3044\u306a\u3042\u3001\u3068\u601d\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u305f\u307e\u305f\u307e\u30011\u5e74\u524d\u306b\u8cb7\u3063\u305f\u30df\u30cb\u6247\u98a8\u6a5f\u304c\u30a2\u30de\u30be\u30f3\u306e\u30bf\u30a4\u30e0\u30bb\u30fc\u30eb\u3067\u58f2\u3063\u3066\u3044\u305f\u306e\u3067\u30012\u53f0\u76ee\u3092\u8cb7\u3063\u3066\u30012\u53f0\u4f53\u5236\u3067\u5b9f\u904b\u7528\u4e2d\u3067\u3059\u3002<\/p>\n<p>&#8220;<a href=\"https:\/\/amzn.to\/2GTTipI\">Keynice USB\u6247\u98a8\u6a5f \u5353\u4e0a \u30af\u30ea\u30c3\u30d7\u578b \u9759\u97f3 USB\u30b1\u30fc\u30d6\u30eb1.5m \u30df\u30cb\u6247\u98a8\u6a5f \u98a8\u91cf2\u6bb5\u968e\u8abf\u7bc0 360\u5ea6\u89d2\u5ea6\u8abf\u6574 4\u679a\u7fbd\u6839 USB\u30d5\u30a1\u30f3 &#8211; \u30db\u30ef\u30a4\u30c8<\/a>&#8221;<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"100572\" data-permalink=\"https:\/\/min2club.com\/talk\/2018\/05\/24\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2\/img_6830-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6830.jpg?fit=500%2C375&amp;ssl=1\" data-orig-size=\"500,375\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_6830\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6830.jpg?fit=500%2C375&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6830.jpg?resize=500%2C375&#038;ssl=1\" alt=\"\" width=\"500\" height=\"375\" class=\"alignnone size-full wp-image-100572\" srcset=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6830.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6830.jpg?resize=400%2C300&amp;ssl=1 400w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6830.jpg?resize=230%2C173&amp;ssl=1 230w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6830.jpg?resize=350%2C263&amp;ssl=1 350w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6830.jpg?resize=480%2C360&amp;ssl=1 480w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"100573\" data-permalink=\"https:\/\/min2club.com\/talk\/2018\/05\/24\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9-2\/img_6831-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6831.jpg?fit=500%2C375&amp;ssl=1\" data-orig-size=\"500,375\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_6831\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6831.jpg?fit=500%2C375&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6831.jpg?resize=500%2C375&#038;ssl=1\" alt=\"\" width=\"500\" height=\"375\" class=\"alignnone size-full wp-image-100573\" srcset=\"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6831.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6831.jpg?resize=400%2C300&amp;ssl=1 400w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6831.jpg?resize=230%2C173&amp;ssl=1 230w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6831.jpg?resize=350%2C263&amp;ssl=1 350w, https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6831.jpg?resize=480%2C360&amp;ssl=1 480w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><iframe loading=\"lazy\" style=\"border: none;\" src=\"https:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?o=9&amp;p=48&amp;l=ur1&amp;category=amazonsale&amp;banner=0598K8YB4ZJKD60XB302&amp;f=ifr&amp;linkID=e7dbf4a3688508ad5089b472ed4d7da4&amp;t=lostinspace60-22&amp;tracking_id=lostinspace60-22\" width=\"728\" height=\"90\" frameborder=\"0\" marginwidth=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div style=\"border: 1px solid #000000; background-color: #ffffff; width: 504px; margin: 0px; padding-top: 6px; text-align: center; overflow: auto;\">\n<table>\n<tbody>\n<tr>\n<td><a style=\"word-wrap: break-word;\" href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/15c57f4f.c09b725b.15c57f50.c2d450fd\/?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fmoonshot%2Fusbfan-wh%2F&amp;m=http%3A%2F%2Fm.rakuten.co.jp%2Fmoonshot%2Fi%2F10000019%2F&amp;link_type=picttext&amp;ut=eyJwYWdlIjoiaXRlbSIsInR5cGUiOiJwaWN0dGV4dCIsInNpemUiOiIyNDB4MjQwIiwibmFtIjoxLCJuYW1wIjoicmlnaHQiLCJjb20iOjEsImNvbXAiOiJkb3duIiwicHJpY2UiOjEsImJvciI6MSwiY29sIjowfQ%3D%3D\" target=\"_blank\" rel=\"nofollow noopener\"><img decoding=\"async\" src=\"https:\/\/hbb.afl.rakuten.co.jp\/hgb\/15c57f4f.c09b725b.15c57f50.c2d450fd\/?me_id=1314460&amp;item_id=10000019&amp;m=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fmoonshot%2Fcabinet%2F04572250%2Fimgrc0063833244.jpg%3F_ex%3D80x80&amp;pc=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fmoonshot%2Fcabinet%2F04572250%2Fimgrc0063833244.jpg%3F_ex%3D240x240&amp;s=240x240&amp;t=picttext\" border=\"0\" alt=\"[\u5546\u54c1\u4fa1\u683c\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u3001\u30ea\u30f3\u30af\u304c\u4f5c\u6210\u3055\u308c\u305f\u6642\u70b9\u3068\u73fe\u6642\u70b9\u3067\u60c5\u5831\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3054\u3056\u3044\u307e\u3059\u3002]\" title=\"[\u5546\u54c1\u4fa1\u683c\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u3001\u30ea\u30f3\u30af\u304c\u4f5c\u6210\u3055\u308c\u305f\u6642\u70b9\u3068\u73fe\u6642\u70b9\u3067\u60c5\u5831\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3054\u3056\u3044\u307e\u3059\u3002]\" style=\"margin: 2px;\" \/><\/a><\/td>\n<td style=\"vertical-align: top; width: 250px;\">\n<p style=\"font-size: 12px; line-height: 1.4em; text-align: left; margin: 0px; padding: 2px 6px; word-wrap: break-word;\"><a style=\"word-wrap: break-word;\" href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/15c57f4f.c09b725b.15c57f50.c2d450fd\/?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fmoonshot%2Fusbfan-wh%2F&amp;m=http%3A%2F%2Fm.rakuten.co.jp%2Fmoonshot%2Fi%2F10000019%2F&amp;link_type=picttext&amp;ut=eyJwYWdlIjoiaXRlbSIsInR5cGUiOiJwaWN0dGV4dCIsInNpemUiOiIyNDB4MjQwIiwibmFtIjoxLCJuYW1wIjoicmlnaHQiLCJjb20iOjEsImNvbXAiOiJkb3duIiwicHJpY2UiOjEsImJvciI6MSwiY29sIjowfQ%3D%3D\" target=\"_blank\" rel=\"nofollow noopener\">\u3010\u5168\u5546\u54c1\u9001\u6599\u7121\u6599\u3011Keynice USB\u6247\u98a8\u6a5f \u5353\u4e0a &amp; \u30af\u30ea\u30c3\u30d7\u578b \u9759\u97f3 \u30df\u30cb\u6247\u98a8\u6a5f \u98a8\u91cf2\u6bb5\u968e\u8abf\u7bc0 360\u5ea6\u89d2\u5ea6\u8abf\u6574 4\u679a\u7fbd\u6839 USB\u30d5\u30a1\u30f3 \u30c7\u30b9\u30af\u3000\u30d1\u30bd\u30b3\u30f3 PC \u51b7\u5374 \u51b7\u623f (\u30db\u30ef\u30a4\u30c8) USBfan-WH<\/a><br \/>\n\u4fa1\u683c\uff1a1599\u5186\uff08\u7a0e\u8fbc\u3001\u9001\u6599\u7121\u6599) <span style=\"color: #bbb;\">(2018\/3\/20\u6642\u70b9)<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>&nbsp;<\/p>\n<p style=\"font-size: 12px; line-height: 1.4em; margin: 5px; word-wrap: break-word;\">\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div style=\"border: 1px solid #000000; background-color: #ffffff; width: 504px; margin: 0px; padding-top: 6px; text-align: center; overflow: auto;\">\n<table>\n<tbody>\n<tr>\n<td><a style=\"word-wrap: break-word;\" href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/15c57f4f.c09b725b.15c57f50.c2d450fd\/?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fmoonshot%2Fkn-833-bk%2F&amp;m=http%3A%2F%2Fm.rakuten.co.jp%2Fmoonshot%2Fi%2F10000078%2F&amp;link_type=picttext&amp;ut=eyJwYWdlIjoiaXRlbSIsInR5cGUiOiJwaWN0dGV4dCIsInNpemUiOiIyNDB4MjQwIiwibmFtIjoxLCJuYW1wIjoicmlnaHQiLCJjb20iOjEsImNvbXAiOiJkb3duIiwicHJpY2UiOjEsImJvciI6MSwiY29sIjowfQ%3D%3D\" target=\"_blank\" rel=\"nofollow noopener\"><img decoding=\"async\" src=\"https:\/\/hbb.afl.rakuten.co.jp\/hgb\/15c57f4f.c09b725b.15c57f50.c2d450fd\/?me_id=1314460&amp;item_id=10000078&amp;m=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fmoonshot%2Fcabinet%2Fkn-833-bk%2Fimgrc0066811992.jpg%3F_ex%3D80x80&amp;pc=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fmoonshot%2Fcabinet%2Fkn-833-bk%2Fimgrc0066811992.jpg%3F_ex%3D240x240&amp;s=240x240&amp;t=picttext\" border=\"0\" alt=\"[\u5546\u54c1\u4fa1\u683c\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u3001\u30ea\u30f3\u30af\u304c\u4f5c\u6210\u3055\u308c\u305f\u6642\u70b9\u3068\u73fe\u6642\u70b9\u3067\u60c5\u5831\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3054\u3056\u3044\u307e\u3059\u3002]\" title=\"[\u5546\u54c1\u4fa1\u683c\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u3001\u30ea\u30f3\u30af\u304c\u4f5c\u6210\u3055\u308c\u305f\u6642\u70b9\u3068\u73fe\u6642\u70b9\u3067\u60c5\u5831\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3054\u3056\u3044\u307e\u3059\u3002]\" style=\"margin: 2px;\" \/><\/a><\/td>\n<td style=\"vertical-align: top; width: 250px;\">\n<p style=\"font-size: 12px; line-height: 1.4em; text-align: left; margin: 0px; padding: 2px 6px; word-wrap: break-word;\"><a style=\"word-wrap: break-word;\" href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/15c57f4f.c09b725b.15c57f50.c2d450fd\/?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fmoonshot%2Fkn-833-bk%2F&amp;m=http%3A%2F%2Fm.rakuten.co.jp%2Fmoonshot%2Fi%2F10000078%2F&amp;link_type=picttext&amp;ut=eyJwYWdlIjoiaXRlbSIsInR5cGUiOiJwaWN0dGV4dCIsInNpemUiOiIyNDB4MjQwIiwibmFtIjoxLCJuYW1wIjoicmlnaHQiLCJjb20iOjEsImNvbXAiOiJkb3duIiwicHJpY2UiOjEsImJvciI6MSwiY29sIjowfQ%3D%3D\" target=\"_blank\" rel=\"nofollow noopener\">\u3010\u5168\u5546\u54c1\u9001\u6599\u7121\u6599\u3011KEYNICE \u8d85\u5f37\u98a8 USB \u6247\u98a8\u6a5f 18650\u5145\u96fb\u30d0\u30c3\u30c6\u30ea\u30fc\u642d\u8f09 USB\u7d66\u96fb\u5bfe\u5fdc \u30c7\u30b9\u30af\u30d5\u30a1\u30f3 \u9759\u97f3\u5353\u4e0a\u6247\u98a8\u6a5f 3\u6bb5\u968e\u8abf\u7bc0 3\u679a\u7fbd\u6839 \u30d6\u30e9\u30c3\u30af KN-833-BK<\/a><br \/>\n\u4fa1\u683c\uff1a2299\u5186\uff08\u7a0e\u8fbc\u3001\u9001\u6599\u7121\u6599) <span style=\"color: #bbb;\">(2018\/3\/20\u6642\u70b9)<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>&nbsp;<\/p>\n<p style=\"font-size: 12px; line-height: 1.4em; margin: 5px; word-wrap: break-word;\">\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div style=\"border: 1px solid #000000; background-color: #ffffff; width: 504px; margin: 0px; padding-top: 6px; text-align: center; overflow: auto;\">\n<table>\n<tbody>\n<tr>\n<td><a style=\"word-wrap: break-word;\" href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/160a74b2.b655d05b.160a74b3.b196c747\/?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fauc-areiz%2F10015012%2F&amp;m=http%3A%2F%2Fm.rakuten.co.jp%2Fauc-areiz%2Fi%2F10015012%2F&amp;link_type=picttext&amp;ut=eyJwYWdlIjoiaXRlbSIsInR5cGUiOiJwaWN0dGV4dCIsInNpemUiOiIyNDB4MjQwIiwibmFtIjoxLCJuYW1wIjoicmlnaHQiLCJjb20iOjEsImNvbXAiOiJkb3duIiwicHJpY2UiOjEsImJvciI6MSwiY29sIjowfQ%3D%3D\" target=\"_blank\" rel=\"nofollow noopener\"><img decoding=\"async\" src=\"https:\/\/hbb.afl.rakuten.co.jp\/hgb\/160a74b2.b655d05b.160a74b3.b196c747\/?me_id=1234388&amp;item_id=10015012&amp;m=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fauc-areiz%2Fcabinet%2Fothers%2F05761356%2Fimgrc0072849886.jpg%3F_ex%3D80x80&amp;pc=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fauc-areiz%2Fcabinet%2Fothers%2F05761356%2Fimgrc0072849886.jpg%3F_ex%3D240x240&amp;s=240x240&amp;t=picttext\" border=\"0\" alt=\"[\u5546\u54c1\u4fa1\u683c\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u3001\u30ea\u30f3\u30af\u304c\u4f5c\u6210\u3055\u308c\u305f\u6642\u70b9\u3068\u73fe\u6642\u70b9\u3067\u60c5\u5831\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3054\u3056\u3044\u307e\u3059\u3002]\" title=\"[\u5546\u54c1\u4fa1\u683c\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u3001\u30ea\u30f3\u30af\u304c\u4f5c\u6210\u3055\u308c\u305f\u6642\u70b9\u3068\u73fe\u6642\u70b9\u3067\u60c5\u5831\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3054\u3056\u3044\u307e\u3059\u3002]\" style=\"margin: 2px;\" \/><\/a><\/td>\n<td style=\"vertical-align: top; width: 250px;\">\n<p style=\"font-size: 12px; line-height: 1.4em; text-align: left; margin: 0px; padding: 2px 6px; word-wrap: break-word;\"><a style=\"word-wrap: break-word;\" href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/160a74b2.b655d05b.160a74b3.b196c747\/?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fauc-areiz%2F10015012%2F&amp;m=http%3A%2F%2Fm.rakuten.co.jp%2Fauc-areiz%2Fi%2F10015012%2F&amp;link_type=picttext&amp;ut=eyJwYWdlIjoiaXRlbSIsInR5cGUiOiJwaWN0dGV4dCIsInNpemUiOiIyNDB4MjQwIiwibmFtIjoxLCJuYW1wIjoicmlnaHQiLCJjb20iOjEsImNvbXAiOiJkb3duIiwicHJpY2UiOjEsImJvciI6MSwiY29sIjowfQ%3D%3D\" target=\"_blank\" rel=\"nofollow noopener\">Keynice USB\u6247\u98a8\u6a5f \u5353\u4e0a \u30af\u30ea\u30c3\u30d7\u578b \u9759\u97f3 USB\u30b1\u30fc\u30d6\u30eb1.5m \u30df\u30cb\u6247\u98a8\u6a5f \u98a8\u91cf2\u6bb5\u968e\u8abf\u7bc0 360\u5ea6\u89d2\u5ea6\u8abf\u6574 4\u679a\u7fbd\u6839 USB\u30d5\u30a1\u30f3 &#8211; \u30d6\u30e9\u30c3\u30af\u3000MYR<\/a><br \/>\n\u4fa1\u683c\uff1a2780\u5186\uff08\u7a0e\u8fbc\u3001\u9001\u6599\u7121\u6599) <span style=\"color: #bbb;\">(2018\/3\/20\u6642\u70b9)<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>&nbsp;<\/p>\n<p style=\"font-size: 12px; line-height: 1.4em; margin: 5px; word-wrap: break-word;\">\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30db\u30fc\u30e0\u30da\u30fc\u30b8 \u201c<a href=\"http:\/\/www.min2club.com\/\">THE POOH FILES<\/a>\u201d\u306b\u3082\u662f\u975e\u304a\u7acb\u3061\u5bc4\u308a\u4e0b\u3055\u3044\u3002<br \/>\n&#8220;<span style=\"text-decoration: underline;\"><a href=\"https:\/\/stock.adobe.com\/jp\/contributor\/206798397\/Tomohiko Shimizu\">Adobe Stock<\/a><\/span>&#8220;\u3067\u30d9\u30b9\u30c8\u30b7\u30e7\u30c3\u30c8\u306a\u5199\u771f\u7d20\u6750\u3092\u8ca9\u58f2\u4e2d\u3067\u3059\u3002\u662f\u975e\u3054\u89a7\u4e0b\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3092\u6d3b\u7528\u3057\u3066Philips Hue \u96fb\u7403\u5c02\u7528\u306e\u30aa\u30f3\u30aa\u30d5\u3092\u81ea\u52d5\u5316\u3001\u7701\u96fb\u529b\u5316\u3092\u5b9f\u73fe&#8221; &#8220;\u30ef\u30f3\u30b3\u30a4\u30f3\u3067\u304a\u90e8\u5c4b\u306e\u6e29\u5ea6\u3092HomeKit\u3092\u30d9\u30fc\u30b9\u306b\u5916\u51fa\u5148\u3067\u3082\u30e2\u30cb\u30bf\u30fc\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f&#8221; &#8220;Raspberry Pi\u3068&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":99734,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,4,7,23],"tags":[56,65,16,27,40,42,68],"class_list":["post-99556","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iphone-ipad-ios","category-macintosh-macos","category-shopping-auction","category-home-event","tag-ios","tag-macos","tag-shopping","tag-pc-internet","tag-40","tag-42","tag-68"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6269.jpg?fit=500%2C375&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1fUvU-pTK","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":99525,"url":"https:\/\/min2club.com\/talk\/2018\/05\/19\/%e6%b8%a9%e6%b9%bf%e5%ba%a6%e3%83%bb%e6%b0%97%e5%9c%a7%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%80%81raspberry-pi%e3%80%81google-home%e3%81%a7%e5%bf%ab%e9%81%a9\/","url_meta":{"origin":99556,"position":0},"title":"\u6e29\u6e7f\u5ea6\u30fb\u6c17\u5727\u30bb\u30f3\u30b5\u30e2\u30b8\u30e5\u30fc\u30eb\u3001Raspberry Pi\u3001Google Home\u3067\u5feb\u9069\u306a\u304a\u90e8\u5c4b\u4f5c\u308a (\u524d\u534a)","author":"tomohiko","date":"2018\u5e745\u670819\u65e5","format":false,"excerpt":"\"\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3092\u6d3b\u7528\u3057\u3066Philips Hue \u96fb\u7403\u5c02\u7528\u306e\u30aa\u30f3\u30aa\u30d5\u3092\u81ea\u52d5\u5316\u3001\u7701\u96fb\u529b\u5316\u3092\u5b9f\u73fe\" \"\u30ef\u30f3\u2026","rel":"","context":"iPhone, iPad, iOS","block_context":{"text":"iPhone, iPad, iOS","link":"https:\/\/min2club.com\/talk\/category\/iphone-ipad-ios\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/05\/IMG_6256.jpg?fit=500%2C375&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":138171,"url":"https:\/\/min2club.com\/talk\/2020\/03\/02\/raspberry-pi-4-4gb%e3%83%a2%e3%83%87%e3%83%ab%e3%81%a7%e3%81%93%e3%82%8c%e3%81%be%e3%81%a7%e6%a7%8b%e7%af%89%e3%81%97%e3%81%9f%e3%83%a9%e3%82%ba%e3%83%91%e3%82%a4%e7%92%b0%e5%a2%83%e3%82%92%e7%b5%b1-2\/","url_meta":{"origin":99556,"position":1},"title":"Raspberry Pi 4 4GB\u30e2\u30c7\u30eb\u3067\u3053\u308c\u307e\u3067\u69cb\u7bc9\u3057\u305f\u30e9\u30ba\u30d1\u30a4\u74b0\u5883\u3092\u7d71\u5408\u5316\u3057\u3066\u307f\u308b (2) &#8220;homebridge\u3067HomeKit\u5bfe\u5fdc&#8221;","author":"tomohiko","date":"2020\u5e743\u67082\u65e5","format":false,"excerpt":"\u201cRaspberry Pi 4 4GB\u30e2\u30c7\u30eb\u3067\u3053\u308c\u307e\u3067\u69cb\u7bc9\u3057\u305f\u30e9\u30ba\u30d1\u30a4\u74b0\u5883\u3092\u7d71\u5408\u5316\u3057\u3066\u307f\u308b (1) \u2026","rel":"","context":"iPhone, iPad, iOS","block_context":{"text":"iPhone, iPad, iOS","link":"https:\/\/min2club.com\/talk\/category\/iphone-ipad-ios\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2020\/03\/IMG_9541.jpeg?fit=500%2C375&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":139289,"url":"https:\/\/min2club.com\/talk\/2020\/04\/08\/raspberry-pi-node-red-homekit-%e3%81%a7%e3%81%8a%e9%83%a8%e5%b1%8b%e3%81%ae%e3%83%87%e3%83%90%e3%82%a4%e3%82%b9%e3%82%92%e3%82%aa%e3%83%b3%e3%83%bb%e3%82%aa%e3%83%95\/","url_meta":{"origin":99556,"position":2},"title":"Raspberry Pi + Node-RED + \u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9 \u3067\u304a\u90e8\u5c4b\u306e\u6e29\u5ea6\u3068\u6e7f\u5ea6\u3092\u53ef\u8996\u5316","author":"tomohiko","date":"2020\u5e744\u67088\u65e5","format":false,"excerpt":"\u201cRaspberry Pi + Node-RED + Echo Show 5 + Google Ho\u2026","rel":"","context":"iPhone, iPad, iOS","block_context":{"text":"iPhone, iPad, iOS","link":"https:\/\/min2club.com\/talk\/category\/iphone-ipad-ios\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2020\/04\/f53c306376ef50126f8339fb6aacc70d.jpg?fit=423%2C500&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":138409,"url":"https:\/\/min2club.com\/talk\/2020\/03\/12\/raspberry-pi-4%e3%81%ab%e3%82%bb%e3%83%83%e3%83%88%e3%81%97%e3%81%a6%e3%81%a8%e3%81%a6%e3%82%82%e6%b0%97%e3%81%ab%e5%85%a5%e3%81%a3%e3%81%9f%e3%81%ae%e3%81%a7ice%e3%82%bf%e3%83%af%e3%83%bccpu%e5%86%b7\/","url_meta":{"origin":99556,"position":3},"title":"Raspberry Pi 4\u306b\u30bb\u30c3\u30c8\u3057\u3066\u3068\u3066\u3082\u6c17\u306b\u5165\u3063\u305f\u306e\u3067ICE\u30bf\u30ef\u30fcCPU\u51b7\u5374\u30d5\u30a1\u30f3\u3092\u30ea\u30d4\u30fc\u30c8\u8cb7\u3044\u3001\u4eca\u5f8c\u306f\u30d6\u30e9\u30c3\u30af\u4ed5\u69d8","author":"tomohiko","date":"2020\u5e743\u670812\u65e5","format":false,"excerpt":"\u524d\u56de\u3001\u65b0\u898f\u8cfc\u5165\u3057\u305f\"Raspberry Pi 4\"\u306eTALK (\"Raspberry Pi 4 4G\u2026","rel":"","context":"\u304a\u8cb7\u3044\u7269, \u30aa\u30fc\u30af\u30b7\u30e7\u30f3","block_context":{"text":"\u304a\u8cb7\u3044\u7269, \u30aa\u30fc\u30af\u30b7\u30e7\u30f3","link":"https:\/\/min2club.com\/talk\/category\/shopping-auction\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2020\/03\/IMG_9575.jpeg?fit=500%2C375&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":98930,"url":"https:\/\/min2club.com\/talk\/2018\/05\/31\/%e6%88%91%e3%81%8c%e5%ae%b6%e3%81%aeraspberry-pi%e3%81%9f%e3%81%a1%e3%81%af%e3%81%93%e3%82%93%e3%81%aa%e6%84%9f%e3%81%98\/","url_meta":{"origin":99556,"position":4},"title":"\u6211\u304c\u5bb6\u306eRaspberry Pi\u305f\u3061\u306f\u3053\u3093\u306a\u611f\u3058 \u73fe\u57285\u53f0\u306e\u30e9\u30ba\u30d1\u30a4\u304c\u7a3c\u50cd\u4e2d\uff01","author":"tomohiko","date":"2018\u5e745\u670831\u65e5","format":false,"excerpt":"\u73fe\u5728\u3001\u6211\u304c\u5bb6\u3067\u306f\u30015\u53f0\u306e\"Raspberry Pi\"\u304c\u7a3c\u50cd\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u308d\u305d\u308d\u3001\u3069\u306e\u30e9\u30ba\u30d1\u30a4\u3067\u4f55\u304c\u52d5\u2026","rel":"","context":"iPhone, iPad, iOS","block_context":{"text":"iPhone, iPad, iOS","link":"https:\/\/min2club.com\/talk\/category\/iphone-ipad-ios\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2018\/04\/IMG_5832.jpg?fit=500%2C375&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":139502,"url":"https:\/\/min2club.com\/talk\/2020\/04\/15\/raspberry-pi-node-red-%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%bc-%e3%83%a1%e3%83%bc%e3%83%ab-%e3%81%a7%e5%ae%a4%e5%86%85%e3%81%ae%e3%82%b3%e3%83%b3%e3%83%87%e3%82%a3%e3%82%b7%e3%83%a7%e3%83%b3\/","url_meta":{"origin":99556,"position":5},"title":"Raspberry Pi + Node-RED + \u30bb\u30f3\u30b5\u30fc + \u30e1\u30fc\u30eb \u3067\u5ba4\u5185\u306e\u30b3\u30f3\u30c7\u30a3\u30b7\u30e7\u30f3\u3092\u901a\u77e5\u3059\u308b","author":"tomohiko","date":"2020\u5e744\u670815\u65e5","format":false,"excerpt":"\u4eca\u56de\u306eTALK\u3067\u306f\u3001\u201cNode-RED\u201d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u201cRaspberry Pi\u201d\u306b\u63a5\u7d9a\u3057\u305f D\u2026","rel":"","context":"iPhone, iPad, iOS","block_context":{"text":"iPhone, iPad, iOS","link":"https:\/\/min2club.com\/talk\/category\/iphone-ipad-ios\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/min2club.com\/talk\/wp-content\/uploads\/2020\/03\/IMG_9797.jpeg?fit=500%2C375&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/posts\/99556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/comments?post=99556"}],"version-history":[{"count":0,"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/posts\/99556\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/media\/99734"}],"wp:attachment":[{"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/media?parent=99556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/categories?post=99556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/min2club.com\/talk\/wp-json\/wp\/v2\/tags?post=99556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}