The Ultimate Smart Home Automation Cookbook

“Welcome Home Automation” is more than just a fun gadget; it’s an experience that adds a personal touch to your smart home. This delightful automation works seamlessly with your smart lock. When the lock is activated with a code, it prompts Alexa to issue a warm welcome, making every entry into your home feel special and personalized. The charm of “Welcome Home Automation” lies in its ability to transform a regular day into something extraordinary.

Moreover, “Welcome Home Automation” isn’t just about the initial greeting; it’s about setting the tone for your time at home. This automation can be customized further to trigger other smart home actions, like turning on lights or playing your favorite music, enhancing the welcoming ambiance. It’s a fantastic way to impress guests and provide a comforting sense of arrival for family members.

Incorporating “Welcome Home Automation” into your home is a step towards making your living space more responsive and interactive. It’s not just about functionality; it’s about creating an environment that acknowledges and reacts to your presence, making you feel truly at home. “Welcome Home Automation” is a testament to how small details can significantly impact our daily living, turning a house into a more welcoming and personalized home.

Automation Details

Required Devices

  • Smart Locks
  • Voice Assistant

Triggers:

  • Door Unlocked with Code

Conditions:

  • Mode is NOT Night

Actions:

  • Announce Welcome Home [NAME]
Hobbyist
Hobbyist

Hubitat

Welcome Home Automation

The Official Documentation for Rule Machine

Option One

Share your devices with Home Assistant using Hubitat Connect.  Then create an automation in Home Assistant using the Alexa Speaks integration outlined under the Home Assistant tab.

  1. Share your smart locks with Home Assistant.Hubitat Maker API for Home Assistant

Option Two

Create and share a virtual switch with Alexa using Alexa Speaks: Shared Devices.  Then create an automation as outlined in Option Three.

Option Three

We’ll use an MQTT Notification device using Alexa Speaks integration.

Setting Up the Automation

  1. First, go to Apps and click Rule Machine.

    Hubitat App Screen
  2. Select Create New Rule.

    Hubitat Rule Machine Screen
  3. Enter a name for the Rule and hit Enter.

    Hubitat Rule Machine Name Screen
  4. Select Trigger Event.

    Hubitat Welcome Home Triggers
  5. From the Capability drop-down, select Lock Codes.

    Hubitat Welcome Home Lock Codes
  6. Select your first lock from the Lock Keypad dropdown, set the code Name, and click Done with this Trigger Event.

    Hubitat Welcome Home Set Lock Codes
  7. Add any additional locks and click the Done with Trigger Events button.

    Hubitat Welcome Home Triggers
  8. Select Actions to Run.

    Hubitat Welcome Home Actions
  9. Select the Green Plus Sign to Add New Action.

    Hubitat Welcome Home Add Actions
  10. On the Create New Action screen, fill in as follows:

    1. Select Delay, Wait, Exit or Comment from the list for the first dropdown.
    2. Then Select Wait for Events
    3. Select Elapsed time and select the time format.
    4. Set the delay for 3 seconds
    5. Then click the Done with this Wait Event button.

    Hubitat Welcome Home New Actions
  11. Select the Green Plus Sign to Add New Action.

    Hubitat Welcome Home Add Actions
  12. On the Create New Action screen we have a decision to make.

    Option two:

    fill in as follows:

    1. Select Control Switches, Push Buttons from the list for the first dropdown.
    2. Then Select Turn switches on/off.
    3. Select the virtual switch we created earlier.
    4. Make sure it’s set to on.
    5. Then click the Done with action button.

     

    Hubitat Welcome Home New Actions

    Option Three:

    fill in as follows

    1. Select Send Message: Notify, Speak, Log, HTTP Request from the list for the first dropdown.
    2. Then Select Send/Speak a message.
    3. Type your message.
    4. Select your MQTT Notification device.
    5. Then click the Done with action button.

    Hubitat Welcome Home Add Action Screen
  13. Click the Done with Actions button.

    Hubitat Welcome Home Actions Complete
  14. Click the Done button to complete the automation.

    Success: That’s It! Rinse and repeat for each family member. Now move on to the Amazon Alexa Tab if you are using Option Two

    Hubitat Welcome Home Automation Complete

