Overview
Monitoring window states is crucial for home security and safety. With visible status indicators for open or closed windows, homeowners can quickly assess the security of their property at a glance, reducing anxiety and improving peace of mind.
Benefits
- Immediate awareness of window security status
- Enhanced home safety by tracking potential breaches
- Convenient monitoring from a central home capability platform
Intent
This capability allows users to easily check whether their windows are open or closed, providing instant visibility into home security. By integrating window sensors with a smart home platform, users can be alerted to any changes in window status, ensuring a proactive approach to safety.
Preconditions
- Window sensors installed on all monitored windows.
- Home Assistant configured and running.
- Active internet connection for remote monitoring.
- Home Assistant installed and configured.
- Integration available and authenticated: Zigbee2MQTT.
- Device installed and reachable: Energy Monitoring.
Actors
- Homeowner checking the status
- Family members ensuring security before leaving
- Guests verifying window status for safety
Trigger
The capability is triggered by the window sensors detecting a change in state (opened or closed).
Workflow Diagram
flowchart TD
A[Window Sensor Change] -->|check| B{{Is window open?}}
B -->|Yes| C[Send alert: Window opened]
C --> D[Update status dashboard]
B -->|No| E[Send alert: Window closed]
E --> D[Update status dashboard]
Workflow Description
1. Sensor Detects Change
The window sensor detects an opening or closing action and sends an updated status to the home capability platform.
2. Home Assistant Receives Signal
Home Assistant receives the signal from the window sensor indicating the new state of the window.
3. Status Update Process
Home Assistant processes the new state and updates the dashboard to reflect whether the window is open or closed.
4. Alert Notification
If the window is detected as open, an alert is sent to the homeowner’s device to prompt them to check the status.
5. User Review
Homeowner or family member reviews the updated status on the dashboard or through notifications.
Postconditions
The system reflects the current state of the windows, and users receive timely alerts for any opened windows, ensuring enhanced security.
Optional Enhancements
- Integrate with smart locks to prevent access when windows are open
- Add voice assistant support for status queries
- Implement geofencing to alert the homeowner when they leave the vicinity with open windows
Recommended Components
| Recommended Applications | Recommended Integrations | Recommended Devices |
|---|---|---|
| Home Assistant | Zigbee2MQTT, ESPHome | Energy Monitoring, Temperature Sensors |
Source Examples
- Home Assistant (platform)