{"id":3183,"date":"2020-12-29T19:18:09","date_gmt":"2020-12-29T17:18:09","guid":{"rendered":"https:\/\/www.robinglauser.ch\/blog\/?p=3183"},"modified":"2020-12-29T19:19:59","modified_gmt":"2020-12-29T17:19:59","slug":"building-a-joke-machine-with-an-esp8266","status":"publish","type":"post","link":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/","title":{"rendered":"Building a joke machine with an ESP8266"},"content":{"rendered":"\n<p>I had a few ESP8266&#8217;s lying around and some OLED Displays and wanted to do a project with them. So, I decided to put a joke API (http:\/\/official-joke-api.appspot.com) I discovered earlier to use. <\/p>\n\n\n\n<p>Wire up your display to the ESP8266 according to the following schematics:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized is-style-default\"><a href=\"https:\/\/randomnerdtutorials.com\/esp8266-0-96-inch-oled-display-with-arduino-ide\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i2.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/05\/ESP8266_oled_display_wiring.png?resize=828%2C534&amp;quality=100&amp;strip=all&amp;ssl=1\" alt=\"ESP8266 Arduino OLED Display Circuit Schematic\" width=\"569\" height=\"367\"\/><\/a><figcaption><a href=\"https:\/\/randomnerdtutorials.com\/esp8266-0-96-inch-oled-display-with-arduino-ide\/\">https:\/\/randomnerdtutorials.com\/esp8266-0-96-inch-oled-display-with-arduino-ide\/<\/a><\/figcaption><\/figure>\n\n\n\n<p>Then add the following code to your ESP8266 with the Arduino Application. You need to edit in the Wireless SSID and Password on line 4 and 5. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\n#include &lt;ESP8266WiFi.h&gt;\n#include &lt;ESP8266HTTPClient.h&gt;\n\nconst char* ssid = &quot;Wifi SSID&quot;;\nconst char* password =  &quot;Wifi Password&quot;;\n\n#include &lt;Wire.h&gt;\n#include &lt;Adafruit_GFX.h&gt;\n#include &lt;Adafruit_SSD1306.h&gt;\n#include &lt;ArduinoJson.h&gt;\n\n#define SCREEN_WIDTH 128 \/\/ OLED display width, in pixels\n#define SCREEN_HEIGHT 64 \/\/ OLED display height, in pixels\n\n\/\/ Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)\nAdafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &amp;Wire, -1);\n\n\nvoid setup () {\n\n  Serial.begin(115200);\n\n  if (!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { \/\/ Address 0x3D for 128x64\n    Serial.println(F(&quot;SSD1306 allocation failed&quot;));\n    for (;;);\n  }\n\n  display.clearDisplay();\n  display.setTextSize(1);\n  display.setTextColor(WHITE);\n  display.setCursor(0, 10);\n  \/\/ Display static text\n  display.println(&quot;Waiting for Joke&quot;);\n\n  WiFi.begin(ssid, password);\n\n  while (WiFi.status() != WL_CONNECTED) {\n\n    delay(1000);\n    Serial.println(&quot;Connecting..&quot;);\n\n  }\n\n  Serial.println(&#039;\\n&#039;);\n  Serial.print(&quot;Connected to &quot;);\n  Serial.println(WiFi.SSID());              \/\/ Tell us what network we&#039;re connected to\n  Serial.print(&quot;IP address:\\t&quot;);\n  Serial.println(WiFi.localIP());\n\n}\n\nvoid loop() {\n  Serial.println(&quot;Loop&quot;);\n\n  if (WiFi.status() == WL_CONNECTED) { \/\/Check WiFi connection status\n\n    HTTPClient http;  \/\/Declare an object of class HTTPClient\n\n    http.begin(&quot;http:\/\/official-joke-api.appspot.com\/random_joke&quot;);  \/\/Specify request destination\n    int httpCode = http.GET();                                  \/\/Send the request\n\n    if (httpCode &gt; 0) { \/\/Check the returning code\n\n      String payload = http.getString();   \/\/Get the request response payload\n      Serial.println(payload);\n\n      DynamicJsonDocument doc(2048);\n      deserializeJson(doc, payload);\n\n      const char* joke = doc&#x5B;&quot;setup&quot;];\n      const char* punchline = doc&#x5B;&quot;punchline&quot;];\n      Serial.println(joke);\n\n      display.clearDisplay();\n\n      display.setCursor(0, 10);\n      \/\/ Display static text\n      display.println(joke);\n      display.display();\n      delay(4000);\n      display.clearDisplay();\n\n      display.setCursor(0, 10);\n      \/\/ Display static text\n      display.println(punchline);\n      display.display();\n\n    }\n\n    http.end();   \/\/Close connection\n\n  }\n\n  delay(6000);    \/\/Send a request every 30 seconds\n}\n<\/pre><\/div>\n\n\n<p>Also, the following Libraries need to be installed via the Library Manager in the Arduino Software. (under Tools, Library Manager)<\/p>\n\n\n\n<p>ArduinoJson, Adafruit_SSD1306, Adafruit-GFX-Library<\/p>\n\n\n\n<p>Also, you need to add the URL &#8220;http:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json&#8221; in the preferences and install esp8266 platform (Open Boards Manager from Tools > Board menu).<\/p>\n\n\n\n<p>Don&#8217;t forget to select the ESP8266 board from Tools &gt; Board menu after the installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"354\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image-1-1024x354.png\" alt=\"\" class=\"wp-image-3187\" srcset=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image-1-1024x354.png 1024w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image-1-400x138.png 400w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image-1-768x265.png 768w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image-1-1536x531.png 1536w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image-1.png 1598w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>And voil\u00e0, your joke machine should be finished and will be showing first a setup and then a few seconds later the punchline.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/JHyrupvsM_kpmQu17UALApYiU0KHWiOXsB4HR1GhrPOzs4eWpJfUYfn8Bl8-JZdDd8p1c_N0bKBAbK5mdHIhSIdwNZxb2Z33pqHRTAckY2h5w-O2C8u1J3FFjK8Fqr5yORUrvkP-MOtuIqvxJppTAfbIcEW8kB3Uh0kOTA58HffHuMdOAABmZmuoipNEQiaPgQRUse9_HvGxXRIcgFY8yGfMHxnIol-US8eWIobUEskuppurj-8rvJqzuPb4dnG_o-DuxFl-WHz0SSZ535txmwffrNbhjrKa_NhcFdUWX3X3qeLE_pSbqMWl5RDreDMcxwojHBcCwKO8AVSot4bHmG6_nZdYiQHm61DTw3TCqNz4Sl4WelEVZaXheUyDbctUD6IPBbxMYPFRIPjBt1mKjidPrJR-n-HGnG2lW-B5jaIvgR8IVtXCBEQFnCJCV6D052Vymaf3N9Uxaofflo3OwaveZIQ9Gpn5mZko171HTyk4K7a146dHSqmg1iy_OWy5l2EE2SPvApKEnSQgb1tXQND46A1bHSothU1Lsouy2_K9nSkD09ZE9aAtvWBlLcPBgBJi0IJqu6hA7Z1n7byTgxYj-FN5BK-NwvsIcXelzH6e4H7PhGTunBmjrCY1Uvl86J4tCpAZ8MoJkxn0pcXohYSyRP4Q6bejywmNtKjDap6Kbl40Wv3__XKO48hvTg=w1298-h1730-no?authuser=0\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">I had a few ESP8266&#8217;s lying around and some OLED Displays and wanted to do a project with them. So, I decided to put a joke API (http:\/\/official-joke-api.appspot.com) I discovered earlier to use. Wire up your display to the ESP8266 according to the following schematics: Then add the following code to your ESP8266 with the Arduino Application. You need to &#8230; <a class=\"read-more\" href=\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":3185,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[45],"tags":[],"class_list":["post-3183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Building a joke machine with an ESP8266 - Robin Glauser<\/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:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Building a joke machine with an ESP8266 - Robin Glauser\" \/>\n<meta property=\"og:description\" content=\"I had a few ESP8266&#8217;s lying around and some OLED Displays and wanted to do a project with them. So, I decided to put a joke API (http:\/\/official-joke-api.appspot.com) I discovered earlier to use. Wire up your display to the ESP8266 according to the following schematics: Then add the following code to your ESP8266 with the Arduino Application. You need to ... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/\" \/>\n<meta property=\"og:site_name\" content=\"Robin Glauser\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-29T17:18:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-29T17:19:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image-1024x450.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Robin Glauser\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@robinglauser\" \/>\n<meta name=\"twitter:site\" content=\"@robinglauser\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Robin Glauser\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/\"},\"author\":{\"name\":\"Robin Glauser\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19\"},\"headline\":\"Building a joke machine with an ESP8266\",\"datePublished\":\"2020-12-29T17:18:09+00:00\",\"dateModified\":\"2020-12-29T17:19:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/\"},\"wordCount\":182,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19\"},\"image\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image.png\",\"articleSection\":[\"Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/\",\"url\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/\",\"name\":\"Building a joke machine with an ESP8266 - Robin Glauser\",\"isPartOf\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image.png\",\"datePublished\":\"2020-12-29T17:18:09+00:00\",\"dateModified\":\"2020-12-29T17:19:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#primaryimage\",\"url\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image.png\",\"contentUrl\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image.png\",\"width\":2006,\"height\":882},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.robinglauser.ch\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Building a joke machine with an ESP8266\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#website\",\"url\":\"https:\/\/www.robinglauser.ch\/blog\/\",\"name\":\"Robin Glauser\",\"description\":\"My Blog about Development, Design and my random thoughts.\",\"publisher\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.robinglauser.ch\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19\",\"name\":\"Robin Glauser\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg\",\"url\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg\",\"contentUrl\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg\",\"width\":800,\"height\":530,\"caption\":\"Robin Glauser\"},\"logo\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg\"},\"description\":\"I'm a web developer.\",\"sameAs\":[\"https:\/\/www.robinglauser.ch\",\"https:\/\/www.instagram.com\/robinglauser\/\",\"https:\/\/x.com\/robinglauser\"],\"url\":\"https:\/\/www.robinglauser.ch\/blog\/author\/robin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Building a joke machine with an ESP8266 - Robin Glauser","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:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/","og_locale":"en_US","og_type":"article","og_title":"Building a joke machine with an ESP8266 - Robin Glauser","og_description":"I had a few ESP8266&#8217;s lying around and some OLED Displays and wanted to do a project with them. So, I decided to put a joke API (http:\/\/official-joke-api.appspot.com) I discovered earlier to use. Wire up your display to the ESP8266 according to the following schematics: Then add the following code to your ESP8266 with the Arduino Application. You need to ... Read More","og_url":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/","og_site_name":"Robin Glauser","article_published_time":"2020-12-29T17:18:09+00:00","article_modified_time":"2020-12-29T17:19:59+00:00","og_image":[{"width":1024,"height":450,"url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image-1024x450.png","type":"image\/png"}],"author":"Robin Glauser","twitter_card":"summary_large_image","twitter_creator":"@robinglauser","twitter_site":"@robinglauser","twitter_misc":{"Written by":"Robin Glauser","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#article","isPartOf":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/"},"author":{"name":"Robin Glauser","@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"headline":"Building a joke machine with an ESP8266","datePublished":"2020-12-29T17:18:09+00:00","dateModified":"2020-12-29T17:19:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/"},"wordCount":182,"commentCount":0,"publisher":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"image":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image.png","articleSection":["Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/","url":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/","name":"Building a joke machine with an ESP8266 - Robin Glauser","isPartOf":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#primaryimage"},"image":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image.png","datePublished":"2020-12-29T17:18:09+00:00","dateModified":"2020-12-29T17:19:59+00:00","breadcrumb":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#primaryimage","url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image.png","contentUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2020\/12\/image.png","width":2006,"height":882},{"@type":"BreadcrumbList","@id":"https:\/\/www.robinglauser.ch\/blog\/2020\/12\/29\/building-a-joke-machine-with-an-esp8266\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.robinglauser.ch\/blog\/"},{"@type":"ListItem","position":2,"name":"Building a joke machine with an ESP8266"}]},{"@type":"WebSite","@id":"https:\/\/www.robinglauser.ch\/blog\/#website","url":"https:\/\/www.robinglauser.ch\/blog\/","name":"Robin Glauser","description":"My Blog about Development, Design and my random thoughts.","publisher":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.robinglauser.ch\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19","name":"Robin Glauser","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","contentUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","width":800,"height":530,"caption":"Robin Glauser"},"logo":{"@id":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg"},"description":"I'm a web developer.","sameAs":["https:\/\/www.robinglauser.ch","https:\/\/www.instagram.com\/robinglauser\/","https:\/\/x.com\/robinglauser"],"url":"https:\/\/www.robinglauser.ch\/blog\/author\/robin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/comments?post=3183"}],"version-history":[{"count":6,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3183\/revisions"}],"predecessor-version":[{"id":3191,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3183\/revisions\/3191"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/media\/3185"}],"wp:attachment":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/media?parent=3183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/categories?post=3183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/tags?post=3183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}