Overview
The bedtime scene capability automates essential home functions to enhance security during nighttime. By ensuring lights are dimmed, locks are engaged, and climate settings are adjusted, it provides peace of mind for residents as they settle in for the night.
Benefits
- Improved nighttime security through automated locking of doors.
- Energy savings by adjusting the thermostat and lights for optimal nighttime settings.
- Convenience of setting multiple home devices with a single command.
Intent
This capability aims to streamline the bedtime routine by coordinating various smart devices to create a secure and comfortable environment. It achieves this by automating actions that enhance safety and energy efficiency when residents go to bed.
Preconditions
- Home Assistant is set up and configured.
- Smart locks and smart lighting systems are installed and integrated.
- Smart thermostat is connected to Home Assistant.
- Home Assistant installed and configured.
- Integration available and authenticated: Zigbee2MQTT.
- Device installed and reachable: RainMachine Version 2 (API 4.6.1).
Actors
- Homeowner initiating the bedtime scene
- Family members benefiting from the automated settings
Trigger
The capability is triggered by a specific time set in the Home Assistant or by detecting the homeowner’s presence in the bedroom.
Workflow Diagram
flowchart TD
A[Time Reached or Presence Detected] -->|check| B{{Is it bedtime?}}
B -->|Yes| C[Engage locks and adjust lights]
C --> D[Set thermostat to nighttime mode]
B -->|No| E[Exit without action]
Workflow Description
1. Detect Bedtime
The system checks the current time or detects the presence of the homeowner in the bedroom.
2. Lock Doors
All entry doors are automatically locked to ensure security through connected smart locks.
3. Dim Lights
Interior lights are dimmed or turned off according to the homeowner’s preference to create a calming atmosphere.
4. Adjust Climate
The thermostat is adjusted to a comfortable nighttime temperature to enhance sleep quality.
5. Send Confirmation
A notification is sent to the homeowner confirming that the bedtime scene has been activated.
Postconditions
After the capability completes, the home is secured with locked doors, adjusted lighting, and a comfortable temperature, providing a peaceful environment for sleep.
Optional Enhancements
- Integrate with security cameras to monitor for unusual activity during the night.
- Add a feature to turn on porch lights automatically when the homeowner goes to bed.
- Implement a voice command option for manual activation.
Recommended Components
| Recommended Applications | Recommended Integrations | Recommended Devices |
|---|---|---|
| Home Assistant | Zigbee2MQTT, Z-Wave JS | RainMachine Version 2 (API 4.6.1), Garage Door Opener |
Source Examples
- Home Assistant (platform)