绿联NAS-DH2600配置HACS商店下载xiaomi Miot Auto超时
Home-assistant安装好了,容器也正常运行了,浏览器也能正常访问了
接下来我们需要安装第三方商店HACS
因为这个商店中有我们需要的xiaomi Miot Auto他就是用来将小米设备同步到苹果家庭中的应用。
安装HACS
没什么难度:学习地址
通过HACS安装xiaomi
-
问题:超时,webUI界面一直在转圈圈.登录到NAS中进入docker中查看日志信息:A timeout of 60
-
解决办法
修改绿联云的hosts:在github中找的hosts
#Github Hosts Start
#Update Time: 2024-01-19
#Project Address: https://github.com/maxiaof/github-hosts
#Update URL: https://raw.githubusercontent.com/maxiaof/github-hosts/master/hosts
140.82.114.26 alive.github.com
140.82.112.26 live.github.com
185.199.109.154 github.githubassets.com
140.82.113.22 central.github.com
185.199.110.133 desktop.githubusercontent.com
185.199.109.153 assets-cdn.github.com
185.199.108.133 camo.githubusercontent.com
185.199.109.133 github.map.fastly.net
146.75.121.194 github.global.ssl.fastly.net
140.82.121.3 gist.github.com
185.199.109.153 github.io
140.82.121.3 github.com
192.0.66.2 github.blog
140.82.121.5 api.github.com
185.199.110.133 raw.githubusercontent.com
185.199.110.133 user-images.githubusercontent.com
185.199.111.133 favicons.githubusercontent.com
185.199.109.133 avatars5.githubusercontent.com
185.199.109.133 avatars4.githubusercontent.com
185.199.110.133 avatars3.githubusercontent.com
185.199.109.133 avatars2.githubusercontent.com
185.199.111.133 avatars1.githubusercontent.com
185.199.109.133 avatars0.githubusercontent.com
185.199.110.133 avatars.githubusercontent.com
140.82.121.9 codeload.github.com
52.217.194.225 github-cloud.s3.amazonaws.com
52.216.51.17 github-com.s3.amazonaws.com
54.231.204.153 github-production-release-asset-2e65be.s3.amazonaws.com
52.216.132.203 github-production-user-asset-6210df.s3.amazonaws.com
52.216.62.161 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153 githubstatus.com
140.82.114.18 github.community
51.137.3.17 github.dev
140.82.113.21 collector.github.com
13.107.42.16 pipelines.actions.githubusercontent.com
185.199.109.133 media.githubusercontent.com
185.199.108.133 cloud.githubusercontent.com
185.199.111.133 objects.githubusercontent.com
#Github Hosts End
详细修改hosts方法:https://www.cnblogs.com/tarzen213/p/17984588
然后重启docker。记得重启后查看一下docker中的hosts文件是否同步修改了(正常是同步修改的)
再次尝试下载就正常了