Add econet bulldog gatelock#2998
Open
Econet-Controls-Inc wants to merge 5 commits into
Open
Conversation
Adds a new Matter Edge driver for the Econet Bulldog GateLock (Vendor ID 0x1568 / Product ID 0x000A). The driver subscribes to: - DoorLock.LockState -> lock capability - DoorLock.DoorState -> contactSensor capability (reed switch via Matter) - PowerSource.BatPercentRemaining -> battery capability - GeneralDiagnostics.ActiveHardwareFaults -> tamperAlert capability (fires "tampered" when kTamperDetected is present in the list, "clear" when it is removed; firmware sets this on a 4-strike keypad brute-force trip and clears it when the lockout expires) - DoorLock.DoorLockAlarm event (legacy fallback for older firmware builds that only emit the event path) Implemented on st.matter.driver so the Matter secure session is established per device.
- Revert init.lua to drop GeneralDiagnostics.ActiveHardwareFaults subscription that crashed the driver on load - Use the generic profile filename matter-lock-contact-tamper.yml (previous gatelock-matter.yml predated the rename) - Update fingerprints.yml to reference the renamed profile - Restore README tamper-alert section to the DoorLockAlarm event path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Check all that apply
Type of Change
Checklist
Description of Change
New Matter Edge driver for the Econet Bulldog GateLock smart door lock
(Vendor ID 0x1568 / Product ID 0x000A, ma_doorlock device type).
Capabilities exposed:
lock— DoorLock.LockStatecontactSensor— DoorLock.DoorState (driven by the lock's reed switch)tamperAlert— GeneralDiagnostics.ActiveHardwareFaults attribute(primary, supports both detected and clear states) + DoorLock.DoorLockAlarm
event (legacy fallback for older firmware builds)
battery— PowerSource.BatPercentRemainingfirmwareUpdate,refreshWhy a custom driver:
The lock exposes its physical reed switch via the standard DoorLock.DoorState
attribute, which the stock matter-lock driver does not surface as a contact
sensor. Tamper is wired through GeneralDiagnostics so the SmartThings UI
tracks both "tampered" and "clear" states from the attribute lifecycle rather
than just an event edge.
Implemented on
st.matter.driverso the Matter secure session attaches perdevice.
Summary of Completed Tests
Tested against an Econet Bulldog GateLock running production firmware,
paired to a SmartThings hub (V3) via Matter commissioning over BLE.
app shows "Bulldog GateLock" with correct branding.
servo and the LockState attribute updates within 1 second; physical lock/
unlock from the keypad also reflects in the app.
drives the contactSensor tile open/closed in real time.
~20 s triggers the keypad's 4-strike brute-force lockout; firmware adds
kTamperDetected (10) to ActiveHardwareFaults; SmartThings tile transitions
to "tampered". When the lockout expires (~10 s), firmware removes the
fault and the tile returns to "clear".
that only emit the DoorLockAlarm event still trigger "tampered" via the
retained event handler.
attributes.
No regressions observed in 24 hours of continuous device usage.