Overview
The integration of switches within motionEye allows for streamlined control of various connected devices directly from the motion detection interface. This enhancement enables users to manage their home environment more conveniently, reducing the need for multiple apps or manual operations.
Benefits
- Simplifies device management by providing control from a single interface.
- Enhances home capability by allowing devices to be triggered based on motion events.
- Increases energy efficiency through better control over powered devices.
Intent
This capability aims to integrate switch control into the motionEye platform, allowing users to automate the operation of devices based on motion detection. The outcome is a more cohesive and responsive home capability experience.
Preconditions
- motionEye must be installed and configured on a compatible device.
- Connected switches must be integrated into the home capability system.
- The home capability system must support motion detection functionality.
- Home Assistant installed and configured.
- Integration available and authenticated: Zigbee2MQTT.
- Device installed and reachable: Motion Detection.
Actors
- Homeowner
- Family member
- Guest
Trigger
The capability is triggered by motion detection from configured sensors, which signals the system to evaluate and activate connected switches.
Workflow Diagram
flowchart TD
A[Motion Detected] -->|check| B{{Evaluate Switch Status}}
B -->|Active| C[Activate Device]
C --> D[Device Is Now On]
B -->|Inactive| E[No Action Taken]
Workflow Description
1. Motion Detection
A motion sensor detects movement in the designated area.
2. Evaluate Switch Status
The system checks whether the connected switches should be activated based on the current state.
3. Activate Device
If the switches are active, the system sends a command to turn on the device.
4. Feedback Confirmation
The system confirms that the device has been successfully activated.
5. Monitor Motion
The system continues to monitor for further motion to react accordingly.
Postconditions
After the capability executes, the connected devices will be powered on based on detected motion, enhancing the capability of the home environment.
Optional Enhancements
- Integrate voice control for switches using smart assistants.
- Add scheduling options for switch activation based on time of day.
- Implement notifications for device activation events to inform homeowners.
Recommended Components
| Recommended Applications | Recommended Integrations | Recommended Devices |
|---|---|---|
| Home Assistant | Zigbee2MQTT, Z-Wave JS | Motion Detection |
Source Examples
- 2026.1: Home is where the dashboard is ?? – Home Assistant (homeassistant)