Overview
With the new SwitchBot Cloud integration, users can now control smart locks directly from their Home Assistant setup. This capability enhances home security by allowing seamless access control and monitoring for homeowners and guests alike.
Benefits
- Increased security with remote locking and unlocking capabilities.
- Convenient access for guests without needing physical keys.
- Real-time notifications for lock status changes.
Intent
The purpose of this capability is to enable users to manage their smart locks through the SwitchBot Cloud and Home Assistant. This integration provides a convenient and secure way to control access to the home.
Preconditions
- A compatible smart lock installed (such as Kwikset SmartCode 916).
- Active SwitchBot Cloud account linked to Home Assistant.
- Home Assistant server running version 2024.11 or later.
- Home Assistant installed and configured.
- Integration available and authenticated: Z-Wave JS.
- Device installed and reachable: Door and Window Sensors.
Actors
- Homeowner managing home security
- Family members needing access
- Guests visiting the home
Trigger
The capability is triggered when a homeowner or guest attempts to unlock or lock the door using the Home Assistant interface or through an automating event.
Workflow Diagram
flowchart TD
A[User Action] -->|Request to unlock| B{{Is the lock compatible?}}
B -->|Yes| C[Unlock the door]
C --> D[Notify user of unlock status]
B -->|No| E[Exit with error notification]
Workflow Description
1. User Initiates Action
The user selects the lock control option in Home Assistant to unlock or lock the door.
2. Check Lock Compatibility
The system verifies if the selected smart lock is compatible with the SwitchBot integration.
3. Execute Lock Command
If compatible, the command to unlock or lock the door is sent to the smart lock.
4. Send Notification
After executing the command, the user receives a notification indicating the lock status.
5. Log Activity
The action is logged for security purposes, providing a history of access events.
Postconditions
The smart lock’s state is updated accordingly, and the user receives confirmation of the action taken.
Optional Enhancements
- Integrate with a camera system to capture images of who is at the door when unlocked.
- Set up geofencing to automatically lock or unlock the door based on user location.
- Implement voice control via smart assistants for hands-free operation.
Recommended Components
| Recommended Applications | Recommended Integrations | Recommended Devices |
|---|---|---|
| Home Assistant | Z-Wave JS, Zigbee2MQTT | Door and Window Sensors, Kwikset SmartCode 916 |
Source Examples
- 2026.1: Home is where the dashboard is ?? – Home Assistant (homeassistant)