Jump to content

OlegOs

Forum Members
  • Posts

    131
  • Joined

  • Last visited

Posts posted by OlegOs

  1. И еще по вот что:

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

    ~ # hass
    Traceback (most recent call last):
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 568, in _build_master
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 886, in require
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
    pkg_resources.ContextualVersionConflict: (PyYAML 5.4.1 (/opt/lib/python3.9/site-packages), Requirement.parse('pyyaml==6.0'), {'homeassistant'})

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/opt/bin/hass", line 33, in <module>
        sys.exit(load_entry_point('homeassistant==2021.11.3', 'console_scripts', 'hass')())
      File "/opt/lib/python3.9/site-packages/homeassistant/__main__.py", line 281, in main
      File "/opt/lib/python3.9/site-packages/homeassistant/__main__.py", line 64, in get_arguments
      File "/opt/lib/python3.9/site-packages/homeassistant/config.py", line 19, in <module>
      File "/opt/lib/python3.9/site-packages/homeassistant/auth/__init__.py", line 18, in <module>
      File "/opt/lib/python3.9/site-packages/homeassistant/auth/mfa_modules/__init__.py", line 12, in <module>
      File "/opt/lib/python3.9/site-packages/homeassistant/requirements.py", line 14, in <module>
      File "/opt/lib/python3.9/site-packages/homeassistant/util/package.py", line 13, in <module>
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
      File "/opt/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    pkg_resources.DistributionNotFound: The 'pyyaml==6.0' distribution was not found and is required by homeassistant
    ~ #
     

     

  2. TheBB, спасибо за обновление !

    Но почему-то после remove и install, hass стартует и сразу вываливается смотрю командой top

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

    ~ # opkg remove homeassistant
    Removing package homeassistant from root...
    ~ # opkg install homeassistant
    Installing homeassistant (2021.11.3-1) to root...
    Downloading http://bin.entware.net/mipselsf-k3.4/test/HA/homeassistant_2021.11.3-1_mipsel-3.4.ipk
    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

    ~ # /opt/etc/init.d/S99hass start
     Starting hass...              done.
    ~ # top
    Mem: 235308K used, 19316K free, 432K shrd, 18764K buff, 69424K cached
    CPU: 25.5% usr  8.5% sys  0.0% nic 65.9% idle  0.0% io  0.0% irq  0.0% sirq
    Load average: 0.94 0.57 0.30 4/254 3721
      PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
     3713     1 root     R    36840 14.3   0 24.0 {hass} /opt/bin/python3 /opt/bin/hass -c /opt/var/lib/homeassistant
     2987     2 root     SW       0  0.0   3  4.0 [kworker/3:1]
      257     1 root     S    39708 15.5   1  2.0 ndm
     3721  3471 root     R     3880  1.5   2  2.0 top
     

    Ошибок при обновлении не было, в логах ha тоже ничего нет, похоже до них не доходит,

    сделал remove и install прошлой версии, проблема осталась, стартует и вываливается

    И ещё заметил что install происходит подозрительно быстро,  раньше дольше ставилось

  3. В 07.09.2021 в 21:56, Олег Осипов сказал:

    hass-cli заработал,

    Интересно, кто-нибудь ставил HA+mqtt+zigbee2mqtt, вывезет ли keenetic по ресурсам?

    Сейчас всё настроено через ZHA, но не все параметры у zigbee девайсов доступны.

    Отвечу сам себе, настроил я всю эту связку HA+mosquitto+zigbee2mqtt на своём Keenetic

    Всё работает ! В отличии от ZHA , намного больше поддерживаемых устройств и настроек !

  4. Напрямую с дебагом начинает запускаться, не запускается со скрипта S99hass start вручную, с перезагрузкой роутера стартует нормально

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

    ~ # ~ # /opt/etc/init.d/S99hass start
    -sh: /opt/root: Permission denied
    ~ # hass -c /opt/var/lib/homeassistant --debug
    2021-10-03 16:10:07 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration gismeteo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
    2021-10-03 16:10:07 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
    2021-10-03 16:10:07 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration yandex_smart_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
    2021-10-03 16:10:07 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
     


     

  5. После одного из последних обновлений ha перестал стартовать командой:

    ~ # ~ # /opt/etc/init.d/S99hass start
    -sh: /opt/root: Permission denied

    стартует только с перезагрузкой роутера.

    всё работает под root

    В чём может быть проблема ?
     

  6. TheBB, спасибо за обновление,

    обновился удачно, всё работает !

    только hass-cli не находится

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

    ~ # /opt/etc/init.d/S99hass start
     Starting hass...              done.
    ~ # hass-cli --version
    -sh: hass-cli: not found
    ~ # hass-cli info
    -sh: hass-cli: not found
    ~ # hass-cli state list
    -sh: hass-cli: not found
    ~ # hass-cli device list
    -sh: hass-cli: not found
    ~ #
     

     

  7. В 22.08.2021 в 23:40, Leader Leader сказал:

    Внезапно. После очередного спонтанного ребута (похоже, все-таки, не вытягивает роутер всякие Adguard-ы и прочие HA - иконка стала оранжевой. Интергация заработала!

    У меня стабильно работает, правда есть раздел подкачки и всё на ssd установлено. Без подкачки тоже плохо было, озу маленькое у роутера.

  8. 53 минуты назад, neomatic сказал:

    И снова здравствуйте.

     

    Не могу разобраться как подключить HA к яндексу

    https://github.com/dmitry-k/yandex_smart_home

    Предлагается установить в HA репозиторий сообщества (HACS) и уже из него загружать Yandex_Smart_Home

    кто нибудь может подсказать куда рыть?

    https://sprut.ai/client/article/1404

×
×
  • Create New...