Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-on could not be installed #161

Open
Ksyuint opened this issue Nov 7, 2024 · 5 comments
Open

Add-on could not be installed #161

Ksyuint opened this issue Nov 7, 2024 · 5 comments

Comments

@Ksyuint
Copy link

Ksyuint commented Nov 7, 2024

The problem

The Add-on could not be installed after adding a repository as custom add-on.

The command '/bin/ash -o pipefail -c apk add --no-cache python3 py3-pip git && python3 -m venv /app/venv && . /app/venv/bin/activate && python3 -m pip install --upgrade pip && pip3 install pyyaml && pip3 install tinydb && pip3 install paho-mqtt==1.6.1 && pip3 install git+https://github.com/mak-gitdev/enocean.git && git clone -b master --single-branch --depth 1 https://github.com/embyt/enocean-mqtt.git && cd enocean-mqtt && python3 setup.py develop && cd .. && if [ "${BUILD_VERSION}" = "head" ]; then echo "Installing from repository head" && git clone -b develop --single-branch --depth 1 https://github.com/mak-gitdev/HA_enoceanmqtt.git ; else if [ -z "${BUILD_VERSION##*.*.*}" ]; then echo "Installing development version ${BUILD_VERSION%-*}" ; else echo "Installing stable version ${BUILD_VERSION%-*}" ; fi; wget -nv -O "/app.tar.gz" "https://github.com/mak-gitdev/HA_enoceanmqtt/archive/refs/tags/${BUILD_VERSION%-*}.tar.gz" && echo "Extracting /app.tar.gz" && tar xzf "/app.tar.gz" && rm "/app.tar.gz" && mv -v "HA_enoceanmqtt-${BUILD_VERSION%-*}" HA_enoceanmqtt ; fi; cp -rf HA_enoceanmqtt/enoceanmqtt enocean-mqtt && rm -rf HA_enoceanmqtt' returned a non-zero code: 1

What type of installation are you running?

Addon

What version of HA_enoceanmqtt has the issue?

0.1.28-2 (latest)

What was the last working version of HA_enoceanmqtt?

It is my first try

What type of Home Assitant installation are you running?

Home Assistant OS

Anything in the logs that might be useful to solve the issue? (Strongly recommended if applicable)

The command '/bin/ash -o pipefail -c apk add --no-cache python3 py3-pip git && python3 -m venv /app/venv && . /app/venv/bin/activate && python3 -m pip install --upgrade pip && pip3 install pyyaml && pip3 install tinydb && pip3 install paho-mqtt==1.6.1 && pip3 install git+https://github.com/mak-gitdev/enocean.git && git clone -b master --single-branch --depth 1 https://github.com/embyt/enocean-mqtt.git && cd enocean-mqtt && python3 setup.py develop && cd .. && if [ "${BUILD_VERSION}" = "head" ]; then echo "Installing from repository head" && git clone -b develop --single-branch --depth 1 https://github.com/mak-gitdev/HA_enoceanmqtt.git ; else if [ -z "${BUILD_VERSION##*.*.*}" ]; then echo "Installing development version ${BUILD_VERSION%-*}" ; else echo "Installing stable version ${BUILD_VERSION%-*}" ; fi; wget -nv -O "/app.tar.gz" "https://github.com/mak-gitdev/HA_enoceanmqtt/archive/refs/tags/${BUILD_VERSION%-*}.tar.gz" && echo "Extracting /app.tar.gz" && tar xzf "/app.tar.gz" && rm "/app.tar.gz" && mv -v "HA_enoceanmqtt-${BUILD_VERSION%-*}" HA_enoceanmqtt ; fi; cp -rf HA_enoceanmqtt/enoceanmqtt enocean-mqtt && rm -rf HA_enoceanmqtt' returned a non-zero code: 1

Additional information

en2mqtt

@kimzeuner
Copy link

same for me, trying to install it on a RPI4 with HAOS 2024.11.0
i had it already working in the past but on another system (Proxmox with HAOS on an intel nuc), i think the HAOS version was something like 2024.8.x

@GerhardKreuzer
Copy link

Same here, sorry.
image
Never used MQTT before. Installed MQTT Broker in HA as described, seeme working but the EnOcean-MQTT-Bridge stuff fails.

With best regards

Gerhard

@dcdieci
Copy link

dcdieci commented Nov 16, 2024

Same here on a new installed system on Raspi 4

2024.11.2
Supervisor
2024.11.4
Operating System
13.2
Frontend
20241106.2

@dcdieci
Copy link

dcdieci commented Nov 16, 2024

try this one
https://github.com/ChristopheHD/HA_enoceanmqtt-addon
it worked with

2024.11.2
Supervisor
2024.11.4
Operating System
13.2
Frontend
20241106.2

@GerhardKreuzer
Copy link

Hi,
used the above link and installation works out.
According to the documentation I need to create some file with device description. Sorry, but no idea what to enter there.

After a while playing around I get a message from my device:
grafik

Fine, I see, that the datagram originated from my device, cause the device ID is printed on thee label of the device. And also 'A5' is the first byte of the profile I need (A5-20-06) which is supported.

I found another documentation showing how this:
[<your_device_name>]
address = <your_device_address>
rorg = <your_device_rorg>
func = <your_device_func>
type = <your_device_type>

So, if the 'rorg' value is reporteed as 'a5' it maybe the profile? so I entered:

[my_mva009]
address = 0x0527e31c # The address of your FSB14
model = micropelt/mva009

sender = 0xFFXXXXXX # base id of your EnOcean transceiver + unique offset

rorg = 0xa5
func = 0x20
type = 0x06

But the sensor isn't reecogniced by HA.

Another problem:
After switching debugging off, HA crashes and I have to restart everything ...

With best reegards

Gerhard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants