Jump to content

Recommended Posts

7 минут назад, Stenly сказал:

а флешки недостаточно будет?

Вероятно долго она не проживет, у меня через неделю флешка посыпалась, конечно не самая свежая была. Решение на роутере абсолютно чудесное, в масштабах квартиры особенно, где нет возможности развернуть отдельную стойку 19' под желаемые железячки.

Link to comment
Share on other sites

В 30.11.2022 в 20:03, Stenly сказал:

а флешки недостаточно будет?

C флешки часто сыпется, может дело в 1 баксовой флешке, но чуть что все, сдох суслик.

  

В 01.12.2022 в 07:11, Stenly сказал:

а будьте добры, ткните носом прям в ссылочку для самой первой установки home assistant? а то ни разу не делал)

echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf
opkg update
opkg install homeassistant
opkg update
/opt/etc/init.d/S99hass start
В любом браузере перейти по адресу:
http://192.168.1.1:8123/

Edited by batonskij
Link to comment
Share on other sites

  • 2 weeks later...
В 05.12.2022 в 21:27, batonskij сказал:

C флешки часто сыпется, может дело в 1 баксовой флешке, но чуть что все, сдох суслик.

  

echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf
opkg update
opkg install homeassistant
opkg update
/opt/etc/init.d/S99hass start
В любом браузере перейти по адресу:
http://192.168.1.1:8123/

Устанавливаю по данной инструкции на Peak. Заменив конечно же ссылку на соответствующую архитектуре: 

echo "src/gz ha http://bin.entware.net/aarch64-k3.10/test/HA/" >> /opt/etc/opkg.conf


Всё стартует, но из браузера постоянно видна затычка 404: Not Found

 

Запустил с подробным отображением

~ # hass -c /opt/var/lib/homeassistant --debug --verbose

И получил кучу предупреждений о зависимостях image, frontend, person

С середины лога следует попытка перезапуска в Safe mode, выделил желтым

При этом в самом конце лога порт 8123 успешно открыт, но как понимаю frontend отсутствует.

Есть у кого мысли куда двигаться?

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

2022-12-17 19:35:12.824 INFO (MainThread) [homeassistant.bootstrap] Config directory: /opt/var/lib/homeassistant
2022-12-17 19:35:12.851 INFO (MainThread) [asyncio] execute program '/opt/bin/python3': <_UnixSubprocessTransport pid=2435 running stdin=<_UnixWritePipeTransport fd=10 idle bufsize=0> stdout=<_UnixReadPipeTransport fd=11 polling>>
2022-12-17 19:35:13.032 INFO (MainThread) [asyncio] <_UnixReadPipeTransport fd=11 polling> was closed by peer
2022-12-17 19:35:13.037 INFO (MainThread) [asyncio] <_UnixWritePipeTransport fd=10 idle bufsize=0> was closed by peer
2022-12-17 19:35:13.053 INFO (MainThread) [asyncio] <_UnixSubprocessTransport pid=2435 running stdin=<_UnixWritePipeTransport closed fd=10 closed> stdout=<_UnixReadPipeTransport closed fd=11 closed>> exited with return code 0
2022-12-17 19:35:13.072 INFO (SyncWorker_0) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2022-12-17 19:35:13.076 INFO (SyncWorker_0) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
2022-12-17 19:35:13.082 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
2022-12-17 19:35:13.087 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds
2022-12-17 19:35:13.102 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
2022-12-17 19:35:13.108 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds
2022-12-17 19:35:13.148 INFO (SyncWorker_0) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2022-12-17 19:35:13.151 INFO (SyncWorker_0) [homeassistant.loader] Loaded default_config from homeassistant.components.default_config
2022-12-17 19:35:13.154 INFO (SyncWorker_0) [homeassistant.loader] Loaded script from homeassistant.components.script
2022-12-17 19:35:13.158 INFO (SyncWorker_0) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2022-12-17 19:35:13.160 INFO (SyncWorker_0) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2022-12-17 19:35:13.163 INFO (SyncWorker_0) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2022-12-17 19:35:13.165 INFO (SyncWorker_0) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2022-12-17 19:35:13.177 INFO (SyncWorker_0) [homeassistant.loader] Loaded blueprint from homeassistant.components.blueprint
2022-12-17 19:35:13.182 INFO (SyncWorker_0) [homeassistant.loader] Loaded application_credentials from homeassistant.components.application_credentials
2022-12-17 19:35:13.188 INFO (SyncWorker_0) [homeassistant.loader] Loaded http from homeassistant.components.http
2022-12-17 19:35:13.193 INFO (SyncWorker_0) [homeassistant.loader] Loaded api from homeassistant.components.api
2022-12-17 19:35:13.202 INFO (SyncWorker_0) [homeassistant.loader] Loaded trace from homeassistant.components.trace
2022-12-17 19:35:13.206 INFO (SyncWorker_0) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2022-12-17 19:35:13.217 INFO (SyncWorker_0) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2022-12-17 19:35:13.227 INFO (SyncWorker_1) [homeassistant.loader] Loaded config from homeassistant.components.config
2022-12-17 19:35:13.229 INFO (SyncWorker_0) [homeassistant.loader] Loaded bluetooth from homeassistant.components.bluetooth
2022-12-17 19:35:13.236 INFO (SyncWorker_1) [homeassistant.loader] Loaded usb from homeassistant.components.usb
2022-12-17 19:35:13.241 INFO (SyncWorker_0) [homeassistant.loader] Loaded device_automation from homeassistant.components.device_automation
2022-12-17 19:35:13.247 INFO (SyncWorker_1) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2022-12-17 19:35:13.252 INFO (SyncWorker_0) [homeassistant.loader] Loaded diagnostics from homeassistant.components.diagnostics
2022-12-17 19:35:13.260 INFO (SyncWorker_1) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
2022-12-17 19:35:13.262 INFO (SyncWorker_0) [homeassistant.loader] Loaded file_upload from homeassistant.components.file_upload
2022-12-17 19:35:13.269 INFO (SyncWorker_1) [homeassistant.loader] Loaded counter from homeassistant.components.counter
2022-12-17 19:35:13.273 INFO (SyncWorker_0) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2022-12-17 19:35:13.279 INFO (SyncWorker_1) [homeassistant.loader] Loaded dhcp from homeassistant.components.dhcp
2022-12-17 19:35:13.284 INFO (SyncWorker_1) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2022-12-17 19:35:13.290 INFO (SyncWorker_0) [homeassistant.loader] Loaded energy from homeassistant.components.energy
2022-12-17 19:35:13.295 INFO (SyncWorker_1) [homeassistant.loader] Loaded analytics from homeassistant.components.analytics
2022-12-17 19:35:13.301 INFO (SyncWorker_1) [homeassistant.loader] Loaded history from homeassistant.components.history
2022-12-17 19:35:13.306 INFO (SyncWorker_0) [homeassistant.loader] Loaded person from homeassistant.components.person
2022-12-17 19:35:13.312 INFO (SyncWorker_1) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2022-12-17 19:35:13.317 INFO (SyncWorker_0) [homeassistant.loader] Loaded image from homeassistant.components.image
2022-12-17 19:35:13.326 INFO (SyncWorker_1) [homeassistant.loader] Loaded repairs from homeassistant.components.repairs
2022-12-17 19:35:13.333 INFO (SyncWorker_0) [homeassistant.loader] Loaded search from homeassistant.components.search
2022-12-17 19:35:13.342 INFO (SyncWorker_1) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2022-12-17 19:35:13.348 INFO (SyncWorker_0) [homeassistant.loader] Loaded hardware from homeassistant.components.hardware
2022-12-17 19:35:13.354 INFO (SyncWorker_1) [homeassistant.loader] Loaded homeassistant_alerts from homeassistant.components.homeassistant_alerts
2022-12-17 19:35:13.360 INFO (SyncWorker_0) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean
2022-12-17 19:35:13.366 INFO (SyncWorker_1) [homeassistant.loader] Loaded input_button from homeassistant.components.input_button
2022-12-17 19:35:13.371 INFO (SyncWorker_0) [homeassistant.loader] Loaded input_datetime from homeassistant.components.input_datetime
2022-12-17 19:35:13.377 INFO (SyncWorker_1) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number
2022-12-17 19:35:13.382 INFO (SyncWorker_0) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select
2022-12-17 19:35:13.388 INFO (SyncWorker_1) [homeassistant.loader] Loaded input_text from homeassistant.components.input_text
2022-12-17 19:35:13.394 INFO (SyncWorker_0) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2022-12-17 19:35:13.400 INFO (SyncWorker_1) [homeassistant.loader] Loaded logger from homeassistant.components.logger
2022-12-17 19:35:13.406 INFO (SyncWorker_0) [homeassistant.loader] Loaded map from homeassistant.components.map
2022-12-17 19:35:13.411 INFO (SyncWorker_1) [homeassistant.loader] Loaded media_source from homeassistant.components.media_source
2022-12-17 19:35:13.416 INFO (SyncWorker_0) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
2022-12-17 19:35:13.422 INFO (SyncWorker_1) [homeassistant.loader] Loaded tag from homeassistant.components.tag
2022-12-17 19:35:13.427 INFO (SyncWorker_0) [homeassistant.loader] Loaded my from homeassistant.components.my
2022-12-17 19:35:13.433 INFO (SyncWorker_1) [homeassistant.loader] Loaded network from homeassistant.components.network
2022-12-17 19:35:13.438 INFO (SyncWorker_0) [homeassistant.loader] Loaded schedule from homeassistant.components.schedule
2022-12-17 19:35:13.444 INFO (SyncWorker_1) [homeassistant.loader] Loaded ssdp from homeassistant.components.ssdp
2022-12-17 19:35:13.449 INFO (SyncWorker_0) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
2022-12-17 19:35:13.455 INFO (SyncWorker_1) [homeassistant.loader] Loaded timer from homeassistant.components.timer
2022-12-17 19:35:13.460 INFO (SyncWorker_0) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
2022-12-17 19:35:13.466 INFO (SyncWorker_1) [homeassistant.loader] Loaded zone from homeassistant.components.zone
2022-12-17 19:35:13.517 INFO (MainThread) [homeassistant.bootstrap] Domains to be set up: {'input_text', 'websocket_api', 'config', 'mobile_app', 'input_select', 'trace', 'network', 'script', 'input_button', 'input_datetime', 'scene', 'schedule', 'my', 'frontend', 'energy', 'logbook', 'repairs', 'counter', 'device_automation', 'timer', 'image', 'bluetooth', 'default_config', 'blueprint', 'sun', 'input_boolean', 'map', 'input_number', 'zone', 'usb', 'lovelace', 'api', 'recorder', 'application_credentials', 'automation', 'logger', 'history', 'dhcp', 'auth', 'http', 'cloud', 'system_log', 'system_health', 'tag', 'file_upload', 'zeroconf', 'analytics', 'webhook', 'diagnostics', 'onboarding', 'search', 'tts', 'homeassistant_alerts', 'media_source', 'ssdp', 'hardware', 'person'}
2022-12-17 19:35:13.550 INFO (MainThread) [homeassistant.bootstrap] Setting up logging: {'logger', 'system_log'}
2022-12-17 19:35:13.562 INFO (MainThread) [homeassistant.setup] Setting up logger
2022-12-17 19:35:13.566 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds
2022-12-17 19:35:13.573 INFO (MainThread) [homeassistant.setup] Setting up system_log
2022-12-17 19:35:13.579 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds
2022-12-17 19:35:13.586 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
2022-12-17 19:35:13.635 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2022-12-17 19:35:13.638 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds
2022-12-17 19:35:13.790 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2022-12-17 19:35:13.798 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-85' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Task pending name='Task-95' coro=<Store._async_load() running at /opt/lib/python3.10/site-packages/homeassistant/helpers/storage.py:118> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:511> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:511> took 0.146 seconds
2022-12-17 19:35:13.819 INFO (MainThread) [homeassistant.setup] Setting up http
2022-12-17 19:35:13.847 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.1 seconds
2022-12-17 19:35:13.882 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.1 seconds
2022-12-17 19:35:13.937 INFO (MainThread) [homeassistant.setup] Setting up api
2022-12-17 19:35:13.950 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds
2022-12-17 19:35:13.953 INFO (MainThread) [homeassistant.setup] Setting up auth
2022-12-17 19:35:13.961 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds
2022-12-17 19:35:13.969 INFO (MainThread) [homeassistant.setup] Setting up config
2022-12-17 19:35:13.992 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
2022-12-17 19:35:14.012 INFO (MainThread) [homeassistant.setup] Setting up file_upload
2022-12-17 19:35:14.016 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.0 seconds
2022-12-17 19:35:14.028 INFO (MainThread) [homeassistant.setup] Setting up repairs
2022-12-17 19:35:14.034 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.0 seconds
2022-12-17 19:35:14.037 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2022-12-17 19:35:14.040 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds
2022-12-17 19:35:14.558 WARNING (MainThread) [asyncio] Executing <Task finished name='Task-125' 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.486 seconds
2022-12-17 19:35:14.707 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: cannot import name '_imaging' from 'PIL' (/opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/PIL/__init__.py)
2022-12-17 19:35:14.714 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.7 seconds
2022-12-17 19:35:14.722 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.7 seconds
2022-12-17 19:35:14.757 INFO (SyncWorker_0) [homeassistant.loader] Loaded group from homeassistant.components.group
2022-12-17 19:35:14.771 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2022-12-17 19:35:14.774 ERROR (MainThread) [homeassistant.setup] Setup failed for person: (DependencyError(...), 'Could not setup dependencies: image')
2022-12-17 19:35:14.855 INFO (MainThread) [homeassistant.setup] Setting up search
2022-12-17 19:35:14.859 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds
2022-12-17 19:35:17.299 INFO (MainThread) [homeassistant.setup] Setting up analytics
2022-12-17 19:35:17.347 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-103' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Task pending name='Task-202' coro=<Store._async_load() running at /opt/lib/python3.10/site-packages/homeassistant/helpers/storage.py:118> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:511> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:511> took 2.479 seconds
2022-12-17 19:35:17.358 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.1 seconds
2022-12-17 19:35:17.368 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2022-12-17 19:35:17.371 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: (DependencyError(...), 'Could not setup dependencies: person')
2022-12-17 19:35:17.376 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2022-12-17 19:35:17.379 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: (DependencyError(...), 'Could not setup dependencies: onboarding')
2022-12-17 19:35:17.384 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'}
2022-12-17 19:35:17.393 INFO (MainThread) [homeassistant.setup] Setting up recorder
2022-12-17 19:35:17.528 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.1 seconds
2022-12-17 19:35:17.539 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'websocket_api', 'api', 'network', 'bluetooth', 'zeroconf', 'dhcp', 'webhook', 'cloud', 'ssdp', 'http', 'usb'}
2022-12-17 19:35:17.585 INFO (MainThread) [homeassistant.setup] Setting up webhook
2022-12-17 19:35:17.591 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds
2022-12-17 19:35:18.130 INFO (MainThread) [homeassistant.setup] Setting up dhcp
2022-12-17 19:35:18.135 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.0 seconds
2022-12-17 19:35:18.136 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-243' 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:511> took 0.511 seconds
2022-12-17 19:35:18.141 INFO (MainThread) [homeassistant.setup] Setting up network
2022-12-17 19:35:18.156 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.0 seconds
2022-12-17 19:35:18.247 INFO (MainThread) [homeassistant.setup] Setting up usb
2022-12-17 19:35:18.499 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.3 seconds
2022-12-17 19:35:18.501 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-247' 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:511> took 0.284 seconds
2022-12-17 19:35:18.513 INFO (SyncWorker_1) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant
2022-12-17 19:35:18.517 INFO (SyncWorker_0) [homeassistant.loader] Loaded alexa from homeassistant.components.alexa
2022-12-17 19:35:18.550 INFO (SyncWorker_0) [homeassistant.loader] Loaded camera from homeassistant.components.camera
2022-12-17 19:35:18.840 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2022-12-17 19:35:18.850 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-242' 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:511> took 0.286 seconds
2022-12-17 19:35:19.018 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2022-12-17 19:35:19.028 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-246' 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:511> took 0.142 seconds
2022-12-17 19:35:19.037 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.2 seconds
2022-12-17 19:35:19.066 INFO (SyncWorker_0) [homeassistant.loader] Loaded hassio from homeassistant.components.hassio
2022-12-17 19:35:19.093 INFO (SyncWorker_1) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
2022-12-17 19:35:19.113 INFO (SyncWorker_0) [homeassistant.loader] Loaded panel_custom from homeassistant.components.panel_custom
2022-12-17 19:35:20.337 INFO (MainThread) [homeassistant.setup] Setting up cloud
2022-12-17 19:35:20.343 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-245' coro=<_async_setup_component() running at /opt/lib/python3.10/site-packages/homeassistant/setup.py:235> wait_for=<Task pending name='Task-303' coro=<Store._async_load() running at /opt/lib/python3.10/site-packages/homeassistant/helpers/storage.py:118> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:511> cb=[Task.task_wakeup()] created at /opt/lib/python3.10/site-packages/homeassistant/core.py:511> took 1.203 seconds
2022-12-17 19:35:20.390 INFO (MainThread) [asyncio] <Server sockets=(<asyncio.TransportSocket fd=23, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.100.15', 40000)>,)> is serving
2022-12-17 19:35:20.502 INFO (SyncWorker_0) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker
2022-12-17 19:35:20.513 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.2 seconds
2022-12-17 19:35:20.536 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 1.5 seconds
2022-12-17 19:35:21.209 INFO (MainThread) [homeassistant.setup] Setting up bluetooth
2022-12-17 19:35:21.224 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 0.0 seconds
2022-12-17 19:35:21.225 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-241' 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:511> took 0.632 seconds
2022-12-17 19:35:21.248 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'input_text', 'config', 'mobile_app', 'input_select', 'trace', 'script', 'input_button', 'input_datetime', 'scene', 'schedule', 'my', 'energy', 'logbook', 'repairs', 'counter', 'device_automation', 'timer', 'image', 'default_config', 'blueprint', 'sun', 'input_boolean', 'map', 'input_number', 'zone', 'lovelace', 'hardware', 'application_credentials', 'automation', 'history', 'auth', 'system_health', 'tag', 'file_upload', 'analytics', 'diagnostics', 'onboarding', 'search', 'tts', 'homeassistant_alerts', 'media_source', 'person'}
2022-12-17 19:35:21.342 INFO (MainThread) [homeassistant.setup] Setting up input_text
2022-12-17 19:35:21.353 INFO (MainThread) [homeassistant.setup] Setting up input_select
2022-12-17 19:35:21.360 INFO (MainThread) [homeassistant.setup] Setting up trace
2022-12-17 19:35:21.364 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.0 seconds
2022-12-17 19:35:21.382 INFO (MainThread) [homeassistant.setup] Setting up input_button
2022-12-17 19:35:21.395 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2022-12-17 19:35:21.403 INFO (MainThread) [homeassistant.setup] Setting up scene
2022-12-17 19:35:21.405 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2022-12-17 19:35:21.434 INFO (MainThread) [homeassistant.setup] Setting up schedule
2022-12-17 19:35:21.453 INFO (MainThread) [homeassistant.setup] Setting up counter
2022-12-17 19:35:21.460 INFO (MainThread) [homeassistant.setup] Setting up timer
2022-12-17 19:35:21.494 INFO (MainThread) [homeassistant.setup] Setting up blueprint
2022-12-17 19:35:21.497 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.0 seconds
2022-12-17 19:35:21.500 INFO (MainThread) [homeassistant.setup] Setting up sun
2022-12-17 19:35:21.505 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.0 seconds
2022-12-17 19:35:21.510 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2022-12-17 19:35:21.520 INFO (MainThread) [homeassistant.setup] Setting up input_number
2022-12-17 19:35:21.528 INFO (MainThread) [homeassistant.setup] Setting up zone
2022-12-17 19:35:21.560 INFO (MainThread) [homeassistant.setup] Setting up history
2022-12-17 19:35:21.567 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds
2022-12-17 19:35:21.577 INFO (MainThread) [homeassistant.setup] Setting up tag
2022-12-17 19:35:21.600 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts
2022-12-17 19:35:21.604 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.0 seconds
2022-12-17 19:35:21.707 INFO (MainThread) [homeassistant.setup] Setting up hardware
2022-12-17 19:35:21.808 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.4 seconds
2022-12-17 19:35:21.812 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of my. Setup failed for dependencies: frontend
2022-12-17 19:35:21.815 ERROR (MainThread) [homeassistant.setup] Setup failed for my: (DependencyError(...), 'Could not setup dependencies: frontend')
2022-12-17 19:35:21.820 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2022-12-17 19:35:21.823 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: (DependencyError(...), 'Could not setup dependencies: frontend')
2022-12-17 19:35:21.834 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2022-12-17 19:35:21.837 ERROR (MainThread) [homeassistant.setup] Setup failed for map: (DependencyError(...), 'Could not setup dependencies: frontend')
2022-12-17 19:35:21.863 INFO (MainThread) [homeassistant.setup] Setting up application_credentials
2022-12-17 19:35:21.870 INFO (MainThread) [homeassistant.setup] Setting up automation
2022-12-17 19:35:21.880 INFO (MainThread) [homeassistant.setup] Setting up system_health
2022-12-17 19:35:21.935 INFO (MainThread) [homeassistant.setup] Setting up media_source
2022-12-17 19:35:22.004 INFO (MainThread) [homeassistant.setup] Setting up script
2022-12-17 19:35:22.023 INFO (MainThread) [homeassistant.setup] Setting up energy
2022-12-17 19:35:22.029 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.0 seconds
2022-12-17 19:35:22.065 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 0.5 seconds
2022-12-17 19:35:22.096 INFO (MainThread) [homeassistant.setup] Setup of domain hardware took 0.4 seconds
2022-12-17 19:35:22.154 INFO (SyncWorker_0) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
2022-12-17 19:35:22.163 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.3 seconds
2022-12-17 19:35:22.172 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 0.2 seconds
2022-12-17 19:35:22.210 INFO (MainThread) [homeassistant.setup] Setup of domain counter took 0.8 seconds
2022-12-17 19:35:22.222 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.8 seconds
2022-12-17 19:35:22.361 INFO (SyncWorker_1) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2022-12-17 19:35:22.384 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.5 seconds
2022-12-17 19:35:22.395 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: person
2022-12-17 19:35:22.398 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: (DependencyError(...), 'Could not setup dependencies: person')
2022-12-17 19:35:22.423 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.4 seconds
2022-12-17 19:35:22.459 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 1.1 seconds
2022-12-17 19:35:22.478 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 1.1 seconds
2022-12-17 19:35:22.489 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 1.1 seconds
2022-12-17 19:35:22.496 INFO (MainThread) [homeassistant.setup] Setup of domain application_credentials took 0.6 seconds
2022-12-17 19:35:22.503 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 1.1 seconds
2022-12-17 19:35:22.523 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 1.0 seconds
2022-12-17 19:35:22.588 INFO (MainThread) [homeassistant.setup] Setting up sensor
2022-12-17 19:35:22.594 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.0 seconds
2022-12-17 19:35:22.665 INFO (MainThread) [homeassistant.setup] Setting up tts
2022-12-17 19:35:22.684 INFO (MainThread) [homeassistant.setup] Setup of domain schedule took 1.2 seconds
2022-12-17 19:35:22.697 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 1.2 seconds
2022-12-17 19:35:22.710 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 1.2 seconds
2022-12-17 19:35:22.781 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.energy
2022-12-17 19:35:22.810 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: frontend, logbook, map, mobile_app, my, person
2022-12-17 19:35:22.814 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: frontend, logbook, map, mobile_app, my, person')
2022-12-17 19:35:22.831 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.2 seconds
2022-12-17 19:35:22.867 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 9.81s
2022-12-17 19:35:22.869 WARNING (MainThread) [homeassistant.bootstrap] Detected that frontend did not load. Activating safe mode
2022-12-17 19:35:22.874 INFO (MainThread) [homeassistant.bootstrap] Starting in safe mode
2022-12-17 19:35:22.894 INFO (SyncWorker_1) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2022-12-17 19:35:22.898 INFO (SyncWorker_0) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
2022-12-17 19:35:22.904 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
2022-12-17 19:35:22.908 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds
2022-12-17 19:35:22.911 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
2022-12-17 19:35:22.919 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds
2022-12-17 19:35:22.952 INFO (SyncWorker_1) [homeassistant.loader] Loaded safe_mode from homeassistant.components.safe_mode
2022-12-17 19:35:22.953 INFO (SyncWorker_1) [homeassistant.loader] Loaded http from homeassistant.components.http
2022-12-17 19:35:22.963 INFO (SyncWorker_0) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2022-12-17 19:35:22.969 INFO (SyncWorker_1) [homeassistant.loader] Loaded api from homeassistant.components.api
2022-12-17 19:35:22.975 INFO (SyncWorker_0) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2022-12-17 19:35:22.981 INFO (SyncWorker_1) [homeassistant.loader] Loaded config from homeassistant.components.config
2022-12-17 19:35:22.986 INFO (SyncWorker_0) [homeassistant.loader] Loaded device_automation from homeassistant.components.device_automation
2022-12-17 19:35:22.994 INFO (SyncWorker_1) [homeassistant.loader] Loaded diagnostics from homeassistant.components.diagnostics
2022-12-17 19:35:22.999 INFO (SyncWorker_0) [homeassistant.loader] Loaded file_upload from homeassistant.components.file_upload
2022-12-17 19:35:23.005 INFO (SyncWorker_1) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2022-12-17 19:35:23.011 INFO (SyncWorker_0) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2022-12-17 19:35:23.017 INFO (SyncWorker_1) [homeassistant.loader] Loaded analytics from homeassistant.components.analytics
2022-12-17 19:35:23.022 INFO (SyncWorker_0) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2022-12-17 19:35:23.028 INFO (SyncWorker_1) [homeassistant.loader] Loaded person from homeassistant.components.person
2022-12-17 19:35:23.034 INFO (SyncWorker_0) [homeassistant.loader] Loaded image from homeassistant.components.image
2022-12-17 19:35:23.040 INFO (SyncWorker_1) [homeassistant.loader] Loaded repairs from homeassistant.components.repairs
2022-12-17 19:35:23.049 INFO (SyncWorker_0) [homeassistant.loader] Loaded search from homeassistant.components.search
2022-12-17 19:35:23.055 INFO (SyncWorker_1) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2022-12-17 19:35:23.061 INFO (SyncWorker_0) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2022-12-17 19:35:23.067 INFO (SyncWorker_1) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
2022-12-17 19:35:23.097 INFO (MainThread) [homeassistant.bootstrap] Domains to be set up: {'websocket_api', 'config', 'safe_mode', 'frontend', 'repairs', 'persistent_notification', 'device_automation', 'image', 'lovelace', 'api', 'auth', 'cloud', 'system_log', 'file_upload', 'analytics', 'diagnostics', 'onboarding', 'search', 'webhook', 'http', 'person'}
2022-12-17 19:35:23.127 INFO (MainThread) [homeassistant.bootstrap] Setting up logging: {'system_log'}
2022-12-17 19:35:23.134 INFO (MainThread) [homeassistant.setup] Setting up system_log
2022-12-17 19:35:23.138 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds
2022-12-17 19:35:23.143 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
2022-12-17 19:35:23.194 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2022-12-17 19:35:23.197 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds
2022-12-17 19:35:23.212 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2022-12-17 19:35:23.219 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.0 seconds
2022-12-17 19:35:23.241 INFO (MainThread) [homeassistant.setup] Setting up http
2022-12-17 19:35:23.276 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds
2022-12-17 19:35:23.330 INFO (MainThread) [homeassistant.setup] Setting up api
2022-12-17 19:35:23.341 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds
2022-12-17 19:35:23.345 INFO (MainThread) [homeassistant.setup] Setting up auth
2022-12-17 19:35:23.352 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds
2022-12-17 19:35:23.355 INFO (MainThread) [homeassistant.setup] Setting up config
2022-12-17 19:35:23.371 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
2022-12-17 19:35:23.382 INFO (MainThread) [homeassistant.setup] Setting up file_upload
2022-12-17 19:35:23.386 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.0 seconds
2022-12-17 19:35:23.388 INFO (MainThread) [homeassistant.setup] Setting up repairs
2022-12-17 19:35:23.393 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.0 seconds
2022-12-17 19:35:23.397 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2022-12-17 19:35:23.400 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds
2022-12-17 19:35:23.487 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: cannot import name '_imaging' from 'PIL' (/opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/PIL/__init__.py)
2022-12-17 19:35:23.498 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.1 seconds
2022-12-17 19:35:23.503 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.1 seconds
2022-12-17 19:35:23.536 INFO (SyncWorker_0) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2022-12-17 19:35:23.541 INFO (SyncWorker_1) [homeassistant.loader] Loaded group from homeassistant.components.group
2022-12-17 19:35:23.545 INFO (SyncWorker_0) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2022-12-17 19:35:23.550 INFO (SyncWorker_1) [homeassistant.loader] Loaded script from homeassistant.components.script
2022-12-17 19:35:23.555 INFO (SyncWorker_0) [homeassistant.loader] Loaded energy from homeassistant.components.energy
2022-12-17 19:35:23.557 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2022-12-17 19:35:23.562 ERROR (MainThread) [homeassistant.setup] Setup failed for person: (DependencyError(...), 'Could not setup dependencies: image')
2022-12-17 19:35:23.587 INFO (SyncWorker_1) [homeassistant.loader] Loaded blueprint from homeassistant.components.blueprint
2022-12-17 19:35:23.595 INFO (SyncWorker_0) [homeassistant.loader] Loaded trace from homeassistant.components.trace
2022-12-17 19:35:23.607 INFO (SyncWorker_1) [homeassistant.loader] Loaded history from homeassistant.components.history
2022-12-17 19:35:23.611 INFO (SyncWorker_0) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2022-12-17 19:35:23.643 INFO (MainThread) [homeassistant.setup] Setting up search
2022-12-17 19:35:23.646 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds
2022-12-17 19:35:23.649 INFO (MainThread) [homeassistant.setup] Setting up analytics
2022-12-17 19:35:23.703 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.1 seconds
2022-12-17 19:35:23.712 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2022-12-17 19:35:23.717 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: (DependencyError(...), 'Could not setup dependencies: person')
2022-12-17 19:35:23.723 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2022-12-17 19:35:23.728 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: (DependencyError(...), 'Could not setup dependencies: onboarding')
2022-12-17 19:35:23.734 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'webhook', 'cloud', 'http'}
2022-12-17 19:35:23.745 INFO (MainThread) [homeassistant.setup] Setting up webhook
2022-12-17 19:35:23.749 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds
2022-12-17 19:35:23.777 INFO (SyncWorker_1) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant
2022-12-17 19:35:23.781 INFO (SyncWorker_0) [homeassistant.loader] Loaded alexa from homeassistant.components.alexa
2022-12-17 19:35:23.791 INFO (SyncWorker_1) [homeassistant.loader] Loaded camera from homeassistant.components.camera
2022-12-17 19:35:23.812 INFO (SyncWorker_0) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
2022-12-17 19:35:23.821 INFO (MainThread) [homeassistant.setup] Setting up cloud
2022-12-17 19:35:23.926 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.1 seconds
2022-12-17 19:35:23.936 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'websocket_api', 'api', 'config', 'auth', 'safe_mode', 'repairs', 'persistent_notification', 'device_automation', 'file_upload', 'image', 'analytics', 'diagnostics', 'onboarding', 'search', 'person', 'lovelace'}
2022-12-17 19:35:23.967 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of safe_mode. Setup failed for dependencies: frontend
2022-12-17 19:35:23.972 ERROR (MainThread) [homeassistant.setup] Setup failed for safe_mode: (DependencyError(...), 'Could not setup dependencies: frontend')
2022-12-17 19:35:23.984 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 1.10s
2022-12-17 19:35:23.985 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2022-12-17 19:35:24.008 INFO (MainThread) [asyncio] <Server sockets=(<asyncio.TransportSocket fd=29, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=6, laddr=('::', 8123, 0, 0)>, <asyncio.TransportSocket fd=30, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('0.0.0.0', 8123)>)> is serving
2022-12-17 19:35:24.009 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123

 

  • Thanks 1
