{"id":271,"date":"2019-12-03T11:14:01","date_gmt":"2019-12-03T11:14:01","guid":{"rendered":"https:\/\/starthardware.org\/en\/?p=271"},"modified":"2020-02-27T20:11:45","modified_gmt":"2020-02-27T20:11:45","slug":"interactive-christmas-decoration-part-5-analog-input-with-ldr","status":"publish","type":"post","link":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/","title":{"rendered":"Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR"},"content":{"rendered":"\n<p>In the previous chapters we covered the output variants of the NodeMCU, now lets get a value back from it. We are using the LDR what stands for light dependant resistor. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit<\/h2>\n\n\n\n<p>Extend the circuit with the LDR and a resistor of 100kOhm (brown-black-yellow). It is a series circuit going from GND to the resistor and from there through the LDR into the 3.3V+. It is called voltage divider. The junction of the resistor and LDR is connected to the analog input of the NodeMCU.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"510\" src=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/nodemcu-ldr-led-rgb-wifi-1024x510.jpg\" alt=\"NodeMCU circuit with led, ldr, rgb\" class=\"wp-image-310\" srcset=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/nodemcu-ldr-led-rgb-wifi-1024x510.jpg 1024w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/nodemcu-ldr-led-rgb-wifi-300x150.jpg 300w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/nodemcu-ldr-led-rgb-wifi-768x383.jpg 768w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/nodemcu-ldr-led-rgb-wifi.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Code<\/h2>\n\n\n\n<p>The code only extends the analog output by delivering a new element to the webpage. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;ESP8266WiFi.h>\n#include &lt;ESP8266WebServer.h>\n \nconst char* ssid  = \"IoTBerlin-Meetup\";        \/\/ Wifi name (SSID)\nconst char* password = \"s3mant1cs!\";  \/\/ Wifi password\n \nESP8266WebServer server(80);    \/\/ Server port\nString Temp = \"\";\n \nint d2pin = D2;   \/\/ 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 \nint analogPin = A0;\n \nString HTML_header = \"&lt;!DOCTYPE html>&lt;html>&lt;head>    &lt;meta content=\\\"text\/html; charset=ISO-8859-1\\\" http-equiv=\\\"content-type\\\">    &lt;meta http-equiv=\\\"refresh\\\" content=\\\"5\\\">    &lt;title>WebSchalter&lt;\/title>&lt;\/head>&lt;style>    html {        background-color: grey;    }    body {        margin: auto;                margin-top: 60px;    }    button {        height: 120px;        width: 100%;        font-size: 48px;        background-color: cornflowerblue;        border: none;        color: white;        margin-bottom: 10px;    }        button:active {        background-color: darkturquoise;        color: white;        border: none;    }        button.on{        background-color: red;    }    a {        text-decoration: none;    }        &lt;\/style>&lt;body>&lt;a href=\\\"\/args?d2pin=255&amp;d5pin=0&amp;d6pin=0\\\">&lt;button>RED&lt;\/button>&lt;\/a>&lt;a href=\\\"\/args?d2pin=0&amp;d5pin=255&amp;d6pin=0\\\">&lt;button>GREEN&lt;\/button>&lt;\/a>&lt;a href=\\\"\/args?d2pin=0&amp;d5pin=0&amp;d6pin=255\\\">&lt;button>BLUE&lt;\/button>&lt;\/a>\";\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 \nString HTML_footer = \"&lt;\/body>&lt;\/html>\";\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 += \"&lt;button>LDR: \";\n  Temp += analogRead(analogPin);             \/\/ putting out the analog value\n  Temp += \"&lt;\/button>\";\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 \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 \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  server.begin();                   \/\/ start the server\n  Serial.println (\"Webserver running, waiting for ESP8266 ...\");\n}<\/code><\/pre>\n\n\n\n<p>Now, you can use the value to influence the behaviour of your Christmas decoration and of course you should now build come cool things from it. Christmas stars, disco balls \u2013 what ever you can imagine. Have fun with it!<\/p>\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-5-analoger-input-mit-ldr\/\">Workshop: Interaktive Weihnachtsdekoration Teil 5 \u2013 Analoger Input mit LDR<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the previous chapters we covered the output variants of the NodeMCU, now lets get a value back from it. We are using the LDR what stands for light dependant resistor. Circuit Extend the circuit with the LDR and a resistor of 100kOhm (brown-black-yellow). It is a series circuit going from GND to the resistor&hellip;&nbsp;<a href=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":273,"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-271","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 5: Analog Input with LDR - 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-5-analog-input-with-ldr\/\" \/>\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 5: Analog Input with LDR - StartHardware - Tutorials for Arduino\" \/>\n<meta property=\"og:description\" content=\"In the previous chapters we covered the output variants of the NodeMCU, now lets get a value back from it. We are using the LDR what stands for light dependant resistor. Circuit Extend the circuit with the LDR and a resistor of 100kOhm (brown-black-yellow). It is a series circuit going from GND to the resistor&hellip;&nbsp;Read More &raquo;Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR\" \/>\n<meta property=\"og:url\" content=\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/\" \/>\n<meta property=\"og:site_name\" content=\"StartHardware - Tutorials for Arduino\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-03T11:14:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-27T20:11:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part5-RGB-LED-LDR.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=\"4 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-5-analog-input-with-ldr\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part5-RGB-LED-LDR.jpg\",\"contentUrl\":\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part5-RGB-LED-LDR.jpg\",\"width\":1200,\"height\":678,\"caption\":\"Interactive Christmas decoration - rgb, led, ldr and server\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/#webpage\",\"url\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/\",\"name\":\"Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR - StartHardware - Tutorials for Arduino\",\"isPartOf\":{\"@id\":\"https:\/\/starthardware.org\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/#primaryimage\"},\"datePublished\":\"2019-12-03T11:14:01+00:00\",\"dateModified\":\"2020-02-27T20:11:45+00:00\",\"author\":{\"@id\":\"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59\"},\"breadcrumb\":{\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/starthardware.org\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR\"}]},{\"@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 5: Analog Input with LDR - 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-5-analog-input-with-ldr\/","og_locale":"en_US","og_type":"article","og_title":"Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR - StartHardware - Tutorials for Arduino","og_description":"In the previous chapters we covered the output variants of the NodeMCU, now lets get a value back from it. We are using the LDR what stands for light dependant resistor. Circuit Extend the circuit with the LDR and a resistor of 100kOhm (brown-black-yellow). It is a series circuit going from GND to the resistor&hellip;&nbsp;Read More &raquo;Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR","og_url":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/","og_site_name":"StartHardware - Tutorials for Arduino","article_published_time":"2019-12-03T11:14:01+00:00","article_modified_time":"2020-02-27T20:11:45+00:00","og_image":[{"width":1200,"height":678,"url":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part5-RGB-LED-LDR.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Stefan Hermann","Est. reading time":"4 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-5-analog-input-with-ldr\/#primaryimage","inLanguage":"en-US","url":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part5-RGB-LED-LDR.jpg","contentUrl":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/12\/InteractiveChristmasDecoration-Part5-RGB-LED-LDR.jpg","width":1200,"height":678,"caption":"Interactive Christmas decoration - rgb, led, ldr and server"},{"@type":"WebPage","@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/#webpage","url":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/","name":"Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR - StartHardware - Tutorials for Arduino","isPartOf":{"@id":"https:\/\/starthardware.org\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/#primaryimage"},"datePublished":"2019-12-03T11:14:01+00:00","dateModified":"2020-02-27T20:11:45+00:00","author":{"@id":"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59"},"breadcrumb":{"@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/starthardware.org\/en\/interactive-christmas-decoration-part-5-analog-input-with-ldr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/starthardware.org\/en\/"},{"@type":"ListItem","position":2,"name":"Interactive Christmas Decoration \u2013 Part 5: Analog Input with LDR"}]},{"@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\/271","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=271"}],"version-history":[{"count":10,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":378,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts\/271\/revisions\/378"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/media\/273"}],"wp:attachment":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}