Last Updated:

Enhanced Device Tracking for Home Capability

S.C.O.R.E.ConvenienceDeviceControl

Overview

The new scanner device tracker and ZHA device tracker support improves the ability to monitor and manage the presence of devices within a home. This capability enhances capability and control, ensuring that users have real-time awareness of device status and location.

Convenience icon

Benefits

  • Increased visibility of device presence, allowing for better capability decisions.
  • Improved management of smart devices connected via ZHA, enhancing user experience.
  • Streamlined home capability processes, reducing manual checks and interactions.

Intent

This capability aims to provide homeowners with a reliable way to track devices’ presence and status within their smart home ecosystem. By leveraging scanner and ZHA device tracking, users can automate actions based on device availability, leading to a more responsive home environment.

Preconditions

  • Home Assistant installed and configured.
  • ZHA integration set up with compatible devices.
  • Scanner device connected to the home network.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Motion Detection.

Actors

  • Homeowner
  • Family member
  • Guest

Trigger

The capability is triggered when a device’s presence changes, such as when a device connects or disconnects from the network.

Workflow Diagram

flowchart TD
    A[Device Presence Change] -->|check| B{{Device Connected?}}
    B -->|Yes| C[Update Device Tracker]
    C --> D[Notify Homeowner]
    B -->|No| E[Exit]

Workflow Description

1. Detect Device Presence Change

The system detects a change in the presence of a device, either connecting or disconnecting.

2. Evaluate Connection Status

The system checks whether the device is currently connected to the network.

3. Update Device Tracker

If the device is connected, the device tracker is updated to reflect its current status.

4. Notify Homeowner

The homeowner receives a notification regarding the device’s presence change, allowing for immediate action.

5. Log Activity

All presence changes are logged for future reference and to aid in troubleshooting.

Postconditions

After the capability completes, the device tracker reflects the accurate presence status of all monitored devices, enhancing home capability workflows.

Optional Enhancements

  • Integrate with voice assistants for status updates.
  • Add historical tracking for device presence changes.
  • Enable geofencing to trigger actions based on user location.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, ESPHomeMotion Detection, Temperature Sensors

Source Examples