Link to comment
Share on other sites

12 часа назад, TheBB сказал:

bump to 2022.12.6 (aarch64||mipsel) (прим. - отключить "zram")

Спасибо, обновился.

вылезла ошибка :

Logger: homeassistant.setup
Source: setup.py:202 
First occurred: 01:03:29 (2 occurrences) 
Last logged: 01:06:02

  • Setup failed for custom integration miio_yeelink: Requirements for miio_yeelink not found: ['construct==2.10.56'].
  • Setup failed for xiaomi_miio: Requirements for xiaomi_miio not found: ['construct==2.10.56'].
Link to comment
Share on other sites

29 минут назад, al12s сказал:
  • Setup failed for custom integration miio_yeelink: Requirements for miio_yeelink not found: ['construct==2.10.56'].
  • Setup failed for xiaomi_miio: Requirements for xiaomi_miio not found: ['construct==2.10.56'].

Ну и поставьте ему "construct", раз он сам не может.

Link to comment
Share on other sites

В 18.12.2022 в 09:50, TheBB сказал:

Ну и поставьте ему "construct", раз он сам не может.

Пробовал, вылезает еще большая ошибка:

# pip install construct==2.10.56
Collecting construct==2.10.56
  Using cached construct-2.10.56.tar.gz (54 kB)
    ERROR: Command errored out with exit status 1:
     command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-b3teapmn/construct_5f575b4a45c546d28a78a63c37f46b0/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-b3teapmn/construct_5f575b4a45c546d28a78a63c37f46b0/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'"'"'))' egg_info --egg-base /opt/tmp/pip-pip-egg-info-0q18zyoc
         cwd: /opt/tmp/pip-install-b3teapmn/construct_5f575b4a45c546d28a78a63c37f46b0/
    Complete output (9 lines):
    /opt/lib/python3.10/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'python_requires'
    /opt/lib/python3.10/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'install_requires'
    /opt/lib/python3.10/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'extras_require'
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'egg_info'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/00/e0/71e41b817220333c7c511c3f78d988d69f9b03b5cca2f251a898ad3567a3/construct-2.10.56.tar.gz#sha256=97ba13edcd98546f10f7555af41c8ce7ae9d8221525ec4062c03f9adbf940661 (from https://pypi.org/simple/construct/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement construct==2.10.56 (from versions: 2.5.4-reupload, 2.5.5-reupload, 2.0.0, 2.0.4, 2.0.5, 2.0.6, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.8.7, 2.8.8, 2.8.10, 2.8.11, 2.8.12, 2.8.13, 2.8.14, 2.8.15, 2.8.16, 2.8.17, 2.8.18, 2.8.19, 2.8.20, 2.8.21, 2.8.22, 2.9.23, 2.9.24, 2.9.25, 2.9.26, 2.9.27, 2.9.28, 2.9.29, 2.9.30, 2.9.31, 2.9.32, 2.9.33, 2.9.34, 2.9.35, 2.9.36, 2.9.37, 2.9.38, 2.9.39, 2.9.40, 2.9.41, 2.9.42, 2.9.43, 2.9.44, 2.9.45, 2.9.46, 2.9.47, 2.9.48, 2.9.49, 2.9.50, 2.9.51, 2.9.52, 2.10.53, 2.10.54, 2.10.56, 2.10.57, 2.10.58, 2.10.59, 2.10.60, 2.10.61, 2.10.63, 2.10.64, 2.10.65, 2.10.66, 2.10.67, 2.10.68)
ERROR: No matching distribution found for construct==2.10.56
WARNING: You are using pip version 22.2.2; however, version 22.3.1 is available.
You should consider upgrading via the '/opt/bin/python3 -m pip install --upgrade pip' command.

