Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Integration of HomematicIp Sensors #24

Open
46lupo opened this issue Nov 25, 2022 · 4 comments
Open

Integration of HomematicIp Sensors #24

46lupo opened this issue Nov 25, 2022 · 4 comments

Comments

@46lupo
Copy link

46lupo commented Nov 25, 2022

First of all: Great great work!!! I'm so glad it works for my setup (I've got 10 Somfy RTS and 8 Elero Blinds on a V6 Gateway). Thanks to your effort I now can operate all these blinds via HomeKit (which I never dared to even dream of).
But I also have two Door/Window-Contact Sensors (HMIP-SWDO) and a Luminance-Sensor (HMIP-SLO) in my Mediola-IqontrolNeo Environment, which I would like to "see"/read out in Home-Assistant/Homekit.
Is there any chance to have the class "HM" integrated into your fabulous Program?

@rorso
Copy link

rorso commented Nov 25, 2022

HomeMatic devices have several working solutions to get them into Home Assistant, that's why the demand to implement them in the mediola2mqtt gateway is low.

This gateway is most usable for the task to make ELERO devices available for which there are just two proprietary solutions available and where the Mediola gateway is essentially the only available RF device that is able to talk the encrypted protocol. Choosing MQTT as mediator makes it useful for a variety of Home Automation Solutions besides Home Assistant.

Have you seen this HA Add-On?

RaspberryMatic

If you do not currently use a HomeMatic CCU, this does an emulation within HA. I.e. you can natively configure and use your HM devices within Home Assistant without the need to sew them there via three hops (Mediola -> mediola2mqtt -> MQTT -> Home Assistant). You would need an RF USB antenna like this HmIP-RFUSB

Certainly you would have to learn them in again.

To interact with the V6 gateway to access the learned HM devices via the mediola2mqtt gateway is technically possible but not currently implemented.

But since the source is just a single Python script you might be interested to fork this project and add some lines that handle the necessary API calls with the Mediola gateway. It's not as complicated as it seems. I did my own enhancements to fit my personal need and add some "generic 433 MHz devices". It was quite fun to learn about this matter.

To get this working needs someone who does have some HM devices at hand to check this out. I guess andyboeh has none, otherwise it would have been implemented yet. And neither do I, so I can't help out.

@46lupo
Copy link
Author

46lupo commented Nov 26, 2022

Thanks for your reply. I actually do have a CCU3 with many Thermostats and Sensors as well - which I am using via the HA-Add-on as well (works great).
My remaining problem is: The 3 Homeamtic-sensors connected to the mediola-gateway are vital to my automations (currently running via the IqontrolNeo-App). The Luminance-Sensor triggers the opening/closing of the blinds, while the Door-Open-Sensor stops it.
Once again - Thank you all for your great efforts!!

@andyboeh
Copy link
Owner

andyboeh commented Nov 26, 2022

Actually, I own a bunch of Homematic devicec (classic), but as @rorso pointed out, it's not worth the effort given the other solutions are way more capable and mature. But feel free to implement it - the HM API is one of the better documented APIs in the Mediola description.

I use the Mediola only for Somfy RTS and for Elero and I wish I could replace it (well, Somfy would be easy). I'm not very satisfied with neither the gateway nor my hackish integration.

The "good" thing is: My blinds are starting to break and every broken one will be replaced by a non-Elero controller.

@rorso
Copy link

rorso commented Nov 26, 2022

You could start enabling the "debug" setting within the add-on and watch the log. If the V6 (and the add-on) is configured right, you should note some "Received Message:" entries with proper data attached for the HM sensors every now and then that "should" get broadcasted by the V6 gateway on UDP Port 1901.

If you do - can you post a representative set of samples and maybe an explanation of what you would have expected for each of the sensors?

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

No branches or pull requests

3 participants