{"id":220,"date":"2017-11-26T10:05:07","date_gmt":"2017-11-26T01:05:07","guid":{"rendered":"https:\/\/lab2.jp\/iot\/?p=220"},"modified":"2024-04-26T07:59:47","modified_gmt":"2024-04-25T22:59:47","slug":"rpi-keyfinder","status":"publish","type":"post","link":"https:\/\/lab2.jp\/iot\/column\/rpi-keyfinder\/","title":{"rendered":"\u5fd8\u308c\u7269\u30bf\u30b0\u3092Rspbery pi\u304b\u3089\u63a2\u3059"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/iot\/keyfinder_for_rpi.png\" alt=\"\" \/><\/p>\n<h3>\u4f5c\u6210\u306e\u304d\u3063\u304b\u3051<\/h3>\n<p>\u30b9\u30de\u30db\u304b\u3089\u63a2\u305b\u308b\u5fd8\u308c\u7269\u30bf\u30b0\u3063\u3066\u3044\u304f\u3064\u304b\u3042\u308b\u3093\u3060\u3051\u3069\u3001\u30b9\u30de\u30db\u3058\u3083\u306a\u304f\u3066\u3001Bluetooth\u642d\u8f09\u306ePC\uff08\u4eca\u56de\u306fRaspberry Pi\uff09\u304b\u3089\u63a2\u305b\u306a\u3044\u306e\u304b\u306a\u3068\u601d\u3044\u3001\u3084\u3063\u3066\u307f\u305f\u3002<br \/>\n\u4f7f\u7528\u3057\u305f\u5fd8\u308c\u7269\u9632\u6b62\u30bf\u30b0\u306fMAMORIO\u3002<br \/>\n\u63a2\u305b\u308b\u7bc4\u56f2\u306fRaspberry Pi\u306eBluetooth\u3067\u305d\u306e\u30bf\u30b0\u3092\u691c\u51fa\u3067\u304d\u308b\u7bc4\u56f2\u3067\u3059\u3002<\/p>\n<h4>\u4f7f\u7528\u65b9\u6cd5<\/h4>\n<p>1.\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9<br \/>\n2.Raspberry Pi\u3067MAMORIO\u304c\u8fd1\u304f\u306b\u3042\u308b\u304b\u3001Bluetooth\u3067\u691c\u7d22\u3002<br \/>\n3.\u753b\u9762\u306b\u8868\u793a<br \/>\n\u3068\u3044\u3046\u3082\u306e\u3002<\/p>\n<h4>\u69cb\u6210\u306f\u3053\u3093\u306a\u611f\u3058<\/h4>\n<p>\u30fbMAMORIO (\u306a\u304f\u3057\u7269\u9632\u6b62\u30bf\u30b0)<br \/>\n\u30fbRaspberry Pi\uff08\u4eca\u56de\u4f7f\u7528\u3057\u305f\u306e\u306fRaspberry Pi 3 Model B)<br \/>\n-Node.js<br \/>\n-bleacon(iBeacon\u304c\u4f7f\u3048\u308b\u30e2\u30b8\u30e5\u30fc\u30eb)<br \/>\n-nginx (Web\u30b5\u30fc\u30d0)<br \/>\n-PHP<\/p>\n<h4>\u69cb\u7bc9\u306e\u6d41\u308c<\/h4>\n<p>\uff11\uff09nginx\u3068PHP<br \/>\nnginx\u3068php\u304c\u5229\u7528\u3067\u304d\u308b\u74b0\u5883\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u5b9f\u884c\u3055\u305b\u308b\u305f\u3081\u306e\u3082\u306e\u306a\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u63a2\u3059\u306e\u3067\u3088\u3051\u308c\u3070\u306a\u304f\u3066\u3082\u3088\u3044\u3057\u3001\u305d\u3082\u305d\u3082PHP\u3058\u3083\u306a\u304f\u3066\u3001python\u3068\u304b\u597d\u304d\u306a\u8a00\u8a9e\u3067\u3088\u3044\u3068\u601d\u3046\u3002<br \/>\nnginx\u306f\u3082\u3061\u308d\u3093Apache\u3067\u3082\u554f\u984c\u306a\u3044\u3002\u305d\u3082\u305d\u3082node.js\u3092\u4ee3\u308f\u308a\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u306e\u304b\u3082\u3002<\/p>\n<p>\uff12\uff09node.js\u3068bleacon<br \/>\n\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u306a\u3069\u3092\u53c2\u8003\u306b\u3057\u3066\u3001node.js\u3068\u3001bleacon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p>Raspberry Pi\u3067iBeacon\u3092\u53d7\u4fe1\u3059\u308b\uff08Node.js + bleacon\uff09<br \/>\n<a href=\"https:\/\/qiita.com\/yuyakato\/items\/739443960fac2668f4a3\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/qiita.com\/yuyakato\/items\/739443960fac2668f4a3<\/a><\/p>\n<p>\uff13\uff09MAMORIO\u306euuid\u3092\u78ba\u8a8d<br \/>\niBeacon\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306b\u306f\u3001MAMORIO\u306euuid\u3092\u8abf\u3079\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\n\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3066\u63a2\u3059\u3068\u8fd1\u304f\u306b\u3042\u308b\u30bf\u30b0\u3092\u691c\u51fa\u3067\u304d\u308b\u3002<br \/>\n\u3084\u3084\u3053\u3057\u3044\u306e\u306f\u3001iBeacon\u306e\u30bf\u30b0\u304c\u5bb6\u306b\u8907\u6570\u3042\u308b\u3068\u3001\u3069\u308c\u304c\u3069\u306e\u30bf\u30b0\u306a\u306e\u304b\u63a2\u3057\u306b\u304f\u3044\u3002<br \/>\n\u305d\u308c\u3089\u3057\u304d\u30bf\u30b0\u306euuid\u3092\u898b\u3064\u3051\u305f\u3089\u3001\u305d\u306e\u5834\u5408\u306f\u30bf\u30b0\u3092\u79fb\u52d5\u3055\u305b\u308b\u3068\u304b\u3001\u96fb\u78c1\u30b7\u30fc\u30eb\u30c9\u3092\u65bd\u3057\u305f\u306e\u7bb1\u306b\u5165\u308c\u308b\u3068\u304b\u3067\u898b\u3064\u3051\u3089\u308c\u308b\u3068\u601d\u3046\u3002<\/p>\n<p>\u305f\u3063\u305f5\u884c!\u6700\u3082\u7c21\u5358\u306biBeacon\u306e\u96fb\u6ce2\u3092\u300c\u53d7\u4fe1\u300d\u3059\u308b\u65b9\u6cd5<br \/>\n<a href=\"https:\/\/qiita.com\/kpkpkp\/items\/c2899e548da1c5e2c28e\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/qiita.com\/kpkpkp\/items\/c2899e548da1c5e2c28e<\/a><\/p>\n<p>\uff14\uff09PHP\u304b\u3089\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b<br \/>\nMAMORIO\u304cnode.js\u3067\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3042\u3068\u306f\u305d\u308c\u3092PHP\u304b\u3089\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3001<br \/>\n\u753b\u9762\u306b\u8868\u793a\u3055\u305b\u305f\u3089\u5b8c\u4e86\u3002<\/p>\n<h3>\u5fd8\u308c\u7269\u30bf\u30b0<\/h3>\n<p>\u5fd8\u308c\u7269\u30bf\u30b0\u3067\u91cd\u8981\u306a\u306e\u306f\u300c\u30d0\u30c3\u30c6\u30ea\u30fc\u306e\u6301\u3061\u300d\u300c\u30b5\u30a4\u30ba\u300d\u300c\u4fa1\u683c\u300d\u300c\u30c7\u30b6\u30a4\u30f3\u300d\u3060\u3068\u601d\u3046\u3002<br \/>\nMAMORIO\u306f\u5c0f\u578b\u3067\u3001\u30d0\u30c3\u30c6\u30ea\u30fc\u306f\u534a\u5e74\u4ee5\u4e0a\u6301\u3064\u3002\u6700\u5927\u306e\u6b20\u70b9\u306f\u81ea\u5206\u3067\u96fb\u6c60\u4ea4\u63db\u304c\u3067\u304d\u306a\u3044\u70b9\u3060\u3068\u601d\u3046\u3002\uff08\u3068\u3044\u3063\u3066\u3082\u52dd\u624b\u306b\u3084\u3063\u3061\u3083\u3046\u306e\u3060\u304c\u3002\uff09<\/p>\n<p>\u7b46\u8005\u3001MAMORIO\u3068\u4f75\u7528\u3067\u3001NUT find 3\u3068\u3044\u3046\u306e\u3082\u4f7f\u3063\u3066\u3044\u308b\u3002<br \/>\n\u3053\u3063\u3061\u306f\u3001\u30b9\u30de\u30db\u304b\u3089\u547c\u3073\u51fa\u3057\u304c\u3067\u304d\u308b\u6a5f\u80fd\u3068\u3001\u30b9\u30de\u30db\u304b\u3089\u96e2\u308c\u308b\u3068\u81ea\u52d5\u3067\u30a2\u30e9\u30fc\u30e0\u304c\u9cf4\u308b\u6a5f\u80fd\u304c\u6c17\u306b\u5165\u3063\u3066\u3044\u308b\u3002\u9006\u306b\u5bb6\u306e\u4e2d\u3067\u3001\u30bf\u30b0\u306e\u307b\u3046\u304b\u3089\u30b9\u30de\u30db\u3082\u9cf4\u3089\u305b\u308b\u3002<\/p>\n<p>\u305d\u3046\u3044\u3046\u610f\u5473\u3067\u306f\u3001NUT find\u306e\u307b\u3046\u304c\u3001\u5229\u7528\u983b\u5ea6\u304c\u9ad8\u3044\u306e\u3060\u304c\u3001MAMORIO\u306f\u3001<br \/>\nMAMORIO\u306e\u30e6\u30fc\u30b6\u30fc\u540c\u58eb\u306e\u529b\u3092\u4f7f\u3063\u3066\u3001\u63a2\u3059\u3068\u3044\u3046\u6a5f\u80fd\u304c\u3042\u308b\u306e\u3067\u4f7f\u3063\u3066\u3044\u308b\u3002<\/p>\n<h3>\u305d\u306e\u4ed6\u306e\u30a2\u30a4\u30c7\u30a2<\/h3>\n<p>\u3053\u308c\u3092\u5fdc\u7528\u3059\u308c\u3070\u3001\u5bb6\u306b\u5e30\u3063\u3066\u304d\u305f\u6642\u306b\u3001\u81ea\u52d5\u3067LINE\u3092\u9001\u308b\u3068\u304b\u3067\u304d\u308b\u3068\u601d\u3046\u3002<br \/>\niBeacon\u306f\u3001\u3082\u3068\u3082\u3068Apple\u4e3b\u5c0e\u306e\u4ed5\u7d44\u307f\u3067\u3001iPhone\u306b\u60c5\u5831\u3092\u9001\u308b\u3088\u3046\u306a\u4ed5\u7d44\u307f\u3068\u3057\u3066\u3064\u304b\u3046\u306e\u304c\u3001\u305d\u3082\u305d\u3082\u306e\u60f3\u5b9a\u306a\u3093\u3060\u308d\u3046\u304c\u3001Android\u3067\u3082\u4f7f\u3048\u308b\u3057\u3001Raspberry Pi\u3067\u4f7f\u3063\u3066\u307f\u308b\u3068\u3044\u3046\u306e\u3082\u3042\u308a\u3060\u3068\u601d\u3046\u3002<\/p>\n<h3>\u5fd8\u308c\u7269\u30fb\u63a2\u3057\u7269\u3092\u306a\u304f\u3059\u306b\u306f<\/h3>\n<p>\u307e\u305a\u5bb6\u306e\u4e2d\u3067\u3082\u306e\u304c\u306a\u304f\u306a\u308b\u306e\u306f\u3001\u6240\u5b9a\u306e\u5834\u6240\u306b\u6574\u7406\u3057\u3066\u304a\u304f\u3053\u3068\u3001<br \/>\n\u91cd\u8981\u306a\u3082\u306e\u306f\u3001\u4e00\u5b9a\u306e\u7f6e\u304d\u5834\u3092\u8a2d\u3051\u308b\u4e8b\u304c\u809d\u5fc3\u3060\u3068\u601d\u3046\u3002<\/p>\n<p>\u5fd8\u308c\u7269\u3092\u306a\u304f\u3059\u305f\u3081\u306b\u306f\u3001\u8272\u3005\u3082\u306e\u3092\u6301\u305f\u306a\u3044\u4e8b\u3060\u3068\u601d\u3046\u3002<br \/>\n\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u6301\u3061\u7269\u30ea\u30b9\u30c8\u3092\u4f5c\u6210\u3057\u6301\u3061\u6b69\u304d\u3001\u5b9a\u671f\u7684\u306b\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<p>\u5fd8\u308c\u308b\u3068\u3044\u3046\u306e\u306f\u4ea1\u304f\u3059\u5fc3\u3068\u3044\u3046\u4e8b\u3060\u304b\u3089\u3001\u305d\u3046\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001<br \/>\n\u6642\u9593\u3068\u5fc3\u306b\u4f59\u88d5\u3092\u6301\u3064\u4e8b\u304c\u5927\u5207\u3060\u3002<br \/>\n\u8003\u3048\u4e8b\u3092\u3057\u3066\u3044\u305f\u308a\u3001\u7126\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u306f\u3046\u3063\u304b\u308a\u5fd8\u308c\u7269\u3092\u3057\u3066\u3057\u307e\u3044\u304c\u3061\u306b\u306a\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u6210\u306e\u304d\u3063\u304b\u3051 \u30b9\u30de\u30db\u304b\u3089\u63a2\u305b\u308b\u5fd8\u308c\u7269\u30bf&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2],"tags":[7],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-iot-make","category-column","tag-rspbery-pi","post-archive"],"_links":{"self":[{"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/comments?post=220"}],"version-history":[{"count":19,"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/posts\/220\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/posts\/220\/revisions\/283"}],"wp:attachment":[{"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/media?parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/categories?post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab2.jp\/iot\/wp-json\/wp\/v2\/tags?post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}