Link to comment
Share on other sites

В 19.12.2022 в 10:55, al12s сказал:

Пробовал, вылезает еще большая ошибка:

Значит, что-то сломали...

~ # pip install construct==2.10.56
Collecting construct==2.10.56
  Downloading construct-2.10.56.tar.gz (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.8/54.8 kB 338.4 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for construct, since package 'wheel' is not installed.
Installing collected packages: construct
  Running setup.py install for construct ... done
Successfully installed construct-2.10.56
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip available: 22.2.2 -> 22.3.1
[notice] To update, run: pip install --upgrade pip
~ #

 

Link to comment
Share on other sites

В 23.12.2022 в 18:08, TheBB сказал:

Значит, что-то сломали...

вообще больше ничего не делал... просто вылазит все время эта ошибка, а как побороть ее нет знаю. Помогите пожалуйста.

Edited by al12s
Link to comment
Share on other sites

  • 2 weeks later...
В 07.01.2023 в 20:33, TheBB сказал:

bump to 2023.1.1 (aarch64||mipsel) (прим. - отключить "zram")

Спасибо, обновился Полет нормальный. Прошу помощи с xiaomi_miio, сейчас стоит версия 0.5.11, при этом система просит construct==2.10.56, установить этот пакет не выходит (ошибку писал выше), пробую установить последнюю версию xiaomi_miio 0.5.12, но и тут засада. Помогите, без вас не разберусь. Заранее очень благодарен.

Link to comment
Share on other sites

Добрый день! Подскажите пожалуйста какие мои следующие действия после установки HA, чтобы роутер использовать в качества шлюза устройств со стиком Sonoff? Что и как надо установить?

  • Upvote 1
Link to comment
Share on other sites

  • 2 weeks later...
В 09.01.2023 в 20:08, serpolkmn сказал:

Добрый день! Подскажите пожалуйста какие мои следующие действия после установки HA, чтобы роутер использовать в качества шлюза устройств со стиком Sonoff? Что и как надо установить?

Присоединюсь к вопросу. Стик SONOFF ZigBee можно прикрутить на связку кинетика и ХА?

Link to comment
Share on other sites

В 08.01.2023 в 21:33, al12s сказал:

Спасибо, обновился Полет нормальный. Прошу помощи с xiaomi_miio, сейчас стоит версия 0.5.11, при этом система просит construct==2.10.56, установить этот пакет не выходит (ошибку писал выше), пробую установить последнюю версию xiaomi_miio 0.5.12, но и тут засада. Помогите, без вас не разберусь. Заранее очень благодарен.

переустановил все с "0", все завелось.

Link to comment
Share on other sites

bump to 2023.1.5 (aarch64||mipsel) (прим. - отключить "zram")

screen_2023-01-19_10:53:59-ha.png

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

bump? :)

