Skip to content

Enable usage of zigbee install codes - #6791

Merged
manup merged 2 commits into
dresden-elektronik:masterfrom
SwoopX:installcodes
Apr 17, 2023
Merged

manup merged 2 commits into
dresden-elektronik:masterfrom
SwoopX:installcodes

Conversation

@SwoopX

@SwoopX SwoopX commented Mar 9, 2023 •

Copy link
Copy Markdown
Collaborator

As deconz was missing a native way to use zigbee install codes, this PR adds the respective capability. The code to derive the required hash is ported from the zigpy implementation.

It has been tested with the reference codes from zigbee smart energy standard and also with some device codes on Ubuntu 20.04 LTS. Also, A Bosch Thermostat II has been successfully paired.

It is important to include the CRC for the correct calculation, so all characters of the code are required.

grafik

grafik

@SwoopX
SwoopX requested a review from manup March 9, 2023 14:21
@manup manup added this to the v2.22.0-beta milestone Mar 16, 2023
@manup

manup commented Mar 16, 2023

Copy link
Copy Markdown
Member

Awesome, will try this out after the stable release. I have a few small change requests in mind for loading of the library (to use dynamic linking) but overall the PR looks good.

@SwoopX

SwoopX commented Mar 16, 2023

Copy link
Copy Markdown
Collaborator Author

Awesome, will try this out after the stable release. I have a few small change requests in mind for loading of the library (to use dynamic linking) but overall the PR looks good.

Sure, just bring it on.

@Schnabulation

Copy link
Copy Markdown

No way! FINALLY! I hope this gets merged and then included into the Home Assistant Add-On. Thank you for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants