Jump to content

Recommended Posts

2 часа назад, al12s сказал:

Дополнительно пришлось установить (вырезали?):

Нет, их (пакетов) никогда и не было, "НА" сам должен разрулить зависимости интеграций.

Link to comment
Share on other sites

55 минут назад, TheBB сказал:

Нет, их (пакетов) никогда и не было, "НА" сам должен разрулить зависимости интеграций.

Видимо что-то не вышло (до обновления все работало), обновлял через opkg upgrade и после обновления вылезли ошибки по этим пакетам. После их установки все ок.

Link to comment
Share on other sites

Прошу помощи Уважаемого сообщества!

Проблема с Pillow 9.1.0. На этапе building wheels он вылетает с ошибкой об отсутствии dev-библиотеки jpeg (libjpeg-dev). В нашем репозитории ее нет.

 

  The headers or library files could not be found for jpeg,                                                                                                                                                                                  
  a required dependency when compiling Pillow from source.         

Что, собственно, можно с этим сделать? Может быть есть способы обойти проблему? Это требуется для Яндекс-погоды, видимо, пока отключу ее.

 

Отвечаю на свой вопрос. Выдираем вот отсюда https://packages.debian.org/stretch/mipsel/libjpeg62-turbo-dev/download все .h файлы, кидаем в include, радуемся жизни.

Edited by SenatoR
Link to comment
Share on other sites

В 11.05.2022 в 09:37, SenatoR сказал:

Отвечаю на свой вопрос. Выдираем вот отсюда https://packages.debian.org/stretch/mipsel/libjpeg62-turbo-dev/download все .h файлы, кидаем в include, радуемся жизни.

Может проще установить пакет?

opkg install python3-pillow

 

Link to comment
Share on other sites

Цитата

Может проще установить пакет?

Так вот беда была в том, что он стоял, но это по какой-то непонятной причине не помогало. HA все равно пытался собирать wheels и тд. Я сам удивился, но в любом случае спасибо вам за совет!

Отдельное спасибо за вашу работу!

Link to comment
Share on other sites

  • 3 weeks later...

Добрый день, начал использовать energy, но в самый первый день был как-то глюк и данные за день  были -1 600 kWh из-за этого статистика в виде графика очень кривая.  Вопрос: Можно ли как-то подключится к базе и удалить все данные за 1 день?

Link to comment
Share on other sites

Попробовал перевести HA на внешнюю SQL базу (через интернет), заработало, данные пошли. Теперь встал вопрос, чем это может грозить и есть ли смысл в этом? Подскажите знающие люди. Заранее спасибо.

для работы внешней базы установил дополнительно
# pip install pymysql
pip install mysqlclient не хотел устанавливаться.

Edited by al12s
Link to comment
Share on other sites

Привет, хочу начать пользовать HA, уже два дня пытаюсь поставить на keenetic Ultra + entware, ничего не запускается, может кто помочь в личном порядке? Ответьте, свяжемся. Спасибо

Link to comment
Share on other sites

У меня прошла установка на KN-1011 по данному сценарию:

Скрытый текст

echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf
opkg update
opkg install homeassistant
opkg install python3-pyturbojpeg
opkg update
/opt/etc/init.d/S99hass start

обновить питон
python -m pip install pip==21.2.4

После установки есть ошибки

 
Скрытый текст
Unable to install package aiodiscover==1.4.11: WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages sysconfig: /lib/python3.10/site-packages WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages sysconfig: /lib/python3.10/site-packages WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps/include/python3.10/netifaces sysconfig: /include/python3.10/netifaces WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps/bin sysconfig: /bin WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/10151> distutils: /opt/var/lib/homeassistant/deps sysconfig: . WARNING: Additional context: user = True home = None root = None prefix = '' ERROR: Command errored out with exit status 1: command: /opt/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-gubraa19/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-gubraa19/netifaces/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-8zx_1hba/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /opt/var/lib/homeassistant/deps/include/python3.10/netifaces cwd: /opt/tmp/pip-install-gubraa19/netifaces/ Complete output (15 lines): running install running build running build_ext checking for getifaddrs...not found. checking for getnameinfo...not found. checking for socket IOCTLs...not found. checking for optional header files...none found. checking whether struct sockaddr has a length field...no. checking which sockaddr_xxx structs are defined...none! checking for routing socket support...no. checking for sysctl(CTL_NET...) support...no. checking for netlink support...no. building 'netifaces' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -pthread -I/opt/include -fPIC -DNETIFACES_VERSION=0.11.0 -I/opt/include/python3.10 -c netifaces.c -o build/temp.linux-mips-3.10/netifaces.o error: command 'gcc' failed: No such file or directory ---------------------------------------- ERROR: Command errored out with exit status 1: /opt/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-gubraa19/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-gubraa19/netifaces/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-8zx_1hba/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /opt/var/lib/homeassistant/deps/include/python3.10/netifaces Check the logs for full command output. WARNING: You are using pip version 21.2.4; however, version 22.1.2 is available. You should consider upgrading via the '/opt/bin/python3 -m pip install --upgrade pip' command.
03:48:25  (ОШИБКА) util/package.py - первое сообщение получено 10 июня 2022 г., 23:02:13 и повторялось 6 раз
 