... done )))

---

2all (на закусь, внимательно следим за руками)

~ # 
~ # ls -al /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/wakeonlan.py 
-rwxr-xr-x    1 root     root          2953 Dec 28 20:04 /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/wakeonlan.py
~ # 
~ # grep -r '^#!.*python' /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/wakeonlan.py 
#!/usr/bin/env python3
~ # 
~ # /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/wakeonlan.py -h
-sh: /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/wakeonlan.py: not found
~ # 
~ # /opt/etc/init.d/S01opt2usr start
 Mounting /usr/bin ...              done. 
~ # 
~ # /opt/var/lib/homeassistant/deps/lib/python3.10/site-packages/wakeonlan.py -h
usage: wakeonlan.py [-h] [-i ip] [-p port] [-n interface] mac address [mac address ...]

Wake one or more computers using the wake on lan protocol.

positional arguments:
  mac address   The mac addresses of the computers you are trying to wake.

options:
  -h, --help    show this help message and exit
  -i ip         The ip address of the host to send the magic packet to. (default: 255.255.255.255)
  -p port       The port of the host to send the magic packet to. (default: 9)
  -n interface  The ip address of the network adapter to route the magic packet through. (default: None)
~ # 

`cat /opt/etc/init.d/S01opt2usr`:

Скрытый текст
#!/bin/sh

