{"id":517,"date":"2018-03-20T12:50:50","date_gmt":"2018-03-20T19:50:50","guid":{"rendered":"http:\/\/diyfuturism.com\/?p=517"},"modified":"2018-06-14T19:26:26","modified_gmt":"2018-06-15T02:26:26","slug":"pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker","status":"publish","type":"post","link":"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/","title":{"rendered":"Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox &#038; Docker"},"content":{"rendered":"<p>As my Home Assistant setup has become increasingly complex, I&#8217;ve started to see the limitations of the Raspberry Pi platform. Graphs are slow, and the history and logbook are basically unusable to me. Everything works, but I&#8217;d like to be able to use these things with a lot more data and still have everything be snappy in the frontend. My other home server needs have grown as well, so I decided to get an <a href=\"http:\/\/amzn.to\/2FNw08r\" target=\"_blank\" rel=\"noopener\">Intel NUC<\/a> and migrate all of my current servers to either Docker containers or virtual machines with <a href=\"https:\/\/www.proxmox.com\/en\/\" target=\"_blank\" rel=\"noopener\">Proxmox<\/a>.<\/p>\n<p><!--more--><br \/>\n<script type=\"text\/javascript\">\namzn_assoc_placement = \"adunit0\";\namzn_assoc_tracking_id = \"diyfuturism-20\";\namzn_assoc_ad_mode = \"search\";\namzn_assoc_ad_type = \"smart\";\namzn_assoc_marketplace = \"amazon\";\namzn_assoc_region = \"US\";\namzn_assoc_default_search_phrase = \"intel nuc\";\namzn_assoc_default_category = \"All\";\namzn_assoc_linkid = \"2e22cfe4c539e999844fa04e0177e69b\";\namzn_assoc_design = \"in_content\";\n<\/script><br \/>\n<script src=\"\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US\"><\/script><\/p>\n<h2>THE PLAN<\/h2>\n<p>I&#8217;ve been wanting to learn more about virtualization so this seems like a good way to accomplish that. I have acquired an <a href=\"http:\/\/amzn.to\/2HQacWg\" target=\"_blank\" rel=\"noopener\">Intel NUC 5i5MYHE<\/a> with these specs:<\/p>\n<ul>\n<li>i5-5300U 2.3Ghz Processor (<a href=\"https:\/\/www.cpubenchmark.net\/mobile\/cpu.php?cpu=Intel+Core+i5-5300U+%40+2.30GHz\" target=\"_blank\" rel=\"noopener\" class=\"broken_link\">Passmark: 3784<\/a>)<\/li>\n<li>16GB RAM (upgradeable to 32gb)<\/li>\n<li>512GB SSD<\/li>\n<li>Gigabit ethernet \/ USB 3.0 &amp; 2.0<\/li>\n<\/ul>\n<p>Very overkill for Home Assistant, but I also plan to run Plex Media Server (which currently is on an <a href=\"http:\/\/diyfuturism.com\/index.php\/2017\/11\/27\/hardware-odroid-xu4-as-plex-media-server\/\">Odroid XU4<\/a>) so the CPU was important. I want to be able to run other VMs for things like development and testing, and this was one of the few models <a href=\"http:\/\/www.virten.net\/2015\/10\/5th-gen-intel-nuc-with-32gb-memory\/\" target=\"_blank\" rel=\"noopener\">confirmed to be upgradeable to 32GB of RAM<\/a>. All of my file serving is handled by a <a href=\"http:\/\/amzn.to\/2GMZ5hv\" target=\"_blank\" rel=\"noopener\">Synology NAS<\/a>, so storage wasn&#8217;t really a concern here. This model does support both a M.2 SSD and 2.5&#8243; hard disk. Eventually I&#8217;d like to run all the VMs off the SSD and store persistent Docker data on the spinning disk.<\/p>\n<p>One of the reasons I chose the NUC is that it is relatively low power. By running Proxmox as the host OS, I could eventually cluster multiple NUCs and expand my existing resources easily without have jet engine servers in my apartment.<\/p>\n<p>So the plan is to install Proxmox and have a virtual machine that runs nothing but Docker. Then I will install Hass.IO and it&#8217;s related services inside Docker containers.<\/p>\n<h3>INSTALL PROXMOX ON THE NUC<\/h3>\n<p>First things first, update the BIOS to get that out of the way. <a href=\"https:\/\/www.intel.com\/content\/dam\/support\/us\/en\/documents\/boardsandkits\/F7-BIOS-Flash-Update-Instructions.pdf\" target=\"_blank\" rel=\"noopener\" class=\"broken_link\">Here&#8217;s the instructions<\/a>\u00a0(PDF) from Intel. I am going to use the &#8220;F7 Method&#8221; since I don&#8217;t have a Windows PC to use their utility.<\/p>\n<p>Next I made a bootable USB image of Debian. Just download the ISO and write it to my USB stick:<\/p>\n<pre>sudo dd if=debian-9.4.0-amd64-netinst.iso of=\/dev\/disk4<\/pre>\n<p>I did a standard, headless install of Debian. After a quick install and a reboot, I was at a Linux terminal.<\/p>\n<p>Following the <a href=\"https:\/\/pve.proxmox.com\/wiki\/Install_Proxmox_VE_on_Debian_Stretch\" target=\"_blank\" rel=\"noopener\">Proxmox-over-Debian instructions<\/a> from their wiki, I made sure I had a static IP on my network that resolved to my hostname. Then I added the Proxmox repositories and installed Proxmox:<\/p>\n<pre>echo \"deb <a class=\"external free\" href=\"http:\/\/download.proxmox.com\/debian\/pve\" rel=\"nofollow\">http:\/\/download.proxmox.com\/debian\/pve<\/a> stretch pve-no-subscription\" &gt; \/etc\/apt\/sources.list.d\/pve-install-repo.list\r\nwget http:\/\/download.proxmox.com\/debian\/proxmox-ve-release-5.x.gpg -O \/etc\/apt\/trusted.gpg.d\/proxmox-ve-release-5.x.gpg\r\napt update &amp;&amp; apt dist-upgrade\r\napt install proxmox-ve postfix open-iscsi\r\n<\/pre>\n<p>This replaces the Debian kernel with the Proxmox virtualization capable one and installs everything needed to make it work. After rebooting, the login prompt now says &#8220;Welcome to the Proxmox Virtual Environment&#8221;. Now I can login via the web interface at https:\/\/IP:8006\/<\/p>\n<div id=\"attachment_519\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-519\" data-attachment-id=\"519\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/screen-shot-2018-03-19-at-7-15-54-pm\/\" data-orig-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM.png?fit=1076%2C710&amp;ssl=1\" data-orig-size=\"1076,710\" 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=\"Proxmox Web Interface\" data-image-description=\"&lt;p&gt;Proxmox Web Interface&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Proxmox Web Interface&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM.png?fit=300%2C198&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM.png?fit=854%2C564&amp;ssl=1\" loading=\"lazy\" class=\"size-large wp-image-519\" src=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM-1024x676.png?resize=730%2C482\" alt=\"Proxmox Web Interface\" width=\"730\" height=\"482\" srcset=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM.png?resize=1024%2C676&amp;ssl=1 1024w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM.png?resize=600%2C396&amp;ssl=1 600w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM.png?resize=300%2C198&amp;ssl=1 300w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM.png?resize=768%2C507&amp;ssl=1 768w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.15.54-PM.png?w=1076&amp;ssl=1 1076w\" sizes=\"(max-width: 730px) 100vw, 730px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-519\" class=\"wp-caption-text\">Proxmox Web Interface<\/p><\/div>\n<p><script type=\"text\/javascript\">\namzn_assoc_placement = \"adunit0\";\namzn_assoc_tracking_id = \"diyfuturism-20\";\namzn_assoc_ad_mode = \"search\";\namzn_assoc_ad_type = \"smart\";\namzn_assoc_marketplace = \"amazon\";\namzn_assoc_region = \"US\";\namzn_assoc_default_search_phrase = \"intel nuc\";\namzn_assoc_default_category = \"All\";\namzn_assoc_linkid = \"2e22cfe4c539e999844fa04e0177e69b\";\namzn_assoc_design = \"in_content\";\n<\/script><br \/>\n<script src=\"\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US\"><\/script><\/p>\n<h2>CREATING THE VIRTUAL MACHINE<\/h2>\n<h3>NETWORKING<\/h3>\n<p>In order for the virtual machine to have access to the network, I need to set up a bridge. I did this manually by editing the \/etc\/network\/interfaces file<\/p>\n<pre>source \/etc\/network\/interfaces.d\/*\r\n\r\nauto lo\r\niface lo inet loopback\r\n\r\nallow-hotplug enp0s25\r\n\r\niface enp0s25 inet manual\r\n\r\nauto vmbr0\r\niface vmbr0 inet static\r\n address 192.168.0.2\r\n netmask 255.255.255.0\r\n gateway 192.168.0.1\r\n bridge_ports enp0s25\r\n bridge_stp off\r\n bridge_fd 0<\/pre>\n<p>This gives a static IP of 192.168.0.2 to the host NUC on my LAN and bridges the VMs to the network.<\/p>\n<h3>INSTALLING THE VM<\/h3>\n<p>In order to install some new VMs from an ISO, copy those ISO files to <strong>\/var\/lib\/vz\/template\/iso<\/strong> on the host NUC. I used SFTP. The images will appear in the &#8220;Create VM&#8221; dialog:<\/p>\n<div id=\"attachment_520\" style=\"width: 745px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-520\" data-attachment-id=\"520\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/screen-shot-2018-03-19-at-7-19-23-pm\/\" data-orig-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.19.23-PM.png?fit=735%2C514&amp;ssl=1\" data-orig-size=\"735,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=\"New Virtual Machine\" data-image-description=\"&lt;p&gt;New Virtual Machine&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;New Virtual Machine&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.19.23-PM.png?fit=300%2C210&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.19.23-PM.png?fit=735%2C514&amp;ssl=1\" loading=\"lazy\" class=\"size-full wp-image-520\" src=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.19.23-PM.png?resize=735%2C514\" alt=\"New Virtual Machine\" width=\"735\" height=\"514\" srcset=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.19.23-PM.png?w=735&amp;ssl=1 735w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.19.23-PM.png?resize=600%2C420&amp;ssl=1 600w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.19.23-PM.png?resize=300%2C210&amp;ssl=1 300w\" sizes=\"(max-width: 735px) 100vw, 735px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-520\" class=\"wp-caption-text\">New Virtual Machine<\/p><\/div>\n<p>I select my Debian ISO, gave it 128GB of hard disk space, and set the CPU to share all 4 cores. For RAM I have it set to use a range of 4-10GB.<\/p>\n<p>Hit start on the VM and open the console &#8211; now I am installing Debian for the second time today.<\/p>\n<div id=\"attachment_521\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-521\" data-attachment-id=\"521\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/screen-shot-2018-03-19-at-7-52-29-pm\/\" data-orig-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?fit=1668%2C959&amp;ssl=1\" data-orig-size=\"1668,959\" 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=\"Installing Debian in a VM\" data-image-description=\"&lt;p&gt;Installing Debian in a VM&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Installing Debian in a VM&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?fit=300%2C172&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?fit=854%2C491&amp;ssl=1\" loading=\"lazy\" class=\"size-large wp-image-521\" src=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM-1024x589.png?resize=730%2C420\" alt=\"Installing Debian in a VM\" width=\"730\" height=\"420\" srcset=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?resize=1024%2C589&amp;ssl=1 1024w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?resize=600%2C345&amp;ssl=1 600w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?resize=300%2C172&amp;ssl=1 300w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?resize=768%2C442&amp;ssl=1 768w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?resize=1200%2C690&amp;ssl=1 1200w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-7.52.29-PM.png?w=1668&amp;ssl=1 1668w\" sizes=\"(max-width: 730px) 100vw, 730px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-521\" class=\"wp-caption-text\">Installing Debian in a VM<\/p><\/div>\n<h3>INSTALLING DOCKER AND HASS.IO<\/h3>\n<p>Now I need to get Docker and the HA dependencies installed. The Home Assistant info for <a href=\"https:\/\/github.com\/home-assistant\/hassio-build\/tree\/master\/install#install-hassio\" target=\"_blank\" rel=\"noopener\">this procedure is here<\/a>. Install what it needs:<\/p>\n<pre>apt-get install jq curl dbus socat bash avahi-daemon\r\napt-get install -y apt-transport-https ca-certificates wget software-properties-common\r\nwget https:\/\/download.docker.com\/linux\/debian\/gpg \r\nsudo apt-key add gpg\r\necho \"deb [arch=amd64] https:\/\/download.docker.com\/linux\/debian $(lsb_release -cs) stable\" | sudo tee -a \/etc\/apt\/sources.list.d\/docker.list\r\napt-get update\r\napt-get -y install docker-ce\r\n<\/pre>\n<p>Now, install Hass.IO in Docker with the intel-nuc option selected.<\/p>\n<pre>curl -sL https:\/\/raw.githubusercontent.com\/home-assistant\/hassio-build\/master\/install\/hassio_install | bash -s -- -m intel-nuc<\/pre>\n<p>And it&#8217;s up:<\/p>\n<div id=\"attachment_522\" style=\"width: 397px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-522\" data-attachment-id=\"522\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/screen-shot-2018-03-19-at-8-43-37-pm\/\" data-orig-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-8.43.37-PM.png?fit=387%2C497&amp;ssl=1\" data-orig-size=\"387,497\" 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=\"Success!\" data-image-description=\"&lt;p&gt;Success!&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Success!&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-8.43.37-PM.png?fit=234%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-8.43.37-PM.png?fit=387%2C497&amp;ssl=1\" loading=\"lazy\" class=\"size-full wp-image-522\" src=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-8.43.37-PM.png?resize=387%2C497\" alt=\"Success!\" width=\"387\" height=\"497\" srcset=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-8.43.37-PM.png?w=387&amp;ssl=1 387w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-19-at-8.43.37-PM.png?resize=234%2C300&amp;ssl=1 234w\" sizes=\"(max-width: 387px) 100vw, 387px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-522\" class=\"wp-caption-text\">Success!<\/p><\/div>\n<p><script type=\"text\/javascript\">\namzn_assoc_placement = \"adunit0\";\namzn_assoc_tracking_id = \"diyfuturism-20\";\namzn_assoc_ad_mode = \"search\";\namzn_assoc_ad_type = \"smart\";\namzn_assoc_marketplace = \"amazon\";\namzn_assoc_region = \"US\";\namzn_assoc_default_search_phrase = \"z-wave\";\namzn_assoc_default_category = \"All\";\namzn_assoc_linkid = \"2e22cfe4c539e999844fa04e0177e69b\";\namzn_assoc_design = \"in_content\";\n<\/script><br \/>\n<script src=\"\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US\"><\/script><\/p>\n<h3>Z-WAVE USB PASS THROUGH<\/h3>\n<p>I have a HUZB-1 Z-Wave\/Zigbee stick. In order to pass it through to the VM, I connect to the NUC and:<\/p>\n<pre>brad@nuc:~$ lsusb\r\nBus 001 Device 002: ID 8087:8001 Intel Corp.\r\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\nBus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\r\nBus 002 Device 003: ID 10c4:8a2a Cygnal Integrated Products, Inc.\r\nBus 002 Device 002: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory\r\nBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<\/pre>\n<p>I&#8217;m interested in the Cygnal device, which has an ID of 10c4:8a2a.<\/p>\n<pre>brad@nuc:~$ nano \/etc\/pve\/qemu-server\/100.conf<\/pre>\n<p>100 is the ID of my VM. Add this line at the bottom:<\/p>\n<pre>usb0: host=10c4:8a2a<\/pre>\n<p>Reboot the VM and it will now have access to my USB stick as if it were plugged in locally.<\/p>\n<h3>CONTAINER MANAGEMENT<\/h3>\n<p>So now I&#8217;m almost done: I have a host server running Proxmox, and have a virtual machine dedicated to running Docker. Home Assistant (Hass.IO) runs in this Docker. For easy management of the containers, I&#8217;m going to install Portainer as a web GUI.<\/p>\n<pre>docker volume create portainer_data \r\ndocker run -d -p 9000:9000 -v \/var\/run\/docker.sock:\/var\/run\/docker.sock -v portainer_data:\/data portainer\/portainer<\/pre>\n<div id=\"attachment_527\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-527\" data-attachment-id=\"527\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/screen-shot-2018-03-20-at-11-51-22-am\/\" data-orig-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM.png?fit=1192%2C687&amp;ssl=1\" data-orig-size=\"1192,687\" 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=\"Portainer Management UI\" data-image-description=\"&lt;p&gt;Portainer Management UI&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Portainer Management UI&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM.png?fit=300%2C173&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM.png?fit=854%2C492&amp;ssl=1\" loading=\"lazy\" class=\"size-large wp-image-527\" src=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM-1024x590.png?resize=730%2C421\" alt=\"Portainer Management UI\" width=\"730\" height=\"421\" srcset=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM.png?resize=1024%2C590&amp;ssl=1 1024w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM.png?resize=600%2C346&amp;ssl=1 600w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM.png?resize=300%2C173&amp;ssl=1 300w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM.png?resize=768%2C443&amp;ssl=1 768w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-11.51.22-AM.png?w=1192&amp;ssl=1 1192w\" sizes=\"(max-width: 730px) 100vw, 730px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-527\" class=\"wp-caption-text\">Portainer Management UI<\/p><\/div>\n<p>With Hass.IO in Docker, I have two containers: homeassistant itself and the Hass.IO supervisor. If I install any addons within Hass.IO, they run the same as any other Docker containers and can be managed here as well. You can see I&#8217;ve enabled Samba, MQTT, and Node-Red as addons from within Hass.IO. There is no real difference between running an add-on or a standard Docker, add-ons are just Docker containers tailored to Hass.IO.<\/p>\n<p>Now I just need to migrate my HA installation over. Unfortunately, copying a full Hass.IO backup did not work (different architectures?). So I simply copied my HA and Node-Red config folders over to the new Hass.IO via Samba and that got me 90% of the way there. A little tweaking of my databases and getting my other network servers up, and I will be fully migrated over.<\/p>\n<h3>AND THE PERFORMANCE?<\/h3>\n<p>I am seeing a very dramatic increase in responsiveness. Not just in the web UI (I can now use the logbook and history!) but in the responsiveness of all of my devices. Everything from MQTT triggers to scenes to Z-Wave devices all are noticeable much, much faster. And the load on my NUC, with 3 VMs going and all the above Dockers turned on:<\/p>\n<div id=\"attachment_528\" style=\"width: 775px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-528\" data-attachment-id=\"528\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/screen-shot-2018-03-20-at-12-00-20-pm\/\" data-orig-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-12.00.20-PM.png?fit=765%2C293&amp;ssl=1\" data-orig-size=\"765,293\" 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=\"NUC System Load\" data-image-description=\"&lt;p&gt;NUC System Load&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;NUC System Load&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-12.00.20-PM.png?fit=300%2C115&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-12.00.20-PM.png?fit=765%2C293&amp;ssl=1\" loading=\"lazy\" class=\"size-full wp-image-528\" src=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-12.00.20-PM.png?resize=765%2C293\" alt=\"NUC System Load\" width=\"765\" height=\"293\" srcset=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-12.00.20-PM.png?w=765&amp;ssl=1 765w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-12.00.20-PM.png?resize=600%2C230&amp;ssl=1 600w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-20-at-12.00.20-PM.png?resize=300%2C115&amp;ssl=1 300w\" sizes=\"(max-width: 765px) 100vw, 765px\" data-recalc-dims=\"1\" \/><p id=\"caption-attachment-528\" class=\"wp-caption-text\">NUC System Load<\/p><\/div>\n<p>Guess I need to find something for all those extra CPU cycles to do!<\/p>\n<p><script type=\"text\/javascript\">\namzn_assoc_placement = \"adunit0\";\namzn_assoc_tracking_id = \"diyfuturism-20\";\namzn_assoc_ad_mode = \"search\";\namzn_assoc_ad_type = \"smart\";\namzn_assoc_marketplace = \"amazon\";\namzn_assoc_region = \"US\";\namzn_assoc_default_search_phrase = \"intel nuc\";\namzn_assoc_default_category = \"All\";\namzn_assoc_linkid = \"2e22cfe4c539e999844fa04e0177e69b\";\namzn_assoc_design = \"in_content\";\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>As my Home Assistant setup has become increasingly complex, I&#8217;ve started to see the limitations of the Raspberry Pi platform. Graphs are slow, and the history &hellip;<\/p>\n<\/div>","protected":false},"author":1,"featured_media":687,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[6,7,148],"tags":[19,154,96,97,36,31,155,150,149,151,85,153,152],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox &amp; Docker - DIY Futurism<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox &amp; Docker - DIY Futurism\" \/>\n<meta property=\"og:description\" content=\"As my Home Assistant setup has become increasingly complex, I&#8217;ve started to see the limitations of the Raspberry Pi platform. Graphs are slow, and the history &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/\" \/>\n<meta property=\"og:site_name\" content=\"DIY Futurism\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-20T19:50:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-15T02:26:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/nuc.jpeg?fit=645%2C428&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"645\" \/>\n\t<meta property=\"og:image:height\" content=\"428\" \/>\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=\"7 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\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/nuc.jpeg?fit=645%2C428&ssl=1\",\"contentUrl\":\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/nuc.jpeg?fit=645%2C428&ssl=1\",\"width\":645,\"height\":428},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#webpage\",\"url\":\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/\",\"name\":\"Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox & Docker - DIY Futurism\",\"isPartOf\":{\"@id\":\"https:\/\/diyfuturism.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#primaryimage\"},\"datePublished\":\"2018-03-20T19:50:50+00:00\",\"dateModified\":\"2018-06-15T02:26:26+00:00\",\"author\":{\"@id\":\"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c\"},\"breadcrumb\":{\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/diyfuturism.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox &#038; Docker\"}]},{\"@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":"Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox & Docker - DIY Futurism","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\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/","og_locale":"en_US","og_type":"article","og_title":"Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox & Docker - DIY Futurism","og_description":"As my Home Assistant setup has become increasingly complex, I&#8217;ve started to see the limitations of the Raspberry Pi platform. Graphs are slow, and the history &hellip;","og_url":"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/","og_site_name":"DIY Futurism","article_published_time":"2018-03-20T19:50:50+00:00","article_modified_time":"2018-06-15T02:26:26+00:00","og_image":[{"width":645,"height":428,"url":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/nuc.jpeg?fit=645%2C428&ssl=1","path":"\/var\/www\/html\/wp-content\/uploads\/2018\/03\/nuc.jpeg","size":"full","id":687,"alt":"","pixels":276060,"type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_creator":"@diyfuturism","twitter_site":"@diyfuturism","twitter_misc":{"Written by":"brad","Est. reading time":"7 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\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/nuc.jpeg?fit=645%2C428&ssl=1","contentUrl":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/nuc.jpeg?fit=645%2C428&ssl=1","width":645,"height":428},{"@type":"WebPage","@id":"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#webpage","url":"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/","name":"Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox & Docker - DIY Futurism","isPartOf":{"@id":"https:\/\/diyfuturism.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#primaryimage"},"datePublished":"2018-03-20T19:50:50+00:00","dateModified":"2018-06-15T02:26:26+00:00","author":{"@id":"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c"},"breadcrumb":{"@id":"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/diyfuturism.com\/index.php\/2018\/03\/20\/pi-to-nuc-part-1-migrating-hass-io-to-a-virtual-machine-proxmox-docker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/diyfuturism.com\/"},{"@type":"ListItem","position":2,"name":"Pi to NUC Part 1: Migrating Hass.IO to a Virtual Machine with Proxmox &#038; Docker"}]},{"@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:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/03\/nuc.jpeg?fit=645%2C428&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9q0Cl-8l","jetpack-related-posts":[{"id":545,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/05\/05\/self-hosting-complete-guide-deploying-private-nextcloud\/","url_meta":{"origin":517,"position":0},"title":"Self Hosting: Complete Guide to Deploying Your Own Private NextCloud with Docker Compose","date":"May 5, 2018","format":false,"excerpt":"With all the revelations in the headlines about how exactly our private data is being mined to surveil and manipulate us, I've been thinking of more ways to take better control of my information. As they say, the internet is forever, and it's become clear that once your information is\u2026","rel":"","context":"In &quot;Home Server&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/05\/Screenshot-from-2018-05-05-134816.png?fit=968%2C573&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":585,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/05\/13\/installing-volumio-proxmox-virtual-machine\/","url_meta":{"origin":517,"position":1},"title":"Installing Volumio in a Proxmox Virtual Machine","date":"May 13, 2018","format":false,"excerpt":"Volumio is a really cool open source audio player project, meant for high quality playback and easy use with cheap devices. Basically, a plug-and-play network music appliance. I have a few already around the house - a Pi Zero W in the kitchen for streaming radio, a Pi 3 with\u2026","rel":"","context":"In &quot;Linux&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/05\/Screenshot-from-2018-05-13-204320.png?fit=1200%2C929&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":868,"url":"https:\/\/diyfuturism.com\/index.php\/2020\/08\/16\/plex-locast-recording-local-tv-without-the-antenna\/","url_meta":{"origin":517,"position":2},"title":"Plex &#038; Locast: Recording Local TV Without the Antenna","date":"August 16, 2020","format":false,"excerpt":"Update: Locast has ceased operations. Old post archived here: I have been a long time Plex user for years. Alongside my extensive movie collection, I also like to keep up on the local news and occasionally watch some sports or TV special. Previously I had successfully used a TV tuner\u2026","rel":"","context":"In &quot;Home Server&quot;","img":{"alt_text":"Plex DVR","src":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2020\/08\/2020-08-16-190142_857x727_scrot.png?fit=857%2C727&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":517,"position":3},"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":[]},{"id":822,"url":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/","url_meta":{"origin":517,"position":4},"title":"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage","date":"June 10, 2019","format":false,"excerpt":"It has been over a year since I originally set up my own self-hosted cloud using Nextcloud. I am happy to report back that I absolutely love it, and it has run flawlessly without error for this period. It is central to my personal infrastructure and I have come to\u2026","rel":"","context":"In &quot;Home Server&quot;","img":{"alt_text":"Object vs Block Storage","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/object.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":191,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/12\/14\/basic-node-red-flows-for-automating-lighting-with-home-assistant\/","url_meta":{"origin":517,"position":5},"title":"Basic Node-Red Flows for Automating Lighting with Home Assistant","date":"December 14, 2017","format":false,"excerpt":"Smart light bulbs are probably the first thing everyone getting into home automation buys. It is easy to see the applications for them - have the lights come on at night, turn off when you're home, etc. It's very satisfying to have the lights react to the day and your\u2026","rel":"","context":"In &quot;Config&quot;","img":{"alt_text":"","src":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/12\/Screen-Shot-2017-12-14-at-7.49.36-PM.png?fit=835%2C631&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/517"}],"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=517"}],"version-history":[{"count":14,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/517\/revisions"}],"predecessor-version":[{"id":538,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/517\/revisions\/538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/media\/687"}],"wp:attachment":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/media?parent=517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/categories?post=517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/tags?post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}