Here are some logs from ha core logs and from ha supervisor logs. Maybe from this logs it would be possible to get an idea, wich error prevents HA to startup?
➜ ~ ha core logs
raise ve_exc
ValueError: 1022 is not a valid ErrorCodes
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/meross_cloud/__init__.py", line 109, in async_setup_entry
client, http_devices, creds_renewed = await get_or_renew_creds(email=email, password=password, stored_creds=creds)
File "/config/custom_components/meross_cloud/__init__.py", line 67, in get_or_renew_creds
http_devices = await http_client.async_list_devices()
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 260, in async_list_devices
result = await self._async_authenticated_post(_DEV_LIST, {}, cloud_creds=self._cloud_creds)
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 197, in _async_authenticated_post
raise AuthenticatedPostException(f"Unknown/Unhandled response code received from API. "
meross_iot.model.http.exception.AuthenticatedPostException: Unknown/Unhandled response code received from API. Response was: {'apiStatus': 1022, 'sysStatus': 0, 'data': None, 'info': 'No login', 'timeStamp': 1645386724}
2022-02-20 20:52:09 ERROR (SyncWorker_7) [homeassistant.components.telegram_bot] Error sending photo: File must be non-empty. Args: (), kwargs: {'chat_id': 216444806, 'photo': <_io.BufferedReader name='/config/camera/camera.vorhof.jpeg'>, 'caption': None, 'disable_notification': False, 'reply_markup': None, 'timeout': None, 'parse_mode': 'Markdown'}
2022-02-20 20:53:24 ERROR (MainThread) [meross_iot.http_api] Could not parse error code 1022.
2022-02-20 20:53:24 ERROR (MainThread) [custom_components.meross_cloud] Error occurred.
-------------------------------------
Component version: 0.4.1.1rc1
Device info:
<Unavailable>
Error Message: "An exception occurred while setting up the meross manager. Setup will be retried..."
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 195, in _async_authenticated_post
error = ErrorCodes(code)
File "/usr/local/lib/python3.9/enum.py", line 384, in __call__
return cls.__new__(cls, value)
File "/usr/local/lib/python3.9/enum.py", line 702, in __new__
raise ve_exc
ValueError: 1022 is not a valid ErrorCodes
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/meross_cloud/__init__.py", line 109, in async_setup_entry
client, http_devices, creds_renewed = await get_or_renew_creds(email=email, password=password, stored_creds=creds)
File "/config/custom_components/meross_cloud/__init__.py", line 67, in get_or_renew_creds
http_devices = await http_client.async_list_devices()
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 260, in async_list_devices
result = await self._async_authenticated_post(_DEV_LIST, {}, cloud_creds=self._cloud_creds)
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 197, in _async_authenticated_post
raise AuthenticatedPostException(f"Unknown/Unhandled response code received from API. "
meross_iot.model.http.exception.AuthenticatedPostException: Unknown/Unhandled response code received from API. Response was: {'apiStatus': 1022, 'sysStatus': 0, 'data': None, 'info': 'No login', 'timeStamp': 1645386804}
2022-02-20 20:54:44 ERROR (MainThread) [meross_iot.http_api] Could not parse error code 1022.
2022-02-20 20:54:44 ERROR (MainThread) [custom_components.meross_cloud] Error occurred.
-------------------------------------
Component version: 0.4.1.1rc1
Device info:
<Unavailable>
Error Message: "An exception occurred while setting up the meross manager. Setup will be retried..."
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 195, in _async_authenticated_post
error = ErrorCodes(code)
File "/usr/local/lib/python3.9/enum.py", line 384, in __call__
return cls.__new__(cls, value)
File "/usr/local/lib/python3.9/enum.py", line 702, in __new__
raise ve_exc
ValueError: 1022 is not a valid ErrorCodes
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/meross_cloud/__init__.py", line 109, in async_setup_entry
client, http_devices, creds_renewed = await get_or_renew_creds(email=email, password=password, stored_creds=creds)
File "/config/custom_components/meross_cloud/__init__.py", line 67, in get_or_renew_creds
http_devices = await http_client.async_list_devices()
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 260, in async_list_devices
result = await self._async_authenticated_post(_DEV_LIST, {}, cloud_creds=self._cloud_creds)
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 197, in _async_authenticated_post
raise AuthenticatedPostException(f"Unknown/Unhandled response code received from API. "
meross_iot.model.http.exception.AuthenticatedPostException: Unknown/Unhandled response code received from API. Response was: {'apiStatus': 1022, 'sysStatus': 0, 'data': None, 'info': 'No login', 'timeStamp': 1645386884}
2022-02-20 20:56:05 ERROR (MainThread) [meross_iot.http_api] Could not parse error code 1022.
2022-02-20 20:56:05 ERROR (MainThread) [custom_components.meross_cloud] Error occurred.
-------------------------------------
Component version: 0.4.1.1rc1
Device info:
<Unavailable>
Error Message: "An exception occurred while setting up the meross manager. Setup will be retried..."
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 195, in _async_authenticated_post
error = ErrorCodes(code)
File "/usr/local/lib/python3.9/enum.py", line 384, in __call__
return cls.__new__(cls, value)
File "/usr/local/lib/python3.9/enum.py", line 702, in __new__
raise ve_exc
ValueError: 1022 is not a valid ErrorCodes
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/meross_cloud/__init__.py", line 109, in async_setup_entry
client, http_devices, creds_renewed = await get_or_renew_creds(email=email, password=password, stored_creds=creds)
File "/config/custom_components/meross_cloud/__init__.py", line 67, in get_or_renew_creds
http_devices = await http_client.async_list_devices()
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 260, in async_list_devices
result = await self._async_authenticated_post(_DEV_LIST, {}, cloud_creds=self._cloud_creds)
File "/usr/local/lib/python3.9/site-packages/meross_iot/http_api.py", line 197, in _async_authenticated_post
raise AuthenticatedPostException(f"Unknown/Unhandled response code received from API. "
meross_iot.model.http.exception.AuthenticatedPostException: Unknown/Unhandled response code received from API. Response was: {'apiStatus': 1022, 'sysStatus': 0, 'data': None, 'info': 'No login', 'timeStamp': 1645386965}
➜ ~ ha supervisor logs
await self.sys_run_in_executor(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/git/remote.py", line 886, in fetch
res = self._get_fetch_info_from_stderr(proc, progress,
File "/usr/local/lib/python3.9/site-packages/git/remote.py", line 750, in _get_fetch_info_from_stderr
proc.wait(stderr=stderr_text)
File "/usr/local/lib/python3.9/site-packages/git/cmd.py", line 501, in wait
raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git fetch -v --update-shallow --depth=1 origin
stderr: 'fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/store/repository.py", line 110, in update
await self.git.pull()
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 108, in wrapper
raise err
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 106, in wrapper
return await self._method(*args, **kwargs)
File "/usr/src/supervisor/supervisor/store/git.py", line 195, in pull
raise StoreGitError() from err
supervisor.exceptions.StoreGitError
22-02-20 20:16:23 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/aiohttp.py", line 121, in sentry_app_handle
reraise(*_capture_exception(hub))
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/_compat.py", line 54, in reraise
raise value
File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/aiohttp.py", line 111, in sentry_app_handle
response = await old_handle(self, request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 139, in system_validation
return await handler(request)
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 205, in token_validation
return await handler(request)
File "/usr/src/supervisor/supervisor/api/utils.py", line 65, in wrap_api
answer = await method(api, *args, **kwargs)
File "/usr/src/supervisor/supervisor/api/store.py", line 120, in store_info
ATTR_ADDONS: [
File "/usr/src/supervisor/supervisor/api/store.py", line 121, in <listcomp>
self._generate_addon_information(self.sys_addons.store[addon])
File "/usr/src/supervisor/supervisor/api/store.py", line 81, in _generate_addon_information
ATTR_ADVANCED: addon.advanced,
File "/usr/src/supervisor/supervisor/addons/model.py", line 222, in advanced
return self.data[ATTR_ADVANCED]
File "/usr/src/supervisor/supervisor/store/addon.py", line 19, in data
return self.sys_store.data.addons[self.slug]
KeyError: 'core_dhcp_server'
22-02-20 20:16:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-02-20 20:16:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-02-20 20:16:49 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-02-20 20:16:49 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-02-20 20:18:11 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup
22-02-20 20:18:37 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-02-20 20:18:37 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-02-20 20:18:37 INFO (MainThread) [supervisor.resolution.fixups.store_execute_reset] Reset corrupt Store: cebe7a76
22-02-20 20:18:38 ERROR (SyncWorker_3) [supervisor.utils.json] Can't read json from /data/addons/git/cebe7a76/hassio-google-drive-backup/config.json: [Errno 2] No such file or directory: '/data/addons/git/cebe7a76/hassio-google-drive-backup/config.json'
22-02-20 20:18:38 WARNING (SyncWorker_3) [supervisor.store.data] Can't read /data/addons/git/cebe7a76/hassio-google-drive-backup/config.json from repository cebe7a76
22-02-20 20:18:38 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/sabeechen/hassio-google-drive-backup repository
22-02-20 20:19:39 INFO (MainThread) [supervisor.store] Loading add-ons from store: 63 all - 0 new - 0 remove
22-02-20 20:19:39 INFO (MainThread) [supervisor.store] Loading add-ons from store: 63 all - 0 new - 0 remove
22-02-20 20:19:42 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-02-20 20:19:48 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup
22-02-20 20:20:10 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with CoreDNS plugin!
22-02-20 20:20:10 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
22-02-20 20:20:10 INFO (SyncWorker_6) [supervisor.docker.interface] Cleaning hassio_dns application
22-02-20 20:20:15 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-02-20 20:20:40 INFO (SyncWorker_6) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2021.06.0 - 172.30.32.3
22-02-20 20:22:03 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup
22-02-20 20:28:27 WARNING (MainThread) [supervisor.misc.tasks] Watchdog/Application found a problem with observer plugin!
22-02-20 20:28:36 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config:
22-02-20 20:28:43 INFO (SyncWorker_2) [supervisor.docker.interface] Stopping hassio_observer application
22-02-20 20:30:29 INFO (SyncWorker_2) [supervisor.docker.interface] Cleaning hassio_observer application
22-02-20 20:30:33 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
22-02-20 20:33:17 INFO (SyncWorker_7) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0 - 172.30.32.6
22-02-20 20:47:45 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config:
22-02-20 20:50:16 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-02-20 20:51:43 WARNING (MainThread) [supervisor.misc.tasks] Watchdog/Application found a problem with observer plugin!
22-02-20 20:51:43 INFO (SyncWorker_3) [supervisor.docker.interface] Stopping hassio_observer application
22-02-20 20:52:59 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from a0d7b954_ssh
22-02-20 20:54:52 INFO (SyncWorker_3) [supervisor.docker.interface] Cleaning hassio_observer application
22-02-20 20:54:52 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
22-02-20 20:56:06 INFO (MainThread) [supervisor.api.middleware.security] /core/logs access from a0d7b954_ssh
22-02-20 20:58:31 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config:
22-02-20 20:58:33 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from a0d7b954_ssh
➜ ~