No devices created in homematic add-on?

I have homeassistant 0.109.6 with homematic integration and hmip-rfusb.
I habe 2 hmip-bwth, web ui of homematic is working and there are created 2 entities for each hmip-bwth with correct values. I can change the values in home assistant but for these entities there are no devices so that i cannot change the room for example.
Why are the devices missing but entities are present?

My config of add in:
1 rf_enable: false
2 wired_enable: false
3 hmip_enable: true
4 rf:
5 - type: CCU2
6 device: /dev/ttyAMA0
7 wired:
8 - serial: xy
9 key: abc
10 ip: 192.168.0.0
11 hmip:
12 - type: HMIP_CCU2
13 device: /dev/ttyUSB0
14 regahss_reset: false

and in configuration.yaml:
homematic:
interfaces:
hmip:
host: core-homematic
port: 2010
username: Admin
password: xxxxxxx
resolvenames: json
groups:
host: core-homematic
port: 9292
username: Admin
password: xxxxxxx
resolvenames: json
path: /groups

Is it correct, that only entities are created and no devices?

2 Likes

I have the same question and haven’t found any answer yet.

I got the same question. I got arround 50 Homematic IP devices, and they are all working with HA. However i can’t use for example scenes, because only entities are created and now devices.

Cheers

Andreas

This behavior is correct. The HomeMatic integration is an old integration that has not yet been upgraded to provide devices.

Ah, are you one of the maintainer of the homematic integration? I saw your username and userpicture a lot of times in the last days :stuck_out_tongue: .

Is there any issue i can submit a bounty on, to get this topic more attention? If not is there a keyword for the transition from old integration to new? So i can submit a feature request.

(Sorry i am absolutely new to HA, i am coming from openHAB in the hope that HA would get more attention in terms of developers and development)

Cheers

Andreas

It’s Pascal (one of the HA-employees) and me. He once said he’s working on it, but hasn’t given any details. As he’s really busy with other HA-related stuff I doubt you should hold your breath.
Since I’m more responsible for the module that handles the communication I’m not really in the position to modify the integration. I think the main problem is the config UI. All the various options on how to configure the integration make it hard to create a simple UI. Some of theparameters required for complicated setups would need to be removed for a simple UI. And I doubt the users who depend on this would like such a change. So for now I think we first have to wait until Home Assistant provides more complex configuration UI options.

yeah HM is just the biggest Smart-Home-System in Germany, Austria, Swiss … (120 Mio People) … so :confused:

just saying…

My suggestion would be, that someone creates a custom component for HomeMatic that’s so good, that the current implementation can eventually be replaced by the custom component. So what we need right now would be someone who has the time and skill to do this. :man_shrugging:

yea guess thats the problem with all free software.

so my suggestion would be to create a paid module store - and the problem is gone in a few days :wink:

homematic hardware is relatively expensive anyway … so i would be really happy to spend $39 once for such an (exotic?) module - or lets say $9.99 a year

I’ve started working on a mqtt bridge for homematic to combat this problem.
I don’t really like python which is why I’ve implemented it as an external application instead of a component. Right now I only have implemented support for the HmIP-eTRV-2 and HMIP-SWDO as these are the only products I’m using.

You can find it here. There is also a docker image available with the tag maxjoehnk/homematic2mqtt:latest.

1 Like

Are you aware that there already is a project for HomeMatic + MQTT? I have never used it, but you might give it a try before reinventing the wheel. This is the project I’m talking about: https://github.com/owagner/hm2mqtt

Yeah I’ve seen that. It doesn’t seem maintained and is written in Java.
There is also https://github.com/hobbyquaker/hm2mqtt.js but it has been given up on in favor of a Node-Red addon.

As I would like to keep all my automations in Home Assistant and don’t want to build the homematic - mqtt bridge in Node-Red I’ve started with this new project.

1 Like

Fair enough. In case you want to extend the support for devices (at least it looks as if support has to be added for specific devices), you might want to take a look at my collected paramsets here: https://github.com/danielperna84/pydevccu/tree/master/pydevccu

And while I’m at it, there’s yet another project that does HomeMatic -> MQTT: https://github.com/mtdcr/homematic-mqtt-bridge
It doesn’t support the devices you care about though I think, so it’s probably irrelevant for you as well. Just posting it here for completeness.

1 Like

just to clarify (before spending time on it^^) - do i get you right; with this solution there are devices created properly for HM within HA ? not just the entities ?
and all HM-devices are working out of the box? or do you need to maintain every single one?

Yes. My service creates devices via the mqtt discovery feature.

This is how it looks like:


But the devices I support are currently only the two devices you see in the screenshot as those are the only devices I have to test.
Also I’ve started to rely on CCU-Jack as it is easier to work with. There is still support for the native xml and json api of homematic but the jack api is more reliable.

I might be able to change how I announce the devices so it works out of the box for all devices, but currently I’m not working primarily on this project. If you could tell me which devices you need I might be able to extend support for those though.

1 Like

Hello,

I would like to use your addon. Is it possible to install the whole thing in Home Assistant as HACS or so (there are also Docker running) then can be installed CCU-Jack on the CCU and your addon in Home Asisstant.

Currently I can not even find a release of your version -.-

Hi,

I don’t think this can run as a HACS Addon as it requires the addon to be python code.
I’ve already thought about providing a Hass Addon but I need to setup a test environment with hass running to test it first.

There is a built docker image available on DockerHub (even though the badge shows repo not found which is kinda weird). You can find it here but there is no arm version currently.

While I have not tagged a release yet, you can just pull the latest master and run yarn && yarn start.
I should probably documentate how to run the service without docker.

Hi, I am startin with HA. Coming from IObroker. I have 40 devices from Homematic and I will be happy about better integration of them…

Hi Guys, is there anything new in 2022? I want a simple automation which triggers a homematic switch from a shelly device, but as there is no homematic device (just an entity…) its hard for me.

Edit: I made it by choosing device in the GUI, change to YAML view and add:

type: toggle
device_id: Eingang_Schalter_Homematic
entity_id: switch.00085d899dbXXX
domain: switch

Still, the question remains, any news on devices from Homematic CCU?