Homegear Add-on for Hassio

Sorry my mistake, i forgot to switch the docker repository to the normal debian package. now it should be worked fine. On my system i can build the docker container without any problems. Pleas try again, thank you!

Also error (I am installing the non rpi

hassio.docker.addon] Start Docker add-on andbobsyouruncle/amd64-google-assistant-webserver with version None
18-11-19 18:38:10 INFO (SyncWorker_0) [hassio.docker.addon] Start build 441b9bcc/amd64-addon-homegear:0.70.3
18-11-19 18:38:13 ERROR (SyncWorker_0) [hassio.docker.addon] Can’t build 441b9bcc/amd64-addon-homegear:0.70.3: The command ‘/bin/sh -c apt-get update && apt-get -y install apt-transport-https wget ca-certificates apt-utils gnupg libzip4 libavahi-client3 libavahi-client-dev insserv’ returned a non-zero code: 1
18-11-19 18:38:17 INFO (SyncWorker_11) [hassio.docker.addon] Start build 441b9bcc/amd64-addon-homegear:0.70.3
18-11-19 18:38:20 ERROR (SyncWorker_11) [hassio.docker.addon] Can’t build

Sorry but i don’t have a intel nuc so i can only test it in the hassio VM. I think you have problems with cached files. Pleas remove the repository, restart your system and add the repository again. On the hass.io VM it works like a charm.

most preobably, today it installed. Thanks a lot

The web ui does not load, do I need to put something in config?

http://192.168.1.11:2001 gives

 Not Found

The requested URL was not found on this server.

Homegear 0.8.0-2378 at Port 2001

There is an issue with the folder rights currently. You need to connect via ssh to you hass.io and set the rights manually for the first time:

ssh root@<hassio ip> -p 22222

after the connection you must type ‘‘login’’ to get access to host system. Now you can enter to the homegear container with the following commant:

docker exec -it addon_441b9bcc_homegear /bin/bash

and execute the following lines

chown -R root:root /etc/homegear
find /etc/homegear -type d -exec chmod 755 {} \;
chown -R homegear:homegear /var/log/homegear
chown -R homegear:homegear /var/lib/homegear
find /var/log/homegear -type d -exec chmod 750 {} \;
find /var/log/homegear -type f -exec chmod 640 {} \;
find /var/lib/homegear -type d -exec chmod 750 {} \;
find /var/lib/homegear -type f -exec chmod 640 {} \;

I don’t know why this happens! After my exam on saturday, i will have a further look at this problem again.

take your time, its not urgent for me, thasnks for the help

admin@ubuntu:~$ docker exec -it addon_441b9bcc_homegear                      
"docker exec" requires at least 2 arguments.
See 'docker exec --help'.

Usage:  docker exec [OPTIONS] CONTAINER COMMAND [ARG...] [flags]

Run a command in a running container
admin@ubuntu:~$

Arrrg… i’ve forgott /bin/bash at the end of the command.

docker exec -it addon_441b9bcc_homegear /bin/bash

did but same error, will try now to rebuild, and then to uninstall and reinstall

I am happy to tell you that i have fixed the problem. In version 0.70.4 you can connect directly after start without any modification!

Hi, thanks now it installs. I do not have any devices yet, although when (in Homegear RPC Server menu) I press “ADMINISTRTATION”

I receive

Not Found

The requested URL admin/ was not found on this server.

Homegear 0.8.0-2378 at Port 2001

Mmhhhh… it seems to be the admin ui is not installed correctly. I will have a deeper look at this on sunday.

1 Like

Hi,

the addon doesn’t install on my hassio instance

18-11-26 10:37:28 INFO (SyncWorker_5) [hassio.docker.addon] Start build 89330960/armhf-addon-rpi-homegear:0.2
18-11-26 10:46:07 ERROR (SyncWorker_5) [hassio.docker.addon] Can’t build 89330960/armhf-addon-rpi-homegear:0.2: The command ‘/bin/sh -c apt-get update && apt-get -y install ntp tzdata homegear homegear-nodes-core homegear-nodes-extra homegear-homematicbidcos homegear-homematicwired homegear-insteon homegear-max homegear-philipshue homegear-sonos homegear-kodi homegear-ipcam homegear-beckhoff homegear-knx homegear-enocean homegear-intertechno homegear-influxdb vim less htop’ returned a non-zero code: 100

Host system

Hostname hassio
System HassOS 1.12
Deployment production

Can anyobody help me out if that should work with HM-MOD-RPI-PCB? I am able to receive my device values like switch states and climate temperature/mode, but cannot send anything. I got:
12/26/18 14:42:49.855 Failed to set GPIO with index "1": Device not open.

Hi, any updates on this? Wishing to install it for next weekend, trying to have all up and running by then. Still do not know how to create a user in the server, from hassio

I’m so sorry for that. I have some trouble in my live that’s why i currently can’t spend enough time fixing the issue. When everything got sorted, i like to work again on this problem.

Hi all,

I’ve installed the Homegear Add-on from @kreativmonkey’s repository. I have a MAX Cube, flased with a-culfw that I want to integrate with Homeassistant.

I’m stuck after the installation. According to the supervisor, the add-on is installed and running. When I log into my homeassistant via SSH, I can read the homegear logs in /root/share/homegear/log. It looks like it is running fine.

However, I can’t get to see the RPC UI, I tried all of the following:

  • Click on Open web UI in the add-on’s page within supervisor
  • Click on the Homegear entry in the sidebar of Homeassistant
  • Navigating directly to http://homeassistant.local:2001.

The first two give me a blank page within the HA UI. The third gives a timeout. What should I do to get to this page?

I just downloaded Homematic Manager, and with that tool I’m able to connect to Homegear. Still, I’d love to know how to get to the Web UI of Homegear…

Another question: I am following this guide and I need to use the homegear CLI for that. I assume this lives inside the add-on’s docker container. How do I access that one?

Looks like this add-on is not working anymore.

I get these error messages in the HA add-on:

homegear    | id: ‘homegear’: no such user

This is because homegear was not installed during docker image creation, as the uri in the Dockerfile for homegear is not valid anymore.
This line would be better:
echo 'deb https://homegear.eu/packages/Raspbian/ stretch/'

@kreativmonkey: could you please update your repository?

After many month, i was not able to install homegear an hassio. I would use my max!eq3 heating valves in hassio. if i try to install the home gear plugin i get the following error meassage: The command ‘/bin/bash -o pipefail -c apt-get update && apt-get -y install apt-transport-https wget ca-certificates apt-utils gnupg libzip4 libavahi-client3 libavahi-client-dev insserv’ returned a non-zero code: 100

homegear version i tried to install is 0.72.1
core version 2024.3.2

can anyone help me please?