Comments (13)
@Verbatim589 In case you really don't want to tinker around with the terminal and git and the dockerfile, you could also install the addon from my fork (which includes the import of setuptools
). I.e. in the Add-on registry configure https://github.com/kijimuna/HA_enoceanmqtt-addon
instead of https://github.com/mak-gitdev/HA_enoceanmqtt-addon
) when you install the AddOn.
That's how I've installed it on my Proxmox VM, but I would not really advice it, because the fork is just there while I am waiting for a proper-solution™ to pop up 😉.
from ha_enoceanmqtt.
I still think it is the missing dependency, but I rather think the root cause lies in https://github.com/embyt/enocean-mqtt and not in https://github.com/mak-gitdev/HA_enoceanmqtt.
Nevertheless, I tried out to install setuptools
first and was able to install the addon on my Proxmox VM. Not sure if this is the correct way to solve the problem, but I created a Pull Request (to the addon), just in case you want to go that route: mak-gitdev/HA_enoceanmqtt-addon#1
from ha_enoceanmqtt.
Same problem, i come from a fresh install
from ha_enoceanmqtt.
Same here. When I do the commands mentioned in the error message manually, I fail in the step python3 setup.py develop
as follows:
(venv) ➜ enocean-mqtt git:(master) python3 setup.py develop
Traceback (most recent call last):
File "enocean-mqtt/setup.py", line 5, in <module>
import setuptools
ModuleNotFoundError: No module named 'setuptools'
When I do pip3 install setuptools
first, the command succeeds. So I guess the issue is a missing setuptools
dependency.
from ha_enoceanmqtt.
Hi, can confirm the problem. Tried to install the Addon in a VM based Homeassistant OS running on Proxmox.
Error is the same as mentioned by imatzel.
In the moment i running the addon in another VM on same server without problem, but that addon was prevously installed on a physical pc 1 year ago. The VM is based on a full backup. Means i never tried to install the addon within the VM before.
Now i like to move that addon into another VM instance to build High Availbility based on my core instance in Proxmox. USB Passtrough is not possible anymore due that fact.
Any chance to overcome that problem? I'am not even sure if the problem is related to VM or not.
from ha_enoceanmqtt.
Same problem with virtualbox :
Enregistreur: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:135
intégration: Home Assistant Supervisor (documentation, problèmes)
S'est produit pour la première fois: 08:45:17 (1 occurrences)
Dernier enregistrement: 08:45:17
Failed to to call /addons/57410c70_ha_enoceanmqtt_dev/install - 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
Regards
from ha_enoceanmqtt.
I solved my problem in different way. I used a Homeassistant Backup just for the Addon created in Orginal(old) System. Afterwards i tried to restore that partial backup within the new VM. I have also added the repo before restore, to have same reference. In the first moment it caused error message, but after reboot the Addon was available and working. Hopefully next update will be also no problem. Lets wait and see.
Anyhow that bug should be fixed soon, because it prevents potential new users from using this great Addon.
from ha_enoceanmqtt.
Anyhow that bug should be fixed soon, because it prevents potential new users from using this great Addon.
I am a new user for this addon and tried to install the addon on my HA raspi installation with same message from above.
from ha_enoceanmqtt.
Same issue here, i have HAOS on virtual box updated and every time i try to install i get the same error. Off topic but im an Application Engineer in the Building automation line of work an would love a real bacnet integration. I program bacnet controllers inside the Tridium Niagara environment, and the GUI program blocks make life much easier.
from ha_enoceanmqtt.
I still think it is the missing dependency, but I rather think the root cause lies in https://github.com/embyt/enocean-mqtt and not in https://github.com/mak-gitdev/HA_enoceanmqtt. Nevertheless, I tried out to install
setuptools
first and was able to install the addon on my Proxmox VM. Not sure if this is the correct way to solve the problem, but I created a Pull Request (to the addon), just in case you want to go that route: mak-gitdev/HA_enoceanmqtt-addon#1
Thanks for your advice... how to import the modified addon to Home Assistant?
from ha_enoceanmqtt.
I have a very similar error when trying to install it. Using Home Assistant OS 12.4 and tried to install the Add-on EnOcean MQTT (dev) 0.1.28-2. Please help, how I can install the Addon?
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
Also the deprecated EnOcean MQTT throws an error when installing it. Other Add-ons install normally.
from ha_enoceanmqtt.
I temporary resolved the problem like this
With ssl terminal, clone the git project under addons directory, then modify Dockerfile in order to add the "pip install setuptools" command before launching setup.py.
Restart ha. The addon should be present in local addons. Then just install it by clicking install button.
Regards
from ha_enoceanmqtt.
I'm a novice, so I don't know how to use linux and even less how to make a git clone. The ssl terminal can be found on home assistant or other tools.
Best regards
from ha_enoceanmqtt.
Related Issues (20)
- Leider keine automatische Installation des Add on HOT 2
- Cannot use custom EEP.xml HOT 6
- Issue with A5-20-01 RCU Temperature HOT 2
- Installation fails "The command '/bin/ash -o pipefail........returned a non-zero code: 1" HOT 4
- Can't starting HA_enoceanmqtt addon HOT 6
- Bug in D2-03-0A (NodOn Soft Button) HOT 3
- unit 'None' which is not a valid unit for A5-07-01, A5-07-01 and A5-06-01 HOT 2
- Hora Smartdrive MX (A5-20-04) problem / typos in mapping HOT 3
- Addon installed fine but cannot run HOT 1
- Getting the following in the logfile every second: "INFO: Waiting for device base ID" HOT 1
- EnOcean MQTT (dev) Addon on Home Assitant is immediately stopping after starting HOT 7
- enocean mqtt not starting HOT 1
- Nodon SIN-2-RS-01 EEP D2-05-00 not working HOT 1
- Add On dont work with Core higher 2024.4
- Log full of Waiting for device base ID HOT 1
- enoceanmqtt.service: Main process exited, status=200/CHDIR
- Unable to install standalone on bookworm HOT 1
- Can't change fan mode for D2-50-01 HOT 1
- Stale Repo: temporary fork/image with latest PR's HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_enoceanmqtt.