{"id":1028,"date":"2018-02-23T13:57:55","date_gmt":"2018-02-23T16:57:55","guid":{"rendered":"http:\/\/pedrobertoleti.com.br\/?p=1028"},"modified":"2018-02-23T13:57:55","modified_gmt":"2018-02-23T16:57:55","slug":"campainha-iot-com-raspberry-pi-zero-w","status":"publish","type":"post","link":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/","title":{"rendered":"Campainha IoT com Raspberry Pi Zero W"},"content":{"rendered":"<h2>Gostaria de fazer uma campainha IoT, que envia a foto de quem a tocou? Veja aqui como!<\/h2>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">O projeto funciona do seguinte modo: ao ser pressionado um bot\u00e3o \/ interruptor, uma foto da pessoa que o apertou ser\u00e1 capturada pela Raspberry Pi Zero W (usando a c\u00e2mera Raspberry Pi) e enviada, juntamente com a data e hor\u00e1rio do evento ocorrido, ao morador da casa atrav\u00e9s do servi\u00e7o Pushbullet (https:\/\/www.pushbullet.com\/). Em seguida, o Pushbullet envia uma notifica\u00e7\u00e3o push ao celular do morador, tornando assim poss\u00edvel que este saiba (em qualquer lugar do mundo, a qualquer hora) quem tocou e quando tocou a campainha de sua casa.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-1031 aligncenter\" src=\"http:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2018\/02\/GIFCampainhaIoT.gif\" alt=\"\" width=\"777\" height=\"382\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Quer ler o post na \u00edntegra? Acesse:\u00a0<a href=\"https:\/\/www.filipeflop.com\/blog\/campainha-iot-com-raspberry-pi-zero-w\" target=\"_blank\" rel=\"noopener\">https:\/\/www.filipeflop.com\/blog\/campainha-iot-com-raspberry-pi-zero-w<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gostaria de fazer uma campainha IoT, que envia a foto de quem a tocou? Veja aqui como! &nbsp; O projeto funciona do seguinte modo: ao ser pressionado um bot\u00e3o \/ interruptor, uma foto da pessoa que o apertou ser\u00e1 capturada pela Raspberry Pi Zero W (usando a c\u00e2mera Raspberry Pi) e enviada, juntamente com a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1029,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_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":""},"categories":[9,6,10,13,5],"tags":[],"class_list":["post-1028","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-iot","category-nivel-iniciante","category-publicacoes","category-artigos-nacionais"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Campainha IoT com Raspberry Pi Zero W -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Campainha IoT com Raspberry Pi Zero W -\" \/>\n<meta property=\"og:description\" content=\"Gostaria de fazer uma campainha IoT, que envia a foto de quem a tocou? Veja aqui como! &nbsp; O projeto funciona do seguinte modo: ao ser pressionado um bot\u00e3o \/ interruptor, uma foto da pessoa que o apertou ser\u00e1 capturada pela Raspberry Pi Zero W (usando a c\u00e2mera Raspberry Pi) e enviada, juntamente com a...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pbertoleti\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-23T16:57:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2018\/02\/CampainhaIoT.png\" \/>\n\t<meta property=\"og:image:width\" content=\"777\" \/>\n\t<meta property=\"og:image:height\" content=\"382\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pedro Bertoleti\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pedro_bertoleti\" \/>\n<meta name=\"twitter:site\" content=\"@pedro_bertoleti\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pedro Bertoleti\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/\"},\"author\":{\"name\":\"Pedro Bertoleti\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#\\\/schema\\\/person\\\/fe1c150103c09ca0a2b9bb200bef33de\"},\"headline\":\"Campainha IoT com Raspberry Pi Zero W\",\"datePublished\":\"2018-02-23T16:57:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/\"},\"wordCount\":139,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/CampainhaIoT.png\",\"articleSection\":[\"Blog\",\"IoT\",\"N\u00edvel iniciante\",\"Publica\u00e7\u00f5es\",\"publica\u00e7\u00f5es nacionais\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/\",\"url\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/\",\"name\":\"Campainha IoT com Raspberry Pi Zero W -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/CampainhaIoT.png\",\"datePublished\":\"2018-02-23T16:57:55+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#\\\/schema\\\/person\\\/fe1c150103c09ca0a2b9bb200bef33de\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/CampainhaIoT.png\",\"contentUrl\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/CampainhaIoT.png\",\"width\":777,\"height\":382},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/2018\\\/02\\\/23\\\/campainha-iot-com-raspberry-pi-zero-w\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Campainha IoT com Raspberry Pi Zero W\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#website\",\"url\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pedrobertoleti.com.br\\\/#\\\/schema\\\/person\\\/fe1c150103c09ca0a2b9bb200bef33de\",\"name\":\"Pedro Bertoleti\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g\",\"caption\":\"Pedro Bertoleti\"},\"description\":\"Informa\u00e7\u00f5es completas em: http:\\\/\\\/pedrobertoleti.com.br\\\/index.php\\\/sobre\\\/\",\"sameAs\":[\"http:\\\/\\\/www.pedrobertoleti.com.br\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Campainha IoT com Raspberry Pi Zero W -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/","og_locale":"pt_BR","og_type":"article","og_title":"Campainha IoT com Raspberry Pi Zero W -","og_description":"Gostaria de fazer uma campainha IoT, que envia a foto de quem a tocou? Veja aqui como! &nbsp; O projeto funciona do seguinte modo: ao ser pressionado um bot\u00e3o \/ interruptor, uma foto da pessoa que o apertou ser\u00e1 capturada pela Raspberry Pi Zero W (usando a c\u00e2mera Raspberry Pi) e enviada, juntamente com a...","og_url":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/","article_publisher":"https:\/\/www.facebook.com\/pbertoleti","article_published_time":"2018-02-23T16:57:55+00:00","og_image":[{"width":777,"height":382,"url":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2018\/02\/CampainhaIoT.png","type":"image\/png"}],"author":"Pedro Bertoleti","twitter_card":"summary_large_image","twitter_creator":"@pedro_bertoleti","twitter_site":"@pedro_bertoleti","twitter_misc":{"Escrito por":"Pedro Bertoleti","Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/#article","isPartOf":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/"},"author":{"name":"Pedro Bertoleti","@id":"https:\/\/pedrobertoleti.com.br\/#\/schema\/person\/fe1c150103c09ca0a2b9bb200bef33de"},"headline":"Campainha IoT com Raspberry Pi Zero W","datePublished":"2018-02-23T16:57:55+00:00","mainEntityOfPage":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/"},"wordCount":139,"commentCount":0,"image":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/#primaryimage"},"thumbnailUrl":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2018\/02\/CampainhaIoT.png","articleSection":["Blog","IoT","N\u00edvel iniciante","Publica\u00e7\u00f5es","publica\u00e7\u00f5es nacionais"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/","url":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/","name":"Campainha IoT com Raspberry Pi Zero W -","isPartOf":{"@id":"https:\/\/pedrobertoleti.com.br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/#primaryimage"},"image":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/#primaryimage"},"thumbnailUrl":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2018\/02\/CampainhaIoT.png","datePublished":"2018-02-23T16:57:55+00:00","author":{"@id":"https:\/\/pedrobertoleti.com.br\/#\/schema\/person\/fe1c150103c09ca0a2b9bb200bef33de"},"breadcrumb":{"@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/#primaryimage","url":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2018\/02\/CampainhaIoT.png","contentUrl":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2018\/02\/CampainhaIoT.png","width":777,"height":382},{"@type":"BreadcrumbList","@id":"https:\/\/pedrobertoleti.com.br\/index.php\/2018\/02\/23\/campainha-iot-com-raspberry-pi-zero-w\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/pedrobertoleti.com.br\/"},{"@type":"ListItem","position":2,"name":"Campainha IoT com Raspberry Pi Zero W"}]},{"@type":"WebSite","@id":"https:\/\/pedrobertoleti.com.br\/#website","url":"https:\/\/pedrobertoleti.com.br\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pedrobertoleti.com.br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Person","@id":"https:\/\/pedrobertoleti.com.br\/#\/schema\/person\/fe1c150103c09ca0a2b9bb200bef33de","name":"Pedro Bertoleti","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/76ea2e908fec70b0d55b4eefd5ab24788f573fbe00bcb7b7d6e37da8f1e18dd3?s=96&d=mm&r=g","caption":"Pedro Bertoleti"},"description":"Informa\u00e7\u00f5es completas em: http:\/\/pedrobertoleti.com.br\/index.php\/sobre\/","sameAs":["http:\/\/www.pedrobertoleti.com.br"]}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pedrobertoleti.com.br\/wp-content\/uploads\/2018\/02\/CampainhaIoT.png","_links":{"self":[{"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=1028"}],"version-history":[{"count":4,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1028\/revisions"}],"predecessor-version":[{"id":1034,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1028\/revisions\/1034"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/media\/1029"}],"wp:attachment":[{"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=1028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=1028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pedrobertoleti.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=1028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}