{"id":26,"date":"2016-03-18T16:35:29","date_gmt":"2016-03-18T16:35:29","guid":{"rendered":"http:\/\/www.carmichaelclan.net\/?p=26"},"modified":"2016-03-20T06:30:45","modified_gmt":"2016-03-20T06:30:45","slug":"im-home-dear","status":"publish","type":"post","link":"https:\/\/www.carmichaelclan.net\/?p=26","title":{"rendered":"I&#8217;m Home Dear"},"content":{"rendered":"<p>Every wanted your technology to know you are in the house. I did so I could automatically turn off my motion sensing camera.<\/p>\n<p>They \u00a0email a picture of whatever trips them. Anyway when I&#8217;m in the house I&#8217;d rather they didn&#8217;t.<\/p>\n<p>Ok, so using a nice new shiny Raspberry PI 3 with its built in bluetooth and a bit of python code later which scans for bluetooth IDs I can now do it.<\/p>\n<p>So what happens is<\/p>\n<p>Raspberry PI 3 scans every 15 seconds for bluetooth IDs that it knows. Works even if they are set to be only visible to paired devices.<\/p>\n<p>If it spots a Bluetooth ID that it recognises it updates a mysql database status and logs the change.<\/p>\n<p>The motion detecting cameras, thanks <a href=\"http:\/\/www.sbcshop.co.uk\/spi-box-starter-kit-with-black-case-333-p.asp\" target=\"_blank\">SB Components<\/a>, now looks up that database and if any of the know IDs are marked as in then it doesn&#8217;t bother to take pictures.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every wanted your technology to know you are in the house. I did so I could automatically turn off my motion sensing camera. They \u00a0email a picture of whatever trips them. Anyway when I&#8217;m in the house I&#8217;d rather they didn&#8217;t. Ok, so using a nice new shiny Raspberry PI 3 with its built in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-projects"],"_links":{"self":[{"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=26"}],"version-history":[{"count":2,"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=\/wp\/v2\/posts\/26\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=\/wp\/v2\/posts\/26\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.carmichaelclan.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}