marcsowen / homebridge-homematicip

Homematic IP plugin for homebridge
Apache License 2.0
78 stars 20 forks source link

HmIP-WLAN-HAP not suported? #10

Closed thecem closed 3 years ago

thecem commented 3 years ago

I tried but get the following logs:

[1/15/2021, 6:35:16 PM] [HomematicIP] Initializing HomematicIP platform...
[1/15/2021, 6:35:16 PM] [HomematicIP] Cannot request: url=https://srv01.homematic.com:6969/hmip/auth/connectionRequest, request="{\"deviceId\":\"XXXXXXXXXX\",\"deviceName\":\"homebridge-homematicip\",\"sgtin\":\"XXXXXXXXX\"}", headers={"content-type":"application/json","accept":"application/json","VERSION":"12","CLIENTAUTH":"XXXXXXXXXXXXXXXXXXXX"}, code=403, message=Forbidden
[1/15/2021, 6:35:16 PM] [HomematicIP] Cannot start auth request for access_point=XXXX-XXXX-A000-215B-E999-XXX

What do you need? let me know....

marcsowen commented 3 years ago

Do you use a PIN? If yes, please remove it for pairing. PIN support is not implemented yet.

thecem commented 3 years ago

I removed it, but it doesn’t work. Do I have to reboot the HAP?

marcsowen commented 3 years ago

Can you try version 0.0.10? This hopefully fixes your problem. If this doesn't work try to configure "access_point" with all upper case letters and without any dashes ("-") in between. This should be taken care of automatically with version 0.0.10 now.

Same rule (all upper-case, no dashes) applies to "auth_token" later as well.

thecem commented 3 years ago

WLAN-HAP is now connected (without PIN).

[1/16/2021, 7:55:46 AM] [HomematicIP] Initializing HomematicIP platform...
[1/16/2021, 7:55:46 AM] [HomematicIP] homebridge-homematicip v0.0.10
[1/16/2021, 7:55:46 AM] [HomematicIP] Press blue, glowing link button of HmIP Access Point now!
[1/16/2021, 7:55:46 AM] [HomematicIP] Press blue, glowing link button of HmIP Access Point now!
[1/16/2021, 7:56:37 AM] [HomematicIP] SUCCESS! Your auth_token is: xxxxxxXxXxXXxx (Access Point ID: 1234-1234-1234-1234-1234-1234, Client ID: 12345678-1234-1234-1234-1234567890). Update 'auth_token' in config and restart.
[1/16/2021, 7:57:56 AM] [HomematicIP] HmIP websocket shutdown...
[1/16/2021, 7:58:07 AM] Loaded plugin: homebridge-homematicip@0.0.10
[1/16/2021, 7:58:07 AM] Registering platform 'homebridge-homematicip.HomematicIP'
[1/16/2021, 7:58:08 AM] [HomematicIP] Initializing HomematicIP platform...
[1/16/2021, 7:58:08 AM] [HomematicIP] homebridge-homematicip v0.0.10
[1/16/2021, 7:58:09 AM] [HomematicIP] Device not implemented: HmIP-MOD-TM - Garage Door 1 via type TORMATIC_MODULE
[1/16/2021, 7:58:09 AM] [HomematicIP] Device not implemented: HmIP-MOD-TM - Garage Door 2 via type TORMATIC_MODULE
[1/16/2021, 7:58:09 AM] [HomematicIP] Device not implemented: HmIP-STHO - Sens Out STHO via type TEMPERATURE_HUMIDITY_SENSOR_OUTDOOR

Devices not implemented right now:

HmIP-MOD-TM: TORMATIC_MODULE HmIP-STHO: TEMPERATURE_HUMIDITY_SENSOR_OUTDOOR

Thanks so far, if you need log or tests let me know! Would be nice to have both of them working...

marcsowen commented 3 years ago

Great to hear! We will try to implement those devices but probably need your help to test it since we don’t own these ourselves.

thecem commented 3 years ago

So please let know if what do you need, I will send you the logs and details. THX!