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

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

[求助] 请教大神,装好了HASS后,设置host网络后死活访问不了,求教

[复制链接]

3

主题

10

帖子

60

积分

注册会员

Rank: 2

积分
60
金钱
50
HASS币
0
发表于 2023-9-30 22:22:19 | 显示全部楼层 |阅读模式
请教大神,装好了HASS后,homekit扫码无法添加设备,查询需要把网络改成host。改为网络-host后,又访问不了,求教,谢谢大神!






  
  • 关闭
  • [url=]上传图片[/url]
  • [url=]网络图片[/url]

upload






1.png
2.png
3.png
4.png
5.png
6.png
回复

使用道具 举报

3

主题

10

帖子

60

积分

注册会员

Rank: 2

积分
60
金钱
50
HASS币
0
 楼主| 发表于 2023-9-30 22:27:22 | 显示全部楼层
root@armbian:~# docker logs 4d38a66e101079bc9033a6f158c8ba8ae0b8bbfb7048914f347df775aac98847
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

Updating pip to HA supported version
Requirement already satisfied: pip<22.1,>=21.0 in /config/lsiopy/lib/python3.11/site-packages (22.0.4)
Requirement already satisfied: setuptools in /config/lsiopy/lib/python3.11/site-packages (68.2.2)
Requirement already satisfied: wheel in /config/lsiopy/lib/python3.11/site-packages (0.41.2)
Setting permissions
[custom-init] No custom files found, skipping...
2023-09-30 22:16:03.502 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-09-30 22:16:03.506 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration xiaomi_miot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-09-30 22:16:03.510 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hon which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-09-30 22:16:03.513 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration candy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
[ls.io-init] done.
2023-09-30 22:16:25.113 ERROR (MainThread) [homeassistant.setup] Error handling when_setup callback for frontend
Traceback (most recent call last):
  File "/lsiopy/lib/python3.11/site-packages/yarl/_url.py", line 191, in __new__
    port = val.port
           ^^^^^^^^
  File "/usr/lib/python3.11/urllib/parse.py", line 182, in port
    raise ValueError(f"Port could not be cast to integer value as {port!r}")
ValueError: Port could not be cast to integer value as '8123.'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/lsiopy/lib/python3.11/site-packages/homeassistant/setup.py", line 457, in when_setup
    await when_setup_cb(hass, component)
  File "/lsiopy/lib/python3.11/site-packages/homeassistant/components/zeroconf/__init__.py", line 216, in _async_zeroconf_hass_start
    await _async_register_hass_zc_service(hass, aio_zc, uuid)
  File "/lsiopy/lib/python3.11/site-packages/homeassistant/components/zeroconf/__init__.py", line 302, in _async_register_hass_zc_service
    params["external_url"] = get_url(hass, allow_internal=False)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lsiopy/lib/python3.11/site-packages/homeassistant/helpers/network.py", line 155, in get_url
    return _get_external_url(
           ^^^^^^^^^^^^^^^^^^
  File "/lsiopy/lib/python3.11/site-packages/homeassistant/helpers/network.py", line 265, in _get_external_url
    external_url = yarl.URL(hass.config.external_url)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lsiopy/lib/python3.11/site-packages/yarl/_url.py", line 193, in __new__
    raise ValueError(
ValueError: Invalid URL: port can't be converted to integer
2023-09-30 22:16:35.756 WARNING (MainThread) [homeassistant.setup] Setup of ssdp is taking over 10 seconds.
回复

使用道具 举报

3

主题

10

帖子

60

积分

注册会员

Rank: 2

积分
60
金钱
50
HASS币
0
 楼主| 发表于 2023-9-30 23:11:08 | 显示全部楼层
本帖最后由 lt0715 于 2023-9-30 23:31 编辑

无可以看到但是法添加配件什么原因
e0e5468d2e37623f3b718f328c81633.jpg
20654a421492cfe2b7866ad548a1952.jpg
微信图片_20230930232937.jpg
回复

使用道具 举报

2

主题

10

帖子

52

积分

注册会员

Rank: 2

积分
52
金钱
42
HASS币
0
发表于 2023-10-10 16:46:00 | 显示全部楼层
请问,;楼主解决了吗?我也是这个问题,改host模式后,ha就访问不了了。。。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-26 22:03 , Processed in 0.130052 second(s), 28 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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