<?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 Margrop Blog</title>
    <link>https://blog.margrop.net/en/tag/homeassistant/</link>
    <description>Recent content in Homeassistant on Margrop Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Sat, 29 May 2021 14:22:56 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/en/tag/homeassistant/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AppDaemon (HADashboard) Installation Guide</title>
      <link>https://blog.margrop.net/en/post/how-to-install-appdaemon-hadashboard/</link>
      <pubDate>Sat, 29 May 2021 14:22:56 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/how-to-install-appdaemon-hadashboard/</guid>
      <description>&lt;h1 id=&#34;installation-prerequisites&#34;&gt;Installation Prerequisites&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;HomeAssistant access address and permanent Token&lt;/li&gt;&#xA;&lt;li&gt;Linux runtime environment&lt;/li&gt;&#xA;&lt;li&gt;Python3 runtime environment (the following is based on CentOS 7)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;yum install python3&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;pip install -U pip3 setuptools&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Fix HAVCS Failing to Start on the Latest Home Assistant: AttributeError: &#39;ApiConfig&#39; object has no attribute &#39;base_url&#39;</title>
      <link>https://blog.margrop.net/en/post/homeassistant-attributeerror-apiconfig-object-has-no-attribute-base_url/</link>
      <pubDate>Wed, 12 May 2021 18:12:02 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/homeassistant-attributeerror-apiconfig-object-has-no-attribute-base_url/</guid>
      <description>&lt;h1 id=&#34;do-not-upgrade-ha-too-frequently-updated-may-15-2021&#34;&gt;Do Not Upgrade HA Too Frequently [Updated May 15, 2021]&lt;/h1&gt;&#xA;&lt;p&gt;&lt;code&gt;I strongly do not recommend upgrading to core-2021.3.1 and later, including core-2021.5.3&lt;/code&gt;&#xA;&lt;code&gt;From core-2021.3.1 onward there are some strange bugs. The version that is currently stable for the author is still core-2021.2.3&lt;/code&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;problem-description&#34;&gt;Problem Description&lt;/h1&gt;&#xA;&lt;p&gt;After the author upgraded &lt;code&gt;Home Assistant&lt;/code&gt; to the latest version, &lt;code&gt;HAVCS&lt;/code&gt; could no longer start normally.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;Home Assistant&lt;/code&gt; version that can run &lt;code&gt;HAVCS&lt;/code&gt; normally: core-2021.2.3&#xA;&lt;code&gt;Home Assistant&lt;/code&gt; version that cannot run &lt;code&gt;HAVCS&lt;/code&gt;: core-2021.5.3&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Checking the &lt;code&gt;Home Assistant&lt;/code&gt; logs showed this error:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;AttributeError: &amp;#39;ApiConfig&amp;#39; object has no attribute &amp;#39;base_url&amp;#39;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Home Assistant: Add a Custom IR Remote and Support Tmall Genie and Xiaodu</title>
      <link>https://blog.margrop.net/en/post/homeassistant-tian-jia-zi-ding-yi-de-hong-wai-yao-kong-qi-ji-yu-mi-jia-wan-neng-yao-kong-qi/</link>
      <pubDate>Wed, 12 May 2021 16:09:09 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/homeassistant-tian-jia-zi-ding-yi-de-hong-wai-yao-kong-qi-ji-yu-mi-jia-wan-neng-yao-kong-qi/</guid>
      <description>&lt;h1 id=&#34;preparation&#34;&gt;Preparation&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;An online &lt;code&gt;Mi Home universal remote&lt;/code&gt; already added to &lt;code&gt;Home Assistant&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;IP address&lt;/code&gt; and &lt;code&gt;token&lt;/code&gt; of the &lt;code&gt;Mi Home universal remote&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;How do you get the &lt;code&gt;IP address&lt;/code&gt;?&#xA;Open the &lt;code&gt;Mi Home app&lt;/code&gt; on your phone, select the device bound to your Xiaomi account, enter it, then tap the &lt;code&gt;...&lt;/code&gt; in the top right -&amp;gt; &lt;code&gt;More settings&lt;/code&gt; -&amp;gt; &lt;code&gt;Network information&lt;/code&gt; to view the device &lt;code&gt;IP address&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;How do you get the &lt;code&gt;token&lt;/code&gt;?&#xA;Reference 1: &lt;a href=&#34;https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor&#34;&gt;Use an open-source tool to export Xiaomi Token&lt;/a&gt;&#xA;Reference 2: &lt;a href=&#34;https://www.home-assistant.io/integrations/xiaomi_miio/#retrieving-the-access-token&#34;&gt;Retrieving the Access Token&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Integrating HomeAssistant with Tmall Genie, 2021 Version</title>
      <link>https://blog.margrop.net/en/post/homeassistant-access-aligenie-aliyun/</link>
      <pubDate>Mon, 10 May 2021 22:19:34 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/homeassistant-access-aligenie-aliyun/</guid>
      <description>Avoid Frequent HA Upgrades [Updated May 15, 2021] 强烈不建议升级到 core-2021.3.1 以及之后的版本，包括 core-2021.5.3 从 core-2021.3.1 以后的版本有一些莫名的 bug，目前博主稳定使用的版本还是 core-2021.2.3&#xA;Tmall Genie Platform: https://iot.aligenie.com/skill/home&#xA;Alibaba Life IoT Platform: https://living.aliyun.com/</description>
    </item>
    <item>
      <title>HomeAssistant: Common HACS, Github Third-party Support Library Repos</title>
      <link>https://blog.margrop.net/en/post/homeassistant-github-support-repo/</link>
      <pubDate>Mon, 15 Mar 2021 08:56:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/homeassistant-github-support-repo/</guid>
      <description>&lt;h1 id=&#34;hacs&#34;&gt;HACS&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;HACS Official Website&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/hacs/integration&#34;&gt;https://github.com/hacs/integration&lt;/a&gt;&#xA;&lt;a href=&#34;https://hacs.xyz/&#34;&gt;https://hacs.xyz/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;HACS Installation Documentation&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://hacs.xyz/docs/installation/installation&#34;&gt;https://hacs.xyz/docs/installation/installation&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>How to Install HACS in Home Assistant</title>
      <link>https://blog.margrop.net/en/post/install-hacs-in-home-assistant/</link>
      <pubDate>Fri, 19 Feb 2021 10:53:04 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/install-hacs-in-home-assistant/</guid>
      <description>&lt;h1 id=&#34;if-using-a-virtual-machine-environment-home-assistant-os&#34;&gt;If Using a Virtual Machine Environment (Home Assistant OS)&lt;/h1&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to the &lt;code&gt;Supervisor&lt;/code&gt; panel&lt;/li&gt;&#xA;&lt;li&gt;Install an SSH add-on (enable advanced mode in your user profile first)&lt;/li&gt;&#xA;&lt;li&gt;Configure the selected SSH add-on&lt;/li&gt;&#xA;&lt;li&gt;Start the SSH add-on&lt;/li&gt;&#xA;&lt;li&gt;Connect to the SSH add-on&lt;/li&gt;&#xA;&lt;li&gt;Run the HACS installation script&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;wget -q -O - https://hacs.xyz/install | bash -&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
