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

firefly

Участники форума
  • Постов

    40
  • Зарегистрирован

  • Посещение

Оборудование

  • Устройства
    Giga3

Посетители профиля

Блок последних пользователей отключён и не показывается другим пользователям.

Достижения firefly

Пользователь

Пользователь (2/6)

1

Репутация

  1. Получил ошибку при обновлении. /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
  2. У меня есть различие: BusyBox v1.37.0 (2025-01-13 14:28:09 UTC) built-in shell (ash) ~ # opkg list-installed | grep -E '^python3-(aiodn|pycar|uv).*' python3-aiodns - 4.0.0_3.13-1 python3-pycares - 4.11.0_3.13-1 python3-uv - 0.7.1_3.13-1 ~ #
  3. Доброго времени суток, после обновления не стартует( ~ # hass -c /opt/var/lib/homeassistant --debug --verbose Traceback (most recent call last): File "/opt/bin/hass", line 8, in <module> sys.exit(main()) ~~~~^^ File "/opt/lib/python3.13/site-packages/homeassistant/__main__.py", line 309, in main File "/opt/lib/python3.13/site-packages/homeassistant/__main__.py", line 84, in get_arguments File "/opt/lib/python3.13/site-packages/homeassistant/config.py", line 27, in <module> File "/opt/lib/python3.13/site-packages/homeassistant/core_config.py", line 19, in <module> File "/opt/lib/python3.13/site-packages/homeassistant/auth/__init__.py", line 23, in <module> File "/opt/lib/python3.13/site-packages/homeassistant/helpers/event.py", line 57, in <module> File "/opt/lib/python3.13/site-packages/homeassistant/helpers/template/__init__.py", line 58, in <module> File "/opt/lib/python3.13/site-packages/homeassistant/helpers/location.py", line 10, in <module> File "/opt/lib/python3.13/site-packages/homeassistant/util/location.py", line 12, in <module> File "/opt/lib/python3.13/site-packages/aiohttp/__init__.py", line 6, in <module> from .client import ( ...<42 lines>... ) File "/opt/lib/python3.13/site-packages/aiohttp/client.py", line 87, in <module> from .connector import ( ...<5 lines>... ) File "/opt/lib/python3.13/site-packages/aiohttp/connector.py", line 64, in <module> from .resolver import DefaultResolver File "/opt/lib/python3.13/site-packages/aiohttp/resolver.py", line 12, in <module> import aiodns File "/opt/lib/python3.13/site-packages/aiodns/__init__.py", line 17, in <module> File "/opt/lib/python3.13/site-packages/aiodns/compat.py", line 152, in <module> AttributeError: module 'pycares' has no attribute 'DNSRecord' После до установил зависимости и нужные версии пакетов и заработало. # pip install --upgrade pycares aiodns Requirement already satisfied: pycares in /opt/lib/python3.13/site-packages (4.11.0) Collecting pycares Downloading pycares-5.0.1-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.metadata (4.1 kB) Requirement already satisfied: aiodns in /opt/lib/python3.13/site-packages (4.0.0) Requirement already satisfied: cffi>=1.5.0 in /opt/lib/python3.13/site-packages (from pycares) (2.0.0) Requirement already satisfied: pycparser in /opt/lib/python3.13/site-packages (from cffi>=1.5.0->pycares) (3.0) Downloading pycares-5.0.1-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (221 kB) Installing collected packages: pycares Attempting uninstall: pycares Found existing installation: pycares 4.11.0 Uninstalling pycares-4.11.0: Successfully uninstalled pycares-4.11.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. homeassistant 2026.2.1 requires uv==0.9.26, but you have uv 0.9.17 which is incompatible. Successfully installed pycares-5.0.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. [notice] A new release of pip is available: 26.0 -> 26.0.1 [notice] To update, run: pip install --upgrade pip ~ # pip install uv==0.9.26 --force Collecting uv==0.9.26 Downloading uv-0.9.26-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl.metadata (11 kB) Downloading uv-0.9.26-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (22.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 22.0/22.0 MB 5.2 MB/s 0:00:04 Installing collected packages: uv Attempting uninstall: uv Found existing installation: uv 0.9.17 Uninstalling uv-0.9.17: Successfully uninstalled uv-0.9.17 Successfully installed uv-0.9.26 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. [notice] A new release of pip is available: 26.0 -> 26.0.1 [notice] To update, run: pip install --upgrade pip ~ # pip install --upgrade pip Requirement already satisfied: pip in /opt/lib/python3.13/site-packages (26.0) Collecting pip Downloading pip-26.0.1-py3-none-any.whl.metadata (4.7 kB) Downloading pip-26.0.1-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 2.6 MB/s 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 26.0 Uninstalling pip-26.0: Successfully uninstalled pip-26.0 Successfully installed pip-26.0.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. ~ # /opt/etc/init.d/S99hass status Checking Home Assistant (HASS)... dead. ~ # /opt/etc/init.d/S99hass staке Usage: /opt/etc/init.d/S99hass (start|stop|restart|check|status|kill|reconfigure) ~ # /opt/etc/init.d/S99hass start Starting Home Assistant (HASS)... done. ~ # /opt/etc/init.d/S99hass status Checking Home Assistant (HASS)... alive. ~ # /opt/etc/init.d/S99hass status Checking Home Assistant (HASS)... alive.
  4. Подскажите пожалуйста, как побороть эти ошибки Регистратор: homeassistant.setup Источник: setup.py:278 Зафиксировано первый раз: 18:42:14 (4 случая) Зафиксировано последний раз: 18:42:21 Setup failed for 'cloud': Requirements for cloud not found: ['hass-nabucasa==1.7.0']. Setup failed for 'cast': Requirements for cloud not found: ['hass-nabucasa==1.7.0']. Setup failed for 'mobile_app': Requirements for cloud not found: ['hass-nabucasa==1.7.0']. Setup failed for 'default_config': Could not setup dependencies: cloud, mobile_app Регистратор: homeassistant.setup Источник: setup.py:255 Зафиксировано первый раз: 18:42:21 (1 случай) Зафиксировано последний раз: 18:42:21 Unable to set up dependencies of 'default_config'. Setup failed for dependencies: ['cloud', 'mobile_app'] Конфигурация configuration.yaml # Loads default set of integrations. Do not remove. default_config: mobile_app: cast: cloud: # Load frontend themes from the themes folder frontend: themes: !include_dir_merge_named themes automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml
  5. Откройте пожалуйста доступ, не успел скачать
  6. Подскажите пожалуйста, что делать в этом случае # hass -c /opt/var/lib/homeassistant --debug --verbose Traceback (most recent call last): File "/opt/bin/hass", line 5, in <module> from homeassistant.__main__ import main File "/opt/lib/python3.13/site-packages/homeassistant/__main__.py", line 14, in <module> File "/opt/lib/python3.13/site-packages/homeassistant/backup_restore.py", line 16, in <module> File "/opt/lib/python3.13/site-packages/securetar/__init__.py", line 17, in <module> File "/opt/lib/python3.13/site-packages/cryptography/hazmat/primitives/padding.py", line 10, in <module> ImportError: /opt/lib/libcrypto.so.3: version `OPENSSL_3.2.0' not found (required by /opt/lib/python3.13/site-packages/cryptography/hazmat/bindings/_rust.abi3.so) После обновления не стартует HA( Проблему решил установкой пакетов opkg install openssl opkg install libopenssl opkg install libwebsockets-openssl ------------------------------------ cd /opt/etc vi pip.conf [global] 2trusted-host = pypi.python.org 3 pypi.org 4 files.pythonhosted.org ------------------------------------------------------------------------------ Тест подключения openssl s_client -connect pypi.python.org:443 Далее установил pip install cryptography pip install pyopenssl pip install pyasn1 pip install --upgrade aiohappyeyeballs HA, запустился ))) /opt/etc/init.d # python --version Python 3.13.5 /opt/etc/init.d # hass --version 2025.6.1 /opt/etc/init.d # /opt/etc/init.d # openssl version -a OpenSSL 3.5.0 8 Apr 2025 (Library: OpenSSL 3.5.0 8 Apr 2025) built on: Sun Jun 1 14:50:09 2025 UTC platform: linux-aarch64-openwrt options: bn(64,64) compiler: aarch64-openwrt-linux-gnu-gcc -fPIC -pthread -Wa,--noexecstack -Wall -O3 -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffunction-sections -fdata-sections -O3 -DPIC -fPIC -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffunction-sections -fdata-sections -O3 -fPIC -fuse-ld=bfd -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -DPIC -DOPENSSL_RAND_SEED_DEVRANDOM_SHM_ID=-1 -DOPENSSL_PREFER_CHACHA_OVER_GCM OPENSSLDIR: "/opt/etc/ssl" ENGINESDIR: "/opt/lib/engines-3" MODULESDIR: "/opt/lib/ossl-modules" Seeding source: os-specific CPUINFO: OPENSSL_armcap=0x3d /opt/etc/init.d #
  7. Всем привет, у меня после обновления с версии 2025.5.1 до 2025.5.3 появились ошибки Please read the wiki: https://github.com/Entware/Entware/wiki/Self-installation-of-python-modules Collected errors: * remove_obsolesced_files: unlinking /opt/lib/python3.13/site-packages/maturin-1.8.2.dist-info/WHEEL failed: No such f ile or directory. * remove_obsolesced_files: unlinking /opt/lib/python3.13/site-packages/maturin-1.8.2.dist-info/top_level.txt failed: N o such file or directory. * remove_obsolesced_files: unlinking /opt/lib/python3.13/site-packages/maturin-1.8.2.dist-info/RECORD failed: No such file or directory. * remove_obsolesced_files: unlinking /opt/lib/python3.13/site-packages/maturin-1.8.2.dist-info/METADATA failed: No suc h file or directory. * opkg_install_pkg: Failed to determine obsolete files from previously installed maturin Сам ha работает
  8. Not downgrading package python3-urllib3 on root from 2.0.4-2 to 1.26.20_3.13-1. Проблема с обновлением версий пакетов HA-2025.5.0 /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # opkg upgrade Upgrading homeassistant on root from 2025.4.2-1 to 2025.5.0-1... Downloading file:///opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64/HA-2025.5.0/homeassistant_2025.5.0-1_aarch64-3.10.ipk Not downgrading package python3-urllib3 on root from 2.0.4-2 to 1.26.20_3.13-1. /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # opkg remove python3-urllib3 --force-removal-of-dependent-packages Removing package homeassistant from root... Removing package python3-hass-nabucasa from root... Removing package python3-pycognito from root... Removing package python3-boto3 from root... Removing package python3-s3transfer from root... Removing package python3-botocore from root... Removing package python3-pubnub from root... Removing package python3-acme from root... Removing package python3-requests from root... Removing package python3-urllib3 from root... /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # opkg upgrade /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-2025.5.0/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 /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # opkg upgrade /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # /opt/etc/init.d/S99hass start Starting Home Assistant (HASS)... done. /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # hass --version Traceback (most recent call last): File "/opt/bin/hass", line 5, in <module> from homeassistant.__main__ import main ModuleNotFoundError: No module named 'homeassistant' /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # /opt/tmp/hass/hass.thebb.keenetic.pro/hass/homeassistant-core-py313/aarch64 # hass -c /opt/var/lib/homeassistant --debug --verbose Traceback (most recent call last): File "/opt/bin/hass", line 5, in <module> from homeassistant.__main__ import main ModuleNotFoundError: No module named 'homeassistant' Всех с праздником Восстановился из бэкапа
  9. Нашел в инструкцию в начале обсуждения. Проект Girhub, регистрация: https://github.com Получение токена: https://github.com/settings/tokens Качаем последний релиз HACS: https://github.com/custom-components/hacs/releases/latest Создаем папку в /opt/var/lib/homeassistant/ и кладем в нее распакованный архив HACS: custom_components Правим /opt/var/lib/homeassistant/configuration.yaml: hacs: token: !secret HACS_github appdaemon: true python_script: true theme: true Правим /opt/var/lib/homeassistant//secrets.yaml: HACS_github: XXXXXXXXXXXXXXXXXXX не совсем понятно какой тип токена использовать ?
  10. Пытаюсь поставить через ссылку https://my.home-assistant.io/redirect/supervisor_addon/?addon=cb646a50_get&repository_url=https%3A%2F%2Fgithub.com%2Fhacs%2Faddons https://www.hacs.xyz/docs/use/download/download/ Это перенаправление не поддерживается Вашим Home Assistant. Оно предназначено только для Home Assistant OS или Home Assistant Supervised. Для получения дополнительной информации ознакомьтесь с документацией.
  11. У кого то получилось добавить интеграцию HACS ? Можете поделиться опытом?.
  12. Как его прописать локально? Collected errors: * opkg_conf_parse_file: Duplicate src declaration (ha file:///opt/tmp/hass). Skipping. * opkg_download: Failed to download https://hass.thebb.keenetic.pro/hass/homeassistant-core-py313//Packages.gz, wget returned 6. Закомментировал строки в конфиге все ок. ~ #
  13. Роутер Peak (KN-2710) EAEU entware http://bin.entware.net/aarch64-k3.10 BusyBox v1.37.0
×
×
  • Создать...

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

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