{"id":254,"date":"2015-12-23T00:01:25","date_gmt":"2015-12-22T22:01:25","guid":{"rendered":"http:\/\/iot.fkainka.de\/?p=254"},"modified":"2018-10-24T16:04:07","modified_gmt":"2018-10-24T15:04:07","slug":"day-23","status":"publish","type":"post","link":"https:\/\/iot.fkainka.de\/en\/day-23","title":{"rendered":"Day 23: Cheerlights"},"content":{"rendered":"<p>Today&#8217;s experiment is based on a project by Hans Scharler that is called Cheerlights. The idea is globally linked lights that can be simultaneously controlled via Twitter commands. It is a good example of the world growing closer and closer together with the Internet.<\/p>\n<div id=\"attachment_255\" style=\"width: 626px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-1.jpg\"><img aria-describedby=\"caption-attachment-255\" decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-255\" src=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-1-1024x604.jpg\" alt=\"Die RGB-Led auf dem Steckboard an den Pins D3, D5 und D6\" width=\"616\" height=\"363\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-1-1024x604.jpg 1024w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-1-300x177.jpg 300w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-1-972x573.jpg 972w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-1.jpg 1107w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/a><p id=\"caption-attachment-255\" class=\"wp-caption-text\">The circuit is similar to previous projects<\/p><\/div>\n<p>Behind today&#8217;s door, you will find a fourth extension cable with which the RGB-LED can also be placed aside. This can be particularly practical if, for example, you want to hide the board in the Christmas tree while the RGB-LED decorates the top of the tree.<\/p>\n<p><strong>The program:\u00a0<a href=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/12\/Day23_CheerLights.zip\">Day23_CheerLights<\/a><\/strong><\/p>\n<p>For today&#8217;s program, you do not need to make any dedicated ThingSpeak changes. This project has a public channel that you can find under the link<\/p>\n<p><a href=\"https:\/\/thingspeak.com\/channels\/1417\">https:\/\/thingspeak.com\/channels\/1417<\/a><\/p>\n<div id=\"attachment_257\" style=\"width: 962px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-2.jpeg\"><img aria-describedby=\"caption-attachment-257\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-257\" src=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-2.jpeg\" alt=\"Die \u00f6ffentliche ThingSpeak Seite f\u00fcr das Cheerlights-Projekt\" width=\"952\" height=\"762\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-2.jpeg 952w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-2-300x240.jpeg 300w\" sizes=\"(max-width: 952px) 100vw, 952px\" \/><\/a><p id=\"caption-attachment-257\" class=\"wp-caption-text\">Preview of the Cheerlights project page<\/p><\/div>\n<p>On that page, you will also always find the current colour and further information on the project.<\/p>\n<p>The programme also needs the Crossfade-Library by Radek Wierzbicki (source: <a href=\"https:\/\/github.com\/radekw\/Arduino\/tree\/5f24ce7c8db9dfbb5252b59824c3217d851b3a3c\">https:\/\/github.com\/radekw\/Arduino\/tree\/5f24ce7c8db9dfbb5252b59824c3217d851b3a3c<\/a>). For practical reasons, a copy of the Library version used is enclosed in the sketch folder. It must be copied into the libraries folder of your sketchbook folder. The library permits quick and easy definition of colours and also ensures that the LEDs will slowly change to another colour (this is called fade).<\/p>\n<p>If you upload the program now, the current colour of the LED is displayed after a few seconds. You can now write a Twitter message and thus change your and also the colour of all other Cheerlights users. The message must contain a #Cheerlights, @Cheerlights or just the keyword Cheerlights and also have one of the pre-defined colours behind the keyword. The pre-defined colours include:<\/p>\n<p><strong>red, green, blue, cyan, white, warm white, purple, magenta, yellow, orange, pink<\/strong><\/p>\n<p>A possible tweet is:<\/p>\n<p><strong>Testing my #cheerlights project on my #NanoESP with the colour blue #ThingSpeak #IoT<\/strong><\/p>\n<p>or a similar message. This way, you can recolour the world.<\/p>","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s experiment is based on a project by Hans Scharler that is called Cheerlights. The idea is globally linked lights that can be simultaneously controlled via Twitter commands. It is a good example of the world growing closer and closer&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/iot.fkainka.de\/en\/day-23\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":257,"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":[3,26,311],"tags":[15,19,22,106],"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 23: Cheerlights - 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\/day-23\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Day 23: Cheerlights - Internet of Things with the NanoESP\" \/>\n<meta property=\"og:description\" content=\"Today&#8217;s experiment is based on a project by Hans Scharler that is called Cheerlights. The idea is globally linked lights that can be simultaneously controlled via Twitter commands. It is a good example of the world growing closer and closer...Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iot.fkainka.de\/day-23\" \/>\n<meta property=\"og:site_name\" content=\"Internet of Things with the NanoESP\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-22T22:01:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-24T15:04:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-2.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"952\" \/>\n\t<meta property=\"og:image:height\" content=\"762\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iot.fkainka.de\/day-23\",\"url\":\"https:\/\/iot.fkainka.de\/day-23\",\"name\":\"Day 23: Cheerlights - Internet of Things with the NanoESP\",\"isPartOf\":{\"@id\":\"https:\/\/iot.fkainka.de\/#website\"},\"datePublished\":\"2015-12-22T22:01:25+00:00\",\"dateModified\":\"2018-10-24T15:04:07+00:00\",\"author\":{\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a\"},\"breadcrumb\":{\"@id\":\"https:\/\/iot.fkainka.de\/day-23#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iot.fkainka.de\/day-23\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iot.fkainka.de\/day-23#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/iot.fkainka.de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tag 23: Cheerlights\"}]},{\"@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 23: Cheerlights - 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\/day-23","og_locale":"en_US","og_type":"article","og_title":"Day 23: Cheerlights - Internet of Things with the NanoESP","og_description":"Today&#8217;s experiment is based on a project by Hans Scharler that is called Cheerlights. The idea is globally linked lights that can be simultaneously controlled via Twitter commands. It is a good example of the world growing closer and closer...Read more","og_url":"https:\/\/iot.fkainka.de\/day-23","og_site_name":"Internet of Things with the NanoESP","article_published_time":"2015-12-22T22:01:25+00:00","article_modified_time":"2018-10-24T15:04:07+00:00","og_image":[{"width":952,"height":762,"url":"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2015\/09\/Day23-2.jpeg","type":"image\/jpeg"}],"author":"fk","twitter_card":"summary_large_image","twitter_misc":{"Written by":"fk","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/iot.fkainka.de\/day-23","url":"https:\/\/iot.fkainka.de\/day-23","name":"Day 23: Cheerlights - Internet of Things with the NanoESP","isPartOf":{"@id":"https:\/\/iot.fkainka.de\/#website"},"datePublished":"2015-12-22T22:01:25+00:00","dateModified":"2018-10-24T15:04:07+00:00","author":{"@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a"},"breadcrumb":{"@id":"https:\/\/iot.fkainka.de\/day-23#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iot.fkainka.de\/day-23"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iot.fkainka.de\/day-23#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/iot.fkainka.de\/"},{"@type":"ListItem","position":2,"name":"Tag 23: Cheerlights"}]},{"@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\/2015\/09\/Day23-2.jpeg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6McI0-46","_links":{"self":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/254"}],"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=254"}],"version-history":[{"count":7,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/254\/revisions"}],"predecessor-version":[{"id":609,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/254\/revisions\/609"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media\/257"}],"wp:attachment":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/categories?post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/tags?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}