Homegear is a software which acts as a hub for multiple protocols like HomeMatic or Z-Wave.
Currently these protocols are supported:
HomeMaticBidCoS
HomeMatic Wired
Philips hue
Z-Wave
Intertechno
KNX
M-Bus
Nanoleaf
Sonos
To Do / Known Issues
SSL is not implemented (must be configured by /config/homegear/config)
Authentication is not implemented (must be configured by /config/homegear/config)
Ingress not implemented
Database are not copied to /config/homegear/data at startup
Data & config are only copied at startup, not at shutdown
Installation
Add https://github.com/tringler/hassio-homegear to your Hass.io add-on repositories.
Install the “Homegear” add-on. This process can take up to 10 minutes depending on your hardware.
Start the “Homegear” add-on.
Open the Web UI in order to open the Homegear Admin UI to configure your devices.
First start & Migration
All data in /config/homegear/config will applied to /etc/homegear before homegear is started.
All data in /config/homegear/data will applied to /var/lib/homegear before homegear is started.
If you migrate an existing Homegear installation you need just to create the folders /config/homegear/config and /config/homegear/data
and migrate your data from /etc/homegear to /config/homegear/config and /var/lib/homegear to /config/homegear/data BEFORE you start the addon.
Otherwise /config/homegear/config and /config/homegear/data will be populated with Homegear default data after the first start.
Configuration
Option: ssl
Not implemented yet.
Option: devices
You need to add the interface you are using to communicate i.e. by HomeMaticBidCoS.
On Hass.io navigate to Hass.io --> System and click on hardware to get the right name. (i.e. ttyUSB0)
Thanks for your work - I tried to install this addon, but I have no luck for now. Installing works, but when I start the addon, it complains that the folder “/config/homegear/config” doesn’t exist. If I create it manually, the logs say:
20-01-05 20:18:37 INFO (SyncWorker_0) [hassio.docker.addon] Start Docker add-on local/armv7-addon-homegear with version 0.1
20-01-05 20:19:07 INFO (SyncWorker_9) [hassio.docker.interface] Stop addon_local_homegear application
20-01-05 20:19:18 INFO (SyncWorker_9) [hassio.docker.interface] Clean addon_local_homegear application
20-01-05 20:19:18 WARNING (SyncWorker_13) [hassio.docker.interface] Can't grep logs from local/armv7-addon-homegear: 409 Client Error: Conflict ("can not get logs from container which is dead or marked for removal")
Feel free to test my Addon, it’s also based on the original docker image.
For me it’s working, but because it’s the first time I am working with docker, it’s definitively not perfect
Just wanted to say thanks to @Venice for the plug-in.
I want to move from fhem to Homeassistant + Homegear and am still a bit on overwhelmed on how to configure and install things.
So the Addon saved my day.
Thx for your reply just noticed it in the meantime
Couple a years ago I set up homegear with max! and it worked. But this time I’m struggling. I have a flashed cube as a cunx but I’m unable to pair the devices. As you mentioned in the readme you’re using it for your max! components. Is there a chance that you can help me/ give me some hints? Thank you very much.
Ok. So maybe this is a problem as well. Yesterday the flashed cube was correctly connected to homegear and shown in the list of gateways. Now I have a lot of connection failures.
Did you change anything else in the homegear setup beside the max! family file?
You’ve bought a CUL-Stick which is connected via USB to your hostsystem (Pi?) and integrated as a CUL in the max! family config file. Am I right?
Another question:
How do you handle weekly schedules? Do you send them via homegear to the valves and store them direct on each device? Because a year ago this didn’t work, I got always an error in homegear.
I really appreciate all help because I don’t want to change all my valves and want to integrate them properly to Hassio. Thank you
no I just changed the max familie file and added the serial device to it.
So it should also work with your cube, because it’s only a network device. It could be that the network layer of docker is preventing a correct communication (just a Idea I am not sure).
So you can connect your cube? Is it possivle to pair a valve to it?
Can you post some log files ?
Can you try to add the CUBE via Homegear Admin UI?
Yes I have arduino based CUL stick which is directly connected via USB to my Homeassistant Raspberry Pi.
You can configure shedules via Homegear Admin UI, it’s working as expected for me
First time the cube is connected well to homegear and is shown in the gateway section with a green tick.
But after a while it’s not working anymore and the cube isn’t connected to homegear.
The logfile says:
"12/19/20 17:43:04.216 Module MAX: CUNX "Max-CUNX": Error in file PhysicalInterfaces/Cunx.cpp line 166 in function void MAX::Cunx::reconnect(): Could not connect to server 192.168.178.xxx on port 2323. Poll failed with error code: 1."
"12/19/20 17:44:05.466 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address"
Sounds very promising. Maybe it’s worth giving it a try and buy a CUL Stick, because i really want to integrate them to HA. Your setup is working stable, that’s good
Lucky me - I’ve found a CUL-Stick in the Box of all my stuff. And what should I say - It works
Whats the best way to backup the homegear configs and all that belongs to it? Is it included in the snapshots from hassio or is it better to make a separat backup in homegear? How do you guys solve this?
Is there a Thread/Forum for max! related topics? (e.g. How to change the paramsets of the Thermostats, etc.)