{"id":391,"date":"2018-12-31T12:09:00","date_gmt":"2018-12-31T11:09:00","guid":{"rendered":"https:\/\/www.codemotion.com\/magazine\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/"},"modified":"2021-12-23T15:32:26","modified_gmt":"2021-12-23T14:32:26","slug":"interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet","status":"publish","type":"post","link":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/","title":{"rendered":"Hack together a basic Node.js interface for a smart outlet"},"content":{"rendered":"\n<p><strong>Hello Luca, could you tell us a little <span id=\"urn:batch-analysis-72d9a16a-9908-49cd-a4ca-e51637763a80\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/bit\">bit<\/span> about yourself?<\/strong><\/p>\n\n\n\n<p>Hi everyone, I&#8217;m Luca Lanziani. I&#8217;m 35 and I studied computer engineering at Roma Tre University. In 2010, the year I graduated, I started my <a href=\"https:\/\/www.codemotion.com\/magazine\/dev-hub\/backend-dev\/design-your-developer-career\/\" target=\"_blank\" rel=\"noopener\">career as a software<\/a> developer. I changed <span id=\"urn:batch-analysis-0a1b8854-d3ff-4754-85ef-1833d1b462ef\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/job\">jobs<\/span> several times, passing from the back-end to the front-end, and now I lead a <span id=\"urn:batch-analysis-68386578-7095-4b3c-b684-19135f2449f4\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/team\">team<\/span> that develops infrastructure technologies that support the application. I have various hobbies besides <span id=\"urn:batch-analysis-84cb5d6f-89d6-4314-9ec2-ba42496e4f72\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/scope_computer_science\">computer science<\/span>: music, motorcycles and sport. I&#8217;ve always been a member of <span id=\"urn:batch-analysis-90eccb86-663e-4b36-9057-9f00b3632e11\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/community\">communities<\/span> and now I enjoy organising the RomaJS meetups.<\/p>\n\n\n\n<p><strong>What do you like about your <span id=\"urn:batch-analysis-76652844-82bd-4e5f-830d-f153a28479a3\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/job\">job<\/span>? Could you ever change it for a completely different <span id=\"urn:batch-analysis-941a53c4-6c79-491b-9904-4cf5e03e5929\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/job\">job<\/span>?<\/strong><\/p>\n\n\n\n<p>This is definitely the <span id=\"urn:batch-analysis-129cb71d-4eb0-4059-9665-af10f7b814a7\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/job\">job<\/span> I would like to do all my life because it&#8217;s a passion that began when I was 12. I liked doing things from scratch and only <span id=\"urn:batch-analysis-b3d715f4-351c-4813-a792-d02bee6bf1af\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/minification_programming\">programming<\/span> gave me the ease with which I could do it. I would never change my <span id=\"urn:batch-analysis-0ff37248-bbad-4855-a25f-36319efd26f2\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/job\">job<\/span>, although I do have another passion, which is teaching, and perhaps I&#8217;m a member of the <span id=\"urn:batch-analysis-3905a969-7775-4827-b949-1b61d60026bf\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/community\">community<\/span> just to pass on my <span id=\"urn:batch-analysis-fd39d2d7-b506-42da-96ef-83b5ee17282b\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/knowledge\">knowledge<\/span>.<\/p>\n\n\n\n<p><strong>We all know that the tech world changes fast. Share with us some tips on how to stay up-to-date on the latest technologies.<\/strong><\/p>\n\n\n\n<p>I changed my method. Initially, I relied on magazines and books, because when I started on the <span id=\"urn:batch-analysis-3764e4d1-ded5-4547-b9d3-922177eb367a\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/internet\">internet<\/span> it wasn&#8217;t always there. With the <span id=\"urn:batch-analysis-67622df5-b733-4db5-9857-a43ff3134870\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/internet\">internet<\/span> available I think keeping up-to-date is quite simple; you have unlimited access to information. I haven&#8217;t done online webinars because they require constant effort and too much time. I keep getting inspired mainly by books, in digital format these days.<\/p>\n\n\n\n<p><strong>Some time ago you gave a talk entitled: \u201cHack together &#8211; a basic Node.js interface for a smart outlet\u201d. How would you describe this talk and why did you do this specific talk?<\/strong><\/p>\n\n\n\n<p>I did this talk for two reasons. The first is that at RomaJS meetup it was natural to talk about a technology that could be linked to chatbots, and then because when I renovated my home I decided to use these <span id=\"urn:batch-analysis-d93ba7a3-887e-47d4-bd9f-8222543a4fa5\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/smart_device\">smart devices<\/span> that we&#8217;ve been talking about so much lately. It&#8217;s a technology that&#8217;s getting more and more popular now and I&#8217;m interested in it both on the professional and the personal level. Automation within homes is happening very slowly due to the high costs. But I think the cost will drop quickly, so I think that in the next five years there could be massively increased in demand. I chose <span id=\"urn:batch-analysis-1a17cec7-34cc-42a6-ae93-908b492a3750\" class=\"textannotation disambiguated wl-no-link wl-creative work\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/javascript\">JavaScript<\/span> because it has several advantages: it&#8217;s asynchronous, it knows how to respond to signals, it has the application library already integrated on the network. These <span id=\"urn:batch-analysis-3e5bdedb-122b-4fb4-8744-03c62c2090c9\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/feature_machine_learning\">features<\/span> were perfectly suited to the task I wanted to carry out: these devices have a network interface, speak through a network protocol, are asynchronous and interact through signals.<\/p>\n\n\n\n<p><strong>Do you think that many people could be interested in this subject? Are you going to prepare more talks dedicated to this topic?<\/strong><\/p>\n\n\n\n<p>I&#8217;ll certainly do more specific talks. This one was on a single electric power strip. And there&#8217;s a lot to say about automation because you can do so many things. Regarding the use of <span id=\"urn:batch-analysis-5c6ad8d0-3df2-47a3-9eb2-a4f9a0f31390\" class=\"textannotation disambiguated wl-no-link wl-creative work\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/javascript\">JavaScript<\/span> in this area, I think it&#8217;s absolutely worth investigating because it fits perfectly with this task.<\/p>\n\n\n\n<p><strong>What advice would you give to people who would like to join the world of development?<\/strong><\/p>\n\n\n\n<p>Curiosity and creativity must never be lacking. If you&#8217;re not curious, you&#8217;ll never see new things. Technologies are moving at an impressive speed, they always evolve and if you&#8217;re not curious you get left behind. <span id=\"urn:batch-analysis-7c17f540-b7f5-4ccf-8802-06b40b50480d\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/creativity\">Creativity<\/span>, on the other hand, is important because there will always be problems to solve and it&#8217;s not always easy to find the solution online, even if <span id=\"urn:batch-analysis-d0971b55-62af-41bf-85b6-311b0e9d5a31\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/google\">Google<\/span> is our best friend. So in the cases of problems which haven&#8217;t been solved by others, <span id=\"urn:batch-analysis-f830bea0-b7b1-479b-8a60-5745696931c0\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/creativity\">creativity<\/span> is needed to find the solution without abandoning study, which always helps keep you up-to-date and better understand what kind of problems you&#8217;re facing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this interview, Luca Lanziani told us how he renovated his home by using smart devices, all connected and controlled via Node.js<\/p>\n","protected":false},"author":64,"featured_media":392,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_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":[8],"tags":[50,57],"collections":[],"class_list":{"0":"post-391","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-javascript","8":"tag-interview","9":"tag-node-js","10":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Node.js: let&#039;s hack an interface for smart outlets - Codemotion Magazine<\/title>\n<meta name=\"description\" content=\"In this interview, Luca Lanziani told us how he renovated his home by using smart devices, all connected and controlled via Node.js\" \/>\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\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hack together a basic Node.js interface for a smart outlet\" \/>\n<meta property=\"og:description\" content=\"In this interview, Luca Lanziani told us how he renovated his home by using smart devices, all connected and controlled via Node.js\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/\" \/>\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=\"2018-12-31T11:09:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-23T14:32:26+00:00\" \/>\n<meta name=\"author\" content=\"Codemotion\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg\" \/>\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=\"Codemotion\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/\"},\"author\":{\"name\":\"Codemotion\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/person\\\/201bb98b02412383686cced7521b861c\"},\"headline\":\"Hack together a basic Node.js interface for a smart outlet\",\"datePublished\":\"2018-12-31T11:09:00+00:00\",\"dateModified\":\"2021-12-23T14:32:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/\"},\"wordCount\":672,\"publisher\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/Lanziani-1.jpg\",\"keywords\":[\"Interview\",\"Node.js\"],\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/\",\"name\":\"Node.js: let's hack an interface for smart outlets - Codemotion Magazine\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/Lanziani-1.jpg\",\"datePublished\":\"2018-12-31T11:09:00+00:00\",\"dateModified\":\"2021-12-23T14:32:26+00:00\",\"description\":\"In this interview, Luca Lanziani told us how he renovated his home by using smart devices, all connected and controlled via Node.js\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/Lanziani-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/Lanziani-1.jpg\",\"width\":900,\"height\":675},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/javascript\\\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Frontend\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Web Developer\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/frontend\\\/web-developer\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Hack together a basic Node.js interface for a smart outlet\"}]},{\"@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\\\/201bb98b02412383686cced7521b861c\",\"name\":\"Codemotion\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/cropped-codemotionlogo-150x150.png\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/cropped-codemotionlogo-150x150.png\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/cropped-codemotionlogo-150x150.png\",\"caption\":\"Codemotion\"},\"description\":\"Articles wirtten by the Codemotion staff. Tech news, inspiration, latest treends in software development and more.\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/CodemotionIT\"],\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/author\\\/codemotion-2\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Node.js: let's hack an interface for smart outlets - Codemotion Magazine","description":"In this interview, Luca Lanziani told us how he renovated his home by using smart devices, all connected and controlled via Node.js","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\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/","og_locale":"en_US","og_type":"article","og_title":"Hack together a basic Node.js interface for a smart outlet","og_description":"In this interview, Luca Lanziani told us how he renovated his home by using smart devices, all connected and controlled via Node.js","og_url":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/","og_site_name":"Codemotion Magazine","article_publisher":"https:\/\/www.facebook.com\/Codemotion.Italy\/","article_published_time":"2018-12-31T11:09:00+00:00","article_modified_time":"2021-12-23T14:32:26+00:00","author":"Codemotion","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg","twitter_creator":"@CodemotionIT","twitter_site":"@CodemotionIT","twitter_misc":{"Written by":"Codemotion","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/#article","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/"},"author":{"name":"Codemotion","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/201bb98b02412383686cced7521b861c"},"headline":"Hack together a basic Node.js interface for a smart outlet","datePublished":"2018-12-31T11:09:00+00:00","dateModified":"2021-12-23T14:32:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/"},"wordCount":672,"publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg","keywords":["Interview","Node.js"],"articleSection":["JavaScript"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/","url":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/","name":"Node.js: let's hack an interface for smart outlets - Codemotion Magazine","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/#primaryimage"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg","datePublished":"2018-12-31T11:09:00+00:00","dateModified":"2021-12-23T14:32:26+00:00","description":"In this interview, Luca Lanziani told us how he renovated his home by using smart devices, all connected and controlled via Node.js","breadcrumb":{"@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/#primaryimage","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg","width":900,"height":675},{"@type":"BreadcrumbList","@id":"https:\/\/www.codemotion.com\/magazine\/frontend\/javascript\/interview-luca-lanziani-hack-together-a-basic-nodejs-interface-for-a-smart-outlet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codemotion.com\/magazine\/"},{"@type":"ListItem","position":2,"name":"Frontend","item":"https:\/\/www.codemotion.com\/magazine\/frontend\/"},{"@type":"ListItem","position":3,"name":"Web Developer","item":"https:\/\/www.codemotion.com\/magazine\/frontend\/web-developer\/"},{"@type":"ListItem","position":4,"name":"Hack together a basic Node.js interface for a smart outlet"}]},{"@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\/201bb98b02412383686cced7521b861c","name":"Codemotion","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/cropped-codemotionlogo-150x150.png","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/cropped-codemotionlogo-150x150.png","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/cropped-codemotionlogo-150x150.png","caption":"Codemotion"},"description":"Articles wirtten by the Codemotion staff. Tech news, inspiration, latest treends in software development and more.","sameAs":["https:\/\/x.com\/CodemotionIT"],"url":"https:\/\/www.codemotion.com\/magazine\/author\/codemotion-2\/"}]}},"featured_image_src":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-600x400.jpg","featured_image_src_square":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-600x600.jpg","author_info":{"display_name":"Codemotion","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/codemotion-2\/"},"uagb_featured_image_src":{"full":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg",900,675,false],"thumbnail":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-150x150.jpg",150,150,true],"medium":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-300x225.jpg",300,225,true],"medium_large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-768x576.jpg",768,576,true],"large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg",900,675,false],"1536x1536":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg",900,675,false],"2048x2048":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg",900,675,false],"small-home-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1.jpg",100,75,false],"sidebar-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-180x128.jpg",180,128,true],"genesis-singular-images":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-896x504.jpg",896,504,true],"archive-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-400x225.jpg",400,225,true],"gb-block-post-grid-landscape":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-600x400.jpg",600,400,true],"gb-block-post-grid-square":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2018\/09\/Lanziani-1-600x600.jpg",600,600,true]},"uagb_author_info":{"display_name":"Codemotion","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/codemotion-2\/"},"uagb_comment_info":0,"uagb_excerpt":"In this interview, Luca Lanziani told us how he renovated his home by using smart devices, all connected and controlled via Node.js","lang":"en","_links":{"self":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/391","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\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":4,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":15317,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/391\/revisions\/15317"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media\/392"}],"wp:attachment":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/tags?post=391"},{"taxonomy":"collections","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/collections?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}