『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 666|回复: 3

[求助] 求大佬分析,安装完homeassistant,首次运行hass出错

[复制链接]

1

主题

3

帖子

28

积分

新手上路

Rank: 1

积分
28
金钱
25
HASS币
0
发表于 2023-8-17 13:25:39 | 显示全部楼层 |阅读模式
本帖最后由 hua125666 于 2023-8-17 14:44 编辑

求助大佬,用switch游戏机安装Ubuntu18,按官网的教程在终端输入指令安装homeassistant后,运行hass命令时提示错误:“OSError: [Errno 19] No such device”,不知道哪里的问题


raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
2023-08-17 12:49:17 INFO (MainThread) [homeassistant.setup] Setting up tts
2023-08-17 12:49:17 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Requirements for cloud not found: ['hass-nabucasa==0.30'].
2023-08-17 12:49:17 INFO (SyncWorker_16) [homeassistant.util.package] Attempting install of home-assistant-frontend==20191204.1
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 84.9 seconds.
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.1 seconds.
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.setup] Setting up frontend
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.setup] Setting up map
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds.
2023-08-17 12:50:42 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: recorder
2023-08-17 12:50:42 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2023-08-17 12:50:42 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, history, logbook, mobile_app
2023-08-17 12:50:42 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 616.22s
2023-08-17 12:50:42 WARNING (MainThread) [homeassistant.bootstrap] Python 3.6 support is deprecated and will be removed in the first release after December 15, 2019. Please upgrade Python to 3.7.0 or higher.
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2023-08-17 12:50:42 INFO (MainThread) [homeassistant.core] Timer:starting
2023-08-17 12:50:42 INFO (SyncWorker_19) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2023-08-17 12:59:13 WARNING (zeroconf-ServiceBrowser__axis-video._tcp.local.) [zeroconf] Exception occurred:
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/zeroconf/__init__.py", line 2531, in send
    bytes_sent = s.sendto(packet, 0, (real_addr, port))
OSError: [Errno 19] No such device


回复

使用道具 举报

13

主题

503

帖子

5173

积分

论坛元老

Rank: 8Rank: 8

积分
5173
金钱
4670
HASS币
10
发表于 2023-8-17 16:05:01 | 显示全部楼层
好多Setup failed。。。。  python3.6  现在好像最新的ha都是3.11了,感觉是没有科学上网的问题,没装好
回复

使用道具 举报

1

主题

3

帖子

28

积分

新手上路

Rank: 1

积分
28
金钱
25
HASS币
0
 楼主| 发表于 2023-8-17 16:06:50 | 显示全部楼层
mars.z 发表于 2023-8-17 16:05
好多Setup failed。。。。  python3.6  现在好像最新的ha都是3.11了,感觉是没有科学上网的问题,没装好 ...

安装home前已经更新python到3.11.3了,不过我看提示还是3.6,不知道哪里错了
回复

使用道具 举报

1

主题

3

帖子

28

积分

新手上路

Rank: 1

积分
28
金钱
25
HASS币
0
 楼主| 发表于 2023-8-17 16:14:12 | 显示全部楼层
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip3 install  home-assistant-frontend==20191119.6 -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
等到安装完之后之后
exit
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-17 12:06 , Processed in 0.262841 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表