|
[color=var(--warning-color)]用的是树莓派装的homeassistant,现在有几个问题解决不了。
[color=var(--warning-color)]1.使用homeassistant页面配置里的重启服务后homeassistant不会重启,无论等多久都打不开网页。使用ssh用hass命令立马就可以。但这种情况下一但关闭ssh窗口的话homeassistant立马就不行了,只能把树莓派重启,用以前设置的开机homeassistant自启动命令才行。但这么一弄就会出现下面的报错。
[color=var(--warning-color)]日志如下
[color=var(--warning-color)]2022-08-28 21:18:17.164 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_ac_lan 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
[color=var(--warning-color)]2022-08-28 21:18:17.175 WARNING (SyncWorker_0) [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
[color=var(--warning-color)]2022-08-28 21:18:19.561 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:18:20.730 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/define/.homeassistant/home-assistant_v2.db was shutdown cleanly
[color=var(--error-color)]2022-08-28 21:18:21.991 ERROR (MainThread) [homeassistant.setup] Error during setup of component zeroconf
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/local/lib/python3.9/site-packages/homeassistant/components/zeroconf/__init__.py", line 188, in async_setup
aio_zc = await _async_get_instance(hass, **zc_args)
File "/usr/local/lib/python3.9/site-packages/homeassistant/components/zeroconf/__init__.py", line 129, in _async_get_instance
zeroconf = HaZeroconf(**zcargs)
File "/home/define/.homeassistant/deps/lib/python3.9/site-packages/zeroconf/_core.py", line 450, in __init__
listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p)
File "/home/define/.homeassistant/deps/lib/python3.9/site-packages/zeroconf/_utils/net.py", line 366, in create_sockets
add_multicast_member(cast(socket.socket, listen_socket), i)
File "/home/define/.homeassistant/deps/lib/python3.9/site-packages/zeroconf/_utils/net.py", line 288, in add_multicast_member
listen_socket.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, _value)
OSError: [Errno 19] No such device
[color=var(--warning-color)]2022-08-28 21:18:23.725 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--error-color)]2022-08-28 21:18:23.759 ERROR (MainThread) [metno] Access to https://aa015h6buqvih86i1.api.me ... recast/2.0/complete returned error 'ClientConnectorError'
[color=var(--warning-color)]2022-08-28 21:18:23.766 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Home' for met integration not ready yet: Update failed: ; Retrying in background
[color=var(--error-color)]2022-08-28 21:18:25.015 ERROR (MainThread) [custom_components.hacs] Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [No address associated with hostname]
Traceback (most recent call last):
File "/home/define/.homeassistant/custom_components/hacs/base.py", line 449, in async_can_update
response = await self.async_github_api_method(self.githubapi.rate_limit)
File "/home/define/.homeassistant/custom_components/hacs/base.py", line 503, in async_github_api_method
raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [No address associated with hostname]
[color=var(--error-color)]2022-08-28 21:18:25.350 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: zeroconf
[color=var(--error-color)]2022-08-28 21:18:25.352 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: zeroconf')
[color=var(--warning-color)]2022-08-28 21:18:25.505 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--error-color)]2022-08-28 21:18:25.508 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry HASS Bridge:21064 for homekit
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/homeassistant/config_entries.py", line 357, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/local/lib/python3.9/site-packages/homeassistant/components/homekit/__init__.py", line 285, in async_setup_entry
CONF_IP_ADDRESS, await network.async_get_source_ip(hass, MDNS_TARGET_IP)
File "/usr/local/lib/python3.9/site-packages/homeassistant/components/network/__init__.py", line 57, in async_get_source_ip
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Could not determine source ip because the system does not have any enabled IPv4 addresses and creating a socket failed
[color=var(--error-color)]2022-08-28 21:18:25.600 ERROR (MainThread) [metno] Access to https://aa015h6buqvih86i1.api.me ... recast/2.0/complete returned error 'ClientConnectorError'
[color=var(--error-color)]2022-08-28 21:18:25.608 ERROR (MainThread) [homeassistant.components.homeassistant_alerts] Error requesting homeassistant_alerts data: Cannot connect to host alerts.home-assistant.io:443 ssl:default [Connect call failed ('2606:4700:20::681a:4ee', 443, 0, 0)]
[color=var(--error-color)]2022-08-28 21:18:25.663 ERROR (MainThread) [custom_components.hacs] Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [No address associated with hostname]
Traceback (most recent call last):
File "/home/define/.homeassistant/custom_components/hacs/base.py", line 449, in async_can_update
response = await self.async_github_api_method(self.githubapi.rate_limit)
File "/home/define/.homeassistant/custom_components/hacs/base.py", line 503, in async_github_api_method
raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [No address associated with hostname]
[color=var(--warning-color)]2022-08-28 21:19:08.277 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:19:38.280 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:20:08.283 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:20:38.284 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:21:08.284 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:21:38.287 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:22:08.287 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:22:38.290 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)]2022-08-28 21:23:08.291 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--error-color)]2022-08-28 21:23:36.531 ERROR (MainThread) [homeassistant.components.bluetooth] Error stopping scanner: [org.bluez.Error.Failed] No discovery started
[color=var(--warning-color)]2022-08-28 21:23:38.294 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)][backcolor=var(--secondary-background-color)]2022-08-28 21:24:08.294 WARNING (MainThread) [homeassistant.components.network] Because the system does not have any enabled IPv4 addresses, source address detection may be inaccurate
[color=var(--warning-color)][backcolor=var(--secondary-background-color)]后面还有和最后一样一模一样的这个warning
[color=var(--warning-color)][backcolor=var(--secondary-background-color)]求大神帮忙看看什么问题
|
|