-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Home control unit #542
Comments
I am not able to make any tests or reverse engineering because I don't own the device. I have no idea how and whether the connection works at all. If somebody could do some research and tell me what to do, I could implement it. |
I tried hmip_generate_auth_token.py with my HCU and it does not work.
Any tips what I can test or how I can capture/decrypt the communication ? |
I can propose Charles proxy:
I would also be interested in seeing it :-) |
I have created a PR in HomeAssistant (home-assistant/core#132537) to bump homematicip to latest version. I think you should be able to use the HCU after that in HomeAssistant. |
@hahn-th the PR fixes the token generation only to make hmip_generate_auth_token.py work ! |
Okay. Tell me when you're ready. |
I just created the new PR. I added the accesspoint-id to all headers and created a new device type ACCESS_POINT. |
hm, some aio tests seem to fail. |
ok, all done |
if someone could briefly explain how to install the new version in HA, that would be really great :) |
HI all, you can try this branch https://github.com/hahn-th/core/tree/issue_121841 to test connection to new HCU. Thanks! |
So this new version is only for developers, if I understand correctly, not for us normal users, right? |
If you tell me it is working, because you have testet it, it gets available for all users. I need someone to try it out from the HCU perspective |
Unfortunately I can't tell you that because I have no idea. I thought version 1.1.5 could be integrated into the existing installation, but apparently it's more complicated than that ;) |
At the end it is like that. I would like to add to the documentation of HASS, that the HCU is supported. But I can't tell you, if it is true. |
I would like to test it, but I’m just a regular user and don’t have a developer account. However, I must admit that I don’t understand how to install the regular version in Home Assistant. |
@hahn-th Best regards, |
I have bought a HCU (firmware version 1.2.6) recently and can participate in testing. I have a Home Assistant running, too. I use my Homematic IP AP for several years now with the REST API in combination with Node-RED and it (almost ;-) never failed me.... |
Hi @WaldoPepper, when this PR home-assistant/core#133269 is merged it should work. |
I started with an attempt to generate the access token, unfortunately to no avail: At this point I have a plain box, LAN-only (no Wifi), online mode without remote access, admin account only, no PIN. Is there a certain way I have to interact with the hardware during token generation? I remember that with the AP there was some "button-pressing" involved... |
Hi, could you try pressing the button directly on the HCU and then establishing the connection? There is a button on top of the HCU that can be pressed for this purpose. |
Progress: found out, that the remote access ("Fernzugriff") has to be activated: After doing this, I was able to generate the token (call for button pressing came as expected :-) Listing the devices I have connected succeeded: After doing this, I deactivated the remote access and another attempt to list the devices failed: This leaves me behind with some mixed feelings about the HCU: I was hoping for a truly local solution, including API access, but it seems the access is still using the eQ-3 homematic servers. But otherwise I highly regard your efforts for creating this adoption, I appreciate it very much... |
That’s definitely good news. I’d love to test it as well, but I’m already stuck because I don’t know how to install the “homematicip-rest-api. |
First, you need a running Python environment (on Windows I would recommend Anaconda). If you have this installed, "git clone" the repository or, if you are unfamiliar with git, just download the zip file: Unpack the zip. Open an "Anaconda Prompt" from the Windows StartMenu and enter the folder It is good practice to create an "environment" to collect all the prerequisites you need for using the API, so call e.g. You need the API python wrapper, so in your now activated environment do You are now ready to proceed as shown in the screenshots above. |
Thank you for the explanation. Unfortunately, I find it a bit too complicated. I can imagine that many more people would test or use it if it could be easily installed via HACS. Is there a reason why it doesn’t work through HACS in Home Assistant? |
There is another PR for bumping homematicip to 1.1.6 (home-assistant/core#135649) which gets merged this morning. With next version of HomeAssistant it should work. |
Hello,
is there a possibility to add the new Homematic IP central unit as well? This is about the Home Control Unit.
Best regards,
Sascha.
The text was updated successfully, but these errors were encountered: