Gatekeeper
iButton door entry system for common rooms.
Install / Use
/learn @crawford/GatekeeperREADME
Gatekeeper
Overview
This is a door entry system for CSH's common rooms. This allows members to gain access to common rooms using just their iButtons, eliminating the need for keys. The hardware reads iButtons and authenicates against the central access server using XBees to wirelessly communicate.
Features
- Server can query door state (locked, unlocked)
- Server can send commands to doors (lock, unlock, pop)
- Doors can store a local access list
- Users on this list have 24/7 access
- Does not require the network to authenticate users
- Doors can query the access server to determine if users are allowed access
- Access server can push local access lists to each door
- Doors can flash error codes using an LED
Protocol
The message frame appears as follows:
<pre> +---------+----+--------------------+------------+ | Command | ID | Payload (Optional) | Terminator | +---------+----+--------------------+------------+ </pre>Terminator: \n (newline)
- The command specifies which operation needs to be performed.
- The ID is a single byte that identifies the message. If the message requires a response, the response will have the same ID.
- The payload (which is optional) contains any additional data needed for the command.
<b>Commands</b>
<pre> +---------+--------------+----------------------------------------------------+ | Command | Payload | Description | +---------+--------------+----------------------------------------------------+ | Q | N/A | Queries the state of the door. Will return | | | | L (locked) or U (unlocked). | | R |dAddr/Response| Sends the door address and the response. | | L | N/A | Locks the door. Will return L (success). | | U | N/A | Unlocks the door. Will return U (success). | | P | N/A | Unlocks the door, pauses, and then relocks the | | | | door. Will return L (success). | | C | N/A | Clears the local access list. Will return Y | | | | (success). | | A | iButton(s) | Comma-seperated list of iButton IDs to be appended | | | | to the local access list. Will return Y (success).| | S | Status Code | Causes the door to flash the status code to the | | | | user. Will return Y (success). | | I | iButton | Sends the iButton ID. | | E | Error Code | Sends an error code. | | D | Door ID | Sets the door ID. This number is used in all | | | | future communications. Will return Y (success). | +---------+--------------+----------------------------------------------------+ </pre>Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
