Sleep Mode Automation
Homeowner Summary
Sleep mode is your home's nightly closing checklist — automated. Instead of walking through the house checking locks, turning off lights, and adjusting the thermostat, a single command (voice, button, or schedule) puts everything into its overnight state. All doors lock, exterior lights switch off (or to motion-only), interior lights gradually dim and then extinguish, the thermostat drops to sleep-optimal temperature, the security system arms, and smart speakers enter do-not-disturb mode.
The health benefits alone make this automation worthwhile. Sleep research consistently shows that cooler temperatures (65-68F / 18-20C), complete darkness, and the confidence that the home is secure all contribute to better sleep quality. The gradual dimming — rather than an abrupt lights-off — supports your body's natural melatonin production and makes falling asleep easier.
Beyond health, sleep mode prevents the "did I lock the door?" anxiety that sends people back downstairs, and it ensures consistent energy savings every night by preventing the common mistake of leaving the thermostat at daytime settings all night.
How It Works
Sleep mode is triggered by one of several methods: a voice command ("Hey Google, goodnight"), a scheduled time, an NFC tag on the nightstand that you tap with your phone, or a button press on a bedside controller. The best approach is a combination — a scheduled trigger as a safety net, with a manual trigger you use when you actually go to bed.
The automation executes in a deliberate sequence designed for gradual transition:
- Immediate (T+0): All exterior doors — lock verified. Security system — arm in "stay" mode. Smart speakers — do-not-disturb enabled. Exterior lights — off (or motion-activated only).
- Gradual (T+0 to T+30 min): Interior lights dim from current level to 5% brightness at 2200K (deep warm amber) over 30 minutes. The thermostat begins ramping down to sleep temperature.
- Final (T+30 min): All interior lights off. Thermostat at sleep target (65-68F / 18-20C). Nightlights activate at 1% in hallways and bathrooms (motion-triggered, red/amber spectrum to preserve night vision).
Maintenance Guide
DIY (Homeowner)
- Test all lock mechanisms monthly — verify they report "locked" in the app after automation runs
- Replace lock batteries proactively when below 30% (most smart locks give 3-6 months warning)
- Verify security system arm command executes without errors weekly
- Update seasonal timing: schedule trigger earlier in winter, later in summer
- Clean motion sensors for nightlights quarterly (dust causes false triggers or missed detection)
Professional
- Annual lock inspection: verify deadbolt alignment, test auto-lock mechanism under load
- Security system panel inspection and sensor battery check annually
- Thermostat calibration verification — ensure reported temperature matches actual (use reference thermometer)
- Smart home hub firmware update and automation audit
Warning Signs
- Lock reports "jammed" or fails to lock (deadbolt misalignment — address immediately)
- Security system cannot arm (open sensor on a window or door — check all zones)
- Lights do not dim smoothly (incompatible dimmer switch or bulb at end of life)
- Thermostat does not reach sleep temperature within 45 minutes (HVAC issue or setpoint too aggressive)
- Nightlight motion sensors trigger too frequently or not at all (sensitivity adjustment needed or battery replacement)
- Smart speaker do-not-disturb does not engage (account settings override or app update broke the routine)
When to Replace vs Repair
Not directly applicable to the automation itself. For individual devices: smart locks should be replaced if the motor mechanism fails (typically 5-7 years), smart bulbs when they can no longer reach the required brightness or color temperature, and thermostat if touch screen becomes unresponsive or WiFi connectivity becomes unreliable (typically 7-10 years).
Pro Detail
Specifications & Sizing
Optimal Sleep Environment Targets:
| Parameter | Target | Evidence | |-----------|--------|----------| | Temperature | 65-68F (18-20C) | National Sleep Foundation recommendation | | Humidity | 30-50% RH | ASHRAE comfort zone for sleeping | | Light level | 0 lux (complete darkness) | Any light above 5 lux suppresses melatonin | | Noise level | Below 35 dB | WHO recommendation for sleeping environments | | Nightlight color | Red or deep amber (< 2200K) | Wavelengths above 600nm do not suppress melatonin |
Dimming Profile (30-minute transition):
- T+0 min: Current brightness, shift to 2700K
- T+5 min: 60% brightness, 2500K
- T+10 min: 40% brightness, 2300K
- T+15 min: 25% brightness, 2200K
- T+20 min: 15% brightness, 2200K
- T+25 min: 5% brightness, 2200K (barely visible warm glow)
- T+30 min: Off
Lock Verification Protocol:
- Send lock command to all exterior doors simultaneously
- Wait 10 seconds for confirmation
- If any lock does not confirm "locked" within 10 seconds, retry once
- If retry fails, send critical notification to homeowner's phone: "Front door failed to lock — check manually"
- Never silently fail — an unverified lock is a security risk
Security System Arming:
- Arm in "Stay" mode (not "Away") — stay mode allows interior motion during the night (bathroom trips)
- Verify all entry sensors are closed before arming
- If a sensor reports open, send notification: "Cannot arm — kitchen window open"
- Allow a 60-second grace period for the homeowner to resolve before retrying
Common Failure Modes
- Lock motor burnout: Frequent cycling wears the motor. Smart locks are rated for 10,000-20,000 cycles; nightly automation adds ~365 cycles/year — well within limits but contributes to total wear
- Dimming flicker: Certain LED bulbs flicker at low brightness levels. Solution: use bulbs rated for 1% dimming (Philips Hue, LIFX) or set minimum dim to 10% if using budget bulbs
- Thermostat overshoot: Aggressive setback (dropping more than 5 degrees) can cause the system to overshoot in cooling mode. Solution: allow 45-60 minutes for the transition rather than demanding immediate setpoint
- Security system communication failure: Wireless sensors with low batteries fail to report status. The system may appear armed but a zone is actually offline. Check panel status regularly
- Do-not-disturb bypassed by alarms and timers: Most smart speakers still allow alarms through DND. This is usually desirable (morning alarm still works) but can catch people off guard
Diagnostic Procedures
- Trigger sleep mode manually and observe each device in sequence
- Check automation log — look for commands sent vs. confirmations received
- Time the dimming sequence with a stopwatch — verify it matches the intended profile
- Use a lux meter (smartphone app is adequate) to verify complete darkness after lights off
- Check thermostat history — verify the temperature curve matches the intended ramp
- Test nightlight motion sensors by walking the hallway in the dark
- Verify security system is in "Stay" mode (not "Away") — check panel display
Code & Compliance
- Smart locks on exterior doors must meet local fire code: most jurisdictions require that locks can be opened from inside without a key or code (single-action egress). Verify your smart lock's manual override complies
- Security system arming via automation must not disable fire/smoke alarms — these must always remain active
- Nightlights in hallways should provide enough illumination for safe egress (check local building code for emergency egress lighting requirements in residential settings)
- Hard-wired smart switches must be installed by a licensed electrician if required by local code
Cost Guide
| Component | Typical Cost | Notes | |-----------|-------------|-------| | Smart bulbs, tunable white (6-pack) | $120 - $240 | Bedroom + hallway + bathroom + living areas | | Smart lock (per door) | $200 - $350 | Budget 2-3 exterior doors | | Smart thermostat | $150 - $300 | If not already installed | | Motion sensor nightlights (3-pack) | $30 - $60 | Hallway, bathroom, stairs | | Smart speaker (for voice trigger) | $50 - $100 | Bedside unit | | Bedside button/controller | $20 - $40 | Aqara Mini Switch, Flic button | | Total basic setup | $400 - $800 | Lights + thermostat + voice trigger | | Total comprehensive | $900 - $1,800 | All devices, 2-3 locks, full home |
Energy Impact
Nightly thermostat setback of 2-3 degrees saves approximately 3-6% on overnight HVAC costs. Across a year, this adds up to $60-$120 for a typical household. Additionally, ensuring all lights are reliably off (rather than accidentally leaving a 60W-equivalent bulb burning all night) prevents $20-$50 in wasted electricity annually. The combined overnight energy savings from a sleep mode automation typically total $80-$170 per year.
The thermostat setback is also gentler on the HVAC system — reducing runtime during overnight hours extends equipment life and reduces wear.
Shipshape Integration
How SAM Enhances Sleep Mode:
SAM adds intelligence and verification that basic automations cannot provide:
- Lock verification with escalation: SAM does not just send a lock command — it verifies every door's locked status and escalates with increasing urgency if a lock fails. First: app notification. After 5 minutes with no response: SMS. After 10 minutes: push notification with siren option
- Temperature monitoring for health: SAM tracks bedroom temperature through the night. If the HVAC fails and temperature drifts outside the 60-75F range, SAM alerts the homeowner — critical for vulnerable populations (elderly, infants)
- Security anomaly detection: If a door or window sensor opens unexpectedly after sleep mode arms, SAM cross-references with motion sensors and cameras to distinguish between a family member getting a glass of water and a potential intrusion
- Sleep quality correlation: Over time, SAM can correlate sleep environment data (temperature, humidity, noise from smart speakers) with the homeowner's reported sleep quality, suggesting optimal settings
- Automated adjustment: SAM learns the household's actual bedtime patterns and adjusts the schedule trigger to match, rather than requiring manual updates
Dealer Opportunity: Sleep mode is a natural upsell during smart lock or thermostat installations. Position it as a health and security feature, not just convenience. Parents with young children are an especially receptive audience — the lock verification and nightlight automation address real anxieties. A "Sleep Wellness Package" (thermostat + smart bulbs + locks + configuration) at $800-$1,200 installed is a compelling offering. Shipshape's Home Health Score reflects sleep-mode configuration as a positive security indicator.