Last Updated:

Enhanced Device Support for SwitchBot Integration

S.C.O.R.E.ConvenienceDeviceControl

Overview

SwitchBot integration has significantly expanded its device compatibility, now supporting Plug Mini EU, RelaySwitch 2PM, and K11+ Vacuum. This allows users to automate and control a greater range of appliances, enhancing convenience and efficiency in daily home management.

Convenience icon

Benefits

  • Seamlessly control multiple devices using a single platform.
  • Automate routines for energy savings and enhanced comfort.
  • Simplify home management with expanded device compatibility.

Intent

The purpose of this capability is to provide users with an integrated control system for various appliances within their home. By expanding device support, homeowners can streamline their capability processes and improve overall home efficiency.

Preconditions

  • Home Assistant installed and configured.
  • SwitchBot devices connected to the Home Assistant ecosystem.
  • Internet access for cloud-based device communication.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Sonoff | Smart Plug-in Unit.

Actors

  • Homeowner
  • Family member
  • Guest

Trigger

The capability is triggered when a user issues a command through the Home Assistant interface or when a scheduled capability time is reached.

Workflow Diagram

flowchart TD
    A[User Command or Schedule] -->|check| B{Is Device Supported?}
    B -->|Yes| C[Execute Control Command]
    C --> D[Device Responds]
    B -->|No| E[Log Error and Exit]

Workflow Description

1. User Command Issued

The homeowner selects a device to control through the Home Assistant interface.

2. Check Device Compatibility

The system verifies if the selected device is among those supported by the SwitchBot integration.

3. Execute Control Command

If the device is supported, the system sends the control command to the device.

4. Device Responds

The device executes the command and provides feedback back to Home Assistant.

5. Log Activity

The system logs the action taken for future reference and troubleshooting.

Postconditions

Upon completion, the selected device performs the desired action, and the system updates the user interface accordingly to reflect the state change.

Optional Enhancements

  • Integrate additional smart home devices for broader capability.
  • Add voice control capabilities using Amazon Alexa or Google Home.
  • Create complex capability routines based on user habits.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, Nintendo Parental ControlsSonoff | Smart Plug-in Unit, TP-Link | HS100

Source Examples