Last Updated:

Enhanced Home Capability with deCONZ: Locks and Fans Support

S.C.O.R.E.ConvenienceDevice Control

Overview

Home capability can enhance everyday convenience, and the new support for locks and fans in deCONZ provides a seamless way to control these essential devices. This capability allows users to manage their home environment more effectively, improving comfort and security.

Convenience icon

Benefits

  • Easily control locks and fans from a single interface, enhancing user convenience.
  • Improve home security by remotely managing door locks.
  • Create automated routines to optimize fan usage based on occupancy or time of day.

Intent

The capability aims to integrate locks and fans into the deCONZ platform, enabling users to control these devices via Home Assistant. This integration enhances overall home capability, allowing for more personalized and efficient home management.

Preconditions

  • deCONZ software installed and configured on a compatible device.
  • Zigbee-compatible locks and fans connected to the deCONZ network.
  • Home Assistant integration set up to communicate with deCONZ.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Door and Window Sensors.

Actors

  • Homeowner controlling locks and fans via smartphone or voice assistant.
  • Family members adjusting fan settings for comfort.
  • Guests needing access to the home through smart locks.

Trigger

The capability is triggered by user commands through the Home Assistant interface or automatically based on sensor readings (e.g., motion sensors detecting occupancy).

Workflow Diagram

flowchart TD
    A[User Command] -->|check| B{{Is Device Connected?}}
    B -->|Yes| C[Control Device]
    C --> D[Update Device Status]
    B -->|No| E[Notify User]

Workflow Description

1. User Issues Command

The user sends a command via Home Assistant to lock/unlock a door or adjust a fan.

2. Check Device Connection

The system verifies if the requested lock or fan is connected and responsive.

3. Execute Action

If the device is connected, the action to lock/unlock or adjust the fan speed is executed.

4. Update Status

The system updates the device status and reflects the changes in the Home Assistant dashboard.

5. Notify User

If the device is not connected, the user receives a notification explaining the issue.

Postconditions

The locks and fans are now in the desired state, and the user receives confirmation of the action taken.

Optional Enhancements

  • Integrate voice control for hands-free operation of locks and fans.
  • Set up geofencing to automate lock and fan controls based on user location.
  • Create schedules for fan operation based on time of day or temperature.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, Z-Wave JSDoor and Window Sensors, TP-Link | HS100

Source Examples