<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Havcs on Margrop Blog</title>
    <link>https://blog.margrop.net/en/tag/havcs/</link>
    <description>Recent content in Havcs on Margrop Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Wed, 12 May 2021 18:12:02 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/en/tag/havcs/index.xml" rel="self" type="application/rss+xml" />
    <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>
  </channel>
</rss>
