Installing Home-Assistant on Linksys EA6500v2 Router or Entware enabled router

HA up and running on Asus AC68U w/ Entware, thank you guys.

1 Like

Need some more help, please. I´m getting this error

ERROR (MainThread) [homeassistant.setup] Error during setup of component cloud
Traceback (most recent call last):
File “/opt/lib/python3.7/site-packages/homeassistant/setup.py”, line 151, in _async_setup_component
hass, processed_config)
File “/opt/lib/python3.7/site-packages/homeassistant/components/cloud/init.py”, line 141, in async_setup
from hass_nabucasa import Cloud
File “/opt/ha/deps/lib/python3.7/site-packages/hass_nabucasa/init.py”, line 16, in
from .remote import RemoteUI
File “/opt/ha/deps/lib/python3.7/site-packages/hass_nabucasa/remote.py”, line 16, in
from .acme import AcmeClientError, AcmeHandler
File “/opt/ha/deps/lib/python3.7/site-packages/hass_nabucasa/acme.py”, line 9, in
import OpenSSL
File “/opt/ha/deps/lib/python3.7/site-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import crypto, SSL
File “/opt/ha/deps/lib/python3.7/site-packages/OpenSSL/crypto.py”, line 16, in
from OpenSSL._util import (
File “/opt/ha/deps/lib/python3.7/site-packages/OpenSSL/_util.py”, line 6, in
from cryptography.hazmat.bindings.openssl.binding import Binding
File “/opt/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py”, line 14, in
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Below is output of my opkg command.

root@motog:/tmp/home/root# opkg list-installed | grep ssl
libmosquitto-ssl - 1.5.7-1
libopenssl - 1.1.1a-2
libwebsockets-openssl - 3.1.0-1
mosquitto-client-ssl - 1.5.7-1
mosquitto-ssl - 1.5.7-1
python-openssl - 2.7.15-5
python3-openssl - 3.7.2-4a

What do you get? If anything is not coming up install it with opkg command.

Some of them were indeed missing but unfortunately after installing them the error stays the same

What is the output of below command? Shared output from my box for reference.

root@motog:/opt/lib# ls -l libss*
-rw-r--r--    1 root     root        434380 Mar 22 15:41 libssl.so.1.1
lrwxrwxrwx    1 root     root            15 Mar 23 23:46 libssp.so.0 -> libssp.so.0.0.0
-rwxr-xr-x    1 root     root          5732 Mar 22 15:41 libssp.so.0.0.0
root@motog:/opt/lib#

torta@DSL-AC68U:/tmp/mnt/MYPART/lib# ls -l libss*
-rw-r–r-- 1 torta root 434380 Mar 22 19:41 libssl.so.1.1
lrwxrwxrwx 1 torta root 15 Mar 30 09:13 libssp.so.0 -> libssp.so.0.0.0
-rwxr-xr-x 1 torta root 5732 Mar 22 19:41 libssp.so.0.0.0
torta@DSL-AC68U:/tmp/mnt/MYPART/lib#

Hello @makwanajigneshm,

What version of HA are you using? For a long time, everything worked for me on the xiaomi 3g device with entware, but the latest updates broke the integration. HA components using cryptography produce errors that appear to be solved by the libssl-dev package.

log example
2019-05-05 12:49:51 ERROR (MainThread) [homeassistant.setup] Error during setup of component asuswrt
Traceback (most recent call last):
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/homeassistant/setup.py", line 153, in _async_setup_component
    hass, processed_config)
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/homeassistant/components/asuswrt/__init__.py", line 45, in async_setup
    from aioasuswrt.asuswrt import AsusWrt
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 9, in <module>
    from aioasuswrt.connection import SshConnection, TelnetConnection
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/aioasuswrt/connection.py", line 6, in <module>
    import asyncssh
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/asyncssh/__init__.py", line 31, in <module>
    from .agent import SSHAgentClient, SSHAgentKeyPair, connect_agent
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/asyncssh/agent.py", line 35, in <module>
    from .public_key import SSHKeyPair, load_default_keypairs
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/asyncssh/public_key.py", line 43, in <module>
    from .encryption import get_encryption_params, get_encryption
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/asyncssh/encryption.py", line 23, in <module>
    from .crypto import BasicCipher, GCMCipher, ChachaCipher, get_cipher_params
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/asyncssh/crypto/__init__.py", line 27, in <module>
    from .ec import ECDSAPrivateKey, ECDSAPublicKey, ECDH
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/asyncssh/crypto/ec.py", line 24, in <module>
    from cryptography.hazmat.backends.openssl import backend
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
    from cryptography.hazmat.backends.openssl.backend import backend
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 71, in <module>
    from cryptography.hazmat.bindings.openssl import binding
  File "/opt/home/admin/hassio/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 15, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: /opt/home/admin/hassio/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: undefined symbol: ENGINE_set_default_RAND

I was using 0.90.1. But I did upgrade today and I upgraded to latest version that is 0.92.2 and odd enough I did not have to do that upgrade. Probably because I do not use xiaomi device.

For the record:

Missing include.tar.gz can be found here: http://bin.entware.net/mipselsf-k3.4/include/include.tar.gz

Use this command before installing HA:

wget -qO- http://bin.entware.net/mipselsf-k3.4/include/include.tar.gz | tar xvz -C /opt/include

[Source]