Перейти к содержанию

Рекомендуемые сообщения

Опубликовано

Получил ошибку при обновлении.

 

/opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # opkg update
Downloading file:///opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/ha
/opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # opkg upgrade
Upgrading python3-hass-nabucasa on root from 1.5.1_3.13-1 to 1.12.0_3.13-1...
Downloading file:///opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1/python3-hass-nabucasa_1.12.0_3.13-1_aarch64-3.10.ipk
Upgrading python3-uv on root from 0.7.1_3.13-1 to 0.9.26_3.13-1...
Downloading file:///opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1/python3-uv_0.9.26_3.13-1_aarch64-3.10.ipk
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency libcares for python3-pycares
 * pkg_hash_check_unresolved: cannot find dependency procps-ng-ps for python3-shellingham
 * pkg_hash_fetch_best_installation_candidate: Packages for python3-shellingham found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency coreutils-env for python3-uv
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for python3-hass-nabucasa:
 *      procps-ng-ps
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for python3-uv:
 *      coreutils-env
 

Опубликовано (изменено)

opkg remove --force-depends имя пакета;  opkg install opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1/ имя пакета. 

 

Изменено пользователем Yuriy
Опубликовано (изменено)

 # opkg remove --force-depends python3-uv - 0.7.1_3.13-1
Removing package python3-uv from root...

 

/opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1 # opkg install /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1/python3-uv_0.9.26_3.13-1_aarch64-3.10.ipk
Installing python3-uv (0.9.17_3.13-1) to root...
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency coreutils-env for python3-uv
 * opkg_download_pkg: Package python3-uv is not available from any configured src.
 * opkg_install_pkg: Failed to download python3-uv. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package python3-uv.
/opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1 # opkg update
 

Ругнулся на отсутствующий пакет в сборке coreutils-env

 

/opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1 # opkg install python3-uv_0.9.26_3.13-1_aarch64-3.10.ipk
Installing python3-uv (0.9.17_3.13-1) to root...
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency coreutils-env for python3-uv
 * opkg_download_pkg: Package python3-uv is not available from any configured src.
 * opkg_install_pkg: Failed to download python3-uv. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package python3-uv.
/opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.1 #

Изменено пользователем firefly
Опубликовано

~ # opkg update
Downloading https://hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.3//Packages.gz
Updated list of available packages in /opt/var/opkg-lists/ha
~ # opkg upgrade
Upgrading homeassistant on root from 2026.2.1-1 to 2026.2.3-1...
Downloading https://hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.3//homeassistant_2026.2.3-1_aarch64-3.10.ipk
Upgrading python3-hass-nabucasa on root from 1.5.1_3.13-1 to 1.12.0_3.13-1...
Downloading https://hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2026.2.3//python3-hass-nabucasa_1.12.0_3.13-1_aarch64-3.10.ipk
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency libcares for python3-pycares
 * pkg_hash_check_unresolved: cannot find dependency procps-ng-ps for python3-shellingham
 * pkg_hash_fetch_best_installation_candidate: Packages for python3-shellingham found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency coreutils-env for python3-uv
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for homeassistant:
 *      coreutils-env
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for python3-hass-nabucasa:
 *      procps-ng-ps
~ #
 

Опубликовано
Спойлер

