Important
This custom component installation is considered advanced
should only be used if one is an expert in managing a Linux operating system.
Important
Minimum system requirements your device must meet to install dependencies:
RAM: 4GB, If your device has less than 4GB of memory, A memory error may have occurred.
Storage: 64 GB or larger storage device.
- Go to the Add-on store
- Install one of the SSH add-ons (you need to enable advanced mode in your user profile to see here)
- Configure the SSH add-on you chose by following the documentation for it
- Sure disable protection mode and Start the SSH add-on
- Connect to the SSH add-on
- Copy and paste into the Terminal to enter Home Assistant CLI
login
docker exec -it homeassistant bash
7. Copy and paste into the Terminal to install the dependencies
apk add e2fsprogs musl-dev gdal-dev proj-dev proj-util gcc g++ gfortran openblas-dev linux-headers
fallocate -l 4G /usr/tmp-disk
mkfs.ext4 /usr/tmp-disk
mount -o loop -t ext4 /usr/tmp-disk /tmp
pip install --no-cache-dir pandas==2.1.4 geopandas==0.14.4 matplotlib==3.9.0 scipy==1.12.0 obspy==1.4.0
8. If everything is successfully, Continue configuration the integration.
Note
Excessive memory use when install Matplotlib 1, A workaround is to run pip with --no-cache-dir
to avoid the cache.
- Open a terminal and login
- Go inside the container with docker exec -it homeassistant bash (or similar)
- Copy and paste into the Terminal to install the dependencies
apk add e2fsprogs musl-dev gdal-dev proj-dev proj-util gcc g++ gfortran openblas-dev linux-headers
fallocate -l 4G /usr/tmp-disk
mkfs.ext4 /usr/tmp-disk
mount -o loop -t ext4 /usr/tmp-disk /tmp
pip install --no-cache-dir pandas==2.1.4 geopandas==0.14.4 matplotlib==3.9.0 scipy==1.12.0 obspy==1.4.0
- If everything is successfully, Continue configuration the integration.
Note
Excessive memory use when install Matplotlib 1, A workaround is to run pip with --no-cache-dir
to avoid the cache.