{"id":1873,"date":"2014-01-20T16:59:08","date_gmt":"2014-01-20T16:59:08","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=1873"},"modified":"2020-03-05T01:07:28","modified_gmt":"2020-03-05T01:07:28","slug":"home-automation-server-project-example-tutorial","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/home-automation-server-project-example-tutorial\/","title":{"rendered":"Home Automation Server &#8211; Project Example Tutorial"},"content":{"rendered":"<p>In order to complete this tutorial you need to create your free account at <a title=\"Home Automation Server\" href=\"http:\/\/homeautomationserver.com\/register\" target=\"_blank\" rel=\"noopener noreferrer\">HomeAutomationServer.com<\/a>.<!--more--><\/p>\n<p><strong><em>HomeAutomationServer.com<\/em>&nbsp;has been discounted, please use the new version of this project:&nbsp;<a href=\"https:\/\/randomnerdtutorials.com\/control-esp32-esp8266-gpios-from-anywhere\/\">Control ESP8266 GPIOs from Anywhere in the World<\/a>.<\/strong><\/p>\n<p>What&#8217;s this all about?&nbsp;\u201cWe provide a free platform that allow you to control your home from anywhere in the world.\u201d<\/p>\n<p>After you create your account you can find a complete tutorial tutorial inside, but I&#8217;ve decided to post here a sneak peak!<\/p>\n<p>This tutorial example is something really easy that anyone can follow trough. This was the best example I could create to explain how this works. After you test this example you can create your own project with more advanced features. Just an idea, you can replace those LED&#8217;s for relays. And instead of controlling a simple LED you can control a 220V Lamp or your garage door. I&#8217;m currently working on those more advanced tutorials.<\/p>\n<h2>Parts Required<\/h2>\n<p style=\"text-align: center;\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-1877 aligncenter\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/parts.jpg?resize=491%2C366&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"parts\" width=\"491\" height=\"366\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/parts.jpg?resize=1024%2C764&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/parts.jpg?resize=300%2C224&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/parts.jpg?w=2400&amp;quality=100&amp;strip=all&amp;ssl=1 2400w\" sizes=\"(max-width: 491px) 100vw, 491px\" \/><\/p>\n<ul>\n<li><a href=\"https:\/\/makeradvisor.com\/best-arduino-starter-kits\/\">Arduino Board<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/ethernet-shield-w5100-arduino-shield\/\">Ethernet Shield W5100<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/3mm-5mm-leds-kit-storage-box\/\">5x LEDs<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/mb-102-solderless-breadboard-830-points\/\">1x Breadboard<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/resistors-kits\/\">5x 220 OHM Resistors<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/micro-servo-motor-tool\/\">2x Servos<\/a><\/li>\n<li>USB Webcam<\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/pan-and-tilt-2-servos\/\">Pan and tilt<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/jumper-wires-kit-120-pieces\/\">Jumper Wires<\/a><\/li>\n<li>Wall Charger is optional<\/li>\n<li>Ethernet Cable<\/li>\n<\/ul>\n<h2>Schematics &#8211; Example<\/h2>\n<p style=\"text-align: center;\">&nbsp;<a href=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/schematics_fri.jpg?quality=100&#038;strip=all&#038;ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter wp-image-1878\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/schematics_fri.jpg?resize=491%2C318&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"schematics_fri\" width=\"491\" height=\"318\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/schematics_fri.jpg?resize=1024%2C662&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/schematics_fri.jpg?resize=300%2C194&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 491px) 100vw, 491px\" \/><\/a><\/p>\n<h2>How to Insert your Webcam<\/h2>\n<p>Watch the video below to learn how to insert your webcam.<\/p>\n<p style=\"text-align:center\"><iframe width=\"720\" height=\"405\" src=\"https:\/\/www.youtube.com\/embed\/6xgjAN5xdOg?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p><a href=\"http:\/\/www.spreecast.com\/home\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to create your free account at Spreecast.com<\/a><\/p>\n<p>I&#8217;ve decided to hot glue my servos like that, this was a quick setup that I&#8217;ve made. But I encourage to get one pan and tilt and make something better. Keep in mind that you&#8217;ll need to change the servos positions in my code (variables: &#8220;bServo&#8221; and &#8220;tServo&#8221;).<\/p>\n<h2>Upload the Arduino Code below<\/h2>\n<p><a href=\"https:\/\/github.com\/RuiSantosdotme\/HomeAutomationServer\/blob\/master\/Arduino_with_ethernet_shield.ino\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to see this Arduino code above on Github.com<\/a><\/p>\n<p>(Don&#8217;t forget to change your unique &#8220;user_key&#8221; that we provide inside HomeAutomationServer.com)<\/p>\n<h2>Demonstration of this Example<\/h2>\n<p style=\"text-align:center\"><iframe width=\"720\" height=\"405\" src=\"https:\/\/www.youtube.com\/embed\/aukbWTl082Y?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p><strong>Read:<\/strong>&nbsp;<a href=\"https:\/\/randomnerdtutorials.com\/control-esp32-esp8266-gpios-from-anywhere\/\">Control ESP32 and ESP8266 GPIOs from Anywhere in the World<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to complete this tutorial you need to create your free account at HomeAutomationServer.com.<\/p>\n","protected":false},"author":1,"featured_media":1874,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[303,2,267,198,264,10,199],"tags":[],"class_list":["post-1873","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-0-arduino","category-arduino","category-arduino-project","category-home-automation-server","category-project","category-a-tutorials","category-h-tutorials"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/01\/IMG_0777.jpg?fit=2592%2C1936&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/1873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=1873"}],"version-history":[{"count":0,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/1873\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/1874"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=1873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=1873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=1873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}