{"id":2595,"date":"2018-12-24T00:00:55","date_gmt":"2018-12-23T23:00:55","guid":{"rendered":"https:\/\/iot.fkainka.de\/?p=2595"},"modified":"2018-11-21T17:24:53","modified_gmt":"2018-11-21T16:24:53","slug":"day24-2018","status":"publish","type":"post","link":"https:\/\/iot.fkainka.de\/en\/day24-2018","title":{"rendered":"Day 24: Christmas Tree Lighting"},"content":{"rendered":"<p>Last but not least, you will find another programmable RGB-LED behind the door of the Advent calendar. Thus, we have two LEDs which you can interconnect to light your Christmas tree. We will need the following setup today.<\/p>\n<div id=\"attachment_2596\" style=\"width: 456px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day24_2RGB_Steckplatine.png\"><img aria-describedby=\"caption-attachment-2596\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-2596\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day24_2RGB_Steckplatine-748x1024.png\" alt=\"Der Aufbau des Weihnachtsbaumlichts. Die langen Beinchen der LEDs befinden sich rechts\" width=\"446\" height=\"610\" data-id=\"2596\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day24_2RGB_Steckplatine-748x1024.png 748w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day24_2RGB_Steckplatine-219x300.png 219w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day24_2RGB_Steckplatine-768x1051.png 768w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day24_2RGB_Steckplatine.png 879w\" sizes=\"(max-width: 446px) 100vw, 446px\" \/><\/a><p id=\"caption-attachment-2596\" class=\"wp-caption-text\">Setup of the Christmas tree light. The longer legs of the LEDs are on the right<\/p><\/div>\n<p>Activate the program and import the flow of today. Disable all previous flows and change the broadcast IP of the UDP node, if necessary.<\/p>\n<div id=\"attachment_2597\" style=\"width: 657px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24Flow.png\"><img aria-describedby=\"caption-attachment-2597\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-2597\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24Flow.png\" alt=\"Der letzte Flow des Adventskalenders\" width=\"647\" height=\"233\" data-id=\"2597\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24Flow.png 846w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24Flow-300x108.png 300w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24Flow-768x277.png 768w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/a><p id=\"caption-attachment-2597\" class=\"wp-caption-text\">The last Advent calendar flow<\/p><\/div>\n<p><iframe style=\"border: none; width: 100%;\" src=\"https:\/\/pastebin.com\/embed_iframe\/wrzAGTpR\"><\/iframe><\/p>\n<p>The flow contains some user interface elements, among them two colour pickers to control the two LEDs. But there are two more elements, a switch and an element for setting a number. If you press the button, you will see how the two-colour picker elements change. The circle that displays the current colour value is constantly moving in a circle. Likewise, the colours of the two LEDs on the NodeESP board are changing too. You have also the option to change the fade-speed time and thus, the changes become either lower or faster. On top of that is the option to change the colour of an LED during fading. The flow then continues from the new point. Overall this is a cute lighting idea for your Christmas tree. On that note, I wish you all a Merry Christmas.<\/p>\n<div id=\"attachment_2598\" style=\"width: 289px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24UI.png\"><img aria-describedby=\"caption-attachment-2598\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2598\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24UI.png\" alt=\"Das Userinterface mit den beiden Color-Pickern\" width=\"279\" height=\"471\" data-id=\"2598\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24UI.png 279w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24UI-178x300.png 178w\" sizes=\"(max-width: 279px) 100vw, 279px\" \/><\/a><p id=\"caption-attachment-2598\" class=\"wp-caption-text\">User interface with the two-colour pickers<\/p><\/div>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Last but not least, you will find another programmable RGB-LED behind the door of the Advent calendar. Thus, we have two LEDs which you can interconnect to light your Christmas tree. We will need the following setup today. Activate the&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/iot.fkainka.de\/en\/day24-2018\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":2598,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[315,312,313],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Day 24: Christmas Tree Lighting - Internet of Things with the NanoESP<\/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:\/\/iot.fkainka.de\/day24-2018\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Day 24: Christmas Tree Lighting - Internet of Things with the NanoESP\" \/>\n<meta property=\"og:description\" content=\"Last but not least, you will find another programmable RGB-LED behind the door of the Advent calendar. Thus, we have two LEDs which you can interconnect to light your Christmas tree. We will need the following setup today. Activate the...Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iot.fkainka.de\/day24-2018\" \/>\n<meta property=\"og:site_name\" content=\"Internet of Things with the NanoESP\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-23T23:00:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-21T16:24:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24UI.png\" \/>\n\t<meta property=\"og:image:width\" content=\"279\" \/>\n\t<meta property=\"og:image:height\" content=\"471\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"fk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"fk\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iot.fkainka.de\/day24-2018\",\"url\":\"https:\/\/iot.fkainka.de\/day24-2018\",\"name\":\"Day 24: Christmas Tree Lighting - Internet of Things with the NanoESP\",\"isPartOf\":{\"@id\":\"https:\/\/iot.fkainka.de\/#website\"},\"datePublished\":\"2018-12-23T23:00:55+00:00\",\"dateModified\":\"2018-11-21T16:24:53+00:00\",\"author\":{\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a\"},\"breadcrumb\":{\"@id\":\"https:\/\/iot.fkainka.de\/day24-2018#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iot.fkainka.de\/day24-2018\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iot.fkainka.de\/day24-2018#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/iot.fkainka.de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tag 24: Tannenbaumbeleuchtung\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/iot.fkainka.de\/#website\",\"url\":\"https:\/\/iot.fkainka.de\/\",\"name\":\"Internet of Things with the NanoESP\",\"description\":\"The webpage for the Arduino compatible WiFi-Board\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/iot.fkainka.de\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a\",\"name\":\"fk\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/141cf958a831e66efabf9674e117e8d9?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/141cf958a831e66efabf9674e117e8d9?s=96&d=identicon&r=g\",\"caption\":\"fk\"},\"url\":\"https:\/\/iot.fkainka.de\/en\/author\/fk\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Day 24: Christmas Tree Lighting - Internet of Things with the NanoESP","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:\/\/iot.fkainka.de\/day24-2018","og_locale":"en_US","og_type":"article","og_title":"Day 24: Christmas Tree Lighting - Internet of Things with the NanoESP","og_description":"Last but not least, you will find another programmable RGB-LED behind the door of the Advent calendar. Thus, we have two LEDs which you can interconnect to light your Christmas tree. We will need the following setup today. Activate the...Read more","og_url":"https:\/\/iot.fkainka.de\/day24-2018","og_site_name":"Internet of Things with the NanoESP","article_published_time":"2018-12-23T23:00:55+00:00","article_modified_time":"2018-11-21T16:24:53+00:00","og_image":[{"width":279,"height":471,"url":"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24UI.png","type":"image\/png"}],"author":"fk","twitter_card":"summary_large_image","twitter_misc":{"Written by":"fk","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/iot.fkainka.de\/day24-2018","url":"https:\/\/iot.fkainka.de\/day24-2018","name":"Day 24: Christmas Tree Lighting - Internet of Things with the NanoESP","isPartOf":{"@id":"https:\/\/iot.fkainka.de\/#website"},"datePublished":"2018-12-23T23:00:55+00:00","dateModified":"2018-11-21T16:24:53+00:00","author":{"@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a"},"breadcrumb":{"@id":"https:\/\/iot.fkainka.de\/day24-2018#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iot.fkainka.de\/day24-2018"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iot.fkainka.de\/day24-2018#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/iot.fkainka.de\/"},{"@type":"ListItem","position":2,"name":"Tag 24: Tannenbaumbeleuchtung"}]},{"@type":"WebSite","@id":"https:\/\/iot.fkainka.de\/#website","url":"https:\/\/iot.fkainka.de\/","name":"Internet of Things with the NanoESP","description":"The webpage for the Arduino compatible WiFi-Board","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/iot.fkainka.de\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a","name":"fk","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/141cf958a831e66efabf9674e117e8d9?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/141cf958a831e66efabf9674e117e8d9?s=96&d=identicon&r=g","caption":"fk"},"url":"https:\/\/iot.fkainka.de\/en\/author\/fk"}]}},"jetpack_featured_media_url":"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T24UI.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6McI0-FR","_links":{"self":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2595"}],"collection":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/comments?post=2595"}],"version-history":[{"count":4,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2595\/revisions"}],"predecessor-version":[{"id":2602,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2595\/revisions\/2602"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media\/2598"}],"wp:attachment":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media?parent=2595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/categories?post=2595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/tags?post=2595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}