{"id":22,"date":"2017-11-26T21:55:57","date_gmt":"2017-11-26T21:55:57","guid":{"rendered":"http:\/\/www.diyfuturism.com\/?p=22"},"modified":"2018-01-31T13:46:33","modified_gmt":"2018-01-31T21:46:33","slug":"the-open-source-smart-home-getting-started-with-home-assistant-node-red","status":"publish","type":"post","link":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/","title":{"rendered":"The Open Source Smart Home: Getting Started with Home Assistant &#038; Node-Red"},"content":{"rendered":"<p><a href=\"https:\/\/home-assistant.io\/\">Home Assistant<\/a> is one of the most interesting open source projects I&#8217;ve ever come across. It interfaces with any device, platform, or service you can think of. It can connect all of your devices to make a truly smart home. With a little creativity almost anything is possible with Home Assistant, and best of all it&#8217;s private and totally under your control.<\/p>\n<p>After using Hass to control my smart home for the last year, I started to hit the limitations of its YAML-based configuration. Any automation that was even moderately complicated required a lot of pieces spread out through the configuration files (see the sprawling &#8220;<a href=\"https:\/\/community.home-assistant.io\/t\/creating-a-alarm-clock\/410\">Creating an Alarm Clock<\/a>&#8221; thread on the HA forums for an example). Doing simple things like if-then or a\u00a0 loop required awkward workarounds. As my automations (and ambitions) increased in complexity, so did the time I spent trying to figure out what was going on.<\/p>\n<p>That&#8217;s when I discovered <a href=\"http:\/\/nodered.org\">Node-Red<\/a>, a visual programming tool developed by IBM. Node-Red is the perfect complement to Home Assistant, allowing for very complicated logic to be constructed visually through a simple &#8220;flow&#8221; interface. It integrates seamlessly with Home Assistant. Let&#8217;s set it up.<\/p>\n<p><!--more--><\/p>\n<p><script type=\"text\/javascript\">\namzn_assoc_placement = \"adunit0\";\namzn_assoc_tracking_id = \"diyfuturism-20\";\namzn_assoc_ad_mode = \"manual\";\namzn_assoc_ad_type = \"smart\";\namzn_assoc_marketplace = \"amazon\";\namzn_assoc_region = \"US\";\namzn_assoc_linkid = \"eb500c27d710f78cdb841b48ee001ade\";\namzn_assoc_design = \"in_content\";\namzn_assoc_asins = \"B01C6EQNNK,B01GJ826F8,B01FK2SDOC,B072BX1KMQ,B07354SP1C\";\namzn_assoc_title = \"Home Assistant Hardware\";\n<\/script><br \/>\n<script src=\"\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US\"><\/script><\/p>\n<h3>STEP ONE: Installing Home Assistant<\/h3>\n<p>The easiest way to get up and running with Home Assistant is to install <a href=\"https:\/\/home-assistant.io\/hassio\/installation\/\">Hass.io<\/a> on a Raspberry Pi. All you need to do is download the image, flash it to an SD card, and plug it in to your network-connected Pi. Soon you will be looking at the Home Assistant web interface. For more detailed instructions, refer to the Home Assistant documentation or watch this great video from BRUH Automation:<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"854\" height=\"481\" src=\"https:\/\/www.youtube.com\/embed\/XWPluWcYRMI?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation\"><\/iframe><\/span><\/p>\n<h3>STEP TWO: Installing Node-Red<\/h3>\n<p>Hass.io provides a kind of &#8220;app store&#8221; for additional software. The addons are pre-configured for use with Home Assistant. To add Node-Red, click the hamburger menu in the Home Assistant Web UI and select &#8220;Hass.io&#8221;. From there select the Addon Store icon in the top right. You&#8217;ll see a list of default addons, but we need to add another repository to get Node-Red.<\/p>\n<p><img data-attachment-id=\"44\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/screen-shot-2017-11-26-at-12-22-00-pm\/\" data-orig-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM.png?fit=1266%2C514&amp;ssl=1\" data-orig-size=\"1266,514\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screen Shot 2017-11-26 at 12.22.00 PM\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM.png?fit=300%2C122&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM.png?fit=854%2C347&amp;ssl=1\" loading=\"lazy\" class=\"aligncenter wp-image-44 size-large\" src=\"https:\/\/i1.wp.com\/www.diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM-1024x416.png?resize=730%2C297\" alt=\"Enter the addon repository here\" width=\"730\" height=\"297\" srcset=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM.png?resize=1024%2C416&amp;ssl=1 1024w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM.png?resize=600%2C244&amp;ssl=1 600w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM.png?resize=300%2C122&amp;ssl=1 300w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM.png?resize=768%2C312&amp;ssl=1 768w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.22.00-PM.png?w=1266&amp;ssl=1 1266w\" sizes=\"(max-width: 730px) 100vw, 730px\" data-recalc-dims=\"1\" \/><\/p>\n<p>Enter\u00a0<strong>https:\/\/github.com\/notoriousbdg\/hassio-addons<\/strong> and hit save. Refresh the page and you should see Node-Red available for install.<\/p>\n<p><img data-attachment-id=\"45\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/screen-shot-2017-11-26-at-12-26-57-pm\/\" data-orig-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM.png?fit=1260%2C686&amp;ssl=1\" data-orig-size=\"1260,686\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screen Shot 2017-11-26 at 12.26.57 PM\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM.png?fit=300%2C163&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM.png?fit=854%2C465&amp;ssl=1\" loading=\"lazy\" class=\"aligncenter wp-image-45 size-large\" src=\"https:\/\/i2.wp.com\/www.diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM-1024x558.png?resize=730%2C398\" alt=\"Addon Reposityory List\" width=\"730\" height=\"398\" srcset=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM.png?resize=1024%2C558&amp;ssl=1 1024w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM.png?resize=600%2C327&amp;ssl=1 600w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM.png?resize=300%2C163&amp;ssl=1 300w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM.png?resize=768%2C418&amp;ssl=1 768w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.26.57-PM.png?w=1260&amp;ssl=1 1260w\" sizes=\"(max-width: 730px) 100vw, 730px\" data-recalc-dims=\"1\" \/><\/p>\n<p>Install Node-Red, Start the service, and then hit the &#8220;Open Web UI&#8221; to access it. That&#8217;s it. The default login is admin\/password, which is configurable in the Options section for the Node-Red addon.<\/p>\n<p><script type=\"text\/javascript\">\namzn_assoc_placement = \"adunit0\";\namzn_assoc_tracking_id = \"diyfuturism-20\";\namzn_assoc_ad_mode = \"manual\";\namzn_assoc_ad_type = \"smart\";\namzn_assoc_marketplace = \"amazon\";\namzn_assoc_region = \"US\";\namzn_assoc_linkid = \"eb500c27d710f78cdb841b48ee001ade\";\namzn_assoc_design = \"in_content\";\namzn_assoc_asins = \"B07354SP1C,B01NBI0A6R,B0151Z8ZQY,B00JJ4P864\";\namzn_assoc_title = \"Smart Home Hardware\";\n<\/script><br \/>\n<script src=\"\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US\"><\/script><\/p>\n<h3>STEP THREE: Integrating Home Assistant &amp; Node-Red<\/h3>\n<p>Node-Red uses &#8220;nodes&#8221; to send messages from an input, through a series of flows that you diagram, and then it ends in an &#8220;output&#8221;.<\/p>\n<p>In our case, the inputs will come from Home Assistant (a state change, an event), the message will be routed according to our needs, and then Node-Red will output back to Home Assistant by making a service call.<\/p>\n<p>So how do we get these two things talking to each other?<\/p>\n<p>In Node-Red, select the hamburger menu in the top right and click &#8220;Manage Palette&#8221;. This shows us a list of installed nodes, and a way to search for new ones contributed by the Node-Red community.<\/p>\n<div id=\"attachment_47\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-47\" data-attachment-id=\"47\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/screen-shot-2017-11-26-at-12-36-34-pm-2\/\" data-orig-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1.png?fit=1412%2C1084&amp;ssl=1\" data-orig-size=\"1412,1084\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screen Shot 2017-11-26 at 12.36.34 PM\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1.png?fit=300%2C230&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1.png?fit=854%2C656&amp;ssl=1\" loading=\"lazy\" class=\"wp-image-47 size-large\" src=\"https:\/\/i2.wp.com\/www.diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1-1024x786.png?resize=730%2C560\" alt=\"Choose the node-red-contrib-home-assistant package\" width=\"730\" height=\"560\" srcset=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1.png?resize=1024%2C786&amp;ssl=1 1024w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1.png?resize=600%2C461&amp;ssl=1 600w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1.png?resize=300%2C230&amp;ssl=1 300w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1.png?resize=768%2C590&amp;ssl=1 768w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-12.36.34-PM-1.png?w=1412&amp;ssl=1 1412w\" sizes=\"(max-width: 730px) 100vw, 730px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-47\" class=\"wp-caption-text\">Choose this one<\/p><\/div>\n<p>As you can see, there are several user contributed Home Assistant nodes. I tried all of them, and the one you want is\u00a0<strong>node-red-contrib-home-assistant<\/strong> &#8211; not the &#8220;-ws&#8221; websocket one or the POST one!<\/p>\n<p>We will now have a useful set of nodes for interfacing with Home Assistant available in the sidebar.<\/p>\n<p>Optionally, we can also add Node-Red to the Home Assistant menu for easy access. To do this, add the following lines to your configuration.yaml file:<\/p>\n<pre>panel_iframe:\r\n nodered:\r\n   title: 'Node-Red'\r\n   icon: 'mdi:shuffle-variant'\r\n   url: 'http:\/\/YOURIPADDRESS:1880\/'<\/pre>\n<p><script type=\"text\/javascript\">\namzn_assoc_placement = \"adunit0\";\namzn_assoc_tracking_id = \"diyfuturism-20\";\namzn_assoc_ad_mode = \"manual\";\namzn_assoc_ad_type = \"smart\";\namzn_assoc_marketplace = \"amazon\";\namzn_assoc_region = \"US\";\namzn_assoc_linkid = \"eb500c27d710f78cdb841b48ee001ade\";\namzn_assoc_design = \"in_content\";\namzn_assoc_asins = \"B01C6EQNNK,B01GJ826F8,B01FK2SDOC,B072BX1KMQ,B07354SP1C\";\namzn_assoc_title = \"Home Assistant Hardware\";\n<\/script><br \/>\n<script src=\"\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US\"><\/script><\/p>\n<h3>STEP FOUR: Putting it All Together<\/h3>\n<p>Now that everything is installed, let&#8217;s make a simple flow and make sure it works.\u00a0 I am going to use an inject node as an input, and a Home Assistant service node as the output to toggle a light.<\/p>\n<p>Drag the two nodes into your palette and connect them with a wire.<\/p>\n<div id=\"attachment_57\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-57\" data-attachment-id=\"57\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/screen-shot-2017-11-26-at-1-42-07-pm\/\" data-orig-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM.png?fit=1028%2C376&amp;ssl=1\" data-orig-size=\"1028,376\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"The simplest flow, an input and an output.\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM.png?fit=300%2C110&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM.png?fit=854%2C313&amp;ssl=1\" loading=\"lazy\" class=\"wp-image-57 size-large\" src=\"https:\/\/i2.wp.com\/www.diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM-1024x375.png?resize=730%2C267\" alt=\"The simplest flow\" width=\"730\" height=\"267\" srcset=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM.png?resize=1024%2C375&amp;ssl=1 1024w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM.png?resize=600%2C219&amp;ssl=1 600w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM.png?resize=300%2C110&amp;ssl=1 300w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM.png?resize=768%2C281&amp;ssl=1 768w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.42.07-PM.png?w=1028&amp;ssl=1 1028w\" sizes=\"(max-width: 730px) 100vw, 730px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-57\" class=\"wp-caption-text\">The simplest flow, an input and an output.<\/p><\/div>\n<p>Clicking once on either node will show it&#8217;s documentation in the &#8220;info&#8221; panel to the right. Note the red triangle on the Home Assistant node &#8211; this means the node needs to be configured. Double clicking it brings up it&#8217;s options.<\/p>\n<div id=\"attachment_58\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-58\" data-attachment-id=\"58\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/screen-shot-2017-11-26-at-1-44-37-pm\/\" data-orig-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM.png?fit=988%2C1174&amp;ssl=1\" data-orig-size=\"988,1174\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screen Shot 2017-11-26 at 1.44.37 PM\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM.png?fit=252%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM.png?fit=854%2C1014&amp;ssl=1\" loading=\"lazy\" class=\"wp-image-58 size-large\" src=\"https:\/\/i2.wp.com\/www.diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM-862x1024.png?resize=730%2C867\" alt=\"Editing a Node's options\" width=\"730\" height=\"867\" srcset=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM.png?resize=862%2C1024&amp;ssl=1 862w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM.png?resize=600%2C713&amp;ssl=1 600w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM.png?resize=252%2C300&amp;ssl=1 252w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM.png?resize=768%2C913&amp;ssl=1 768w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-1.44.37-PM.png?w=988&amp;ssl=1 988w\" sizes=\"(max-width: 730px) 100vw, 730px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-58\" class=\"wp-caption-text\">Node Options<\/p><\/div>\n<p>Enter your Home Assistant server details if you haven&#8217;t already. Then fill in the appropriate data for the service call. In this case we use the &#8220;toggle&#8221; service from the &#8220;light&#8221; domain on the &#8220;light.bedroom&#8221; entity. The Data field is filled out in JSON format, exactly the same as the Service Call page in the Home Assistant developer tools.<\/p>\n<p>All filled in correctly, we must hit the DEPLOY button to activate the flow. Now when you press the button on the inject node, Home Assistant will toggle the light on and off.<\/p>\n<p>Ready to make some simple flows? Check out my post on <a href=\"http:\/\/www.diyfuturism.com\/index.php\/2017\/12\/14\/basic-node-red-flows-for-automating-lighting-with-home-assistant\/\">Basic Lighting Flows<\/a>.<\/p>\n<h3>SETTING UP ENCRYPTION<\/h3>\n<p>To set up Let&#8217;s Encrypt SSL certificates for both Home Assistant and Node-Red, see\u00a0<a href=\"http:\/\/diyfuturism.com\/index.php\/2018\/01\/31\/setting-up-lets-encrypt-with-node-red-home-assistant\/\">this post.<\/a><\/p>\n<h3>FURTHER RESOURCES<\/h3>\n<p>This guide is just to get you set up quickly and does not even begin to scratch the surface of what is possible running Home Assistant and Node-Red together. Next, you may want to set up some <a href=\"http:\/\/www.diyfuturism.com\/index.php\/2017\/12\/14\/basic-node-red-flows-for-automating-lighting-with-home-assistant\/\">basic flows to automate lighting<\/a> or look at some of the other <a href=\"http:\/\/www.diyfuturism.com\/index.php\/2017\/11\/26\/big-list-of-home-automation-nodes-for-node-red\/\">useful nodes<\/a> available to get your own ideas.<\/p>\n<p>For a general overview of Node-Red and it&#8217;s interface, see this video<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"854\" height=\"481\" src=\"https:\/\/www.youtube.com\/embed\/WxUTYzxIDns?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation\"><\/iframe><\/span><\/p>\n<ul>\n<li><a href=\"http:\/\/noderedguide.com\/\">The Node Red Guide\u00a0<\/a>&#8211; A series of lectures with examples and plenty of references.<\/li>\n<li><a href=\"https:\/\/nodered.org\/docs\/\">Node Red User Guide<\/a>\u00a0&#8211; A comprehensive reference and cookbook<\/li>\n<li><a href=\"https:\/\/www.coursera.org\/learn\/developer-iot\/lecture\/E2Q19\/introduction-to-nodered-1\" class=\"broken_link\">Coursera Introduction<\/a>\u00a0&#8211; From a series on the Internet of Things by IBM<\/li>\n<li><a href=\"https:\/\/groups.google.com\/forum\/#!forum\/node-red\">Node-Red Google Group<\/a>\u00a0&#8211; user forum<\/li>\n<li><a href=\"http:\/\/www.diyfuturism.com\/index.php\/2017\/12\/14\/basic-node-red-flows-for-automating-lighting-with-home-assistant\/\">Basic Lighting Automation Flows with Node-Red<\/a><\/li>\n<\/ul>\n<p><script type=\"text\/javascript\">\namzn_assoc_placement = \"adunit0\";\namzn_assoc_tracking_id = \"diyfuturism-20\";\namzn_assoc_ad_mode = \"manual\";\namzn_assoc_ad_type = \"smart\";\namzn_assoc_marketplace = \"amazon\";\namzn_assoc_region = \"US\";\namzn_assoc_linkid = \"eb500c27d710f78cdb841b48ee001ade\";\namzn_assoc_design = \"in_content\";\namzn_assoc_asins = \"B01C6EQNNK,B01GJ826F8,B01FK2SDOC,B072BX1KMQ,B07354SP1C\";\namzn_assoc_title = \"Home Assistant Hardware\";\n<\/script><br \/>\n<script src=\"\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"wpm_excerpt clearfix\"><p>Home Assistant is one of the most interesting open source projects I&#8217;ve ever come across. It interfaces with any device, platform, or service you can think &hellip;<\/p>\n<\/div>","protected":false},"author":1,"featured_media":92,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[8,7,11],"tags":[47,57,53,56,55,36,31,54,42,52,25,58],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Open Source Smart Home: Getting Started with Home Assistant &amp; Node-Red - DIY Futurism<\/title>\n<meta name=\"description\" content=\"Setting up Home Assistant on a Raspberry Pi 3 to communicate with Node-Red, the internet-of-things visual programming tool.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Open Source Smart Home: Getting Started with Home Assistant &amp; Node-Red - DIY Futurism\" \/>\n<meta property=\"og:description\" content=\"Setting up Home Assistant on a Raspberry Pi 3 to communicate with Node-Red, the internet-of-things visual programming tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/\" \/>\n<meta property=\"og:site_name\" content=\"DIY Futurism\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-26T21:55:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-31T21:46:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png?fit=1520%2C712&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1520\" \/>\n\t<meta property=\"og:image:height\" content=\"712\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@diyfuturism\" \/>\n<meta name=\"twitter:site\" content=\"@diyfuturism\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"brad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/diyfuturism.com\/#website\",\"url\":\"https:\/\/diyfuturism.com\/\",\"name\":\"DIY Futurism\",\"description\":\"Adventures in Open Source Smart Home Projects\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/diyfuturism.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png?fit=1520%2C712&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png?fit=1520%2C712&ssl=1\",\"width\":1520,\"height\":712,\"caption\":\"Lighting controlled by presence in Node-Red & Home Assistant\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#webpage\",\"url\":\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/\",\"name\":\"The Open Source Smart Home: Getting Started with Home Assistant & Node-Red - DIY Futurism\",\"isPartOf\":{\"@id\":\"https:\/\/diyfuturism.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#primaryimage\"},\"datePublished\":\"2017-11-26T21:55:57+00:00\",\"dateModified\":\"2018-01-31T21:46:33+00:00\",\"author\":{\"@id\":\"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c\"},\"description\":\"Setting up Home Assistant on a Raspberry Pi 3 to communicate with Node-Red, the internet-of-things visual programming tool.\",\"breadcrumb\":{\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/diyfuturism.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Open Source Smart Home: Getting Started with Home Assistant &#038; Node-Red\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c\",\"name\":\"brad\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/diyfuturism.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g\",\"caption\":\"brad\"},\"description\":\"I'm a professional artist who likes to tinker with building things in my spare time.\",\"sameAs\":[\"https:\/\/twitter.com\/@diyfuturism\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Open Source Smart Home: Getting Started with Home Assistant & Node-Red - DIY Futurism","description":"Setting up Home Assistant on a Raspberry Pi 3 to communicate with Node-Red, the internet-of-things visual programming tool.","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:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/","og_locale":"en_US","og_type":"article","og_title":"The Open Source Smart Home: Getting Started with Home Assistant & Node-Red - DIY Futurism","og_description":"Setting up Home Assistant on a Raspberry Pi 3 to communicate with Node-Red, the internet-of-things visual programming tool.","og_url":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/","og_site_name":"DIY Futurism","article_published_time":"2017-11-26T21:55:57+00:00","article_modified_time":"2018-01-31T21:46:33+00:00","og_image":[{"width":1520,"height":712,"url":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png?fit=1520%2C712&ssl=1","path":"\/var\/www\/html\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png","size":"full","id":92,"alt":"","pixels":1082240,"type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@diyfuturism","twitter_site":"@diyfuturism","twitter_misc":{"Written by":"brad","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/diyfuturism.com\/#website","url":"https:\/\/diyfuturism.com\/","name":"DIY Futurism","description":"Adventures in Open Source Smart Home Projects","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/diyfuturism.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png?fit=1520%2C712&ssl=1","contentUrl":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png?fit=1520%2C712&ssl=1","width":1520,"height":712,"caption":"Lighting controlled by presence in Node-Red & Home Assistant"},{"@type":"WebPage","@id":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#webpage","url":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/","name":"The Open Source Smart Home: Getting Started with Home Assistant & Node-Red - DIY Futurism","isPartOf":{"@id":"https:\/\/diyfuturism.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#primaryimage"},"datePublished":"2017-11-26T21:55:57+00:00","dateModified":"2018-01-31T21:46:33+00:00","author":{"@id":"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c"},"description":"Setting up Home Assistant on a Raspberry Pi 3 to communicate with Node-Red, the internet-of-things visual programming tool.","breadcrumb":{"@id":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/the-open-source-smart-home-getting-started-with-home-assistant-node-red\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/diyfuturism.com\/"},{"@type":"ListItem","position":2,"name":"The Open Source Smart Home: Getting Started with Home Assistant &#038; Node-Red"}]},{"@type":"Person","@id":"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c","name":"brad","image":{"@type":"ImageObject","@id":"https:\/\/diyfuturism.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g","caption":"brad"},"description":"I'm a professional artist who likes to tinker with building things in my spare time.","sameAs":["https:\/\/twitter.com\/@diyfuturism"]}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-26-at-10.43.33-PM.png?fit=1520%2C712&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9q0Cl-m","jetpack-related-posts":[{"id":16,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/big-list-of-home-automation-nodes-for-node-red\/","url_meta":{"origin":22,"position":0},"title":"Big List of Useful Home Automation Nodes for Node-Red","date":"November 26, 2017","format":false,"excerpt":"An ongoing list of nodes I have found useful for constructing home automation flows. I have not included device platform nodes, as all state tracking and actions are performed in Home Assistant.","rel":"","context":"In &quot;Node-Red&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":215,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/12\/15\/useful-sensor-motion-last-seen-________\/","url_meta":{"origin":22,"position":1},"title":"Useful Sensor: Motion Last Seen &#038; Meta Motion Sensor","date":"December 15, 2017","format":false,"excerpt":"\u00a0 You know what's great about motion sensors? They are very, very cheap to build yourself. All it takes is an esp8266 module like the Wemos D1 Mini, some PIR sensors, and the ESP Easy firmware and you can have a bunch up and running in a few minutes. I\u00a0haven't\u2026","rel":"","context":"In &quot;Config&quot;","img":{"alt_text":"Motion Last Seen","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/12\/Screen-Shot-2017-12-15-at-8.19.16-PM.png?fit=475%2C270&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":34,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/26\/presence-detection-with-home-assistant-bayesian-probability\/","url_meta":{"origin":22,"position":2},"title":"Presence Detection Part 1: Home Assistant &#038; Bayesian Probability","date":"November 26, 2017","format":false,"excerpt":"One of the most useful things to track for home automation is whether anyone is home or not. If you want the lights to turn off when no one is home, the vacuum robot to run when you're at work, or the heat to come on before you arrive home\u2026","rel":"","context":"In &quot;Config&quot;","img":{"alt_text":"","src":"https:\/\/i2.wp.com\/www.diyfuturism.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-25-at-8.31.52-PM.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":764,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/12\/16\/my-node-red-smart-alarm-clock-with-snooze\/","url_meta":{"origin":22,"position":3},"title":"My Node-Red Smart Alarm Clock with Snooze","date":"December 16, 2018","format":false,"excerpt":"Definitely one of my very favorite features of my smart house is my alarm clock. Which is funny because I am not a morning person\u00a0at all\u00a0and hate getting up. But the daily grind is made a little better by having my house gently wake me by fading in lights and\u2026","rel":"","context":"In &quot;Config&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/12\/david-von-diemar-291597-unsplash.jpg?fit=1200%2C734&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":718,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/07\/30\/automate-dumb-devices-ir-node-red-home-assistant\/","url_meta":{"origin":22,"position":4},"title":"Automating Dumb Devices with Node-Red and Home Assistant","date":"July 30, 2018","format":false,"excerpt":"Here in coastal California, air conditioning is extremely uncommon. So during a recent heat wave, I got desperate and went down to the big box store in search of some relief and came home with a regular old dumb fan. I'm sure this is the kind of gadget you could\u2026","rel":"","context":"In &quot;Hardware&quot;","img":{"alt_text":"Automating a Dumb Fan","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/07\/Screenshot-from-2018-07-30-125551.png?fit=939%2C759&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":417,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/31\/setting-up-lets-encrypt-with-node-red-home-assistant\/","url_meta":{"origin":22,"position":5},"title":"Setting Up Let&#8217;s Encrypt with Node-Red &#038; Home Assistant","date":"January 31, 2018","format":false,"excerpt":"Privacy is important in the smart home, and one of the primary reasons to use Home Assistant is because it is totally under control of the user, on your own network. Since writing these posts, setting up encryption with Hass & Node-Red has been the number one question I've been\u2026","rel":"","context":"In &quot;Config&quot;","img":{"alt_text":"Let's Encrypt","src":"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/01\/images.duckduckgo.png?fit=800%2C400&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/22"}],"collection":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":21,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"predecessor-version":[{"id":430,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/22\/revisions\/430"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/media\/92"}],"wp:attachment":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}