{"id":6973,"date":"2024-03-11T09:36:29","date_gmt":"2024-03-11T09:36:29","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=6973"},"modified":"2024-03-11T13:30:35","modified_gmt":"2024-03-11T13:30:35","slug":"how-to-build-a-security-camera-with-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/pt\/como-construir-uma-camara-de-seguranca-com-um-raspberry-pi\/","title":{"rendered":"Como construir uma c\u00e2mara de seguran\u00e7a com um Raspberry Pi"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera-1024x576.png\" alt=\"\" class=\"wp-image-6974\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera-1024x576.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera-300x169.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera-768x432.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera-18x10.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera-24x14.png 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera-36x20.png 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera-48x27.png 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As c\u00e2maras de seguran\u00e7a s\u00e3o importantes para muitas empresas. Neste artigo, vou explicar como construir uma c\u00e2mara de seguran\u00e7a Raspberry Pi para manter o seu neg\u00f3cio seguro. <\/p>\n\n\n\n<p>No final, ter\u00e1 uma c\u00e2mara com um feed a que pode aceder a partir de qualquer parte do mundo, desde que tenha uma liga\u00e7\u00e3o \u00e0 Internet.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28-1024x768.jpg\" alt=\"\" class=\"wp-image-6985\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28-1024x768.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28-300x225.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28-768x576.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28-16x12.jpg 16w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28-24x18.jpg 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28-36x27.jpg 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28-48x36.jpg 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-11_09-23-28.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>E a cria\u00e7\u00e3o de um projeto como este demora apenas cerca de 20 minutos.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Porqu\u00ea uma c\u00e2mara de seguran\u00e7a Raspberry Pi?<\/h2>\n\n\n\n<p>Existem in\u00fameras c\u00e2maras de seguran\u00e7a no mercado que est\u00e3o dispon\u00edveis para compra. No entanto, com uma c\u00e2mara Raspberry Pi, tem um controlo muito maior sobre o hardware e, por conseguinte, sobre a seguran\u00e7a.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.forbes.com\/sites\/forbestechcouncil\/2023\/03\/01\/the-secret-insecure-life-of-security-cameras\/\">Como a Forbes noticiou no ano passado<\/a>As c\u00e2maras de seguran\u00e7a inteligentes s\u00e3o \"o sonho de qualquer pirata inform\u00e1tico\" e colocam a sua empresa em risco.<\/p>\n\n\n\n<p>No mesmo artigo, s\u00e3o apresentadas tr\u00eas recomenda\u00e7\u00f5es para gerir a ciberseguran\u00e7a das c\u00e2maras de seguran\u00e7a:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ter conhecimento de todas as c\u00e2maras da rede<\/li>\n\n\n\n<li>Forne\u00e7a palavras-passe fortes e altere-as regularmente<\/li>\n\n\n\n<li>Atualizar regularmente o firmware<\/li>\n<\/ol>\n\n\n\n<p>Agora, \u00e9 poss\u00edvel fazer isto com muitas das c\u00e2maras de seguran\u00e7a inteligentes dispon\u00edveis, mas \u00e9 sem d\u00favida mais f\u00e1cil com um Raspberry Pi. Utilizar um Raspberry Pi pode garantir que est\u00e1 atualizado em todos estes pontos, porque tem acesso direto ao hardware e ao software.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">O que voc\u00ea precisa<\/h2>\n\n\n\n<p>Assim, para este projeto, os elementos b\u00e1sicos de que necessitar\u00e1 s\u00e3o a:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Raspberry Pi<\/li>\n\n\n\n<li>Adaptador de alimenta\u00e7\u00e3o Raspberry Pi<\/li>\n\n\n\n<li>cart\u00e3o micro SD<\/li>\n\n\n\n<li>Leitor de cart\u00f5es micro SD (USB)<\/li>\n\n\n\n<li>C\u00e2mara<\/li>\n<\/ul>\n\n\n\n<p>Al\u00e9m disso, poder\u00e1 querer criar uma caixa para a c\u00e2mara que proteja o Raspberry Pi e a c\u00e2mara, especialmente se tencionar instal\u00e1-la no exterior.<\/p>\n\n\n\n<p>Para um projeto como este, \u00e9 poss\u00edvel utilizar muitos modelos diferentes de Raspberry Pi - um <a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-3b-plus\">Pi 3B+<\/a> ou um <a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-4b?s=rec&amp;w=p\">Pi 4B<\/a>, por exemplo. <\/p>\n\n\n\n<p>Tamb\u00e9m \u00e9 poss\u00edvel utilizar muitas c\u00e2maras diferentes, como a <a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-kameramodul-v2-noir\">C\u00e2mara NoIR Raspberry Pi<\/a> ou um <a href=\"https:\/\/buyzero.de\/products\/logilink-hd-webcam-mit-mikrofon\">C\u00e2mara USB<\/a> que se liga a uma das portas USB.<\/p>\n\n\n\n<p>Para o meu projeto, estou a utilizar um <a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-5?_pos=16&amp;_sid=17f3cec26&amp;_ss=r&amp;variant=44595013615883\">Raspberry Pi 5<\/a> e dois <a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-kameramodul-v3\">C\u00e2maras MIPI Raspberry Pi v3<\/a> (com o <a href=\"https:\/\/buyzero.de\/products\/offizielle-adapterkabel-kamera-display-raspberry-pi-5\">Cabos adaptadores para Raspberry Pi 5<\/a>).<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26-1024x768.jpg\" alt=\"Artigos do projeto de c\u00e2mara Raspberry Pi\" class=\"wp-image-6975\" style=\"width:475px;height:auto\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26-1024x768.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26-300x225.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26-768x576.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26-16x12.jpg 16w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26-24x18.jpg 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26-36x27.jpg 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26-48x36.jpg 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_15-58-26.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Dependendo das suas considera\u00e7\u00f5es energ\u00e9ticas, pode ser melhor optar por um modelo Raspberry Pi um pouco menos sofisticado, mas um Raspberry Pi 5 pode suportar duas c\u00e2maras e processar o v\u00eddeo de forma extremamente r\u00e1pida e eficiente.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Atualizar o cart\u00e3o SD<\/h2>\n\n\n\n<p>Vou come\u00e7ar por flashear um cart\u00e3o micro SD novo com o Raspberry Pi OS.<br><br>Por isso, \u00e9 necess\u00e1rio descarregar o <a href=\"https:\/\/www.raspberrypi.com\/software\/\">Raspberry Pi imager<\/a>.<\/p>\n\n\n\n<p>Em seguida, liga o seu cart\u00e3o micro SD ao leitor de cart\u00f5es micro SD e liga-o ao seu computador.<\/p>\n\n\n\n<p>Abra o gerador de imagens, siga as instru\u00e7\u00f5es e fa\u00e7a flash do cart\u00e3o micro SD com o Raspberry Pi OS. Recomendamos a utiliza\u00e7\u00e3o da vers\u00e3o mais recente - Bookworm.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"702\" height=\"510\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-1.png\" alt=\"\" class=\"wp-image-6988\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-1.png 702w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-1-300x218.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-1-18x12.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-1-24x17.png 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-1-36x26.png 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-1-48x35.png 48w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Quando lhe for perguntado sobre a personaliza\u00e7\u00e3o do seu sistema operativo, certifique-se de que ativa o SSH. Isso \u00e9 importante para o software:<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"561\" height=\"686\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-2.png\" alt=\"\" class=\"wp-image-6989\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-2.png 561w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-2-245x300.png 245w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-2-10x12.png 10w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-2-20x24.png 20w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-2-29x36.png 29w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/image-2-39x48.png 39w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Depois de fazeres o flash do cart\u00e3o micro SD, ter\u00e1s de inserir o cart\u00e3o SD no Raspberry Pi.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fixar as c\u00e2maras<\/h2>\n\n\n\n<p>Antes de ligar o Raspberry Pi, \u00e9 necess\u00e1rio levantar cuidadosamente o suporte da porta. Em seguida, certificando-se de que o cabo est\u00e1 virado para o lado correto, ter\u00e1 de o fixar \u00e0 face da porta.<\/p>\n\n\n\n<p>Colocar as c\u00e2maras pela primeira vez pode ser complicado e requer um pouco de coordena\u00e7\u00e3o.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30-1024x768.jpg\" alt=\"\" class=\"wp-image-6977\" style=\"width:475px;height:auto\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30-1024x768.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30-300x225.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30-768x576.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30-16x12.jpg 16w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30-24x18.jpg 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30-36x27.jpg 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30-48x36.jpg 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/photo_2024-03-08_16-09-30.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Depois de configurar as duas c\u00e2maras, estou pronto para come\u00e7ar.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Instalar o PiCockpit<\/h2>\n\n\n\n<p>Depois de ter todo o hardware configurado, s\u00f3 falta ligar o Raspberry Pi.<\/p>\n\n\n\n<p>E para o software, vamos instalar o PiCockpit. O PiCockpit \u00e9 ideal para este projeto, porque \u00e9 seguro e porque \u00e9 super f\u00e1cil de configurar. N\u00e3o \u00e9 preciso fazer nenhum encaminhamento de porta ou qualquer rede complicada.<\/p>\n\n\n\n<p>Tudo o que precisa de fazer \u00e9 <a href=\"https:\/\/picockpit.com\/user\/register\">cadastrar-se<\/a> para PiCockpit. Em seguida, clique no bot\u00e3o que diz \"ADD PI\".<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"286\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Add-Pi-Button.jpg\" alt=\"\" class=\"wp-image-6991\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Add-Pi-Button.jpg 961w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Add-Pi-Button-300x89.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Add-Pi-Button-768x229.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Add-Pi-Button-18x5.jpg 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Add-Pi-Button-24x7.jpg 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Add-Pi-Button-36x11.jpg 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Add-Pi-Button-48x14.jpg 48w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>A partir da\u00ed, poder\u00e1 descarregar o script de configura\u00e7\u00e3o do PiCockpit.<\/p>\n\n\n\n<p>Agora abra um terminal e mude para o seu diret\u00f3rio Downloads. E a partir daqui, vai executar o Secure Copy Protocol para copiar o script de configura\u00e7\u00e3o para o seu Raspberry Pi.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"scp picockpit-addrpi-v2.5.0.sh &lt;username&gt;@&lt;RPi name&gt;.local:\/home\/&lt;username&gt;\/\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">scp<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">addrpi<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">v2<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #B48EAD\">5.0<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">sh<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D8DEE9\">username<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D08770\">@<\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D08770\">RPi<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">name<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">local<\/span><span style=\"color: #D8DEE9FF\">:<\/span><span style=\"color: #ECEFF4\">\/<\/span><span style=\"color: #EBCB8B\">home<\/span><span style=\"color: #ECEFF4\">\/<\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D8DEE9\">username<\/span><span style=\"color: #81A1C1\">&gt;\/<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>Caso n\u00e3o tenha ficado claro, \u00e9 necess\u00e1rio substituir <code data-no-translation=\"\">&lt;RPi name&gt;<\/code> com o nome do seu Raspberry Pi, bem como ambas as inst\u00e2ncias de <code data-no-translation=\"\">&lt;username&gt;<\/code> no comando acima.<\/p>\n\n\n\n<p>Isto envia o ficheiro para o Raspberry Pi e agora s\u00f3 precisamos de o executar.<\/p>\n\n\n\n<p>Por isso, primeiro, \u00e9 necess\u00e1rio fazer SSH na Raspberry Pi.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"ssh &lt;username&gt;@&lt;RPi name&gt;.local\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">ssh<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D8DEE9\">username<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D08770\">@<\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D08770\">RPi<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">name<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">local<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>Ser-lhe-\u00e1 pedida a palavra-passe.<\/p>\n\n\n\n<p>Em seguida, \u00e9 necess\u00e1rio tornar o script execut\u00e1vel.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"chmod +x picockpit-addrpi-v2.5.0.sh\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">chmod<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">+<\/span><span style=\"color: #D8DEE9\">x<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">addrpi<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">v2<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #B48EAD\">5.0<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">sh<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>Em seguida, \u00e9 necess\u00e1rio executar o script.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\".\/picockpit-addrpi-v2.5.0.sh\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">addrpi<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">v2<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #B48EAD\">5.0<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">sh<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>Agora instalou com sucesso o PiCockpit no seu Raspberry Pi.<\/p>\n\n\n\n<p>Agora que tem o PiCockpit instalado no seu Raspberry Pi, tudo o que resta fazer \u00e9 ir \u00e0 interface web do PiCockpit para ver o feed da sua c\u00e2mara.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"514\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-1024x514.png\" alt=\"PiCockpit interface web\" class=\"wp-image-6992\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-1024x514.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-300x151.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-768x386.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-1536x771.png 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-18x9.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-24x12.png 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-36x18.png 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04-48x24.png 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/Screenshot-from-2024-03-08-16-08-04.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Com o <a href=\"https:\/\/picockpit.com\/raspberry-pi\/picockpit-pricing\/\">Plano gratuito<\/a>receber\u00e1 30 minutos em todas as c\u00e2maras. Com o <a href=\"https:\/\/picockpit.com\/raspberry-pi\/picockpit-pricing\/\">Plano Pro<\/a>No entanto, receber\u00e1 transmiss\u00e3o ilimitada em c\u00e2maras ilimitadas. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclus\u00e3o<\/h2>\n\n\n\n<p>Agora pode aceder \u00e0 c\u00e2mara de seguran\u00e7a a partir de qualquer lugar. Tudo o que precisa \u00e9 de uma liga\u00e7\u00e3o \u00e0 Internet.<\/p>\n\n\n\n<p>Se tiver alguma d\u00favida, n\u00e3o hesite em deixar um coment\u00e1rio abaixo!<\/p>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Fcomo-construir-uma-camara-de-seguranca-com-um-raspberry-pi%2F&text=How%20to%20Build%20a%20Security%20Camera%20with%20a%20Raspberry%20Pi\" title=\"Compartilhar no X\" aria-label=\"Compartilhar no X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Fcomo-construir-uma-camara-de-seguranca-com-um-raspberry-pi%2F\" title=\"Partilhar no Facebook\" aria-label=\"Partilhar no Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Fcomo-construir-uma-camara-de-seguranca-com-um-raspberry-pi%2F&text=How%20to%20Build%20a%20Security%20Camera%20with%20a%20Raspberry%20Pi\" title=\"Compartilhar no Telegram\" aria-label=\"Compartilhar no Telegram\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Fcomo-construir-uma-camara-de-seguranca-com-um-raspberry-pi%2F\" title=\"Compartilhar no Reddit\" aria-label=\"Compartilhar no Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">partilhar<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>As c\u00e2maras de seguran\u00e7a s\u00e3o importantes para muitas empresas. Neste artigo, vou explicar como construir uma c\u00e2mara de seguran\u00e7a Raspberry Pi para manter o seu neg\u00f3cio seguro. No final, ter\u00e1 uma c\u00e2mara com um feed a que pode aceder a partir de qualquer parte do mundo, desde que tenha uma liga\u00e7\u00e3o \u00e0 Internet. E a configura\u00e7\u00e3o...<\/p>","protected":false},"author":2,"featured_media":6974,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67,3],"tags":[2126,2317,1826,2315,1975,599,1805,193,486,447,187,456,2311,2309,2316,2318,749,968],"class_list":["post-6973","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-picockpit-apps","category-raspberry-pi-how-to","tag-business","tag-footage","tag-industry","tag-live-feed","tag-mipi","tag-monitor","tag-network","tag-picockpit","tag-project","tag-projects","tag-raspberry-pi","tag-raspberry-pi-projects","tag-security-camera","tag-streaming","tag-surveillance","tag-surveillance-system","tag-usb","tag-video"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Build a Security Camera with a Raspberry Pi | PiCockpit<\/title>\n<meta name=\"description\" content=\"In this article, I go over how to build a Raspberry Pi security camera to keep your business safe and secure.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/pt\/como-construir-uma-camara-de-seguranca-com-um-raspberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Build a Security Camera with a Raspberry Pi | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"In this article, I go over how to build a Raspberry Pi security camera to keep your business safe and secure.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/pt\/como-construir-uma-camara-de-seguranca-com-um-raspberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-11T09:36:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-11T13:30:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"raspi berry\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"raspi berry\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/\"},\"author\":{\"name\":\"raspi berry\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\"},\"headline\":\"How to Build a Security Camera with a Raspberry Pi\",\"datePublished\":\"2024-03-11T09:36:29+00:00\",\"dateModified\":\"2024-03-11T13:30:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/\"},\"wordCount\":867,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/A-Raspberry-Pi-Security-Camera.png\",\"keywords\":[\"Business\",\"footage\",\"Industry\",\"live feed\",\"MIPI\",\"monitor\",\"Network\",\"picockpit\",\"project\",\"Projects\",\"Raspberry Pi\",\"Raspberry Pi projects\",\"security camera\",\"streaming\",\"surveillance\",\"surveillance system\",\"usb\",\"video\"],\"articleSection\":[\"PiCockpit Apps\",\"Tutorials\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/\",\"name\":\"How to Build a Security Camera with a Raspberry Pi | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/A-Raspberry-Pi-Security-Camera.png\",\"datePublished\":\"2024-03-11T09:36:29+00:00\",\"dateModified\":\"2024-03-11T13:30:35+00:00\",\"description\":\"In this article, I go over how to build a Raspberry Pi security camera to keep your business safe and secure.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/A-Raspberry-Pi-Security-Camera.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/A-Raspberry-Pi-Security-Camera.png\",\"width\":1200,\"height\":675},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-build-a-security-camera-with-a-raspberry-pi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/raspberry-pi-how-to\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Build a Security Camera with a Raspberry Pi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\",\"name\":\"raspi berry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"caption\":\"raspi berry\"},\"description\":\"I'm here to help you with all your Raspberry Pi related questions &amp; love to share about new project ideas for the Raspberry Pi, and give quick tips. Of course I'll also help you with PiCockpit and how to make your Raspberry Pi even easier to use with this raspberry pi monitoring solution :-)\",\"sameAs\":[\"https:\\\/\\\/picockpit.com\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/pt\\\/author\\\/raspi-berry\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como construir uma c\u00e2mara de seguran\u00e7a com um Raspberry Pi | PiCockpit","description":"Neste artigo, explico como construir uma c\u00e2mara de seguran\u00e7a Raspberry Pi para manter o seu neg\u00f3cio seguro e protegido.","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:\/\/picockpit.com\/raspberry-pi\/pt\/como-construir-uma-camara-de-seguranca-com-um-raspberry-pi\/","og_locale":"pt_PT","og_type":"article","og_title":"How to Build a Security Camera with a Raspberry Pi | PiCockpit","og_description":"In this article, I go over how to build a Raspberry Pi security camera to keep your business safe and secure.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/pt\/como-construir-uma-camara-de-seguranca-com-um-raspberry-pi\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2024-03-11T09:36:29+00:00","article_modified_time":"2024-03-11T13:30:35+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera.png","type":"image\/png"}],"author":"raspi berry","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"Escrito por":"raspi berry","Tempo estimado de leitura":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/"},"author":{"name":"raspi berry","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee"},"headline":"How to Build a Security Camera with a Raspberry Pi","datePublished":"2024-03-11T09:36:29+00:00","dateModified":"2024-03-11T13:30:35+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/"},"wordCount":867,"commentCount":4,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera.png","keywords":["Business","footage","Industry","live feed","MIPI","monitor","Network","picockpit","project","Projects","Raspberry Pi","Raspberry Pi projects","security camera","streaming","surveillance","surveillance system","usb","video"],"articleSection":["PiCockpit Apps","Tutorials"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/","url":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/","name":"Como construir uma c\u00e2mara de seguran\u00e7a com um Raspberry Pi | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera.png","datePublished":"2024-03-11T09:36:29+00:00","dateModified":"2024-03-11T13:30:35+00:00","description":"Neste artigo, explico como construir uma c\u00e2mara de seguran\u00e7a Raspberry Pi para manter o seu neg\u00f3cio seguro e protegido.","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/03\/A-Raspberry-Pi-Security-Camera.png","width":1200,"height":675},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-build-a-security-camera-with-a-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/raspberry-pi-how-to\/"},{"@type":"ListItem","position":3,"name":"How to Build a Security Camera with a Raspberry Pi"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"PiCockpit","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee","name":"baga de framboesa","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","caption":"raspi berry"},"description":"Estou aqui para ajud\u00e1-lo com todas as suas perguntas relacionadas com o Raspberry Pi e adoro compartilhar sobre novas id\u00e9ias de projetos para o Raspberry Pi, e dar dicas r\u00e1pidas. Claro que tamb\u00e9m o ajudarei com o PiCockpit e como tornar o seu Raspberry Pi ainda mais f\u00e1cil de usar com esta solu\u00e7\u00e3o de monitoriza\u00e7\u00e3o do raspberry Pi :-)","sameAs":["https:\/\/picockpit.com"],"url":"https:\/\/picockpit.com\/raspberry-pi\/pt\/author\/raspi-berry\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts\/6973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/comments?post=6973"}],"version-history":[{"count":13,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts\/6973\/revisions"}],"predecessor-version":[{"id":6999,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts\/6973\/revisions\/6999"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/media\/6974"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/media?parent=6973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/categories?post=6973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/tags?post=6973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}