{"id":11496,"date":"2020-10-19T13:31:21","date_gmt":"2020-10-19T11:31:21","guid":{"rendered":"https:\/\/www.codemotion.com\/magazine\/?p=11496"},"modified":"2023-04-04T16:01:59","modified_gmt":"2023-04-04T14:01:59","slug":"google-smart-home-api","status":"publish","type":"post","link":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/","title":{"rendered":"Get More Out of Your Smart Home with Google Home API"},"content":{"rendered":"\t\t\t\t<div class=\"wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-15473640      \"\n\t\t\t\t\tdata-scroll= \"1\"\n\t\t\t\t\tdata-offset= \"30\"\n\t\t\t\t\tstyle=\"\"\n\t\t\t\t>\n\t\t\t\t<div class=\"uagb-toc__wrap\">\n\t\t\t\t\t\t<div class=\"uagb-toc__title\">\n\t\t\t\t\t\t\tTable Of Contents\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"uagb-toc__list-wrap \">\n\t\t\t\t\t\t<ol class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#understanding-the-google-smart-home-api\" class=\"uagb-toc-link__trigger\">Understanding the Google Smart Home API<\/a><li class=\"uagb-toc__list\"><a href=\"#smart-home-api-standard-devices-and-traits\" class=\"uagb-toc-link__trigger\">Smart Home API: Standard devices and traits<\/a><li class=\"uagb-toc__list\"><a href=\"#home-graph\" class=\"uagb-toc-link__trigger\">Home Graph<\/a><li class=\"uagb-toc__list\"><a href=\"#smart-home-provider-ui-components\" class=\"uagb-toc-link__trigger\">Smart home provider UI components<\/a><li class=\"uagb-toc__list\"><a href=\"#voice-user-interface-platform-for-the-google-assistant\" class=\"uagb-toc-link__trigger\">Voice User Interface platform for the Google Assistant<\/a><li class=\"uagb-toc__list\"><a href=\"#looking-for-more-iot-tutorials\" class=\"uagb-toc-link__trigger\">Looking for more IoT tutorials?<\/a><li class=\"uagb-toc__list\"><a href=\"#want-to-launch-a-developer-event-despite-the-challenges-of-covid-19\" class=\"uagb-toc-link__trigger\">Want to launch a developer event despite the challenges of  COVID-19?<\/a><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\n<p class=\"eplus-rdGh5m\"><strong><span id=\"urn:enhancement-9ee4289a\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/internet_of_things\">IoT<\/span><\/strong> is a great opportunity for <span id=\"urn:enhancement-8320c335\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/software_developer\">developers<\/span> and <span id=\"urn:enhancement-2f298f04\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/home_automation\">smart home<\/span> passionates, wanting to learn how to use <span id=\"urn:enhancement-9681ae6b\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/electronics\">electronics<\/span> in a hands-on way. According to <a href=\"https:\/\/www.codemotion.com\/magazine\/articles\/events\/iot-future-careers\/\" class=\"ek-link\">IoT<\/a> enthusiast Orestes Carracedo:  \u201cIf you&#8217;re a <span id=\"urn:enhancement-e46f806d\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/creativity\">creative<\/span> <span id=\"urn:enhancement-e33f1f1c\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/software_developer\">developer<\/span> or a <span id=\"urn:enhancement-363f89f2\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/creativity\">creative<\/span> person you can do whatever you want to do with <strong><span id=\"urn:enhancement-6c4f0153\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/electronics\">electronics<\/span><\/strong>. If you&#8217;ve never gotten started with <span id=\"urn:enhancement-20ba159\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/electronics\">electronics<\/span>, there&#8217;s a bunch of kits that you can buy for <span id=\"urn:enhancement-ceb9046\" class=\"textannotation disambiguated wl-creative-work\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/arduino_2\">Arduino<\/span> and for other <strong>open <span id=\"urn:enhancement-251b6749\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/computer_hardware\">hardware<\/span><\/strong> platforms. They are very, very cheap nowadays.&#8221;<\/p>\n\n\n\n<p class=\"eplus-lUEUDs\">Orestes Carracedo is the co-founder of Lighthorse Consulting and an enthusiastic <strong style=\"user-select: auto;\"><span id=\"urn:enhancement-7c8813e1\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/internet_of_things\" style=\"user-select: auto;\">IoT<\/span> hacker<\/strong>. He&#8217;s also a consultant, speaker, mentor, and <span id=\"urn:enhancement-965f61e1\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/community\" style=\"user-select: auto;\">community<\/span> lead and co-organiser of \u00a0<a aria-label=\"undefined (opens in a new tab)\" style=\"user-select: auto;\" href=\"https:\/\/www.meetup.com\/GDGVigo\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">GDG Vigo<\/a> and the<a aria-label=\"undefined (opens in a new tab)\" style=\"user-select: auto;\" href=\"https:\/\/vigotech.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">\u00a0VigoTech.org<\/a> Community Cluster. At Codemotion Madrid last year he took a deep dive through all the pieces you&#8217;ll need to integrate your nifty gadgets with the <a style=\"user-select: auto;\" href=\"https:\/\/www.codemotion.com\/magazine\/dev-hub\/machine-learning-dev\/interview-antimo-musone-google-home-e-assistant-by-ibm-cloud\/\" class=\"ek-link\"><span id=\"urn:local-annotation-752177\" class=\"textannotation disambiguated\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google_assistant\" style=\"user-select: auto;\">Google Assistant<\/span><\/a>.<\/p>\n\n\n\n<p class=\"eplus-1FInlc\">He also provided a couple of great demos. This is a basic overview of the <strong style=\"user-select: auto;\"><span style=\"user-select: auto;\" id=\"urn:enhancement-e04cde45\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/tutorial\">tutorial<\/span><\/strong> detailed in Orestes&#8217; talk. For the full <span style=\"user-select: auto;\" id=\"urn:enhancement-b84c2de6\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/tutorial\">tutorial<\/span> and <span style=\"user-select: auto;\" id=\"urn:enhancement-5845e01\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/conversation\">discussion<\/span>, take a look at the video below:<\/p>\n\n\n\n<p class=\"eplus-N9XPV2\">[jwp-video n=&#8221;1&#8243;]<\/p>\n\n\n\n<h2 class=\"wp-block-heading eplus-OMlJNe\" id=\"h-understanding-the-google-smart-home-api\">Understanding the Google Smart Home API<\/h2>\n\n\n\n<p class=\"eplus-YrNd8Z\"><span id=\"urn:enhancement-656f643e\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> Home is structured in three main <span id=\"urn:enhancement-822f9273\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/component-based_software_engineering\">components<\/span>:<\/p>\n\n\n\n<ul class=\"eplus-AvAkf5 wp-block-list\">\n<li><strong>Google Home\/Mobile Device<\/strong> &#8211; the surface to interact with the Assistant<\/li>\n\n\n\n<li><strong>The Google Assistant <\/strong>&#8211; a conversation between you and Google that helps you get things done in your world&nbsp;<\/li>\n\n\n\n<li><strong>Actions on Google <\/strong>&#8211; How developers can extend the ecosystem<\/li>\n<\/ul>\n\n\n\n<p class=\"eplus-TbjHRW\">In the following, we&#8217;ll try to understand how such <span id=\"urn:enhancement-dc6eda6a\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/component-based_software_engineering\">components<\/span> are used together to form the whole <span id=\"urn:enhancement-80c3d14a\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/user_computing\">user<\/span> experience we&#8217;re used to when <span id=\"urn:enhancement-692f85b5\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/online_chat\">chatting<\/span> with <span id=\"urn:enhancement-2da8ea0d\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> <span id=\"urn:enhancement-e6126cce\" class=\"textannotation disambiguated wl-creative-work\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google_now\">Assistant<\/span>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading eplus-CXcyYF\" id=\"h-smart-home-api-standard-devices-and-traits\">Smart Home API: Standard devices and traits<\/h2>\n\n\n\n<p class=\"eplus-13oaLd\">How do you <a href=\"https:\/\/www.codemotion.com\/magazine\/dev-hub\/machine-learning-dev\/ai-driven-conversational-user-interface-enriched-with-search-skills\/\" class=\"ek-link\">trust the user voice<\/a>? How do you understand <span id=\"urn:enhancement-fe634bc3\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/user_computing\">user<\/span> voice? How do you extract intent? What do they want to do? So for that we have the <strong><span id=\"urn:enhancement-a02affab\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> Platform<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image eplus-CBkTI9\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/im1.jpg\" alt=\"\" class=\"wp-image-11513\" width=\"582\" height=\"302\" srcset=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/im1.jpg 640w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/im1-300x156.jpg 300w\" sizes=\"auto, (max-width: 582px) 100vw, 582px\" \/><\/figure><\/div>\n\n\n<p class=\"eplus-iJzwej\">So the <strong><span id=\"urn:enhancement-bc02a0f7\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/home_automation\">Smart Home<\/span> <span id=\"urn:enhancement-968048a4\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/application_programming_interface\">API<\/span><\/strong> knows how about pretty much anything you can think of at the <span id=\"urn:enhancement-376c52df\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/information_appliance\">device<\/span>. You have definitions for starting and stopping, turning on off, changing colour settings with different colour schemes, changing brightness, speed, etc. You can do pretty much whatever!<\/p>\n\n\n\n<h2 class=\"wp-block-heading eplus-ewXj4B\" id=\"h-home-graph\">Home Graph<\/h2>\n\n\n\n<p class=\"eplus-XcVxZK\"><span style=\"user-select: auto;\" id=\"urn:enhancement-f7b35b6d\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/home_automation\">Smart Home<\/span> Actions rely on <strong style=\"user-select: auto;\">Home Graph<\/strong>, a database that stores and provides contextual <span style=\"user-select: auto;\" id=\"urn:enhancement-671d518b\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/data\">data<\/span> about the home and its <span style=\"user-select: auto;\" id=\"urn:enhancement-f7f58b81\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/information_appliance\">devices<\/span>. The Home <span style=\"user-select: auto;\" id=\"urn:enhancement-269b6d39\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/graph_database\">Graph database<\/span> stores information about <span style=\"user-select: auto;\" id=\"urn:enhancement-7e3ac9fb\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/structure\">structures<\/span> (for example, home or office), rooms (for example, bedroom or living room), and <span style=\"user-select: auto;\" id=\"urn:enhancement-29786f25\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/information_appliance\">devices<\/span> (for example speaker and light bulb). For example, Home Graph can store the concept of a home with a living room that contains multiple types of <span style=\"user-select: auto;\" id=\"urn:enhancement-c867a8ab\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/information_appliance\">devices<\/span> from different manufacturers such as a light, television, and speaker. <\/p>\n\n\n\n<p class=\"eplus-xQTPBG\">This information is available to <span style=\"user-select: auto;\" id=\"urn:enhancement-f788524a\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> <span style=\"user-select: auto;\" id=\"urn:enhancement-59892bc3\" class=\"textannotation disambiguated wl-creative-work\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google_now\">Assistant<\/span> in order to execute <span style=\"user-select: auto;\" id=\"urn:enhancement-95e4d5ac\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/user_computing\">user<\/span> requests based on the appropriate <span style=\"user-select: auto;\" id=\"urn:enhancement-6dfad520\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/context_computing\">context<\/span>. State <span style=\"user-select: auto;\" id=\"urn:enhancement-ac5ded63\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/data\">data<\/span>, such as if a light bulb is on, is not stored in the long term &#8211; it\u2019s ephemeral and is only used in the Home Graph.<\/p>\n\n\n\n<p class=\"eplus-C4ipAg\">Home Graph is essentially <strong>a logical map of your home<\/strong>. It allows you to have a natural <span id=\"urn:enhancement-be8ddfa2\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/conversation\">conversation<\/span> with <span id=\"urn:enhancement-885308f9\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> <span id=\"urn:enhancement-7e198d0\" class=\"textannotation disambiguated wl-creative-work\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google_now\">Assistant<\/span>. If you are sitting in the den and you want to turn the den lights off, you would just say <em>Hey <span id=\"urn:enhancement-859858de\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span>, turn off the lights<\/em> and would not mention the room that you are currently in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading eplus-P8rkOK\" id=\"h-smart-home-provider-ui-components\">Smart home provider UI components<\/h2>\n\n\n\n<p class=\"eplus-eKTGTP\">The <span id=\"urn:enhancement-7dd671c\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/user_interface\">UI<\/span> components available using this platform are two:<\/p>\n\n\n\n<ul class=\"eplus-IgG82Y wp-block-list\">\n<li>User registration and authentication (based on Firebase)<\/li>\n\n\n\n<li>Device management, allowing you to add additional labels (e..g adding another door, adding another camera, etc.) This usually needs to be configured on a web interface<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading eplus-l1Cozf\" id=\"h-voice-user-interface-platform-for-the-google-assistant\">Voice User Interface platform for the Google Assistant<\/h2>\n\n\n\n<p class=\"eplus-KuNCG3\">Let&#8217;s see how can we <strong>setup our Actions on a <span id=\"urn:enhancement-5a8349b3\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> Project<\/strong>.<\/p>\n\n\n\n<p class=\"eplus-RqZxL9\">First, navigate to <a href=\"https:\/\/actions.google.com\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">https:\/\/actions.google.com<\/a>. From here, <span id=\"urn:enhancement-e11c5b26\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/login\">log in<\/span> with your <span id=\"urn:enhancement-76097e8c\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> Account and then create new Actions on <span id=\"urn:enhancement-f39291d\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> Project. Pick any project name you want. You can select any support language.<\/p>\n\n\n<div class=\"wp-block-image eplus-u9J6g2\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"537\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-1024x537.png\" alt=\"Setup Google Smart Home API actions\" class=\"wp-image-11497\" srcset=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-1024x537.png 1024w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-300x157.png 300w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-768x403.png 768w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p class=\"eplus-TPBRl6\">If you get the following <span id=\"urn:enhancement-327e2d93\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/display_device\">screen<\/span>, click on SKIP on the top right:<\/p>\n\n\n<div class=\"wp-block-image eplus-26Gjyw\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"532\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-1-1024x532.png\" alt=\"Setup Google Smart Home API actions\" class=\"wp-image-11498\" srcset=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-1-1024x532.png 1024w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-1-300x156.png 300w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-1-768x399.png 768w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-1.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p class=\"eplus-1c5PZt\">Make sure you pick the <span id=\"urn:enhancement-a00628ca\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/home_automation\">Smart Home<\/span> template, shown below:<\/p>\n\n\n<div class=\"wp-block-image eplus-OO0EPN\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"515\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-2-1024x515.png\" alt=\"Setup you smart home control\" class=\"wp-image-11499\" srcset=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-2-1024x515.png 1024w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-2-300x151.png 300w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-2-768x386.png 768w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-2.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p class=\"eplus-8MkMn0\">Pick a <strong>display name<\/strong>. This will be displayed in your <span id=\"urn:enhancement-1508c84\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/html_element\">list<\/span> of <span id=\"urn:enhancement-602a68ed\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/home_automation\">Smart Home<\/span> providers in the <span id=\"urn:enhancement-4cd05e95\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> Home <span id=\"urn:enhancement-8c112727\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/mobile_app\">app<\/span>.<\/p>\n\n\n<div class=\"wp-block-image eplus-uP8g5m\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"505\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-3-1024x505.png\" alt=\"Setup Google Smart Home API actions\" class=\"wp-image-11501\" srcset=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-3-1024x505.png 1024w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-3-300x148.png 300w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-3-768x379.png 768w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-3.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p class=\"eplus-HEoikz\">Go to the <span id=\"urn:enhancement-d8b477ed\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/html_element\">list<\/span> of actions and click on the only action that shows on the <span id=\"urn:enhancement-96d6358d\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/html_element\">list<\/span><\/p>\n\n\n<div class=\"wp-block-image eplus-FGkjey\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-4-1024x527.png\" alt=\"\" class=\"wp-image-11500\" srcset=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-4-1024x527.png 1024w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-4-300x154.png 300w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-4-768x395.png 768w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-4.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p class=\"eplus-uD1YKO\">In the <span id=\"urn:enhancement-b50bf51a\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/computer_configuration\">settings<\/span> for the action, enter the endpoint URI for your request <span id=\"urn:enhancement-63d0ae27\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/firebase\">Firebase<\/span> <span id=\"urn:enhancement-557b533b\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/cloud_computing\">Cloud<\/span> Function:<\/p>\n\n\n<div class=\"wp-block-image eplus-hQcpQ7\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-9-1024x484.png\" alt=\"Create Smart Home actions\" class=\"wp-image-11504\"\/><\/figure><\/div>\n\n\n<p class=\"eplus-rXwD0a\">Now go the <em>Advanced Options &gt; Account Linking<\/em> page and select the following options:<\/p>\n\n\n<div class=\"wp-block-image eplus-TnBhRc\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/pastedImage0-10-1024x914.png\" alt=\"Google API: account linking\" class=\"wp-image-11505\"\/><\/figure><\/div>\n\n\n<p class=\"eplus-I6KiKu\">You can enter any <span id=\"urn:enhancement-51e3612\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/client_computing\">client<\/span> ID and <span id=\"urn:enhancement-375d78b5\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/client_computing\">client<\/span> secret you want, while for the <span id=\"urn:enhancement-7b8b1449\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/authorization_computer_access_control\">Authorization<\/span> <span id=\"urn:enhancement-6bc40991\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/uniform_resource_locator\">URL<\/span>, use the <span id=\"urn:enhancement-826b1840\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/uniform_resource_locator\">URL<\/span> that the <span id=\"urn:enhancement-eadd5623\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/firebase\">Firebase<\/span> Hosting provided you with Fore the Token<\/p>\n\n\n\n<p class=\"eplus-Y48m0J\">You&#8217;re done creating your <span id=\"urn:enhancement-14a6521a\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/home_automation\">smart home<\/span> functionalities!<\/p>\n\n\n\n<p class=\"eplus-WacFJz\">Now you can ask the <span id=\"urn:enhancement-8bab28b6\" class=\"textannotation disambiguated wl-organization\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> Assistant to<\/p>\n\n\n\n<ul class=\"eplus-idwtQE wp-block-list\">\n<li>Turn on&nbsp; the light<\/li>\n\n\n\n<li>Turn off the light<\/li>\n\n\n\n<li>Set the light to green<\/li>\n\n\n\n<li>Set the light to 50%<\/li>\n<\/ul>\n\n\n\n<p class=\"eplus-9rRhyL\">You should see the <span id=\"urn:enhancement-bc621f72\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/data_logger\">logs<\/span> in the Serial Monitor and your RGB light following your <span id=\"urn:enhancement-aecaface\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/command_computing\">commands<\/span>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading eplus-5koXol\" id=\"h-looking-for-more-iot-tutorials\">Looking for more IoT tutorials?<\/h2>\n\n\n\n<p class=\"eplus-SXOZgQ\">There&#8217;s a plethora of great IoT tools and tutorials available to get you started. <\/p>\n\n\n<div class=\"wp-block-image eplus-FvrCGe\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/vBX7j2Jl-Nhp7sx-5BY-SuRnclhR_2zuIOGQ1Krz2raDeL9byBQK3sMO3xvxtyH2VTrmKN1QJf2_9mFJ6dSIzM7MrpPc7YvI_icjJB4EZRrJ4mR7Tyb3RhAZ29XP7_TFGtswDwJf\" alt=\"IoT\"\/><\/figure><\/div>\n\n\n<p class=\"eplus-S5aG1s\">If you are interested, check out some of them in our Codemotion Magazine:<\/p>\n\n\n\n<ul class=\"eplus-VOFezV wp-block-list\">\n<li><a href=\"https:\/\/www.codemotion.com\/magazine\/video\/control-drones-using-javascript\/\" class=\"ek-link\">Controlling Drones with Javascript<\/a><br>[jwp-video n=&#8221;2&#8243;]<\/li>\n\n\n\n<li><a href=\"https:\/\/about.codemotion.com\/2019\/08\/30\/tweet-my-wedding-dress\/\" class=\"ek-link\">Tweet my Wedding dress<\/a><br>[jwp-video n=&#8221;3&#8243;]<\/li>\n<\/ul>\n\n\n\n<p class=\"eplus-otkon9\">We also have our upcoming <a style=\"user-select: auto;\" href=\"https:\/\/events.codemotion.com\/\" class=\"ek-link\">Codemotion Conference<\/a>. We&#8217;ll gather all <span id=\"urn:enhancement-7765ced5\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/information_technology\" style=\"user-select: auto;\">IT professionals<\/span> with different backgrounds and levels of <span id=\"urn:enhancement-50b26fb5\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/experience\" style=\"user-select: auto;\">experience<\/span> providing them with technical excellence, cutting-edge technologies as well as hands-on activities, best practices &amp; <span id=\"urn:enhancement-f84d1672\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/case_study\" style=\"user-select: auto;\">case studies<\/span>. <\/p>\n\n\n\n<h2 class=\"wp-block-heading eplus-viWvHk\" id=\"h-want-to-launch-a-developer-event-despite-the-challenges-of-covid-19\">Want to launch a developer event despite the challenges of  COVID-19?<\/h2>\n\n\n\n<p class=\"eplus-Dlirgv\">If you want to know more about how modern technologies and tools can support you for \u2013 and during \u2013 the organisation of a virtual event, don\u2019t miss this article showcasing the best tools we used to\u00a0<a style=\"user-select: auto;\" href=\"https:\/\/www.codemotion.com\/magazine\/articles\/events\/hosting-virtual-conference\/\" class=\"ek-link\">host our online conferences<\/a>\u00a0since the COVID-19 outbreak.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IoT is a great opportunity for developers and smart home passionates, wanting to learn how to use electronics in a hands-on way. According to IoT enthusiast Orestes Carracedo: \u201cIf you&#8217;re a creative developer or a creative person you can do whatever you want to do with electronics. If you&#8217;ve never gotten started with electronics, there&#8217;s&#8230; <a class=\"more-link\" href=\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/\">Read more<\/a><\/p>\n","protected":false},"author":85,"featured_media":11515,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":5,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","_uag_custom_page_level_css":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[2554],"tags":[],"collections":[],"class_list":{"0":"post-11496","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-events","8":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Get More Out of Your Smart Home with Google Home API - Codemotion<\/title>\n<meta name=\"description\" content=\"Ready to tinker with your Google Smart Home? We take a deep dive through the Google API and all you need to integrate your gadgets with Google Assistant\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get More Out of Your Smart Home with Google Home API\" \/>\n<meta property=\"og:description\" content=\"Ready to tinker with your Google Smart Home? We take a deep dive through the Google API and all you need to integrate your gadgets with Google Assistant\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Codemotion Magazine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Codemotion.Italy\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-19T11:31:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-04T14:01:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Cate Lawrence\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:site\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cate Lawrence\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/\"},\"author\":{\"name\":\"Cate Lawrence\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/df32323fd62dc47fa8892426677a2cc1\"},\"headline\":\"Get More Out of Your Smart Home with Google Home API\",\"datePublished\":\"2020-10-19T11:31:21+00:00\",\"dateModified\":\"2023-04-04T14:01:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/\"},\"wordCount\":941,\"publisher\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg\",\"articleSection\":[\"Events\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/\",\"name\":\"Get More Out of Your Smart Home with Google Home API - Codemotion\",\"isPartOf\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg\",\"datePublished\":\"2020-10-19T11:31:21+00:00\",\"dateModified\":\"2023-04-04T14:01:59+00:00\",\"description\":\"Ready to tinker with your Google Smart Home? We take a deep dive through the Google API and all you need to integrate your gadgets with Google Assistant\",\"breadcrumb\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#primaryimage\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg\",\"contentUrl\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg\",\"width\":1200,\"height\":675,\"caption\":\"google-home\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.codemotion.com\/magazine\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dev Life\",\"item\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Events\",\"item\":\"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get More Out of Your Smart Home with Google Home API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#website\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/\",\"name\":\"Codemotion Magazine\",\"description\":\"We code the future. Together\",\"publisher\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.codemotion.com\/magazine\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#organization\",\"name\":\"Codemotion\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png\",\"contentUrl\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png\",\"width\":225,\"height\":225,\"caption\":\"Codemotion\"},\"image\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Codemotion.Italy\/\",\"https:\/\/x.com\/CodemotionIT\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/df32323fd62dc47fa8892426677a2cc1\",\"name\":\"Cate Lawrence\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g\",\"caption\":\"Cate Lawrence\"},\"url\":\"https:\/\/www.codemotion.com\/magazine\/author\/cate-lawrence\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Get More Out of Your Smart Home with Google Home API - Codemotion","description":"Ready to tinker with your Google Smart Home? We take a deep dive through the Google API and all you need to integrate your gadgets with Google Assistant","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:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/","og_locale":"en_US","og_type":"article","og_title":"Get More Out of Your Smart Home with Google Home API","og_description":"Ready to tinker with your Google Smart Home? We take a deep dive through the Google API and all you need to integrate your gadgets with Google Assistant","og_url":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/","og_site_name":"Codemotion Magazine","article_publisher":"https:\/\/www.facebook.com\/Codemotion.Italy\/","article_published_time":"2020-10-19T11:31:21+00:00","article_modified_time":"2023-04-04T14:01:59+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg","type":"image\/jpeg"}],"author":"Cate Lawrence","twitter_card":"summary_large_image","twitter_creator":"@CodemotionIT","twitter_site":"@CodemotionIT","twitter_misc":{"Written by":"Cate Lawrence","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#article","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/"},"author":{"name":"Cate Lawrence","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/df32323fd62dc47fa8892426677a2cc1"},"headline":"Get More Out of Your Smart Home with Google Home API","datePublished":"2020-10-19T11:31:21+00:00","dateModified":"2023-04-04T14:01:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/"},"wordCount":941,"publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg","articleSection":["Events"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/","url":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/","name":"Get More Out of Your Smart Home with Google Home API - Codemotion","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#primaryimage"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg","datePublished":"2020-10-19T11:31:21+00:00","dateModified":"2023-04-04T14:01:59+00:00","description":"Ready to tinker with your Google Smart Home? We take a deep dive through the Google API and all you need to integrate your gadgets with Google Assistant","breadcrumb":{"@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#primaryimage","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg","width":1200,"height":675,"caption":"google-home"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/google-smart-home-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codemotion.com\/magazine\/"},{"@type":"ListItem","position":2,"name":"Dev Life","item":"https:\/\/www.codemotion.com\/magazine\/dev-life\/"},{"@type":"ListItem","position":3,"name":"Events","item":"https:\/\/www.codemotion.com\/magazine\/dev-life\/events\/"},{"@type":"ListItem","position":4,"name":"Get More Out of Your Smart Home with Google Home API"}]},{"@type":"WebSite","@id":"https:\/\/www.codemotion.com\/magazine\/#website","url":"https:\/\/www.codemotion.com\/magazine\/","name":"Codemotion Magazine","description":"We code the future. Together","publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codemotion.com\/magazine\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.codemotion.com\/magazine\/#organization","name":"Codemotion","url":"https:\/\/www.codemotion.com\/magazine\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","width":225,"height":225,"caption":"Codemotion"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Codemotion.Italy\/","https:\/\/x.com\/CodemotionIT"]},{"@type":"Person","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/df32323fd62dc47fa8892426677a2cc1","name":"Cate Lawrence","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g","caption":"Cate Lawrence"},"url":"https:\/\/www.codemotion.com\/magazine\/author\/cate-lawrence\/"}]}},"featured_image_src":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-600x400.jpg","featured_image_src_square":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-600x600.jpg","author_info":{"display_name":"Cate Lawrence","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/cate-lawrence\/"},"uagb_featured_image_src":{"full":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg",1200,675,false],"thumbnail":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-150x150.jpg",150,150,true],"medium":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-300x169.jpg",300,169,true],"medium_large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-768x432.jpg",768,432,true],"large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg",1200,675,false],"2048x2048":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg",1200,675,false],"small-home-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home.jpg",100,56,false],"sidebar-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-180x128.jpg",180,128,true],"genesis-singular-images":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-896x504.jpg",896,504,true],"archive-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-400x225.jpg",400,225,true],"gb-block-post-grid-landscape":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-600x400.jpg",600,400,true],"gb-block-post-grid-square":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/google-home-600x600.jpg",600,600,true]},"uagb_author_info":{"display_name":"Cate Lawrence","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/cate-lawrence\/"},"uagb_comment_info":0,"uagb_excerpt":"IoT is a great opportunity for developers and smart home passionates, wanting to learn how to use electronics in a hands-on way. According to IoT enthusiast Orestes Carracedo: \u201cIf you&#8217;re a creative developer or a creative person you can do whatever you want to do with electronics. If you&#8217;ve never gotten started with electronics, there&#8217;s&#8230;&hellip;","lang":"en","_links":{"self":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/11496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/users\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/comments?post=11496"}],"version-history":[{"count":14,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/11496\/revisions"}],"predecessor-version":[{"id":20542,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/11496\/revisions\/20542"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media\/11515"}],"wp:attachment":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media?parent=11496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/categories?post=11496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/tags?post=11496"},{"taxonomy":"collections","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/collections?post=11496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}