marcsowen / homebridge-homematicip

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

Homebridge - Homematic IP - Pairing & creating AUTHTOKEN #482

Open AndyBe13 opened 8 months ago

AndyBe13 commented 8 months ago

Problem pairing with homebridge while pairing - pairing impossible

[HomematicIP] Cannot lookup device: request={"clientCharacteristics":{"apiVersion":"10","applicationIdentifier":"homebridge-homematicip","applicationVersion":"1.2.0","deviceManufacturer":"none","deviceType":"Computer","language":"de_DE","osType":"Linux","osVersion":"6.1.0-rpi6-rpi-v8"},"id":"3014F711A00003D70994"}, headers={"Content-Type":"application/json","Accept":"application/json","VERSION":"12","AUTHTOKEN":"","CLIENTAUTH":"1772BD67E3514706CB40BC257BFE926472FC86DAECD142C737CFAAD2479EB90C3891F4B5EED1B518C06A0566B36FF9357AC99692603C795E696FF709C3F494B5"}, code=400, message=Bad Request, json={"errorCode":"INVALID_REQUEST"}

No more Pin available - only user Administrator!

Hope a solution will be available Thanks AB

fuzzyly commented 8 months ago

There is a solution. Not using the pin but the other solution mentioned:

{ "platform": "HomematicIP", "name": "HomematicIP", "access_point": "", "auth_token": "" }

If you're doing it right, then it works. 1 Configuring plugin with the SGTIN (leaving AUTH_TOKEN empty) save & restart 2 opening logs and push the button on the access point when prompted, copy AUTH_TOKEN given in the logs. 3 insert it in configuration AUTH_TOKEN and restart: everything is visible in HomeKit

In the Homematic app a new user homebridge-homematicip with restricted access is also visible.

Thank you for doing this plugin!

AndyBe13 commented 8 months ago

Thank you! Works perfect! Mit freundlichen Grüßen Andreas Berndorfer

Am 25.12.2023 um 23:57 schrieb fuzzyly @.***>:

{ "platform": "HomematicIP", "name": "HomematicIP", "access_point": "", "auth_token": "" }