<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Homeassistant on DVLUP</title><link>/en/tags/homeassistant/</link><description>Recent content in Homeassistant on DVLUP</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 23 Oct 2020 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/homeassistant/index.xml" rel="self" type="application/rss+xml"/><item><title>USB Support for Home Assistant in Hyper-V</title><link>/en/blog/2020.10.23-usb-in-hyper-v/</link><pubDate>Fri, 23 Oct 2020 00:00:00 +0000</pubDate><guid>/en/blog/2020.10.23-usb-in-hyper-v/</guid><description>&lt;p&gt;If you&amp;rsquo;re running Home assistant in Hyper-V, you&amp;rsquo;ve probably encountered a &lt;em&gt;significant&lt;/em&gt; limitation&amp;hellip; &lt;strong&gt;Hyper-V doesn&amp;rsquo;t let you pass-through a USB device&lt;/strong&gt;, so you can&amp;rsquo;t use your &lt;a href="https://www.home-assistant.io/docs/z-wave/controllers/#supported-z-wave-usb-sticks--hardware-modules" target="_blank" rel="noopener"&gt;Z-Wave dongle&lt;/a&gt;&#10; or zigbee dongle.&lt;/p&gt;&#10;&lt;p&gt;So why am I writing this blog post? I have found a way to make it work, feast your eyes on the following screenshot!&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="../../../en/blog/2020.10.23-usb-in-hyper-v/image.png" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;Click to enlarge. Z-Wave USB dongle available to Home Assistant container inside Hyper-V&lt;/p&gt;&#10;&lt;p&gt;The left side is Home Assistant&amp;rsquo;s frontend in the web browser, open to the &lt;a href="https://www.home-assistant.io/integrations/ozw/" target="_blank" rel="noopener"&gt;Open Z-Wave Add-On&lt;/a&gt;&#10; page. Notice in the yellow highlight, that is a Z-Wave USB dongle plugged into the Windows 10 machine.&lt;/p&gt;</description></item><item><title>Installing Home Assistant on Hyper-V</title><link>/en/blog/2020.05.25-installing-home-assistant-on-hyper-v/</link><pubDate>Mon, 25 May 2020 00:00:00 +0000</pubDate><guid>/en/blog/2020.05.25-installing-home-assistant-on-hyper-v/</guid><description>&lt;p&gt;This post is a quick tutorial you can follow to get Home Assistant working on Hyper-V so you can take advantage of your PC&amp;rsquo;s compute power instead of running it on a Raspberry Pi. This installation method is really quick and doesn&amp;rsquo;t require any command line setup.&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;**Important**: If you want to use USB devices in Home Assistant, please this different tutorial -&amp;gt; [USB Support for Home Assistant on Hyper-V](https://www.dvlup.com/2020/10/23/usb-in-hyper-v/). The approach used in this article doesn&amp;#39;t allow for USB devices.&#10;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="step-1---create-hyper-v-machine"&gt;Step 1 - Create Hyper V Machine&lt;/h3&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Download the &lt;strong&gt;VHDX&lt;/strong&gt; file (hassos_ova-[version].vhdx.gz) from &lt;a href="https://github.com/home-assistant/operating-system/releases/" target="_blank" rel="noopener"&gt;the home-assistant GitHub Releases page&lt;/a&gt;&#10;.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;I recommend only using the latest non-beta release so you won&amp;rsquo;t have trouble with HA&amp;rsquo;s built-in updater. As of writing this, that is version 3.13:&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;img src="https://user-images.githubusercontent.com/3520532/82828657-92d9bd80-9e7f-11ea-98d6-ec0ab36983fb.png" alt="image"&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Right-click on the downloaded &lt;code&gt;.gz&lt;/code&gt; file, select &amp;ldquo;Properties&amp;rdquo;, check the &amp;ldquo;Unblock&amp;rdquo; checkbox and click OK.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Extract the &lt;strong&gt;.vhdx&lt;/strong&gt; file from the&lt;code&gt;.gz&lt;/code&gt; file (you can use &lt;a href="https://www.7-zip.org/download.html" target="_blank" rel="noopener"&gt;7-Zip&lt;/a&gt;&#10; to do this). Don&amp;rsquo;t worry about where you extract it to, Hyper-V will make a copy.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Open &lt;strong&gt;Hyper-V Manager&lt;/strong&gt; app on Windows 10.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;In the right pane, select &lt;strong&gt;Quick Create&lt;/strong&gt; (at the top right).&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Choose &amp;ldquo;&lt;strong&gt;Local Installation Source&lt;/strong&gt;&amp;rdquo; option for an OS and use the extracted &lt;code&gt;.vhdx&lt;/code&gt; file.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;img src="https://user-images.githubusercontent.com/3520532/82827423-0201e280-9e7d-11ea-8c6f-2f4d54ddce70.png" alt="image"&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;You&amp;rsquo;ll be presented with the VM&amp;rsquo;s Settings window before starting it up. Here are some recommendations:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;In the &lt;strong&gt;Memory&lt;/strong&gt; tab, set the RAM to at least 2048 MBs or higher and disable Dynamic Memory&lt;/li&gt;&#10;&lt;li&gt;&lt;img src="https://user-images.githubusercontent.com/3520532/82827917-febb2680-9e7d-11ea-88ac-78f0f8324a4d.png" alt="image"&gt;&lt;/li&gt;&#10;&lt;li&gt;Under the &lt;strong&gt;Security&lt;/strong&gt; tab, make sure Secure Boot is disabled:&lt;/li&gt;&#10;&lt;li&gt;&lt;img src="https://user-images.githubusercontent.com/3520532/74442771-15de8700-4e40-11ea-83a9-daf6b9708621.png" alt="image"&gt;&lt;/li&gt;&#10;&lt;li&gt;Under the &lt;strong&gt;Automatic Stop Action&lt;/strong&gt; tab, change the setting to &amp;ldquo;Shut down the guest operating system&amp;rdquo;:&lt;/li&gt;&#10;&lt;li&gt;&lt;img src="https://user-images.githubusercontent.com/3520532/82828346-d7b12480-9e7e-11ea-85f1-14ee9a94975d.png" alt="image"&gt;&lt;/li&gt;&#10;&lt;li&gt;Finally, select the &lt;strong&gt;Automatic Start Action&lt;/strong&gt; tab and set your preferred option:&lt;/li&gt;&#10;&lt;li&gt;&lt;img src="https://user-images.githubusercontent.com/3520532/82829015-4a6ecf80-9e80-11ea-8fcf-6ea9a23fda4b.png" alt="image"&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Start the machine and wait for initial setup to complete and you see the &lt;em&gt;Welcome to HassOS&lt;/em&gt; prompt.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>Setting up Home Assistant in Docker for Windows with Port Forwarding Enabled</title><link>/en/blog/2020.02.17-setting-up-home-assistant-in-docker-for-windows-with-port-forwarding-enabled/</link><pubDate>Mon, 17 Feb 2020 00:00:00 +0000</pubDate><guid>/en/blog/2020.02.17-setting-up-home-assistant-in-docker-for-windows-with-port-forwarding-enabled/</guid><description>&lt;p&gt;I hope that you&amp;rsquo;ve landed here before spending hours/days trying to find a solution as to why you can&amp;rsquo;t forward the Home Assistant port in Docker. The solution is frustratingly easy.&lt;/p&gt;&#10;&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;&#10;&lt;p&gt;The &lt;a href="https://www.home-assistant.io/docs/installation/docker/#windows" target="_blank" rel="noopener"&gt;install Home Assistant in docker on Windows&lt;/a&gt;&#10; instructions are great, with one exception. It explains the required prerequisites to make sure docker has access to a host disk. However, those instructions have outdated instructions to setup the port-forward rules, which ultimately makes it a waste of time.&lt;/p&gt;</description></item></channel></rss>