✓ BUILT, TESTED & USED IN MY HOME

Real automations. Real homes. Real-world results.

Here's a smart-home routine I actually use every night. It's not a hypothetical idea or a feature list copied from a box. It's a practical way to know when one of my kids has opened their bedroom door after bedtime—and to offer them a gentle reminder at the same time.

The everyday problem

Once the kids are in bed, a door opening might mean someone had a bad dream, needs help, or just wants to make one last attempt to negotiate bedtime. I don't want to discourage a child from coming to me. I just appreciate knowing they're on their way.

This kind of automation might also give other parents a little extra peace of mind, especially when their little ones are just starting to sleep in their own rooms. That transition can be an adjustment for both children and parents. Knowing that Alexa will let you know when their bedroom door opens can provide a little reassurance without constantly checking on them.

It's not about keeping the kids in their rooms. It's about knowing when they might need you.

Exactly what my automation does

  1. After 8:00 p.m., a contact sensor detects when one of my children's bedroom doors opens.
  2. Immediately, the Echo in my bedroom announces which child's door opened.
  3. The Echo in that child's bedroom also speaks, politely asking them to get back into bed and go to sleep.
  4. Each child's door is identifiable, so I know which room the alert came from.
The goal isn't to catch anybody. It's to be ready if a child needs me, while letting Alexa deliver a calm bedtime reminder. Alexa gets the first word; parents still get the final say. 😉

Equipment you'll need

How to recreate the behavior

These are the functional steps, not a verified button-for-button transcription of my app settings. Exact menu labels and whether you can use a time window with a sensor trigger depend on your Alexa app, sensor integration, and available routine options.

  1. Pair and name the sensor. Mount it on the door and frame, connect it to its supported app or hub, and give it a recognizable name (for example, “Child Bedroom Door”). Check that opening the door changes the sensor state.
  2. Make the sensor available to Alexa. If needed, enable the supported integration or skill and confirm that Alexa shows the contact sensor as a device with an open/closed state.
  3. Create the door-open trigger. In Alexa, look for More → Routines → + (menus may vary). Choose a smart-home sensor event such as contact sensor opens as the trigger, if your integration exposes it.
  4. Restrict it to after 8 p.m. Use the routine's available active-hours or time-window controls if offered. Set an end time that makes sense for your household. If your Alexa configuration doesn't offer a schedule restriction for that trigger, don't assume the routine is bedtime-only; use a supported alternative or platform-specific automation.
  5. Add the parent's announcement. Select an announcement or spoken-message action directed to the Echo in the parent's room, with wording that identifies the specific door. Example: “The bedroom door has opened.”
  6. Add the child's reminder. Configure a second spoken message or announcement to play on that child's Echo, such as “It's bedtime. Please get back in bed and go to sleep.” Depending on the available actions and device-targeting controls, this may require a separate routine or a compatible hub workflow rather than two actions in one routine.
  7. Repeat for each bedroom. Use unique sensor names and identify the correct destination Echo for each child's reminder.
  8. Test both sides. Open the door during the intended active period. Verify that the parent's Echo identifies the right door and the child's Echo speaks the reminder. Test outside the active hours, too, to make sure it stays quiet.
Important setup distinction: My real-world outcome is confirmed from daily use; I haven't yet documented whether my sensor event is routed through SmartThings or entirely through Alexa, or whether the two announcements are configured as one routine or multiple routines. Until those settings are checked, the steps above are a reproducible design guide, not a claim that every Alexa account exposes identical controls.

Bonus: How I keep the kids’ electronics out of reach

There's another practical detail in my setup: in all three of my kids' bedrooms, I mounted their Echo devices and Apple TVs behind their televisions. I also concealed the cables inside the walls. That keeps the equipment out of little hands' reach and makes it harder for a curious kid to unplug something or start pressing buttons when they're supposed to be asleep.

Even the remote controls have their own parking spots. I use remote holders with adhesive backing (the kind with 3M adhesive) attached high on the back of each TV. That way the remote isn't sitting on a nightstand waiting for a midnight movie marathon. Of course, the holders need to be positioned securely and away from heat vents.

I know that mounting everything and hiding cables might be more involved than some families want. For me, doing it in all three rooms has been worth the effort.

Important wiring safety: Don't run ordinary TV or device power cords loose inside a wall. Use a code-compliant in-wall power solution or a properly installed receptacle; use in-wall-rated low-voltage cables where required. Keep ventilation clear, and secure mounts and cords so children cannot pull equipment down.

Bonus automation: bedtime TV shutdown without resetting a sleep timer

I also schedule the kids' Apple TVs to go to sleep automatically at the appropriate bedtime, including schedules for non-school nights. It's one of the rare times I use Apple's automation tools rather than Alexa. Instead of remembering to set each TV's sleep timer every evening, I set up the schedule and let it run.

The automation sends a sleep command to the Apple TV, not directly to the Samsung television. With HDMI-CEC enabled and working on both devices, the television can power off when the Apple TV goes to sleep. This behavior depends on the TV and its settings, so test it before relying on it.

My scheduled Apple TV sleep routines are set up using Apple's Shortcuts automation features. The exact screens and available controls can vary by Apple TV model, software version, and whether you use Home or Shortcuts, so this is a description of what I use—not a claim that every setup has the same menu options. I'll cover the full Apple TV routine in its own step-by-step guide.

What I learned

The useful part isn't just the alert. It's having two different messages delivered to two different places: an informative heads-up for the parent and a kind reminder for the child. The sensor tells me what's happening without turning bedtime into a surveillance operation.

And of course, a child who needs help should always feel welcome to come get a parent. A routine is a convenience—not a substitute for checking on your kids or responding when they need you.

← More Smart Home & Automation guides