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

Enable adding multiple homekit-ratgdo's to HomeKit #31

Merged
merged 1 commit into from Dec 13, 2023

Conversation

Avi0n
Copy link
Contributor

@Avi0n Avi0n commented Dec 13, 2023

It wasn't possible to add more than one homekit-ratgdo device to HomeKit because HOMEKIT_CHARACTERISTIC(NAME) was not unique. This change adds a unique name based on ESP.getChipID()

src/homekit.cpp Outdated Show resolved Hide resolved
src/homekit_decl.c Outdated Show resolved Hide resolved
@donavanbecker donavanbecker mentioned this pull request Dec 13, 2023
src/homekit_decl.c Outdated Show resolved Hide resolved
src/homekit.cpp Outdated Show resolved Hide resolved
Switch to snprintf. Use chipId for SERIAL_NUMBER.

Rename to "Garage Door XXXXXX"

Add unique HK device name from .getChipID()
src/homekit_decl.c Outdated Show resolved Hide resolved
src/homekit.cpp Outdated Show resolved Hide resolved
src/homekit.cpp Outdated Show resolved Hide resolved
@thenewwazoo thenewwazoo merged commit d1e7645 into ratgdo:main Dec 13, 2023
@Avi0n Avi0n deleted the enable-multiple-ratgdos branch December 13, 2023 20:09
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

Successfully merging this pull request may close these issues.

None yet

3 participants