{"id":264,"date":"2019-12-03T10:38:00","date_gmt":"2019-12-03T10:38:00","guid":{"rendered":"https:\/\/starthardware.org\/en\/?p=264"},"modified":"2020-01-06T12:14:28","modified_gmt":"2020-01-06T12:14:28","slug":"interactive-christmas-decoration-part-4-server-led-rgb","status":"publish","type":"post","link":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/","title":{"rendered":"Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB"},"content":{"rendered":"\n<p>Now, it is time to upgrade our project a little bit. In order to show different colors we are going to use a RGB-LED.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-thumbnail\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/rgb-led-common-cathode-150x150.gif\" alt=\"RGB LED common cathode\" class=\"wp-image-265\" srcset=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/rgb-led-common-cathode-150x150.gif 150w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/rgb-led-common-cathode-298x300.gif 298w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/figure><\/div>\n\n\n\n<p>A RGB-LED is a basically a LED with three LEDs build in. It usually comes with four legs. One is shared by all three LEDs. There are common cathode and common anode types. In this example we will use a common cathode RGB-LED. This means all three colors share the common leg \u2013 the cathode \u2013 which needs to be connected to the GND. The remaining legs are for each of the three colors: red, green, blue.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"460\" src=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/arduino-circuit-rgb-led-server-node-mcu-1024x460.jpg\" alt=\"\" class=\"wp-image-267\" srcset=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/arduino-circuit-rgb-led-server-node-mcu-1024x460.jpg 1024w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/arduino-circuit-rgb-led-server-node-mcu-300x135.jpg 300w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/arduino-circuit-rgb-led-server-node-mcu-768x345.jpg 768w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/arduino-circuit-rgb-led-server-node-mcu.jpg 1443w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The common cathode of the RGB-LED is connected to the GND, the other three legs are connected to the pins D2, D5 and D6. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Code<\/h2>\n\n\n\n<p>The code is extending our recent example: <a href=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-3-server-and-led\/\">Interactive Christmas Decoration \u2013 Part 3: Server and LED<\/a><\/p>\n\n\n\n<p>The handleArgs()-Methode is now listening for three more arguments: d2pin, d5pin and d6 pin. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nvoid handleArgs() { \n  if (server.arg(\"d2pin\")!= \"\"){             \/\/ if specific argument is not empty\n    d2state = server.arg(\"d2pin\").toInt();   \/\/ set d2 pin to received argument\n  }\n  if (server.arg(\"d5pin\")!= \"\"){             \/\/ if specific argument is not empty\n    d5state = server.arg(\"d5pin\").toInt();   \/\/ set d5 pin to received argument\n    Serial.println(d5state);\n  }\n  if (server.arg(\"d6pin\")!= \"\"){             \/\/ if specific argument is not empty\n    d6state = server.arg(\"d6pin\").toInt();   \/\/ set d6 pin to received argument\n  }\n  if (server.arg(\"d7pin\")!= \"\"){             \/\/ if specific argument is not empty\n    d7state = server.arg(\"d7pin\").toInt();   \/\/ set d7 pin to received argument\n  }\n  \n  the_webpage();                             \/\/ deliver webpage\n}<\/code><\/pre>\n\n\n\n<p>We are using the analog output (<em>analogWrite<\/em>) what accepts values from 0 to 255 compared to the digital output (<em>digitalWrite<\/em>) what only can be switched on or off. <\/p>\n\n\n\n<p>Get the complete code here:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;ESP8266WiFi.h>\n#include &lt;ESP8266WebServer.h>\n\nconst char* ssid  = \"XXXXXXXX\";        \/\/ Wifi name (SSID)\nconst char* password = \"XXXXXXXX\";  \/\/ Wifi password\n\nESP8266WebServer server(80);    \/\/ Server port\nString Temp = \"\";\n\nint d2pin = 4;   \/\/ RGB LED - Red\nint d2state = 255;\n\nint d5pin = 14;   \/\/ RGB LED - Green\nint d5state = 255;\n\nint d6pin = 12;   \/\/ RGB LED - Blue\nint d6state = 255;\n\nint d7pin = D7;\nint d7state = 0;\n\n\n\/* ***** ***** ***** ***** HTML ***** ***** ***** ***** *\/\n\nconst char HTML_header[] PROGMEM = R\"=====(\n&lt;!DOCTYPE html>\n&lt;html>\n\n&lt;head>\n    &lt;meta content=\"text\/html; charset=ISO-8859-1\" http-equiv=\"content-type\">\n    &lt;meta http-equiv=\"refresh\" content=\"5\">\n    &lt;title>WebSchalter&lt;\/title>\n&lt;\/head>\n\n&lt;style>\n    html {\n        background-color: grey;\n    }\n\n    body {\n        margin: auto;\n        \n        margin-top: 60px;\n    }\n\n    button {\n        height: 120px;\n        width: 100%;\n        font-size: 48px;\n        background-color: cornflowerblue;\n        border: none;\n        color: white;\n        margin-bottom: 10px;\n    }\n    \n    button:active {\n        background-color: darkturquoise;\n        color: white;\n        border: none;\n    }\n    \n    button.on{\n        background-color: red;\n    }\n\n    a {\n        text-decoration: none;\n    }\n\n    \n    \n&lt;\/style>\n\n&lt;body>\n\n&lt;a href=\"\\args?d2pin=255&amp;d5pin=0&amp;d6pin=0\">&lt;button>RED&lt;\/button>&lt;\/a>\n&lt;a href=\"\\args?d2pin=0&amp;d5pin=255&amp;d6pin=0\">&lt;button>GREEN&lt;\/button>&lt;\/a>\n&lt;a href=\"\\args?d2pin=0&amp;d5pin=0&amp;d6pin=255\">&lt;button>BLUE&lt;\/button>&lt;\/a>\n\n)=====\";\n\nString HTML_d7_off = \"&lt;a href=\\\"\/args?d7pin=1\\\">&lt;button>d7 - LED&lt;\/button>&lt;\/a>\";\nString HTML_d7_on = \"&lt;a href=\\\"\/args?d7pin=0\\\">&lt;button class=\\\"on\\\">d7 - LED&lt;\/button>&lt;\/a>\";\n\nconst char HTML_footer[] PROGMEM = R\"=====(\n&lt;\/body>\n&lt;\/html>\n)=====\";\n\n\/* ***** ***** ***** ***** Setup ***** ***** ***** ***** *\/\nvoid setup()\n{\n  pinMode(d2pin , OUTPUT);                  \/\/ D2 set as Output\n  pinMode(d5pin , OUTPUT);                  \/\/ D5 set as Output\n  pinMode(d6pin , OUTPUT);                  \/\/ D6 set as Output\n  pinMode(d7pin , OUTPUT);                  \/\/ D7 set as Output\n  Serial.begin(115200);                     \/\/ start serial communication\n  connectToWifi();                          \/\/ start wifi\n}\n\n\/* ***** Webpage: executed when \"http:\/\/&lt;ip address>\/\" is called ***** *\/\n\nvoid the_webpage() {\n  Temp = HTML_header;                        \/\/ top part of the html\n  \n  if (d7state == 1) {                        \/\/ d7 part of html page \u2013 the html code for a button\n    Temp += HTML_d7_on;\n  } else {\n    Temp += HTML_d7_off;\n  }\n  \n  Temp += HTML_footer;                       \/\/ bottom part of the html page\n  server.send(200, \"text\/html\", Temp);       \/\/ serving the html page\n}\n\n\/* ***** ***** ***** ***** Event Functions ***** ***** ***** ***** *\/\n\nvoid handleArgs() { \n  if (server.arg(\"d2pin\")!= \"\"){             \/\/ if specific argument is not empty\n    d2state = server.arg(\"d2pin\").toInt();   \/\/ set d2 pin to received argument\n  }\n  if (server.arg(\"d5pin\")!= \"\"){             \/\/ if specific argument is not empty\n    d5state = server.arg(\"d5pin\").toInt();   \/\/ set d5 pin to received argument\n    Serial.println(d5state);\n  }\n  if (server.arg(\"d6pin\")!= \"\"){             \/\/ if specific argument is not empty\n    d6state = server.arg(\"d6pin\").toInt();   \/\/ set d6 pin to received argument\n  }\n  if (server.arg(\"d7pin\")!= \"\"){             \/\/ if specific argument is not empty\n    d7state = server.arg(\"d7pin\").toInt();   \/\/ set d7 pin to received argument\n  }\n  \n  the_webpage();                             \/\/ deliver webpage\n}\n\n\/* ***** ***** ***** Wifi Functions ***** ***** ***** *\/\n\nvoid showStates(){                           \/\/ map all states to pins\n  digitalWrite(d7pin, d7state);              \/\/ LED\n  analogWrite(d2pin, d2state);               \/\/ RGB LED red\n  analogWrite(d5pin, d5state);               \/\/ RGB LED green\n  analogWrite(d6pin, d6state);               \/\/ RGB LED blue\n}\n\n\/* ***** ***** ***** ***** Loop ***** ***** ***** ***** *\/\n\nvoid loop() {\n  server.handleClient();                     \/\/ update function for server\n  showStates();                              \/\/ map states to pins\n  delay(10);                                 \/\/ some time to process\n}\n\n\/* ***** ***** ***** Wifi Functions ***** ***** ***** *\/\n\nvoid connectToWifi() {  \n  Serial.println();\n  Serial.print(\"Connect to\"); Serial.println(ssid);   \n  WiFi.begin(ssid, password);\n  \n  while (WiFi.status() != WL_CONNECTED) {\n    delay(500);\n    Serial.print(\".\");             \n  }\n\n  Serial.println(\"\");\n  Serial.println(\"Wifi connected\");\n  Serial.println (\"Webserver running, waiting for ESP8266 ...\");\n\n  delay(2000);\n  Serial.println();\n  Serial.println(\"IP addresse of the web server is: \");\n  Serial.println(WiFi.localIP());   \/\/ output the ip\n  server.on(\"\/\", the_webpage);      \/\/ show website on root call \n  server.on(\"\/args\", handleArgs);   \/\/ associate the handler function to the path\n\n  server.begin();                   \/\/ start the server\n  Serial.println (\"Webserver running, waiting for ESP8266 ...\");\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The Complete Tutorial<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-1\/\">Interactive Christmas Decoration \u2013 Part 1: Preparation<\/a><\/li><li><a href=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-2\/\">Interactive Christmas Decoration \u2013 Part 2: Make it blink<\/a><\/li><li><a href=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-3-server-and-led\/\">Interactive Christmas Decoration \u2013 Part 3: Server and LED<\/a><\/li><li><a href=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/\">Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB<\/a><\/li><li><a href=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/\">Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR<\/a><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Dieser Beitrag ist auch auf Deutsch verf\u00fcgbar: <a href=\"https:\/\/starthardware.org\/workshop-interaktive-weihnachtsdekoration-teil-4-server-led-rgb\/\">Workshop: Interaktive Weihnachtsdekoration Teil 4 \u2013 Server, LED, RGB<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now, it is time to upgrade our project a little bit. In order to show different colors we are going to use a RGB-LED. A RGB-LED is a basically a LED with three LEDs build in. It usually comes with four legs. One is shared by all three LEDs. There are common cathode and common&hellip;&nbsp;<a href=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-264","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-projects"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB - StartHardware - Tutorials for Arduino<\/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:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB - StartHardware - Tutorials for Arduino\" \/>\n<meta property=\"og:description\" content=\"Now, it is time to upgrade our project a little bit. In order to show different colors we are going to use a RGB-LED. A RGB-LED is a basically a LED with three LEDs build in. It usually comes with four legs. One is shared by all three LEDs. There are common cathode and common&hellip;&nbsp;Read More &raquo;Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB\" \/>\n<meta property=\"og:url\" content=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/\" \/>\n<meta property=\"og:site_name\" content=\"StartHardware - Tutorials for Arduino\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-03T10:38:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-06T12:14:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part4-RGB-LED.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"678\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Stefan Hermann\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/starthardware.org\/en\/#website\",\"url\":\"https:\/\/starthardware.org\/en\/\",\"name\":\"StartHardware - Tutorials for Arduino\",\"description\":\"Arduino, Electronics, Fun\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/starthardware.org\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part4-RGB-LED.jpg\",\"contentUrl\":\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part4-RGB-LED.jpg\",\"width\":1200,\"height\":678,\"caption\":\"Interactive Christmas Decoration with RGB LED and Server function\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#webpage\",\"url\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/\",\"name\":\"Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB - StartHardware - Tutorials for Arduino\",\"isPartOf\":{\"@id\":\"https:\/\/starthardware.org\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#primaryimage\"},\"datePublished\":\"2019-12-03T10:38:00+00:00\",\"dateModified\":\"2020-01-06T12:14:28+00:00\",\"author\":{\"@id\":\"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59\"},\"breadcrumb\":{\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/starthardware.org\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59\",\"name\":\"Stefan Hermann\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/starthardware.org\/en\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5b5a74ee1d07024fd1eff9b1f7137108089169010a93afaee907b9325ee579a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5b5a74ee1d07024fd1eff9b1f7137108089169010a93afaee907b9325ee579a6?s=96&d=mm&r=g\",\"caption\":\"Stefan Hermann\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB - StartHardware - Tutorials for Arduino","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:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/","og_locale":"en_US","og_type":"article","og_title":"Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB - StartHardware - Tutorials for Arduino","og_description":"Now, it is time to upgrade our project a little bit. In order to show different colors we are going to use a RGB-LED. A RGB-LED is a basically a LED with three LEDs build in. It usually comes with four legs. One is shared by all three LEDs. There are common cathode and common&hellip;&nbsp;Read More &raquo;Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB","og_url":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/","og_site_name":"StartHardware - Tutorials for Arduino","article_published_time":"2019-12-03T10:38:00+00:00","article_modified_time":"2020-01-06T12:14:28+00:00","og_image":[{"width":1200,"height":678,"url":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part4-RGB-LED.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Stefan Hermann","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/starthardware.org\/en\/#website","url":"https:\/\/starthardware.org\/en\/","name":"StartHardware - Tutorials for Arduino","description":"Arduino, Electronics, Fun","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/starthardware.org\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#primaryimage","inLanguage":"en-US","url":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part4-RGB-LED.jpg","contentUrl":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part4-RGB-LED.jpg","width":1200,"height":678,"caption":"Interactive Christmas Decoration with RGB LED and Server function"},{"@type":"WebPage","@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#webpage","url":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/","name":"Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB - StartHardware - Tutorials for Arduino","isPartOf":{"@id":"https:\/\/starthardware.org\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#primaryimage"},"datePublished":"2019-12-03T10:38:00+00:00","dateModified":"2020-01-06T12:14:28+00:00","author":{"@id":"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59"},"breadcrumb":{"@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-4-server-led-rgb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/starthardware.org\/en\/"},{"@type":"ListItem","position":2,"name":"Interactive Christmas Decoration \u2013 Part 4: Server, LED, RGB"}]},{"@type":"Person","@id":"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59","name":"Stefan Hermann","image":{"@type":"ImageObject","@id":"https:\/\/starthardware.org\/en\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/5b5a74ee1d07024fd1eff9b1f7137108089169010a93afaee907b9325ee579a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5b5a74ee1d07024fd1eff9b1f7137108089169010a93afaee907b9325ee579a6?s=96&d=mm&r=g","caption":"Stefan Hermann"}}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts\/264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/comments?post=264"}],"version-history":[{"count":6,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts\/264\/revisions"}],"predecessor-version":[{"id":293,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts\/264\/revisions\/293"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/media\/268"}],"wp:attachment":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/categories?post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/tags?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}