UCTRONICS / HomeAssistant

3 stars 8 forks source link

Failed to install add-on #1

Open suburbanidiot opened 2 years ago

suburbanidiot commented 2 years ago

Please help.

Error Message Pop Up: The command '/bin/bash -o pipefail -c set -x && apt-get update && apt-get install -y gcc procps bash jq tzdata curl nano ca-certificates python3 python3-dev python3-pip python3-rpi.gpio && apt-get update && apt-get install -y libjpeg-dev libfreetype6-dev libopenjp2-7 && curl -L -f -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-armhf.tar.gz" | tar zxvf - -C / && mkdir -p /etc/fix-attrs.d && mkdir -p /etc/services.d && curl -L -f -s -o /usr/bin/tempio "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_armhf" && chmod a+x /usr/bin/tempio && mkdir -p /usr/src/bashio && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /usr/src/bashio && mv /usr/src/bashio/lib /usr/lib/bashio && ln -s /usr/lib/bashio/bashio /usr/bin/bashio && rm -rf /var/lib/apt/lists/ && rm -rf /usr/src/' returned a non-zero code: 100

vivkikkk commented 2 years ago

Enable i2c with an sd card reader

Add files to enable I2C In the root of the hassos-boot partition, add a new folder called CONFIG. In the CONFIG folder, add another new folder called modules. Inside the modules folder add a text file called rpi-i2c.conf with the following content: i2c-dev

   d. In the root of the hassos-boot partition, edit the file called config.txt add two lines to it:

dtparam=i2c_vc=on

dtparam=i2c_arm=on