BDV
-
Posts
77 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Downloads
Blogs
Events
Posts posted by BDV
-
-
15 минут назад, Семён Карелин сказал:
BDV, боюсь вас огорчить но даже для RPi3 ffmpeg тяжеловат, как пишут на форумах. Я поставив вчера, большое вам спасибо за подсказу, увидел сильные тормоза. Боюсь если и использовать на роутере ХА, только для очень легких задач
Семен, ну это смотря что вы хотите получить в конечном итоге. У меня на Ultra II в Home Assistant заведено 5 камер и загрузка ЦП не превышает 20%. Правда, я использую вторичные потоки, для просмотра с мобилы этого вполне достаточно. И от интеграции ONVIF (которая использует ffmpeg) я отказался в пользу MJPEG IP Camera.
-
TheBB, подскажите, пожалуйста, что-то я никак не могу разобраться как обновить (именно обновить, а не переустановить) Home Assistant до версии 0.117.2 (draft2), делаю следующее:
1. /opt/etc/init.d/S99hass stop
2. правлю opkg.conf на "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA/draft2"
3. opkg update
4. opkg upgrade python3-home-assistant-frontend
Как результат Home Assistant не только не обновляется, но даже и не запускается после моих манипуляций.
А настройка Home Assistant с нуля оказывается достаточно хлопотной задачей.
-
28 минут назад, Семён Карелин сказал:
BDV, вы в открытый доступ решение покажите. И да присоединяюсь к просьбе об инструкции
Устанавливаем Entware, далее выполняем следующее:
echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA/draft" >> /opt/etc/opkg.conf opkg update opkg install python3-home-assistant-frontend /opt/etc/init.d/S99hass start
На этом все, далее в браузер: "адрес роутера":8123
- 1
-
Всем добрый день, может кто помочь с настройкой nut?
В общем суть в следующем: имеется ups Powercom WOW-500U, хочу на роутере поднять nut-server для дальнейшей интеграции в Home assistant.
С официального сайта получил следующую информацию:
Далее до установил компонент прошивки Keenetic OS, так как требуется модуль ядра "usbserial":
Скрытый текстЖурнал Keenetic'а при этом выглядит следующим образом:
Теперь перехожу непосредственно к установке и настройке nut:
Скрытый текстlogin as: root
root@192.168.2.1's password:
BusyBox v1.31.1 () built-in shell (ash)~ # opkg update
Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/keendev
~ # opkg install nut-server nut-driver-powercom
Installing nut-server (2.7.4-20) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/nut-server_2.7.4-20_mipsel-3.4.ipk
Installing nut (2.7.4-20) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/nut_2.7.4-20_mipsel-3.4.ipk
Installing zlib (1.2.11-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/zlib_1.2.11-3_mipsel-3.4.ipk
Installing libopenssl (1.1.1g-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libopenssl_1.1.1g-1_mipsel-3.4.ipk
Installing libnl-core (3.5.0-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libnl-core_3.5.0-1_mipsel-3.4.ipk
Installing libnl-genl (3.5.0-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libnl-genl_3.5.0-1_mipsel-3.4.ipk
Installing libnl-route (3.5.0-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libnl-route_3.5.0-1_mipsel-3.4.ipk
Installing libnl-nf (3.5.0-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libnl-nf_3.5.0-1_mipsel-3.4.ipk
Installing libnl (3.5.0-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libnl_3.5.0-1_mipsel-3.4.ipk
Installing libpci (3.7.0-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libpci_3.7.0-1_mipsel-3.4.ipk
Installing libnetsnmp (5.8-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libnetsnmp_5.8-1_mipsel-3.4.ipk
Installing libusb-1.0 (1.0.22-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libusb-1.0_1.0.22-2_mipsel-3.4.ipk
Installing libusb-compat (0.1.5-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libusb-compat_0.1.5-2_mipsel-3.4.ipk
Installing nut-common (2.7.4-20) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/nut-common_2.7.4-20_mipsel-3.4.ipk
Installing nut-driver-powercom (2.7.4-20) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/nut-driver-powercom_2.7.4-20_mipsel-3.4.ipk
Configuring nut.
Configuring zlib.
Configuring libopenssl.
Configuring libnl-core.
Configuring libnl-genl.
Configuring libnl-route.
Configuring libnl-nf.
Configuring libnl.
Configuring libpci.
Configuring libnetsnmp.
Configuring libusb-1.0.
Configuring libusb-compat.
Configuring nut-common.
Configuring nut-server.
Configuring nut-driver-powercom.
~ # lsusb
Bus 002 Device 006: ID 090c:1000
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 005: ID 0d9f:0002
~ # echo "MODE=standalone" > /opt/etc/nut/nut.conf
~ # cd /opt/etc/nut/
/opt/etc/nut # ls -l
-rw------- 1 root root 16 Nov 2 10:33 nut.conf
-rw------- 1 root root 4618 Sep 11 09:56 ups.conf
-rw------- 1 root root 4578 Sep 11 09:56 upsd.conf
-rw------- 1 root root 2131 Sep 11 09:56 upsd.users
/opt/etc/nut # cd
~ # opkg install nano
Installing nano (5.2-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/nano_5.2-1_mipsel-3.4.ipk
Installing libncursesw (6.2-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libncursesw_6.2-1_mipsel-3.4.ipk
Installing liblzma (5.2.5-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/liblzma_5.2.5-1_mipsel-3.4.ipk
Installing libbz2 (1.0.8-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libbz2_1.0.8-1_mipsel-3.4.ipk
Installing libmagic (5.39-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libmagic_5.39-1_mipsel-3.4.ipk
Installing file (5.39-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/file_5.39-1_mipsel-3.4.ipk
Configuring libncursesw.
Configuring liblzma.
Configuring libbz2.
Configuring libmagic.
Configuring file.
Configuring nano.
~ # nano /opt/etc/nut/ups.conf
~ # cd
~ # upsdrvctl start
Network UPS Tools - UPS driver controller merge-with-ng-763-gef6b52f7
Network UPS Tools - PowerCom protocol UPS driver 0.17 (merge-with-ng-763-gef6b52f7)
writing error
~ #В итоге получаю ошибку.
При этом файл nut.conf выглядит так:
Скрытый текстMODE=standalone
А ups.conf так:
Скрытый текст[Powercom]
driver = powercom
port = /dev/ttyUSB0
desc = "WOW-500U"Ну и как говорится, всё, дальше ступор...
-
TheBB, большое спасибо за draft, все работает безупречно.
Один только вопрос, могу ли я самостоятельно обновлять Home Assistant, не прибегая к вашей помощи? И если да, то как? Причем, мне главное не потерять текущие настройки Home Assistant, то есть интересно именно обновление, а не переустановка. Вопрос возник в связи с тем, что на текущий релиз 0.117 уже вышло два bugfix'а и я думаю, что это еще не все:
Скрытый текстRelease 0.117.1 - October 30
Fix adding Virtual DSM system in synology_dsm (@mib1185 - #42523) (synology_dsm docs)
Enable polling for DSMR derivative entity (@RobBie1221 - #42524) (dsmr docs)
Bump aiohomekit to 0.2.54 (@Jc2k - #42532) (homekit_controller docs)
Fix RMV giving wrong data and ignoring given parameters (@cgtobi - #42561) (rmvtransport docs)
Update frontend to 20201021.4 (@bramkragten - #42590) (frontend docs)
Fix MQTT template light (@emontnemery - #42598) (mqtt docs)
Bump hatasmota to 0.0.25 (@emontnemery - #42605) (tasmota docs)
Update greeclimate to 0.9.2 (@cmroche - #42616) (gree docs)
Release 0.117.2 - November 1
Bump pwmled to v1.6.6 (@soldag - #42607) (rpi_gpio_pwm docs)
Fix Fibaro HC2 climate device missing temperature (@airthusiast - #42627)
Fix geo_rss_events import statement (@exxamalte - #42629) (geo_rss_events docs)
Bump pycfdns to 1.2.1 (@ludeeus - #42634) (cloudflare docs)
Make sure Tasmota status sensors are disabled (@emontnemery - #42643) (tasmota docs)
attempt to renew subscription immediately to stop endless loop if it fails after setup (@hunterjm - #42651) (onvif docs)
Bump up ZHA dependencies (@Adminiuga - #42679) (zha docs)
Fix canary camera entity inheritance (@ctalkington - #42691) (canary docs)
Use pylutron_caseta 0.7.1 (@mdonoughe - #42701) (lutron_caseta docs)
-
В 23.10.2020 в 21:27, TheBB сказал:
а теперь - бонус )))
Может есть возможность пересобрать мой "бонус" с учетом последней версии home assistant.
-
TheBB, я опять все сломал...
Попытался обновить Home Assistant до версии 0.117 (крупное обновление), выполнив команду:
pip install --upgrade homeassistant
На этом всё... тишина... Хотя ошибок в ходе обновления не было. Вот журнал:
Скрытый текст~ # pip install --upgrade homeassistant
Collecting homeassistant
Downloading homeassistant-0.117.0-py3-none-any.whl (9.8 MB)
|████████████████████████████████| 9.8 MB 78 kB/s
Requirement already satisfied, skipping upgrade: ciso8601==2.1.3 in /opt/lib/pyt hon3.8/site-packages (from homeassistant) (2.1.3)
Collecting attrs==19.3.0
Downloading attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Requirement already satisfied, skipping upgrade: yarl==1.4.2 in /opt/lib/python3 .8/site-packages (from homeassistant) (1.4.2)
Requirement already satisfied, skipping upgrade: astral==1.10.1 in /opt/lib/pyth on3.8/site-packages (from homeassistant) (1.10.1)
Requirement already satisfied, skipping upgrade: PyJWT==1.7.1 in /opt/lib/python 3.8/site-packages (from homeassistant) (1.7.1)
Requirement already satisfied, skipping upgrade: bcrypt==3.1.7 in /opt/lib/pytho n3.8/site-packages (from homeassistant) (3.1.7)
Requirement already satisfied, skipping upgrade: pyyaml==5.3.1 in /opt/lib/pytho n3.8/site-packages (from homeassistant) (5.3.1)
Requirement already satisfied, skipping upgrade: certifi>=2020.6.20 in /opt/lib/ python3.8/site-packages (from homeassistant) (2020.6.20)
Requirement already satisfied, skipping upgrade: aiohttp==3.6.2 in /opt/lib/pyth on3.8/site-packages (from homeassistant) (3.6.2)
Requirement already satisfied, skipping upgrade: httpx==0.16.1 in /opt/lib/pytho n3.8/site-packages (from homeassistant) (0.16.1)
Requirement already satisfied, skipping upgrade: jinja2>=2.11.2 in /opt/lib/pyth on3.8/site-packages (from homeassistant) (2.11.2)
Requirement already satisfied, skipping upgrade: pytz>=2020.1 in /opt/lib/python 3.8/site-packages (from homeassistant) (2020.1)
Requirement already satisfied, skipping upgrade: voluptuous==0.12.0 in /opt/lib/ python3.8/site-packages (from homeassistant) (0.12.0)
Requirement already satisfied, skipping upgrade: async-timeout==3.0.1 in /opt/li b/python3.8/site-packages (from homeassistant) (3.0.1)
Requirement already satisfied, skipping upgrade: pip>=8.0.3 in /opt/lib/python3. 8/site-packages (from homeassistant) (20.1.1)
Requirement already satisfied, skipping upgrade: requests==2.24.0 in /opt/lib/py thon3.8/site-packages (from homeassistant) (2.24.0)
Collecting cryptography==3.2.0
Downloading cryptography-3.2.tar.gz (540 kB)
|████████████████████████████████| 540 kB 2.0 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied, skipping upgrade: python-slugify==4.0.1 in /opt/l ib/python3.8/site-packages (from homeassistant) (4.0.1)
Requirement already satisfied, skipping upgrade: ruamel.yaml==0.15.100 in /opt/l ib/python3.8/site-packages (from homeassistant) (0.15.100)
Requirement already satisfied, skipping upgrade: voluptuous-serialize==2.4.0 in /opt/lib/python3.8/site-packages (from homeassistant) (2.4.0)
Requirement already satisfied, skipping upgrade: idna>=2.0 in /opt/lib/python3.8 /site-packages (from yarl==1.4.2->homeassistant) (2.10)
Requirement already satisfied, skipping upgrade: multidict>=4.0 in /opt/lib/pyth on3.8/site-packages (from yarl==1.4.2->homeassistant) (4.5.2)
Requirement already satisfied, skipping upgrade: cffi>=1.1 in /opt/lib/python3.8 /site-packages (from bcrypt==3.1.7->homeassistant) (1.14.2)
Requirement already satisfied, skipping upgrade: six>=1.4.1 in /opt/lib/python3. 8/site-packages (from bcrypt==3.1.7->homeassistant) (1.15.0)
Requirement already satisfied, skipping upgrade: chardet<4.0,>=2.0 in /opt/lib/p ython3.8/site-packages (from aiohttp==3.6.2->homeassistant) (3.0.4)
Requirement already satisfied, skipping upgrade: rfc3986[idna2008]<2,>=1.3 in /o pt/lib/python3.8/site-packages (from httpx==0.16.1->homeassistant) (1.4.0)
Requirement already satisfied, skipping upgrade: httpcore==0.12.* in /opt/lib/py thon3.8/site-packages (from httpx==0.16.1->homeassistant) (0.12.0)
Requirement already satisfied, skipping upgrade: sniffio in /opt/lib/python3.8/s ite-packages (from httpx==0.16.1->homeassistant) (1.2.0)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /opt/lib/py thon3.8/site-packages (from jinja2>=2.11.2->homeassistant) (1.1.1)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26, >=1.21.1 in /opt/lib/python3.8/site-packages (from requests==2.24.0->homeassista nt) (1.25.11)
Requirement already satisfied, skipping upgrade: text-unidecode>=1.3 in /opt/lib /python3.8/site-packages (from python-slugify==4.0.1->homeassistant) (1.3)
Requirement already satisfied, skipping upgrade: pycparser in /opt/lib/python3.8 /site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.20)
Requirement already satisfied, skipping upgrade: h11==0.* in /opt/lib/python3.8/ site-packages (from httpcore==0.12.*->httpx==0.16.1->homeassistant) (0.11.0)
Building wheels for collected packages: cryptography
Building wheel for cryptography (PEP 517) ... done
Created wheel for cryptography: filename=cryptography-3.2-cp38-cp38-linux_mips.whl size=316955 sha256=9bae4af6312fdab98367baddac2adf63c949083cc2b64442f99150a85212414a
Stored in directory: /opt/root/.cache/pip/wheels/15/2f/53/0118ad4b37c01a6dfcc2042c99cbbd208bc87aaeb641920b12
Successfully built cryptography
Installing collected packages: attrs, cryptography, homeassistant
Attempting uninstall: attrs
Found existing installation: attrs 20.1.0
Uninstalling attrs-20.1.0:
Successfully uninstalled attrs-20.1.0
Attempting uninstall: cryptography
Found existing installation: cryptography 3.1.1
Uninstalling cryptography-3.1.1:
Successfully uninstalled cryptography-3.1.1
Attempting uninstall: homeassistant
Found existing installation: homeassistant 0.116.4
Uninstalling homeassistant-0.116.4:
Successfully uninstalled homeassistant-0.116.4
Successfully installed attrs-19.3.0 cryptography-3.2 homeassistant-0.117.0
WARNING: You are using pip version 20.1.1; however, version 20.2.4 is available.
You should consider upgrading via the '/opt/bin/python3 -m pip install --upgrade pip' command.Что у меня опять? Не понятно...
-
TheBB, все получилось выполнив следующий сценарий с полной переустановкой Entware:
Скрытый текстecho "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf
opkg update
opkg install python3-home-assistant-frontend
opkg install ffmpeg libxml2-dev python3-lxml
opkg install gcc ldd make gawk sed patch diffutils coreutils-install libffi
wget -qO- http://bin.entware.net/mipselsf-k3.4/include/include.tar.gz | tar xvz -C /opt/include
/opt/bin/gcc_env.sh
ln -sf /opt/lib/libffi.so.7.1.0 /opt/lib/libffi.so
pip install --upgrade onvif-zeep-async
pip install --upgrade WSDiscovery
/opt/etc/init.d/S99hass startВозможно так не правильно, но это работает. В логах журнале есть и предупреждения и ошибки (пока не понятно с чем связанные), буду пробовать, буду смотреть...
TheBB, спасибо за помощь с установкой!
- 1
-
TheBB, мне конечно стыдно признавать себя чайником, но боюсь ни первое, ни второе мне не по силам. Интуитивно догадываюсь, что правильнее добавить в профиль, но как это сделать я не понимаю даже с вашими подсказами. Ранее вы уже давали мне ссылки для изучения:
В 23.10.2020 в 21:27, TheBB сказал:Плюсом я и тут почитал в русскоязычном изложении, но умнее пока не стал.
-
TheBB, так и не удается мне победить интеграцию ONVIF. Следуя четко Вашим инструкциям, вот что я делаю:
1. opkg install ffmpeg
2. opkg install libxml2-dev python3-lxml
3. nano /opt/lib/python3.8/site-packages/homeassistant/components/onvif/manifest.json
У меня это после правки выглядит вот так:
...
"requirements": [
"onvif-zeep-async>=0.6.0",
"WSDiscovery==2.0.0",
"zeep[async]==3.4.0"
],
...4. rm -rf /opt/var/lib/homeassistant/deps/lib/python3.8/site-packages/zeep*
5. pip install --upgrade onvif-zeep-async
И вроде бы все здорово, но журнал опять ошибка и соответственно интеграция не запускается:
Скрытый текст2020-10-26 15:41:31 ERROR (SyncWorker_12) [homeassistant.util.package] Unable to install package WSDiscovery==2.0.0: ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-s3rbk2e8/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-s3rbk2e8/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-8ourrbj5/install-record.txt --single-version-externally-managed --prefix '' --user --prefix= --compile --install-headers /opt/var/lib/homeassistant/deps/include/python3.8/netifacescwd: /opt/tmp/pip-install-s3rbk2e8/netifaces/Complete output (16 lines):running installrunning buildrunning build_extchecking for getifaddrs...not found.checking for getnameinfo...not found.checking for socket IOCTLs...not found.checking for optional header files...none found.checking whether struct sockaddr has a length field...no.checking which sockaddr_xxx structs are defined...none!checking for routing socket support...no.checking for sysctl(CTL_NET...) support...no.checking for netlink support...no.building 'netifaces' extensiongcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -pthread -I/home/ryzhovau/Entware.mipsel/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/include -I/home/ryzhovau/Entware.mipsel/staging_dir/toolchain-mipsel_mips32r2_gcc-8.4.0_glibc-2.27/include -fPIC -DNETIFACES_VERSION=0.10.9 -I/opt/include/python3.8 -c netifaces.c -o build/temp.linux-mips-3.8/netifaces.ounable to execute 'gcc': No such file or directoryerror: command 'gcc' failed with exit status 16. Далее pip install --upgrade WSDiscovery, но и тут полнейшая засада:
Скрытый текст# pip install --upgrade WSDiscovery
Collecting WSDiscovery
Using cached WSDiscovery-2.0.0-py3-none-any.whl (31 kB)
Collecting click
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting netifaces
Using cached netifaces-0.10.9.tar.gz (28 kB)
Using legacy 'setup.py install' for netifaces, since package 'wheel' is not installed.
Installing collected packages: click, netifaces, WSDiscovery
Running setup.py install for netifaces ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-zbr2id45/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-zbr2id45/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-qytmpg2w/install-record.txt --single-version-externally-managed --compile --install-headers /opt/include/python3.8/netifaces
cwd: /opt/tmp/pip-install-zbr2id45/netifaces/
Complete output (16 lines):
running install
running build
running build_ext
checking for getifaddrs...not found.
checking for getnameinfo...not found.
checking for socket IOCTLs...not found.
checking for optional header files...none found.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...none!
checking for routing socket support...no.
checking for sysctl(CTL_NET...) support...no.
checking for netlink support...no.
building 'netifaces' extension
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -pthread -I/home/ryzhovau/Entware.mipsel/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/include -I/home/ryzhovau/Entware.mipsel/staging_dir/toolchain-mipsel_mips32r2_gcc-8.4.0_glibc-2.27/include -fPIC -DNETIFACES_VERSION=0.10.9 -I/opt/include/python3.8 -c netifaces.c -o build/temp.linux-mips-3.8/netifaces.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-zbr2id45/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-zbr2id45/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-qytmpg2w/install-record.txt --single-version-externally-managed --compile --install-headers /opt/include/python3.8/netifaces Check the logs for full command output.TheBB, помогите мне, пожалуйста, довести интеграцию ONVIF до ума.
-
TheBB, спасибо за помощь, выполнил ваши рекомендации, но модуль onvif-zeep-async не получается установить, получаю ошибку:
Скрытый текстERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-ecvlwa48/lxml/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-ecvlwa48/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /opt/tmp/pip-pip-egg-info-knqvc9rr
cwd: /opt/tmp/pip-install-ecvlwa48/lxml/
Complete output (3 lines):
Building lxml version 4.6.1.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.Дальше пробовал установить недостающие библиотеки libxml2 and libxslt:
~ # opkg install libxml2 libxslt make
Package libxml2 (2.9.10-1) installed in root is up to date.
Package libxslt (1.1.34-2) installed in root is up to date.
Package make (4.3-1) installed in root is up to date.Затем повторно pip install --upgrade onvif-zeep-async и все равно выскакивает эта же ошибка.
18 минут назад, TheBB сказал:Установил нес-ко штук (интеграций), особых проблем не было. Скриншоты - хорошо, а логи - лучше! (На скринах текста не видать)
У меня в логах постоянно следующее:
Скрытый текст2020-10-25 19:12:39 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:12:40 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:12:40 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:12:40 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:12:48 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:12:50 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:30 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:30 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:30 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:30 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:13:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.1А вот логи в момент запуска интеграции ONVIF:
Скрытый текст2020-10-25 19:21:49 WARNING (MainThread) [homeassistant.setup] Setup of person is taking over 10 seconds.2020-10-25 19:22:16 WARNING (SyncWorker_2) [zeroconf] Error sending through socket 14Traceback (most recent call last):File "/opt/lib/python3.8/site-packages/zeroconf/__init__.py", line 2914, in sendOSError: [Errno 161] Required key not available2020-10-25 19:24:12 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.12020-10-25 19:26:53 ERROR (SyncWorker_19) [homeassistant.util.package] Unable to install package onvif-zeep-async>=0.6.0: ERROR: Command errored out with exit status 1:command: /opt/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-watzum52/lxml/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-watzum52/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /opt/tmp/pip-pip-egg-info-fbuxxicocwd: /opt/tmp/pip-install-watzum52/lxml/Complete output (3 lines):Building lxml version 4.6.1.Building without Cython.Error: Please make sure the libxml2 and libxslt development packages are installed.----------------------------------------ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.2020-10-25 19:26:53 ERROR (MainThread) [aiohttp.server] Error handling requestTraceback (most recent call last):File "/opt/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in startFile "/opt/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handleFile "/opt/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in implFile "/opt/lib/python3.8/site-packages/homeassistant/components/http/request_context.py", line 18, in request_context_middlewareFile "/opt/lib/python3.8/site-packages/homeassistant/components/http/ban.py", line 72, in ban_middlewareFile "/opt/lib/python3.8/site-packages/homeassistant/components/http/auth.py", line 127, in auth_middlewareFile "/opt/lib/python3.8/site-packages/homeassistant/components/http/view.py", line 129, in handleFile "/opt/lib/python3.8/site-packages/homeassistant/components/config/config_entries.py", line 136, in postFile "/opt/lib/python3.8/site-packages/homeassistant/components/http/data_validator.py", line 60, in wrapperFile "/opt/lib/python3.8/site-packages/homeassistant/helpers/data_entry_flow.py", line 69, in postFile "/opt/lib/python3.8/site-packages/homeassistant/data_entry_flow.py", line 120, in async_initFile "/opt/lib/python3.8/site-packages/homeassistant/config_entries.py", line 527, in async_create_flowFile "/opt/lib/python3.8/site-packages/homeassistant/setup.py", line 343, in async_process_deps_reqsFile "/opt/lib/python3.8/site-packages/homeassistant/requirements.py", line 75, in async_get_integration_with_requirementsFile "/opt/lib/python3.8/site-packages/homeassistant/requirements.py", line 132, in async_process_requirementshomeassistant.requirements.RequirementsNotFound: Requirements for onvif not found: ['onvif-zeep-async>=0.6.0'].2020-10-25 19:27:44 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0180042bb01b5533d5ce6e4c0f56c2236f9ac63965038ef7ef7634bc7547b1a4 from 127.0.0.1 -
В 23.10.2020 в 21:27, TheBB сказал:
а теперь - бонус )))
TheBB, спасибо вам за "бонус"!!! 😀 Всё получилось!
Автообнаружение по SSDP работает безупречно, да и другие функции в порядке.
Единственное что еще хотелось бы у вас попросить показать на примере как в python'е добавлять интеграции (загружать недостающие библиотеки, например такие как ffmpeg). Так как через web-интерфейс это не работает. Я до этого пользовался Home assistant версией для Docker. Главное их отличие, что в версии Docker изначально все библиотеки уже установлены, не зависимо от того нужны они или нет. А тут же ситуация обратная.
Например, я хочу в Home Assistant добавить камеру, для этого я пытаюсь установить интеграцию ONVIF и она зависает. Так же установка любой другой интеграции приводит к зависанию, в журнале сервера появляются ошибки. Скриншоты прикладываю:
-
1 час назад, ajs сказал:
Он же там пишет что не может загрузить libcrypto.so ... надо с ним тоже что то решить, и так дальше шаг за шагом пока ошибок в логе не будет ...
Я не уверен, что правильно всё делаю, знаний не хватает, да и особо никто помогать не хочет. В первом посту есть ссылки на два источника с потенциальными инструкциями, да и у топик-стартера все завелось без проблем (в 8 посту есть его сценарий), а мой сценарий установки растет с каждым днем. Может у вас есть возможность по командно повторить за мной и подсказать?
-
14 часа назад, ajs сказал:
Точно нет?
Думаю, что да. По крайней мере красных строк точно нет.
При повторном запуске hass --open-ui получаю уже другие ошибки:
Скрытый текст~ # hass --open-ui
2020-10-21 16:34:55 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=1 from 2020-10-21 11:48:59.764884)
2020-10-21 16:35:06 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component: libc.so.0: cannot open shared object file: No such file or directory
Segmentation faultСделал следующее:
cd /opt/lib
ln -s libс-2.27.so libс.soПосле чего повторил запуск hass, но без аргументов. При этом UI запустился, но сам сервер находится в бесконечной загрузке.
-
22 часа назад, ajs сказал:
Вот же ошибки:
Внес коррективы в сценарий установки, теперь он выглядит вот так:
01. opkg install python3 python3-pip gcc pkg-config libopenssl libffi python3-pyopenssl python3-openssl make
02. opkg install libjpeg
03. wget -qO- http://bin.entware.net/mipselsf-k3.4/include/include.tar.gz | tar xvz -C /opt/include
04. source /opt/bin/gcc_env.sh
05. cd /opt/lib
06. ln -s libffi.so.7.1.0 libffi.so
07. cd
08. pip3 install --upgrade setuptools
09. /opt/bin/python3 -m pip install --upgrade pip
10. pip3 install wheel
11. pip3 install aiohttp_cors
12. pip3 install sqlalchemy
13. pip3 install netifaces
14. pip3 install python-miio
15. pip3 install xmltodict
16. pip3 install pillow
17. pip3 install homeassistant
18. hass --open-uiВ процессе установки ошибок нет, но в момент запуска hass --open-ui получаю следующее:
Скрытый текст~ # hass --open-ui
Unable to find configuration. Creating default one in /opt/root/.homeassistant
2020-10-21 14:52:01 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 1 - moving forward
2020-10-21 14:58:02 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component: No module named 'hass_nabucasa'
2020-10-21 14:59:06 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Unable to import component: No module named 'mutagen'
2020-10-21 14:59:35 ERROR (MainThread) [homeassistant.setup] Setup failed for updater: Unable to import component: No module named 'distro'
2020-10-21 15:03:58 ERROR (MainThread) [homeassistant.setup] Error during setup of component frontend
Traceback (most recent call last):
File "/opt/lib/python3.8/site-packages/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/opt/lib/python3.8/site-packages/homeassistant/components/frontend/__init__.py", line 260, in async_setup
root_path = _frontend_root(repo_path)
File "/opt/lib/python3.8/site-packages/homeassistant/components/frontend/__init__.py", line 235, in _frontend_root
import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2020-10-21 15:03:58 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2020-10-21 15:03:58 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2020-10-21 15:03:58 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2020-10-21 15:03:58 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.И что с этим делать мне совсем не понятно...
-
Пока гуру молчат попробовал написать свой сценарий установки основываясь на информации из этой темы:
01. opkg install python3 python3-pip gcc pkg-config libopenssl libffi python3-pyopenssl python3-openssl make
02. wget -qO- http://bin.entware.net/mipselsf-k3.4/include/include.tar.gz | tar xvz -C /opt/include
03. source /opt/bin/gcc_env.sh
04. cd /opt/lib
05. ln -s libffi.so.7.1.0 libffi.so
06. cd
07. pip3 install --upgrade setuptools
08. /opt/bin/python3 -m pip install --upgrade pip
09. pip3 install whell
10. pip3 install sqlalchemy
11. pip3 install netifaces
12. pip3 install python-miio
13. pip3 install xmltodict
14. pip3 install homeassistant
15. hassПри установке как я понимаю ошибок нет, но при запуске Hass получаю следующие ошибки:
Скрытый текст~ # hass
Unable to find configuration. Creating default one in /opt/root/.homeassistant
2020-10-20 14:42:25 ERROR (MainThread) [homeassistant.setup] Error during setup of component http
Traceback (most recent call last):
File "/opt/lib/python3.8/site-packages/homeassistant/setup.py", line 213, in _async_setup_component result = await task
File "/opt/lib/python3.8/site-packages/homeassistant/components/http/__init__.py", line 209, in async_setup server = HomeAssistantHTTP(
File "/opt/lib/python3.8/site-packages/homeassistant/components/http/__init__.py", line 312, in __init__setup_cors(app, cors_origins)
File "/opt/lib/python3.8/site-packages/homeassistant/components/http/cors.py",line 26, in setup_cors import aiohttp_cors
ModuleNotFoundError: No module named 'aiohttp_cors'
2020-10-20 14:42:25 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_log. Setup failed for dependencies: http
2020-10-20 14:42:25 ERROR (MainThread) [homeassistant.setup] Setup failed for system_log: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of config. Setup failed for dependencies: http
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of alexa. Setup failed for dependencies: http
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for alexa: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of auth. Setup failed for dependencies: http
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for auth: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of api. Setup failed for dependencies: http
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of image. Setup failed for dependencies: http
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of websocket_api. Setup failed for dependencies: http
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of webhook. Setup failed for dependencies: http
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for webhook: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of search. Setup failed for dependencies: websocket_api
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for search: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cloud. Setup failed for dependencies: http, webhook, alexa
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: auth, http, person
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for on boarding: Could not set up all dependencies.
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: api, auth, config, http, onboarding, search, system_log, websocket_api
2020-10-20 14:42:26 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend, http
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of tts. Setup failed for dependencies: http
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Could not set up all dependencies.
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_health. Setup failed for dependencies: http
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Setup failed for system_health: Could not set up all dependencies.
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of zeroconf. Setup failed for dependencies: api
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Setup failed for zeroconf: Could not set up all dependencies.
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: http
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of media_source. Setup failed for dependencies: http
2020-10-20 14:42:29 ERROR (MainThread) [homeassistant.setup] Setup failed for media_source: Could not set up all dependencies.
2020-10-20 14:42:52 ERROR (MainThread) [homeassistant.setup] Setup failed for updater: Unable to import component: No module named 'distro'
2020-10-20 14:43:53 ERROR (MainThread) [homeassistant.setup] Setup failed for ssdp: Unable to import component: No module named 'defusedxml'При повторном запуске:
Скрытый текст~ # hass
2020-10-20 15:14:43 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=2 from 2020-10-20 12:01:49.051140)
2020-10-20 15:17:43 ERROR (SyncWorker_3) [homeassistant.util.package] Unable to install package pillow==7.2.0:
2020-10-20 15:17:44 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Requirements for image not found: ['pillow==7.2.0'].
2020-10-20 15:17:44 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2020-10-20 15:17:44 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
2020-10-20 15:17:45 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2020-10-20 15:17:45 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2020-10-20 15:17:45 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2020-10-20 15:17:45 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2020-10-20 15:17:50 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component: libc.so.0: cannot open shared object file: No such file or directory
Segmentation faultЧто я делаю не так, где ошибка?
-
Может у разработчиков есть возможность добавить статью в базу знаний?
-
В 31.07.2020 в 18:44, Nail Alimgulov сказал:
Я думаю в будущем будет полно желающих попробовать установить лучшую на данный момент платформу для умного дома
Всем добра.
Знаю, что подобные просьбы в большинстве своем игнорируются в данной ветке форума, но все же. Может кто-то описать по командно порядок установки Home Assistant на чистую Entware для абсолютно несведущих?
В центре поддержки Keenetic есть ряд статей по установке пакетов в OPKG, но для Home Assistant они бесполезны. Да и интернет не пестрит инструкциями по установке Home Assistant на наши роутеры.
Буду признателен, и думаю что не только я.
- 1
- 2
-
36 минут назад, Mamay сказал:
Это и есть minidlna
Я имел ввиду из OPKG.
-
И все таки, может кто из знающих даст более развёрнутый ответ относительно работы DLNA? Тоже имеется такая проблема, но только наоборот, постоянно приходится эти субтитры выключать.
Кроме, этого на трех из четырех ТВ не работает сортировка, возможность задать которую имеет роутер. На форуме написано одно и тоже, проблема на стороне клиента, на этом всё. Отсюда у не знающего человека возникает несколько вопросов, можно ли это хотя бы с помощью костылей как то решить на роутере? Даст ли какой либо эффект переход на miniDLNA?
Home Assistant
in Вопросы по сборке и настройке Opkg
Posted
Мысль вашу понял, переустановил с нуля.
За ними не угнаться, вышла версия 0.117.3, да ну и ладно...