Logger: haffmpeg.core
Source: deps/lib/python3.10/site-packages/haffmpeg/core.py:136
First occurred: 10 июня 2022 г., 23:07:28 (1 occurrences)
Last logged: 10 июня 2022 г., 23:07:28

FFmpeg fails [Errno 2] No such file or directory: 'ffmpeg'
Traceback (most recent call last):
  File "/opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/haffmpeg/core.py", line 136, in open
    self._proc = await self._loop.run_in_executor(None, proc_func)
  File "/opt/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  File "/opt/lib/python3.10/subprocess.py", line 966, in __init__
  File "/opt/lib/python3.10/subprocess.py", line 1842, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
 

Logger: homeassistant.setup
Source: setup.py:162
First occurred: 10 июня 2022 г., 23:04:11 (2 occurrences)
Last logged: 10 июня 2022 г., 23:04:52

Setup failed for dhcp: Requirements for dhcp not found: ['aiodiscover==1.4.11'].
Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: dhcp')

Logger: homeassistant.setup
Source: setup.py:136
First occurred: 10 июня 2022 г., 23:04:52 (1 occurrences)
Last logged: 10 июня 2022 г., 23:04:52

Unable to set up dependencies of default_config. Setup failed for dependencies: dhcp

 

В целом НА работает.

Интеграции нужные мне, tuya, xiaomi не устанавливаются, ругается на "Не удалось загрузить мастер настройки: undefined"

Пока разбираюсь.

  • Upvote 1
Link to comment
Share on other sites

43 минуты назад, panama сказал:

Пока разбираюсь.

Не выполнили: https://github.com/Entware/Entware/wiki/Self-installation-of-python-modules

Цитата

To install python modules that have C extensions install gcc as described in Using-GCC-for-native-compilation.

 

46 минут назад, panama сказал:

error: command 'gcc' failed: No such file or directory

 

  • Thanks 1
Link to comment
Share on other sites

Ошибку в конфигурации постоянно выдает 

 
Скрытый текст
Ошибка в конфигурации
Integration error: default_config - Requirements for dhcp not found: ['aiodiscover==1.4.11'].
 
Link to comment
Share on other sites

ошибки, которые при запуске команды hass -c /opt/var/lib/homeassistant --debug

Скрытый текст

2022-06-11 11:48:17 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package aiodiscover==1.4.11: error: subprocess-exited-with-error

  × Running setup.py install for netifaces did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      /opt/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
        warnings.warn(msg, warning_class)
      running install
      /opt/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_ext
      checking for getifaddrs...not found.
      checking for getnameinfo...not found.
      checking for socket IOCTLs...not found.
      checking for optional header files...none found.
      checking whether struct sockaddr has a length field...no.
      checking which sockaddr_xxx structs are defined...none!
      checking for routing socket support...no.
      checking for sysctl(CTL_NET...) support...no.
      checking for netlink support...no.
      building 'netifaces' extension
      gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -pthread -I/opt/include -fPIC -DNETIFACES_VERSION=0.11.0 -I/opt/include/python3.10 -c netifaces.c -o build/temp.linux-mips-cpython-310/netifaces.o
      error: command 'gcc' failed: No such file or directory
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> netifaces

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.


 

Link to comment
Share on other sites

12 минуты назад, panama сказал:

error: command 'gcc' failed: No such file or directory

то же, см. https://forum.keenetic.com/topic/9423-home-assistant/?do=findComment&comment=147495

(не установили пакеты для нативной сборки )

  • Thanks 1
Link to comment
Share on other sites

Добрый день.

keenetic viva-1910.

поставил home asistant

echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf
opkg update
opkg install homeassistant
opkg install python3-pyturbojpeg
python -m pip install pip==21.2.4
/opt/etc/init.d/S99hass start

