Last Updated:

Enhanced Presence Detection with Shelly Device Updates

S.C.O.R.E.ConvenienceDeviceControl

Overview

The latest updates to Shelly devices significantly enhance their functionality, particularly in detecting presence and environmental conditions. These upgrades provide users with greater control and capability capabilities, making smart home management more intuitive and responsive.

Convenience icon

Benefits

  • Improved presence detection allows for automated responses to family members entering or leaving the home.
  • The addition of the illuminance sensor enables adaptive lighting control based on natural light levels.
  • Virtual buttons and object-based entities provide users with customizable control options for their smart devices.

Intent

This capability aims to enhance home capability by utilizing updated Shelly devices to detect presence and environmental conditions. The outcome is a more responsive and intelligent home environment that adapts to the needs of its inhabitants.

Preconditions

  • Shelly Plug US Gen4 with illuminance sensor installed.
  • Shelly Flood Gen4 connected to the network.
  • Home Assistant integration configured.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Shelly.
  • Device installed and reachable: Motion Detection.

Actors

  • Homeowner managing smart home settings
  • Family members interacting with the system
  • Guests experiencing automated home features

Trigger

Presence detection is activated when a family member enters or exits the defined home zone, or when environmental conditions change (e.g., light levels detected by the illuminance sensor).

Workflow Diagram

flowchart TD
    A[Presence Detected] -->|Check Light Level| B{Is it Dark?}
    B -->|Yes| C[Activate Indoor Lights]
    C --> D[Light Adjusted Based on Presence]
    B -->|No| E[Exit without Action]

Workflow Description

1. Detect Presence

The system detects when a person enters or exits the home using the presence component entities.

2. Check Environmental Conditions

The illuminance sensor assesses the current light levels in the environment.

3. Evaluate Decisions

The system determines if the light levels warrant adjustment based on the presence detected.

4. Activate Lighting

If it is dark, the system activates indoor lighting to enhance visibility.

5. Send Notifications

Users may receive notifications about presence changes or lighting adjustments through Home Assistant.

Postconditions

The home lighting adjusts automatically based on the presence and light conditions, enhancing comfort and energy efficiency.

Optional Enhancements

  • Integrate voice control for manual lighting adjustments.
  • Create capability routines based on specific presence scenarios.
  • Implement energy monitoring to optimize electricity usage.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantShellyMotion Detection, Temperature Sensors

Source Examples