Overview
The integration of SwitchBot Lock Pro with Home Assistant provides a robust access control solution, enhancing home security. Homeowners can now remotely manage their door locks, ensuring peace of mind and convenience.
Benefits
- Increased home security by controlling access remotely.
- Convenience of locking or unlocking doors from anywhere via Home Assistant.
- Notifications for door lock status changes, enhancing awareness.
Intent
This capability aims to streamline home access control by integrating SwitchBot Lock Pro with Home Assistant. It allows homeowners to manage door locks efficiently and securely, ensuring only authorized individuals can enter the home.
Preconditions
- SwitchBot Lock Pro installed and configured.
- Home Assistant set up with SwitchBot integration enabled.
- Stable internet connection for remote access.
- Home Assistant installed and configured.
- Integration available and authenticated: Z-Wave JS.
- Device installed and reachable: Door Lock.
Actors
- Homeowner managing access remotely
- Family members entering or leaving the home
- Guests requiring access to the home
Trigger
The capability is triggered by a command from Home Assistant or a scheduled capability to lock or unlock the door.
Workflow Diagram
flowchart TD
A[User Command] -->|check| B{Is Door Locked?}
B -->|Yes| C[Send Unlock Command]
C --> D[Door Unlocked]
B -->|No| E[Send Lock Command]
E --> F[Door Locked]
Workflow Description
1. User Issues Command
The homeowner sends a command via Home Assistant to lock or unlock the SwitchBot Lock Pro.
2. Check Door Status
The system checks if the door is currently locked or unlocked.
3. Execute Command
If the door is locked, an unlock command is sent; if it’s unlocked, a lock command is sent.
4. Receive Confirmation
The homeowner receives a notification confirming the action taken on the door lock.
5. Update Status
The system updates the door status in Home Assistant for real-time monitoring.
Postconditions
The door lock status is updated in Home Assistant, reflecting the current state of the SwitchBot Lock Pro.
Optional Enhancements
- Integrate with a video doorbell for visual confirmation of who is at the door.
- Add geofencing to automatically lock/unlock based on homeowner’s location.
- Set up a schedule for automatic locking and unlocking at specific times.
Recommended Components
| Recommended Applications | Recommended Integrations | Recommended Devices |
|---|---|---|
| Home Assistant | Z-Wave JS, Zigbee2MQTT | Door Lock, Door and Window Sensors |
Source Examples
- 2026.1: Home is where the dashboard is ?? – Home Assistant (homeassistant)