{"id":6311,"date":"2023-11-30T13:21:44","date_gmt":"2023-11-30T13:21:44","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=6311"},"modified":"2023-11-30T13:21:48","modified_gmt":"2023-11-30T13:21:48","slug":"paragon-project-hacking-a-coffee-machine","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/pt\/projeto-paragon-piratear-uma-maquina-de-cafe\/","title":{"rendered":"Projeto Paragon: Hackear uma m\u00e1quina de caf\u00e9"},"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\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image-1024x576.png\" alt=\"Hackear uma m\u00e1quina de caf\u00e9 com um ESP8266 Imagem do t\u00edtulo\" class=\"wp-image-6312\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image-1024x576.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image-300x169.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image-768x432.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image-18x10.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>O inverno est\u00e1 a chegar. Para aqueles de n\u00f3s no hemisf\u00e9rio norte, os dias est\u00e3o a ficar mais curtos e \u00e9 cada vez mais dif\u00edcil sair da cama. Nesta edi\u00e7\u00e3o da nossa s\u00e9rie Paragon Projects, vamos analisar um projeto que ser\u00e1 ainda mais \u00fatil \u00e0 medida que os dias ficam mais curtos: piratear uma m\u00e1quina de caf\u00e9.<\/p>\n\n\n\n<p>Na verdade, este projeto j\u00e1 tem dois anos, mas diria que \u00e9 t\u00e3o relevante hoje como era em novembro de 2021.<\/p>\n\n\n\n<p>Esta foi elaborada e partilhada por <a href=\"https:\/\/andybradford.dev\/2021\/11\/23\/hacking-some-smarts-into-a-basic-coffee-machine\/\">Andy Bradford<\/a>. Andy partilhou que o problema era que a m\u00e1quina de caf\u00e9 fazia uma ch\u00e1vena de caf\u00e9, mas, por vezes, \"eu punha-a a fazer caf\u00e9 e esquecia-me de ir buscar a bebida, deixando-a a ficar estragada na placa de aquecimento, pelo que decidi ver se podia lig\u00e1-la \u00e0 minha rede para obter notifica\u00e7\u00f5es e controlo\".<\/p>\n\n\n\n<p>Fa\u00e7o-o semanalmente. Por isso, se \u00e9 como eu, ent\u00e3o este projeto \u00e9 para si!<\/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=\"587\" height=\"620\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Screenshot-from-2023-11-30-13-17-49-edited.png\" alt=\"\" class=\"wp-image-6315\" style=\"width:475px;height:auto\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Screenshot-from-2023-11-30-13-17-49-edited.png 587w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Screenshot-from-2023-11-30-13-17-49-edited-284x300.png 284w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Screenshot-from-2023-11-30-13-17-49-edited-11x12.png 11w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><figcaption class=\"wp-element-caption\">Cr\u00e9dito: <a href=\"https:\/\/andybradford.dev\/2021\/11\/23\/hacking-some-smarts-into-a-basic-coffee-machine\/\">Andy Bradford<\/a>.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Andy prefacia o post com as seguintes informa\u00e7\u00f5es: \"Esta publica\u00e7\u00e3o tem um car\u00e1cter meramente informativo. N\u00e3o \u00e9 um guia. N\u00e3o tente fazer isto sozinho.<strong> <\/strong>Se me pedirem ajuda, n\u00e3o poderei dar-lha\".<\/p>\n\n\n\n<p>Por isso, acho que est\u00e1 por sua conta se quiser levar a cabo um projeto semelhante. Mas, mesmo assim, acho que este \u00e9 um pequeno hack \u00fatil e espetacular. E o Andy partilhou o c\u00f3digo em <a href=\"https:\/\/github.com\/andycb\/VerveCoffeeMachine\">GitHub<\/a> sob uma licen\u00e7a MIT.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hardware<\/h2>\n\n\n\n<p>Andy desmontou a m\u00e1quina de caf\u00e9 e descobriu que esta depende de duas placas - uma \u00e9 respons\u00e1vel pela comuta\u00e7\u00e3o de alta tens\u00e3o, enquanto a outra \u00e9 um microcontrolador que gere todas as outras coisas importantes.<\/p>\n\n\n\n<p>Assim, este projeto baseia-se na manipula\u00e7\u00e3o do microcontrolador da m\u00e1quina de caf\u00e9. O microcontrolador deve assumir o controlo para decidir a intensidade do caf\u00e9, se deve ou n\u00e3o ser mantido quente, para preparar o caf\u00e9 e para enviar uma mensagem quando o caf\u00e9 estiver pronto.<\/p>\n\n\n\n<p>Aqui, Andy optou por um <a href=\"https:\/\/buyzero.de\/products\/adafruit-feather-huzzah-with-esp8266-loose-headers\">Adafruit Huzzah ESP8266<\/a> (mas agora \u00e9 poss\u00edvel obter um <a href=\"https:\/\/buyzero.de\/products\/assembled-adafruit-huzzah32-esp32-feather-board-verschiedene-varianten\">Adafruit Huzzah ESP32<\/a>, que \u00e9 uma vers\u00e3o actualizada).<\/p>\n\n\n\n<p>O Andy estava a brincar com uma m\u00e1quina de caf\u00e9 filtrado Morphy Richards Verve. Por isso, a informa\u00e7\u00e3o sobre o projeto \u00e9 espec\u00edfica para esta m\u00e1quina de caf\u00e9:<\/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=\"985\" height=\"823\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-29.png\" alt=\"\" class=\"wp-image-6319\" style=\"width:475px;height:auto\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-29.png 985w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-29-300x251.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-29-768x642.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-29-14x12.png 14w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><figcaption class=\"wp-element-caption\">Cr\u00e9dito: <a href=\"https:\/\/www.morphyrichards.com.au\/en-au\/verve-filtered-coffee-maker#163005\">Morphy Richards<\/a>.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Mas com um pouco de engenho, algo deste g\u00e9nero pode certamente ser feito com muitas, se n\u00e3o com a maioria, das m\u00e1quinas de caf\u00e9 el\u00e9ctricas.<\/p>\n\n\n\n<p>Andy menciona que a fonte de alimenta\u00e7\u00e3o de 5V da m\u00e1quina de caf\u00e9 n\u00e3o era suficientemente forte para alimentar a Huzzah. Por isso, foi necess\u00e1rio um cabo USB separado para alimentar a placa.<\/p>\n\n\n\n<p>Tudo o que foi necess\u00e1rio foi fazer um buraco na parte lateral da m\u00e1quina de caf\u00e9 e fixar uma placa Veroboard. O Veroboard mant\u00e9m o Huzzah, os circuitos e as resist\u00eancias no lugar dentro da m\u00e1quina de caf\u00e9. <\/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=\"577\" height=\"414\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-27.png\" alt=\"\" class=\"wp-image-6316\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-27.png 577w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-27-300x215.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-27-18x12.png 18w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><figcaption class=\"wp-element-caption\">Cr\u00e9dito: <a href=\"https:\/\/andybradford.dev\/2021\/11\/23\/hacking-some-smarts-into-a-basic-coffee-machine\/\">Andy Bradford<\/a>.<\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Software<\/h2>\n\n\n\n<p>Para o efeito, Andy utilizou o IDE Arduino.<\/p>\n\n\n\n<p>Descoberta autom\u00e1tica MQTT, que \u00e9 uma extens\u00e3o constru\u00edda sobre o protocolo MQTT. Desta forma, a m\u00e1quina de caf\u00e9 pode comunicar com o Home Assistant. <a href=\"https:\/\/www.home-assistant.io\/\">Assistente Dom\u00e9stico<\/a> \u00e9, obviamente, um software gratuito e de c\u00f3digo aberto que ajuda a criar uma interface completa para a dom\u00f3tica.<\/p>\n\n\n\n<p>Se estiver interessado em saber mais sobre os fundamentos do MQTT para o seu pr\u00f3prio projeto, pode consultar o nosso artigo, \"<a href=\"https:\/\/picockpit.com\/raspberry-pi\/an-overview-of-mqtt\/\">Uma vis\u00e3o geral do MQTT<\/a>\". De facto, <a href=\"https:\/\/www.picockpit.com\">PiCockpit<\/a> baseia-se no MQTT - por isso somos obviamente grandes f\u00e3s!<\/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=\"985\" height=\"823\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-28.png\" alt=\"\" class=\"wp-image-6317\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-28.png 985w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-28-300x251.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-28-768x642.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/image-28-14x12.png 14w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><figcaption class=\"wp-element-caption\">Cr\u00e9dito: <a href=\"https:\/\/andybradford.dev\/2021\/11\/23\/hacking-some-smarts-into-a-basic-coffee-machine\/\">Andy Bradford<\/a>.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Andy partilhou todo o c\u00f3digo do software no GitHub. Se quiseres ver o c\u00f3digo por ti pr\u00f3prio, podes <a href=\"https:\/\/github.com\/andycb\/VerveCoffeeMachine\">ver aqui<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclus\u00e3o<\/h2>\n\n\n\n<p>Aqui t\u00eam, pessoal - piratear uma m\u00e1quina de caf\u00e9 com um ESP8266! \u00c9 a m\u00e1quina de caf\u00e9 automatizada ideal, que lhe enviar\u00e1 uma mensagem de texto quando o seu caf\u00e9 estiver pronto!<\/p>\n\n\n\n<p>Para obter mais informa\u00e7\u00f5es, visite <a href=\"https:\/\/andybradford.dev\/2021\/11\/23\/hacking-some-smarts-into-a-basic-coffee-machine\/\">S\u00edtio Web de Andy Bradford aqui<\/a>.<\/p>\n\n\n\n<p>Se quiser ver mais projectos fant\u00e1sticos, pode encontr\u00e1-los todos clicando neste bot\u00e3o:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/picockpit.com\/raspberry-pi\/category\/paragon-projects\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Projectos Paragon<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>E se ainda n\u00e3o o fez, n\u00e3o se esque\u00e7a de subscrever a nossa Newsletter. Partilhamos muitos dos projectos que apresentamos nesta s\u00e9rie.<\/p>\n\n\n\n<p>Como \u00e9 que hackearia a sua m\u00e1quina de caf\u00e9?<\/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%2Fprojeto-paragon-piratear-uma-maquina-de-cafe%2F&text=Paragon%20Project%3A%20Hacking%20a%20Coffee%20Machine\" 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%2Fprojeto-paragon-piratear-uma-maquina-de-cafe%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%2Fprojeto-paragon-piratear-uma-maquina-de-cafe%2F&text=Paragon%20Project%3A%20Hacking%20a%20Coffee%20Machine\" 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%2Fprojeto-paragon-piratear-uma-maquina-de-cafe%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>O inverno est\u00e1 a chegar. Para aqueles de n\u00f3s no hemisf\u00e9rio norte, os dias est\u00e3o a ficar mais curtos e \u00e9 cada vez mais dif\u00edcil sair da cama. Nesta edi\u00e7\u00e3o da nossa s\u00e9rie Paragon Projects, vamos analisar um projeto que ser\u00e1 ainda mais \u00fatil quando os dias ficarem mais curtos: piratear uma m\u00e1quina de caf\u00e9. Este...<\/p>","protected":false},"author":2,"featured_media":6312,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2242,1534],"tags":[517,2256,2257,377,509,1734,2255,597,789,580],"class_list":["post-6311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esp32-projects","category-paragon-projects","tag-adafruit","tag-coffee","tag-coffee-machine","tag-esp32","tag-esp8266","tag-espressif","tag-huzzah","tag-microcontroller","tag-microcontrollers","tag-wifi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Paragon Project: Hacking a Coffee Machine | PiCockpit<\/title>\n<meta name=\"description\" content=\"In this installment of our Paragon Projects series, we&#039;re looking at a project that&#039;ll be useful this winter: hacking a coffee machine.\" \/>\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\/projeto-paragon-piratear-uma-maquina-de-cafe\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Paragon Project: Hacking a Coffee Machine | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"In this installment of our Paragon Projects series, we&#039;re looking at a project that&#039;ll be useful this winter: hacking a coffee machine.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/pt\/projeto-paragon-piratear-uma-maquina-de-cafe\/\" \/>\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=\"2023-11-30T13:21:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-30T13:21:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.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=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/\"},\"author\":{\"name\":\"raspi berry\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\"},\"headline\":\"Paragon Project: Hacking a Coffee Machine\",\"datePublished\":\"2023-11-30T13:21:44+00:00\",\"dateModified\":\"2023-11-30T13:21:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/\"},\"wordCount\":691,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png\",\"keywords\":[\"Adafruit\",\"Coffee\",\"Coffee Machine\",\"ESP32\",\"ESP8266\",\"Espressif\",\"Huzzah\",\"microcontroller\",\"microcontrollers\",\"WiFi\"],\"articleSection\":[\"ESP32 Projects\",\"Paragon Projects\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/\",\"name\":\"Paragon Project: Hacking a Coffee Machine | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png\",\"datePublished\":\"2023-11-30T13:21:44+00:00\",\"dateModified\":\"2023-11-30T13:21:48+00:00\",\"description\":\"In this installment of our Paragon Projects series, we're looking at a project that'll be useful this winter: hacking a coffee machine.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png\",\"width\":1200,\"height\":675,\"caption\":\"Hacking a Coffee Machine with an ESP8266 Title Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/paragon-project-hacking-a-coffee-machine\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ESP32 Projects\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/esp32-projects\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Paragon Project: Hacking a Coffee Machine\"}]},{\"@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":"Projeto Paragon: Hackeando uma M\u00e1quina de Caf\u00e9 | PiCockpit","description":"Nesta edi\u00e7\u00e3o da nossa s\u00e9rie de Projectos Paragon, vamos analisar um projeto que ser\u00e1 \u00fatil este inverno: piratear uma m\u00e1quina de caf\u00e9.","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\/projeto-paragon-piratear-uma-maquina-de-cafe\/","og_locale":"pt_PT","og_type":"article","og_title":"Paragon Project: Hacking a Coffee Machine | PiCockpit","og_description":"In this installment of our Paragon Projects series, we're looking at a project that'll be useful this winter: hacking a coffee machine.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/pt\/projeto-paragon-piratear-uma-maquina-de-cafe\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2023-11-30T13:21:44+00:00","article_modified_time":"2023-11-30T13:21:48+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.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":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/"},"author":{"name":"raspi berry","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee"},"headline":"Paragon Project: Hacking a Coffee Machine","datePublished":"2023-11-30T13:21:44+00:00","dateModified":"2023-11-30T13:21:48+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/"},"wordCount":691,"commentCount":0,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png","keywords":["Adafruit","Coffee","Coffee Machine","ESP32","ESP8266","Espressif","Huzzah","microcontroller","microcontrollers","WiFi"],"articleSection":["ESP32 Projects","Paragon Projects"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/","url":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/","name":"Projeto Paragon: Hackeando uma M\u00e1quina de Caf\u00e9 | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png","datePublished":"2023-11-30T13:21:44+00:00","dateModified":"2023-11-30T13:21:48+00:00","description":"Nesta edi\u00e7\u00e3o da nossa s\u00e9rie de Projectos Paragon, vamos analisar um projeto que ser\u00e1 \u00fatil este inverno: piratear uma m\u00e1quina de caf\u00e9.","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/11\/Hacking-a-Coffee-Machine-with-an-ESP8266-Title-Image.png","width":1200,"height":675,"caption":"Hacking a Coffee Machine with an ESP8266 Title Image"},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/paragon-project-hacking-a-coffee-machine\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"ESP32 Projects","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/esp32-projects\/"},{"@type":"ListItem","position":3,"name":"Paragon Project: Hacking a Coffee Machine"}]},{"@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\/6311","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=6311"}],"version-history":[{"count":13,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts\/6311\/revisions"}],"predecessor-version":[{"id":6330,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts\/6311\/revisions\/6330"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/media\/6312"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/media?parent=6311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/categories?post=6311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/tags?post=6311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}