уже более 2 часов проц в 100 и роутеру плохо, инет лагает, в логах тихо

это нормально? сколько примерно ждать установки?

Edited by alzaicko
Link to comment
Share on other sites

33 минуты назад, alzaicko сказал:

уже более 2 часов проц в 100 и роутеру плохо, инет лагает, в логах тихо

zram?

38 минут назад, alzaicko сказал:

это нормально?

нет.

33 минуты назад, alzaicko сказал:

сколько примерно ждать установки?

~ 5 - 10 минут (зависит от устройства, KN-1910 - "середнячок").

Link to comment
Share on other sites

не запускается чёт...

переставил с нуля вот так:

echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf
opkg update
opkg install gcc ldd make gawk sed patch diffutils coreutils-install libffi
opkg install python3-pip
pip3 install --upgrade pip setuptools
python -m pip install pip==21.2.4
opkg install homeassistant
/opt/etc/init.d/S99hass start

запустил и тишина, веба нет...

~ # /opt/bin/hass -c /opt/var/lib/homeassistant --debug
2022-06-14 17:01:43 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-1' coro=<setup_and_run_hass() running at /opt/lib/python3.10/site-packages/homeassistant/runner.py:101> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /opt/lib/python3.10/asyncio/futures.py:384, Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> cb=[_run_until_complete_cb() at /opt/lib/python3.10/asyncio/base_events.py:184] created at /opt/lib/python3.10/asyncio/tasks.py:636> took 0.311 seconds
2022-06-14 17:01:44 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-10' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.111 seconds
2022-06-14 17:01:44 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-9' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.170 seconds
2022-06-14 17:01:54 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-1' coro=<setup_and_run_hass() running at /opt/lib/python3.10/site-packages/homeassistant/runner.py:101> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/tasks.py:665> cb=[_run_until_complete_cb() at /opt/lib/python3.10/asyncio/base_events.py:184] created at /opt/lib/python3.10/asyncio/tasks.py:636> took 0.290 seconds
2022-06-14 17:01:54 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-1' coro=<setup_and_run_hass() running at /opt/lib/python3.10/site-packages/homeassistant/runner.py:101> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/tasks.py:665> cb=[_run_until_complete_cb() at /opt/lib/python3.10/asyncio/base_events.py:184] created at /opt/lib/python3.10/asyncio/tasks.py:636> took 0.186 seconds
2022-06-14 17:03:16 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-97' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/tasks.py:665> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 79.498 seconds
2022-06-14 17:03:20 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //opt/var/lib/homeassistant/home-assistant_v2.db was shutdown cleanly
2022-06-14 17:03:33 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-98' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 15.373 seconds
2022-06-14 17:03:34 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-99' coro=<_async_process_single_integration_platform_component() done, defined at /opt/lib/python3.10/site-packages/homeassistant/helpers/integration_platform.py:28> result=None created at /opt/lib/python3.10/asyncio/tasks.py:636> took 0.459 seconds
2022-06-14 17:03:34 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-98' coro=<_async_setup_component() done, defined at /opt/lib/python3.10/site-packages/homeassistant/setup.py:145> result=True created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.111 seconds
2022-06-14 17:03:34 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2022-06-14 17:03:34 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-14' coro=<_async_watch_pending_setups() running at /opt/lib/python3.10/site-packages/homeassistant/bootstrap.py:424> wait_for=<Future pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> created at /opt/lib/python3.10/asyncio/tasks.py:337> took 0.201 seconds
2022-06-14 17:03:36 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-14' coro=<_async_watch_pending_setups() running at /opt/lib/python3.10/site-packages/homeassistant/bootstrap.py:424> wait_for=<Future pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> created at /opt/lib/python3.10/asyncio/tasks.py:337> took 0.149 seconds
2022-06-14 17:03:39 WARNING (MainThread) [asyncio] Executing <TimerHandle when=3567.231745339 _set_result_unless_cancelled(<Future finis...events.py:429>, None) at /opt/lib/python3.10/asyncio/futures.py:308 created at /opt/lib/python3.10/asyncio/tasks.py:601> took 1.096 seconds
2022-06-14 17:03:40 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-14' coro=<_async_watch_pending_setups() running at /opt/lib/python3.10/site-packages/homeassistant/bootstrap.py:424> wait_for=<Future pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> created at /opt/lib/python3.10/asyncio/tasks.py:337> took 1.114 seconds
2022-06-14 17:03:43 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=1 from 2022-06-14 13:47:29.369339)
2022-06-14 17:03:47 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-107' coro=<async_load() done, defined at /opt/lib/python3.10/site-packages/homeassistant/helpers/entity_registry.py:810> result=None created at /opt/lib/python3.10/asyncio/tasks.py:636> took 1.034 seconds
2022-06-14 17:03:47 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-1' coro=<setup_and_run_hass() running at /opt/lib/python3.10/site-packages/homeassistant/runner.py:101> wait_for=<Future pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> cb=[_run_until_complete_cb() at /opt/lib/python3.10/asyncio/base_events.py:184] created at /opt/lib/python3.10/asyncio/tasks.py:636> took 0.263 seconds
2022-06-14 17:03:47 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-136' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.319 seconds
2022-06-14 17:03:50 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-138' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Task pending name='Task-158' coro=<Store._async_load() running at /opt/lib/python3.10/site-packages/homeassistant/helpers/storage.py:116> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 2.182 seconds
2022-06-14 17:04:02 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-140' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Task pending name='Task-169' coro=<Store._async_load() running at /opt/lib/python3.10/site-packages/homeassistant/helpers/storage.py:116> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 11.943 seconds
2022-06-14 17:04:02 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-149' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:182> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/tasks.py:665> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.190 seconds
2022-06-14 17:04:11 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-152' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:182> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /opt/lib/python3.10/asyncio/futures.py:384, Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 8.909 seconds
2022-06-14 17:04:11 WARNING (MainThread) [homeassistant.setup] Setup of http is taking over 10 seconds.
2022-06-14 17:04:11 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-14' coro=<_async_watch_pending_setups() running at /opt/lib/python3.10/site-packages/homeassistant/bootstrap.py:424> wait_for=<Future pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> created at /opt/lib/python3.10/asyncio/tasks.py:337> took 0.328 seconds
2022-06-14 17:04:12 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-138' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Task pending name='Task-191' coro=<Store._async_load() running at /opt/lib/python3.10/site-packages/homeassistant/helpers/storage.py:116> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> cb=[Task.task_wakeup(), <9 more>, Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.772 seconds
2022-06-14 17:04:13 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-140' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup(), Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.492 seconds
2022-06-14 17:04:45 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-138' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /opt/lib/python3.10/asyncio/futures.py:384, Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> cb=[Task.task_wakeup(), <9 more>, Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 32.470 seconds
2022-06-14 17:04:47 WARNING (MainThread) [asyncio] Executing <TimerHandle when=3635.3208293242933 async_track_point_in_utc_time.<locals>.run_action(<Job HassJobT...t 0x1c6d000>>>) at /opt/lib/python3.10/site-packages/homeassistant/helpers/event.py:1286 created at /opt/lib/python3.10/site-packages/homeassistant/helpers/event.py:1308> took 0.935 seconds
2022-06-14 17:04:50 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-138' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Task pending name='Task-195' coro=<Store._async_load() running at /opt/lib/python3.10/site-packages/homeassistant/helpers/storage.py:116> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> cb=[Task.task_wakeup(), <9 more>, Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 2.457 seconds
2022-06-14 17:04:58 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-138' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup(), <9 more>, Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 7.765 seconds
2022-06-14 17:04:58 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-135' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup(), <4 more>, Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.116 seconds
2022-06-14 17:04:59 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-142' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/tasks.py:665> cb=[Task.task_wakeup(), Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 1.286 seconds
2022-06-14 17:05:02 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-144' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup(), Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 2.236 seconds
2022-06-14 17:05:02 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-147' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup(), <1 more>, Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.112 seconds
2022-06-14 17:05:02 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-150' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Future pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> cb=[Task.task_wakeup(), Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 0.270 seconds
2022-06-14 17:05:03 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-154' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:265> cb=[Task.task_wakeup(), <2 more>, Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 1.335 seconds
2022-06-14 17:05:04 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-201' coro=<_async_process_single_integration_platform_component() done, defined at /opt/lib/python3.10/site-packages/homeassistant/helpers/integration_platform.py:28> result=None created at /opt/lib/python3.10/asyncio/tasks.py:636> took 1.045 seconds
2022-06-14 17:05:05 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-208' coro=<async_setup.<locals>.setup_panel() done, defined at /opt/lib/python3.10/site-packages/homeassistant/components/config/__init__.py:42> result=None created at /opt/lib/python3.10/asyncio/tasks.py:337> took 0.175 seconds
2022-06-14 17:06:41 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-209' coro=<async_setup.<locals>.setup_panel() done, defined at /opt/lib/python3.10/site-packages/homeassistant/components/config/__init__.py:42> result=None created at /opt/lib/python3.10/asyncio/tasks.py:337> took 96.228 seconds
2022-06-14 17:06:44 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-210' coro=<async_setup.<locals>.setup_panel() done, defined at /opt/lib/python3.10/site-packages/homeassistant/components/config/__init__.py:42> result=None created at /opt/lib/python3.10/asyncio/tasks.py:337> took 2.708 seconds
2022-06-14 17:07:07 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-211' coro=<async_setup.<locals>.setup_panel() done, defined at /opt/lib/python3.10/site-packages/homeassistant/components/config/__init__.py:42> result=None created at /opt/lib/python3.10/asyncio/tasks.py:337> took 23.254 seconds
2022-06-14 17:07:08 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-212' coro=<async_setup.<locals>.setup_panel() done, defined at /opt/lib/python3.10/site-packages/homeassistant/components/config/__init__.py:42> result=None created at /opt/lib/python3.10/asyncio/tasks.py:337> took 0.193 seconds
2022-06-14 17:07:09 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-214' coro=<async_setup.<locals>.setup_panel() done, defined at /opt/lib/python3.10/site-packages/homeassistant/components/config/__init__.py:42> result=None created at /opt/lib/python3.10/asyncio/tasks.py:337> took 1.730 seconds
2022-06-14 17:07:11 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-154' coro=<_async_setup_component() done, defined at /opt/lib/python3.10/site-packages/homeassistant/setup.py:145> result=True created at /opt/lib/python3.10/site-packages/homeassistant/core.py:482> took 1.259 seconds
2022-06-14 17:07:12 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-159' coro=<async_setup_component() done, defined at /opt/lib/python3.10/site-packages/homeassistant/setup.py:59> result=True created at /opt/lib/python3.10/site-packages/homeassistant/setup.py:93> took 1.073 seconds
2022-06-14 17:07:14 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-14' coro=<_async_watch_pending_setups() running at /opt/lib/python3.10/site-packages/homeassistant/bootstrap.py:424> wait_for=<Future pending cb=[Task.task_wakeup()] created at /opt/lib/python3.10/asyncio/base_events.py:429> created at /opt/lib/python3.10/asyncio/tasks.py:337> took 2.284 seconds
2022-06-14 17:07:14 WARNING (MainThread) [homeassistant.setup] Setup of diagnostics is taking over 10 seconds.