# color
ansi_std="\033[m";
ansi_green="\033[1;32m";
ansi_red="\033[1;31m";
ansi_white="\033[1;37m";
ansi_yellow="\033[1;33m";

#[ "$1" != "start" ] && exit 0

USR_BIN="/usr/bin"
BIND_DIR="/opt/tmp/$USR_BIN"

check()
{
    echo -e -n "$ansi_white Checking the mount point $USR_BIN... $ansi_std"
    if [ -n "$(mount | grep ' /usr/bin')" ]; then
        echo -e "            $ansi_yellow already mounted. $ansi_std"
    else
        echo -e "            $ansi_red not mounted already. $ansi_std"
    fi
}

start()
{
    echo -e -n "$ansi_white Mounting $USR_BIN ... $ansi_std"
    if [ -z "$(mount | grep ' /usr/bin')" ]; then
        mkdir -p "$BIND_DIR"
        cp -r $USR_BIN/* $BIND_DIR
        cp -a /opt/bin/env $BIND_DIR
        mount -o bind $BIND_DIR $USR_BIN
        echo -e "            $ansi_green done. $ansi_std"
    else
        echo -e "            $ansi_yellow already mounted. $ansi_std"
    fi
}

stop()
{
    echo -e -n "$ansi_white Unmounting $USR_BIN ... $ansi_std"
    if [ -n "$(mount | grep ' /usr/bin')" ]; then
        umount $USR_BIN
        rm -rf $BIND_DIR
        echo -e "            $ansi_green done. $ansi_std"
    else
        echo -e "            $ansi_red not mounted already. $ansi_std"
    fi
}

case "$1" in
    start)
        start
    ;;
    stop)
        stop
    ;;
    restart)
        stop
        sleep 2
        start
    ;;
    check|status)
        check
    ;;
    *)
        echo -e "$ansi_white Usage: $0 (start|stop|restart|status) $ansi_std"
        exit 1
    ;;
esac

exit 0

 

^ мож кому сгодиться )))

  • Thanks 2
Link to comment
Share on other sites

  • 2 weeks later...

Пробую установить hass-configurator.  При установке рекомендованным способом  pip install hass-configurator
Получаю предупреждение: 
      DEPRECATION: hass-configurator is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for hass-configurator ... done
Successfully installed hass-configurator-0.5.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
    Почитал ссылку github но рекомендация мне абсолютно непонятна :)
    "The recommended way to silence this warning is to enable the --use-pep517 flag, which will in turn install setuptools and wheel in an isolated environment where it will attempt to build a wheel and install it." 
 
    Вопрос первый - от имени какого пользователя требуется устанавливаться а потом запускаться homeassistant?
При установке entware и первого запуска от имени root сменил пароль но пользователь остался прежний.
    Установил сервер mosquitto также под root но сразу же добавил пользователя mosquitto и запуск сервера уже идет под ним, но для этого были изменены пользователи и разрешения на ряд каталогов и файлов.
    Homeassistant сейчас запущен под root и что то мне подсказывает что это неверно о чем и предупредил установщик hass-configurator 
Если добавить пользователя homeassistant и из под него запускаться то каким каталогам и файлам надо изменить разрешения?

    И  второй вопрос - почему установка прошла legacy и как теперь правильно запустить hass-configurator?
    В какой каталог разместить configurator.py, сейчас он в /opt/lib/python3.10/site-packages/hass_configurator/configurator.py
    В какой каталог разместить файл пользовательской настройки переменных  settings.conf  как рекомендует GitHub Configuration

И последнее - какие переменные рекомендуете установить
Пока установил "LISTENIP": "192.168.1.1",  "GIT": true
и как запускать hass-configurator , например так ? 
    configurator.py /opkg/var/lib/homeassistant/mysettings.conf
 

Link to comment
Share on other sites

В 19.01.2023 в 11:16, TheBB сказал:

bump to 2023.1.5 (aarch64||mipsel) (прим. - отключить "zram")

Не понятно по каким причинам, но на этой версии после перезагрузки HA статус alarm panel xiaomi устанавливается в unknown. Если принудительно вызвать изменение статуса, то статус выводится правильно, но стоит перезагрузить HA ситуация повторяется. Просьба по возможности сделать UP. Заранее спасибо.

Link to comment
Share on other sites

В 01.02.2023 в 13:50, TheBB сказал:

bump to 2023.1.7 (aarch64||mipsel) (прим. - отключить "zram")

screen_2023-02-01_13:37:21-ha.png

 

Что-то не ставятся модули… Перебирает версии и все равно потом ошибка. Что бы это могло быть?

  • Unable to install package huawei-lte-api==1.6.11: ERROR: Command errored out with exit status 1: command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-13ey2_i2/huawei-lte-api_f4f53370431e4df2a1473450b18fa8db/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-13ey2_i2/huawei-lte-api_f4f53370431e4df2a1473450b18fa8db/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'"'"'))' egg_info --egg-base /opt/tmp/pip-pip-egg-info-e7kbof8p cwd: /opt/tmp/pip-install-13ey2_i2/huawei-lte-api_f4f53370431e4df2a1473450b18fa8db/ Complete output (10 lines): /opt/lib/python3.10/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'install_requires' /opt/lib/python3.10/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'tests_require' /opt/lib/python3.10/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'test_suite' /opt/lib/python3.10/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'python_requires' usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'egg_info' ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/d7/58/c473fbeabe8d70e2302de2caef6766f83ab0e9265f645285f340631137d4/huawei-lte-api-1.6.11.tar.gz#sha256=b96498670a79c05ab1a1825df9bcd5bc19aef906193688e7274eda15a71674f3 (from https://pypi.org/simple/huawei-lte-api/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement huawei-lte-api==1.6.11 (from versions: 1.0.8, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.15, 1.0.16, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.9, 1.4.10, 1.4.11, 1.4.12, 1.4.14, 1.4.15, 1.4.16, 1.4.17, 1.4.18, 1.5.0, 1.5.1, 1.5.2, 1.5.4, 1.6.0, 1.6.1, 1.6.3, 1.6.4, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.6.11) ERROR: No matching distribution found for huawei-lte-api==1.6.11 WARNING: You are using pip version 22.2.2; however, version 23.0 is available. You should consider upgrading via the '/opt/bin/python3 -m pip install --upgrade pip' command.
Edited by iN1KEL
Link to comment
Share on other sites

Не выходит каменный цветок. после обновления)))

 

В логах:

2023-02-09 22:50:10.329 ERROR (MainThread) [homeassistant.setup] Setup failed for analytics: Unable to import component: Exception importing homeassistant.components.analytics
2023-02-09 22:50:10.624 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: analytics
2023-02-09 22:50:10.643 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: (DependencyError(...), 'Could not setup dependencies: analytics')
2023-02-09 22:50:10.669 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2023-02-09 22:50:10.687 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: (DependencyError(...), 'Could not setup dependencies: onboarding')
2023-02-09 22:50:11.658 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of safe_mode. Setup failed for dependencies: frontend
2023-02-09 22:50:11.680 ERROR (MainThread) [homeassistant.setup] Setup failed for safe_mode: (DependencyError(...), 'Could not setup dependencies: frontend')
2023-02-09 22:50:47.435 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:51:17.437 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:51:47.438 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:52:17.440 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:52:47.441 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:53:17.443 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:53:47.447 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:54:17.449 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:54:47.450 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
2023-02-09 22:55:17.448 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.mycam is taking over 10 seconds
 

Edited by HumanBod
Link to comment
Share on other sites

Прошу помощи в устранении ошибки API идентификации
2023-02-10 13:55:34.241 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.1 (192.168.1.1). Requested URL: '/api/services'. (Python-urllib/3.10)
Ошибка выскакивает когда я захожу в Configurator

Файлы конфигурации:
# hass-configurator_settings.conf  ( configurator.py )
   "HASS_API": "http://192.168.1.1:8123/api/",
   "HASS_WS_API": null,
   "HASS_API_PASSWORD": null,  # перенесен в файл secrets.yaml
    ................
----------------------------
# configuration.yaml
homeassistant:
  auth_providers:
  - type: homeassistant
  - type: trusted_networks
    trusted_networks:
      - 192.168.1.0/24
  - type: legacy_api_password
    api_password: !secret http_api_password
# Hass-Configurator
panel_iframe:
  configurator:
    title: "Configurator"
    url: "http://192.168.1.1:3218"
    icon: mdi:square-edit-outline
---------------------------
# secrets.yaml
http_api_password: "pass.."

Link to comment
Share on other sites

1 час назад, Serg2103 сказал:

Прошу помощи в устранении ошибки API идентификации
2023-02-10 13:55:34.241 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.1 (192.168.1.1). Requested URL: '/api/services'. (Python-urllib/3.10)
Ошибка выскакивает когда я захожу в Configurator

Файлы конфигурации:
# hass-configurator_settings.conf  ( configurator.py )
   "HASS_API": "http://192.168.1.1:8123/api/",
   "HASS_WS_API": null,
   "HASS_API_PASSWORD": null,  # перенесен в файл secrets.yaml
    ................
----------------------------
# configuration.yaml
homeassistant:
  auth_providers:
  - type: homeassistant
  - type: trusted_networks
    trusted_networks:
      - 192.168.1.0/24
  - type: legacy_api_password
    api_password: !secret http_api_password
# Hass-Configurator
panel_iframe:
  configurator:
    title: "Configurator"
    url: "http://192.168.1.1:3218"
    icon: mdi:square-edit-outline
---------------------------
# secrets.yaml
http_api_password: "pass.."

1. В HA выпустите долгосрочный токен для конфигуратора

2. Файл setting.conf отредактируйте для начала вот так:

"HASS_API": "http://192.168.1.1:8123/api/",
"HASS_API_PASSWORD": "Вставляем ранее полученный долгосрочный токен из HA",
"USERNAME": "Придумываем логин для входа в конфигуратор",
"PASSWORD": "Придумываем пароль для входа в конфигуратор"

Проверьте уйдет ли ошибка из журнала HA

Link to comment
Share on other sites

1 час назад, BDV сказал:

1. В HA выпустите долгосрочный токен для конфигуратора

2. Файл setting.conf отредактируйте для начала вот так:

"HASS_API": "http://192.168.1.1:8123/api/",
"HASS_API_PASSWORD": "Вставляем ранее полученный долгосрочный токен из HA",
"USERNAME": "Придумываем логин для входа в конфигуратор",
"PASSWORD": "Придумываем пароль для входа в конфигуратор"

Проверьте уйдет ли ошибка из журнала HA

Ошибка Login attempt or request with invalid authentication from 192.168.1.1 (192.168.1.1). See the log for details осталась

Все рекомендованные Вами параметры в setting.conf так и были указаны с самого начала только в HASS_API_PASWORD вместо строки пароля сейчас записал созданный токен В моем вопросе указан "null" потому что пароль был перенесен и записан в secrets.yaml и ссылка на него в configuration.yaml

Сейчас в secrets.yaml и в configuration.yaml я закомментировал api_password: !secret http_api_password ибо если провайдер идентификации один (homeassistant) то указывать это необязательно. Все эти записи сделаны в процессе поиска проблемы

Возможно этот долгосрочный токен надо записать в иное место, но куда я не пока не понял и токен создается на каждый сеанс входа что видно в профиле юзера И сейчас при входе опять создался новый краткосрочный токен

Вот тут об этом Authentication API | Home Assistant Developer Docs (home-assistant.io)

Link to comment
Share on other sites

7 часов назад, BDV сказал:

 В HA выпустите долгосрочный токен для конфигуратора

Перепроверил все заново. В нижнем окне "Долгосрочные токены доступа" токен зарегистрирован. Ввел этот токен 

"HASS_API_PASSWORD": "долгосрочный токен"

Как только нажимаю "Configurator" сразу выдает уведомление

И токены "Токены обновления" на каждый сеанс автоматически регистрируются новые а предыдущие не удаляются.

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.

×
×
  • Create New...