marcsowen / homebridge-homematicip

Homematic IP plugin for homebridge
Apache License 2.0
76 stars 18 forks source link

Homematic IP Hoobs Issue #156

Open Nickes1990 opened 2 years ago

Nickes1990 commented 2 years ago

Hi i am trying to implement a Homematic IP Plugin into my Hoobs System. ( Homematic IP Access Point (Cloud)

I followed the Installation and have received my Auth Token I have put the Auth Token into the console and now i get the following feedback from the console:

Now i get the following Feedback:

46Homematicip BridgeHomematicIPHomematicIP response is incomplete or could not be parsed: false

Do I have to open some Ports or what meight it be ?

Could someone give me a short response how i have to put the AUTH Token into the console? Maybe i did something wrong

Homematicip BridgeHomematicIPHmIP websocket shutdown... 12.7.2021, 20:27:43Homematicip Bridge starting 12.7.2021, 20:27:45Homematicip BridgeLoaded plugin 'homebridge-homematicip' 12.7.2021, 20:27:45Homematicip BridgeLoading 1 platforms... 12.7.2021, 20:27:45Homematicip BridgeHomematicIPhomebridge-homematicip v0.5.0 12.7.2021, 20:27:46Homematicip BridgeBridge is running on port 52826. 12.7.2021, 20:27:46Homematicip BridgeHomematicIPHomematicIP response is incomplete or could not be parsed: false

I

marcsowen commented 2 years ago

That's strange and might be an issue with the HomematicIP cloud. If you have received your token, include it in your config like such:

{
    "platform": "HomematicIP",
    "name": "HomematicIP",
    "access_point": "<your access point ID>",
    "auth_token": "<your API auth token>"
}

Usually I get this kind of error message when a PIN is required. But actually you only need the PIN if you initially want to receive the AuthToken - but you have already received it, so everything should be fine.

marcsowen commented 2 years ago

I added more logging with version 0.5.2 when the HmIP-Cloud reports errors. Could you try again?

ghost commented 2 years ago

I have the same problem

marcsowen commented 2 years ago

@CrossOverRide Did you check whether you spelled "HomematicIP" with capital "IP" (not "homematicip")? Make sure to remove the "<" and ">" from my config example. Just put in the plain IDs between the parentheses. Does the problem still persist?

Binog commented 2 years ago

Hey, Same problem here: before there is an error: `[20.12.2021, 15:07:12] [HomematicIP] Cannot request: url=https://srv07.homematic.com:6969/hmip/auth/connectionRequest, request="{\"deviceId\":\"ff291f85-91b8-498c-8f2e-829f80bf7f3f\",\"deviceName\":\"homebridge-homematicip\",\"sgtin\":\"3014xxxx\"}", headers={"content-type":"application/json","accept":"application/json","VERSION":"12","CLIENTAUTH":"xxxx","PIN":"xxxx"}, code=400, message=Bad Request [21.12.2021, 13:22:42] [HomematicIP] Cannot start auth request for access_point=3014xxxx [HomematicIP] HomematicIP response is incomplete or could not be parsed: false

Haven,t got a message with "Press the Bottom", yet! Could You help with it?

marcsowen commented 2 years ago

Hi @Binog,

please check your PIN and SGTIN again. If there is no system PIN set, please remove this settings altogether. Do you have more than one AccessPoint?

Binog commented 2 years ago

Hey marcowen. Thanks for the reply. There is no difference between remove string-PIN. And no, there ist only one AP. mere problem is, im remotecontroling at the moment, so I can only access the SGTIN via the app. but it looks fine. Or is it an other SGTIN than on the device?