Skip to content

Comments

[matter] Add support for door lock bolting (EU style locks)#19386

Merged
lsiepel merged 7 commits intoopenhab:mainfrom
digitaldan:matter-doorlock-bolting
Feb 10, 2026
Merged

[matter] Add support for door lock bolting (EU style locks)#19386
lsiepel merged 7 commits intoopenhab:mainfrom
digitaldan:matter-doorlock-bolting

Conversation

@digitaldan
Copy link
Contributor

No description provided.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
@digitaldan digitaldan requested a review from Copilot September 24, 2025 21:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for door lock bolting functionality to the Matter binding, specifically targeting EU-style locks that support both latching and bolting operations. The changes introduce a new channel for bolt state control and modify the existing lock state behavior to differentiate between latched and bolted states when the unbolting feature is available.

  • Adds a new doorlock-boltstate channel for controlling the bolt state of EU-style door locks
  • Updates the existing doorlock-lockstate channel to represent latch state when unbolting is supported
  • Implements proper state mapping for different lock states (LOCKED, UNLOCKED, UNLATCHED, NOT_FULLY_LOCKED)

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
DoorLockConverter.java Core implementation adding bolt channel support and state mapping logic
DoorLockConverterTest.java Comprehensive test coverage for new bolt functionality and state transitions
MatterBindingConstants.java Added constants for the new bolt state channel
channels.xml Added new bolt state channel type definition
matter.properties Added internationalization strings for bolt state channel
README.md Updated documentation to reflect the new bolt state channel

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/matter-binding/164601/214

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
@digitaldan digitaldan requested a review from Copilot September 24, 2025 21:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
@digitaldan digitaldan marked this pull request as draft September 25, 2025 14:32
@jlaur jlaur changed the title [matter] adds support for door lock bolting (EU style locks) [matter] Add support for door lock bolting (EU style locks) Sep 26, 2025
@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Oct 4, 2025
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/nuki-binding-with-new-smart-lock-ultra-pro-go/166635/15

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/matter-binding/164601/380

- Resolved conflicts in MatterBindingConstants.java by including both the new bolt state channel and the additional channels from main (doorstate, alarm, lockoperationerror)
- Resolved conflicts in matter.properties by including all channel type descriptions
- Resolved conflicts in DoorLockConverter.java by integrating bolt state functionality into the more advanced version from main that includes user management and PIN code features
- Updated DoorLockConverter to support unbolting feature with proper lock state handling (LOCKED, UNLOCKED, UNLATCHED, NOT_FULLY_LOCKED)
- Took main version of DoorLockConverterTest.java as it matches the implementation
- Added doorlock-boltstate channel to README.md table and updated lockstate description
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
@digitaldan digitaldan marked this pull request as ready for review January 14, 2026 18:13
@digitaldan
Copy link
Contributor Author

This one is ready for review, thanks!

Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment, otherwise LGTM

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
@digitaldan
Copy link
Contributor Author

Thanks!

@lsiepel
Copy link
Contributor

lsiepel commented Jan 26, 2026

This one fell of my radar, could you resolve the conflict ?

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
@digitaldan
Copy link
Contributor Author

Me too! Updated, thanks.

@lsiepel lsiepel merged commit 377a5c5 into openhab:main Feb 10, 2026
2 checks passed
@lsiepel lsiepel added this to the 5.2 milestone Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An enhancement or new feature for an existing add-on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants