Skip to content
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

Zigbee Device Support for newer Firtzbox models #337

Open
metallus42 opened this issue Oct 8, 2024 · 4 comments
Open

Zigbee Device Support for newer Firtzbox models #337

metallus42 opened this issue Oct 8, 2024 · 4 comments

Comments

@metallus42
Copy link

I am trying to run my ZIGBEE Devices that i conneted to my 5690 Pro on FritzOS 7.62 trough this Plugin. I am pretty sure to have set the AIN etc. correctly but still get
[FritzPlatform] "NameOfDevice" (smarthome-lightbulb): Can not find light data - "accType" and/or options correct?
For every Device I try to connect. COntrolling them directly on the Firitzbox works perfectly.

I have tested this with lightbulbs with brightness control and and without temperature control, buttons and motion sensors.

@Xipho14
Copy link

Xipho14 commented Nov 11, 2024

I have the same problem. Does anyone already have an idea?

@Stationary-1
Copy link

Stationary-1 commented Dec 16, 2024

This actually does work for me with Homebridge v1.8.5, UI 4.65.1 and the plugin 6.0.19.

What did the trick for me was not to use the 17 digit AIN as displayed in FritzOS 7.62 (on the 5690 Pro), but the 19 digit UNIT number, as indicated in the AHA manual published by AVM:
"1.2.1 Identifier für Gerät und Unit
Zigbee Identifier Beispiel:
Gerät: Z0017880108AFB58C
Unit: Z0017880108AFB58C0B
Hinweis: der Unit-Identifier des Zigbee-Geräts ist 2 Zeichen länger, insgesamt immer 19 Zeichen"

-> For a zigbee device you need to add "0B" to AIN displayed in the Fritzbox, i.e. you need to use the unit identifier, not the device identifier (AIN).

This is addressing is also what the Fritzbox actually uses internally, when you look at the support log generated by the Fritzbox. It just does not display it properly. I have already opened a ticket with AVM in this respect.

Moreover, Philips HUE Zigbee lightbulbs should be registered in the homebridge plugin as "Grouped Device" "Switch & Lightbulb".

@metallus42
Copy link
Author

metallus42 commented Dec 16, 2024

@Stationary-1 thanks for the input on this! I just tried an it did not work. Adding "0B" to my AIN Numbers i get "Leselampe (smarthome-lightbulb): Can not find device with AIN: xxxxx0B". 5690Pro 8.0.1, Hb 1.8.5, Plugin 6.0.19.

However I had to look into the Log of my Fritzbox since the two digits added to the AIN seem to be diferent. Mine adds 01. I entered that into the plugin and it works!

So for anyone reading this and needing to do it:

  1. Fritzbox UI -> Help & Info -> Frizbox support -> Genrate support files (normal ones) -> download -> open
  2. Strg+F for your ANI you got from the UI. That will give you the ANI and the ANI with the two extra digits
  3. Enter that into the plugin
  4. boom it works :)

@Stationary-1
Copy link

Good that it works for you now and that you found the log file and the correct number.
Interesting though that my 5690 precisely adds 0B as indicated in the AHA api manual, while yours adds 01.
However, in any case, zigbee devices need the 19-digit number found in the FritzBox support data and not the 17-digit number openly show on the smarthome information pages of the FritzBox.
Good also, that you could confirm the principle.

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

No branches or pull requests

3 participants