~ # opkg upgrade
Upgrading go2rtc on root from 1.9.11-1 to 1.9.14-1...
Downloading file:///opt/srv/opkg/hass/go2rtc_1.9.14-1_aarch64-3.10.ipk
Upgrading homeassistant on root from 2026.2.1-1 to 2026.2.3-1...
Downloading file:///opt/srv/opkg/hass/homeassistant_2026.2.3-1_aarch64-3.10.ipk
Upgrading python3-grpcio-reflection on root from 1.75.1_3.13-1 to 1.78.0_3.13-1...
Downloading file:///opt/srv/opkg/hass/python3-grpcio-reflection_1.78.0_3.13-1_aarch64-3.10.ipk
Upgrading python3-grpcio on root from 1.75.1_3.13-1 to 1.78.0_3.13-1...
Downloading file:///opt/srv/opkg/hass/python3-grpcio_1.78.0_3.13-1_aarch64-3.10.ipk
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio-1.75.1.dist-info/RECORD.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio-1.75.1.dist-info/top_level.txt.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio-1.75.1.dist-info/METADATA.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio-1.75.1.dist-info/WHEEL.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio-1.75.1.dist-info/licenses/LICENSE.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_reflection-1.75.1.dist-info/licenses/LICENSE.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_reflection-1.75.1.dist-info/RECORD.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_reflection-1.75.1.dist-info/METADATA.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_reflection-1.75.1.dist-info/WHEEL.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_reflection-1.75.1.dist-info/top_level.txt.
Upgrading python3-grpcio-tools on root from 1.75.1_3.13-1 to 1.78.0_3.13-1...
Downloading file:///opt/srv/opkg/hass/python3-grpcio-tools_1.78.0_3.13-1_aarch64-3.10.ipk
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_tools-1.75.1.dist-info/METADATA.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_tools-1.75.1.dist-info/entry_points.txt.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_tools-1.75.1.dist-info/top_level.txt.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_tools-1.75.1.dist-info/RECORD.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_tools-1.75.1.dist-info/WHEEL.
python3-grpcio (1.78.0_3.13-1) already install on root.
Upgrading python3-grpcio-status on root from 1.75.1_3.13-1 to 1.78.0_3.13-1...
Downloading file:///opt/srv/opkg/hass/python3-grpcio-status_1.78.0_3.13-1_aarch64-3.10.ipk
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_status-1.75.1.dist-info/WHEEL.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_status-1.75.1.dist-info/METADATA.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_status-1.75.1.dist-info/licenses/LICENSE.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_status-1.75.1.dist-info/RECORD.
Removing obsolete file /opt/lib/python3.13/site-packages/grpcio_status-1.75.1.dist-info/top_level.txt.
Upgrading python3-cryptography on root from 46.0.2_3.13-1 to 46.0.5_3.13-1...
Downloading file:///opt/srv/opkg/hass/python3-cryptography_46.0.5_3.13-1_aarch64-3.10.ipk
Removing obsolete file /opt/lib/python3.13/site-packages/cryptography-46.0.2.dist-info/licenses/LICENSE.BSD.
Removing obsolete file /opt/lib/python3.13/site-packages/cryptography-46.0.2.dist-info/licenses/LICENSE.
Removing obsolete file /opt/lib/python3.13/site-packages/cryptography-46.0.2.dist-info/METADATA.
Removing obsolete file /opt/lib/python3.13/site-packages/cryptography-46.0.2.dist-info/licenses/LICENSE.APACHE.
Removing obsolete file /opt/lib/python3.13/site-packages/cryptography-46.0.2.dist-info/RECORD.
Removing obsolete file /opt/lib/python3.13/site-packages/cryptography-46.0.2.dist-info/WHEEL.
Configuring python3-cryptography.
Configuring python3-grpcio-tools.
Configuring python3-grpcio.
Configuring go2rtc.
Configuring python3-grpcio-reflection.
Configuring python3-grpcio-status.
Configuring homeassistant.

             *** Prepare your device to use the Home Assistant *** 

 Please read the wiki:  https://github.com/Entware/Entware/wiki/Self-installation-of-python-modules

~ # 

 

 

Проблема исключительно с Вашей сборкой..

Опубликовано

Инструкция для новичков по установке Home Assistant.

Спойлер

Нам необходим роутер, имеющий USB порт и поддерживающий менеджер пакетов OPKG, для установки на USB-накопитель пакета Entware.

Подготовим USB-накопитель (не менее 4 гб). Лучше воспользоваться инструкцией с сайта keenetic

тыц

По этой инструкции мы делаем на носителе два раздела, один в EXT4, а второй "linux swap" на 1 Гб.

Затем по следующей инструкции ставим Entware на USB-накопитель

тыц

Если выполнили всё по инструкции, то у нас будет установлен Entware, опробован вход по SSH и открыт доступ к USB-накопителю по SMB.

Скачиваем с сервера, уважаемого TheBB, (когда он открыт) архив последней версии Home assistant под требуемую архитектуру (mipsel, mips, aarch64). Нужный архив определили по модели в предыдущей инструкции.

Копируем архив на USB-накопитель по SMB. \\192.168.1.1\opkg\ или \\192.168.1.1\Data\ (в зависимости от того какое название раздела EXT4 написали при форматировании USB-накопителя). Можно присвоить с помощью MiniTool Partition Wizard Free.

Далее лучше выполнять с помощью роутера для лучшего понимания где окажутся ваши файлы.

Заходим по SSH на роутер

Вводим следующие команды

opkg update
opkg install ca-certificates wget-ssl
opkg remove wget-nossl

разархивируем наш архив

tar -xzvf /opt/HA-2026.2.3.tar.gz

файлы окажутся здесь /opt/root/HA-2026.2.3

поочередно вводим следующие команды
echo "src/gz ha_local file:///opt/root/HA-2026.2.3" >> /opt/etc/opkg.conf
opkg update
opkg install gcc ldd make gawk sed patch diffutils coreutils-install libffi
opkg install python3-aiohappyeyeballs --force-reinstall
opkg install openssl
opkg install nano
opkg install libopenssl
opkg install libwebsockets-openssl
opkg install python3-pip
pip install --upgrade aiohappyeyeballs

pip install pyipp
opkg install xz tar
opkg install python3-universal-silabs-flasher
opkg install homeassistant


hass -c /opt/var/lib/homeassistant --debug --verbose --запуск с контролем логов и ошибок

Для постоянного запуска используем следующую команду

/opt/etc/init.d/S99hass start

 

Опубликовано

Установка HACS
 

Спойлер

Подключаемся по SSH

Для установки нам надо перейти в каталог Home Assistant

cd /opt/var/lib/homeassistant 

и запустить следующую команду
wget -O - https://get.hacs.xyz | bash -

 

Присоединяйтесь к обсуждению

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

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

  • Последние посетители   0 пользователей онлайн

    • Ни одного зарегистрированного пользователя не просматривает данную страницу
×
×
  • Создать...

Важная информация

На этом сайте используются файлы cookie. Нажимая "Я принимаю" или продолжая просмотр сайта, вы разрешаете их использование: Политика конфиденциальности.