zram - отключил, сделал swap на флешке

роутеру теперь не плохо) но по прежнему не работает(

Edited by alzaicko
  • Upvote 1
Link to comment
Share on other sites

Скрытый текст
В 15.06.2022 в 16:21, TheBB сказал:

bump to 2022.6.6 (прим. те же, см. выше)

screen_2022-06-15_16:02:32-ha.png

 

 

Обновляю первый раз.

Что-то не получается обновиться. 

/opt/etc/init.d/S99hass stop

opkg update
opkg upgrade

без ошибок, просто висит на 

Upgrading homeassistant on root from 2022.6.1-1 to 2022.6.6-1...
Downloading http://bin.entware.net/mipselsf-k3.4/test/HA/homeassistant_2022.6.6-1_mipsel-3.4.ipk
Пробовал скачать этот файл и установить вручную, тоже самое

Upgrading homeassistant on root from 2022.6.1-1 to 2022.6.6-1...

Что я делаю не так.

Может мало жду, минут 10 ждал точно. Реакции нет. 

Edited by panama
Link to comment
Share on other sites

9 часов назад, panama сказал:

Может мало жду, минут 10 ждал точно.

Мало. Файлов много, пока все удалит... (~20-40 мин., м.б. и больше).

"Экспресс апгрэйд" (~1-3 мин.)

opkg update
/opt/etc/init.d/S99hass stop
opkg remove homeassistant
opkg upgrade
opkg install homeassistant
/opt/etc/init.d/S99hass start

 

  • Thanks 2
Link to comment
Share on other sites

Добрые сутки всем!

Буду очень благодарен за подсказку куда копать при такой ошибке:

[custom_components.xiaomi_miot_raw] Internal error occurred while logging in Xiaomi account: Cannot connect to host account.xiaomi.com:443 ssl:default [None]

Собственно, смущает None, то есть ошибок нет. Поиск ничего не дает, видимо проблема уникальна, но я в упор не могу понять почему она происходит.

Link to comment
Share on other sites

С устройствами xiaomi  лучше получается работать без облака, с токеном. У вас интеграция не может войти в облако xiaomi без ssl.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...