Home Assistant

Welcome Home Automation

The Official Documentation for Automation editor

Option One

Important: This automation requires Alexa Speaks Integration.

Setting Up the Automation

  1. First, we need to go to Settings and Automations & Scenes.

    Home Assistant Settings Screen
  2. Click the blue Create Automation button.

    Home Assistant Automations Screen
  3. Choose Create new automation.

    Home Assistant Create Automation Screen
  4. Click Add Trigger.

    Home Assistant New Automation Screen
  5. From the list, select Device.

    Home Assistant Trigger Types Menu
  6. Select your lock and unlock code.

    Home Assistant Welcome Home Select Lock
  7. Click the vertical ellipse in the upper right-hand corner and select Edit ID.

    Home Assistant Welcome Home Edit ID
  8. Add a Trigger ID. You can call it anything you like, but we’ll use back. Then click the Add Trigger button.

    Home Assistant Welcome Home Set Trigger ID
  9. Now add your second lock and the unlock code.  Then click the Add Action button.

    Home Assistant Welcome Home Add Second Trigger
  10. Choose Wait for time to pass (delay) from the add action list.

    Home Assistant Welcome Home Select Delay
  11. Set the delay for three seconds.

    Home Assistant Welcome Home Set Delay
  12. Select If-then from the add action list.

    Home Assistant Welcome Home Select If-then
  13. Click the Add Condition button and select Triggered by from the list.

    Home Assistant Welcome Home Select Triggered By
  14. Select the trigger id we created earlier, then click the Add Action button.

    Home Assistant Welcome Home Select Triggered ID
  15. Select Call service from the add action list.

    Home Assistant Welcome Home Select Call Service
  16. On the call service screen:

    1. Search for Notifications in the Service drop down and select the Alexa device closest to the first lock.
    2. Add a message for that unlock code.
    3. Add a check to the Data checkbox.
    4. Then type type: tts This tells HA that the message is Text To Speech.
    5. Finally click Add Else.

    Home Assistant Welcome Home Set Call Service
  17. Do the same thing for your second lock if you have one.

  18. Your complete automation should look something like this.

    Home Assistant Welcome Home Complete Automation
  19. In the bottom right-hand corner, click the blue Save button.  Next, name the automation and click save again.

    Success: That’s It! Rinse and repeat for each family member

    Home Assistant Welcome Home Save Automation

Amazon Alexa

Welcome Home Automation

The Official Documentation for Alexa Routines

Option Two

Share a virtual switch with Alexa and use that as a trigger in the app.

Setting Up the Automation

  1. First, Click the More button at the bottom right of the screen.

    Alexa Home Screen
  2. Click the Routines button.

    Alexa More Menu
  3. Click the plus sign to add a new routine.

    Alexa Routines Screen
  4. Click the plus sign by Enter routine name.

    Alexa New Routine Screen
  5. Enter a Name for the Routine, then click Next.

    Alexa Welcome Home Routine Name
  6. Click the plus sign by When this happens.

    Alexa Welcome Home Trigger
  7. On the When This Happens screen, click Smart Home.

    Alexa Welcome Home Trigger Smart Home
  8. Select the virtual sensor/switch we shared with Alexa.

    Alexa Welcome Home Trigger Virtual Device
  9. When Contact Sensor is… select open and click Next.

    Alexa Welcome Home Trigger Virtual Device Open
  10. Click the plus sign by Add action.

    Alexa Welcome Home Actions
  11. On the Add New screen, select Alexa Says.

    Alexa Welcome Home Actions Add New
  12. Select Customized.

    Alexa Welcome Home Actions Alexa Says Customized
  13. Type your message and click Next.

    Alexa Welcome Home Actions Alexa Says Message
  14. Confirm the message by clicking Next.

    Alexa Welcome Home Actions Alexa Says Message confirm
  15. Click Choose Device.

    Alexa Welcome Home Actions Alexa Says Device
  16. If you want to add another Alexa device you will have to add another action. Hopefully Amazon will allow you to choose a speaker group in the future.

    Click Save to complete the Routine.

    Success: That’s It! Rinse and repeat for each family member

    Alexa Welcome Home Complete Automation