The Ultimate Smart Home Automation Cookbook

The festive season is upon us, and Indoor Holiday Lighting Automation is the perfect way to add sparkle to your celebrations quickly. Instead of the daily routine of plugging in various light displays around your home, let Indoor Holiday Lighting Automation manage it all for you. This year, embrace the convenience and magic of having your smart home handle the illuminations.

Indoor Holiday Lighting Automation allows you to program your lights to turn on at specific times, ensuring your home is filled with festive cheer without any manual effort. Whether it’s the twinkling lights on the Christmas tree, the warm glow of string lights, or the festive lamps, Indoor Holiday Lighting Automation ensures everything is lit up at the right moment, enhancing the holiday ambiance.

Embracing Indoor Holiday Lighting Automation this holiday season means you can focus more on celebrating with loved ones and less on the logistics of lighting. It transforms your home into a festive sanctuary effortlessly and beautifully. Let Indoor Holiday Lighting Automation be a part of your holiday tradition, bringing ease, efficiency, and enchantment to your indoor decorations.

Automation Details

Required Devices

  • Smart Plugs

Triggers:

  • Sunset
  • Arriving Home

Conditions:

  • Between Sunset and Sunrise
  • Mode is Home

Actions:

  • Turn On Holiday Lights

Warning: Every smart plug is different so be sure not to overload the maximum amps of yours.

This automation will only handle turning lights on.  Our Goodbye and Goodnight automations will handle turning the lights off.

Novice
Novice

Hubitat

Indoor Holiday Lighting

The Official Documentation for Rule Machine

This assumes you have setup your Modes on your hub and you have one for Home. If they are named differently then choose accordingly.

Setting Up the Automation

  1. First, we need to create a new group to control all the smart plugs as one switch and share it with our voice assistant to enable voice control.

    Indoor Holiday Lighting Group Hubitat
  2. Next, go to Apps and click Rule Machine.

    Hubitat App Screen
  3. Select Create New Rule.

    Hubitat Rule Machine Screen
  4. Enter a name for the Rule and hit Enter. I’m going to call it Outdoor Holiday Lighting.

    Hubitat Rule Machine Name Screen
  5. Select Trigger Event.

    Hubitat New Rule Menu
  6. From the Capability drop-down, select Certain Time.

    Hubitat Rules Triggers Capabilities
  7. Set the Specific Time to Sunset and click the Done With this Trigger Event.

    Hubitat Tigger Event Screen
  8. Then we need to add another trigger event, select Mode from the Capability drop-down list.

    Hubitat Rules Triggers Capabilities
  9. Select Home from the Select Mode dropdown, then click the Done with this Trigger Event button.

    Hubitat Tigger Event Screen
  10. From the rule main menu screen, select Create Conditions.

    Hubitat New Rule Menu
  11. From the Capability drop-down, select Between two times.

    Hubitat Rules Condition Capabilities
  12. Select Sunset for the Time of Day and Sunrise for the Ending at. Then, click the Done with this Condition button.

    Hubitat Manage or Create Conditions Screen
  13. We’ll add another condition, so select Mode from the Capability drop-down.

    Hubitat Rules Condition Capabilities
  14. Select Home from the Select Mode dropdown, then click the Done with this Condition button and then click on the Done with Conditions button..

    Hubitat Manage or Create Conditions Screen
  15. Next, Select Actions to Run.

    Hubitat New Rule Menu
  16. On the Actions screen click the plus sign to Create New Action.

    Hubitat Actions Screen
  17. Set the new action as follows:

    1. Set Action Type to Conditional Actions.
    2. Set the Which Action to IF Expression THEN.
    3. Set the Expression Element to both our conditions we created earlier, making sure we use the AND operator.
    4. Then click the Done with IF Expression THEN button.

    Hubitat Create New Action Screen
  18. From the Action Screen, click the plus sign again to Create a New Action.

    Hubitat Actions Screen
  19. Set the following Action settings:

    1. In the Select Action Type drop-down, select Control Switches option.
    2. In the Select Which Action, select the Turn switches on/off option.
    3. Next, in the Switches to turn on drop-down, select our Holiday Lights group.
    4. Make sure the Turn on or off switch is set to On.
    5. Then click the Done with Action button.

    Hubitat Create New Action Screen
  20. Back on the Actions Screen, Click END-IF to close out conditional statements. Then click the Done with Actions button.

     

    Hubitat Actions Screen
  21. Finally, back on the Rule Main Menu click the Done button to finish up the rule.

    Success: That’s It! You have successfully automated your indoor holiday lights.

    Hubitat New Rule Menu

Home Assistant

Indoor Holiday Lighting

The Official Documentation for Automation editor

Home Assistant does not have Modes as a feature, but you can get it to work with Helpers or you can share it from Hubitat Connect.

Setting Up the Automation

  1. First, we need to create a new group to control all the smart plugs as one switch.

    Indoor Holiday Lighting Groups Home Assistant
  2. Next, we need to go to Settings and Automations & Scenes.

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

    Home Assistant Automations Screen
  4. Choose Create new automation.

    Home Assistant Create Automation Screen
  5. Click Add Trigger.

    Home Assistant New Automation Screen
  6. From the list, select Sun.

    Home Assistant Trigger Sun
  7. Select Sunset for the event, then click the vertical ellipsis and select Edit ID.

    Home Assistant Sunset Trigger
  8. Set the Trigger ID to sunset, then click the Add Trigger button.

    Home Assistant Sunset Trigger ID
  9. Select State from the drop-down list.

    Home Assistant Trigger State
  10. In the Entity dropdown, select Hub Mode and set the From to Away and the To to Home. Then Click the Add Condition button.

    Home Assistant State Trigger
  11. From the Condition drop-down, select And. Then click the Add Condition within the AND box and select Sun.

    Home Assistant Condition And
  12. Now set the Before to Sunrise and the After to Sunset. Then click the Add Condition button and select State from the Condition drop-down.

    Home Assistant Condition Sun
  13. Next set the Entity to Hub Mode and the State to Home. Then click the Add Action button.

    Home Assistant Condition State
  14. From the Add Action list, select Call service.

    Home Assistant Call Service Action
  15. Set the service call as follows:

    1. Select Switch: Turn on for the service.
    2. Then click the Choose entity button.
    3. Next select our Holiday Lights group from earlier.
    4. Then click Save button.

    Home Assistant Action Call Service
  16. Give the automation a name, in this case, Indoor Holiday Lighting.

    Success: That’s It! You have successfully automated your indoor holiday lights.

    Home Assistant Automation finished

Amazon Alexa

Indoor Holiday Lighting

The Official Documentation for Alexa Routines

Alexa routines are basic and there is no way to include a condition for Hub Mode.

Setting Up the Automation

  1. First, we need to create a new group to control all the smart plugs as one switch.

    Indoor Holiday Lighting Group Alexa
  2. Next, Click the More button at the bottom right of the screen.

    Alexa Home Screen
  3. Click the Routines button.

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

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

    Alexa New Routine Screen
  6. Give your Routine a name, and click Next.

    Alexa Routine Name Screen
  7. Next, click Add an event.

    Alexa Routine Main Menu
  8. From the list of Events, select Schedule.

    Alexa Routine Event Menu
  9. Select Sunset on the Event Schedule screen.

    Alexa Routine Schedule Event Menu
  10. You could adjust the offset and the repeat values as you like.  Then click Next.

    Alexa Routine Schedule Sunset Menu
  11. Next, click the Add an action link.

    Alexa Routine Main Menu
  12. On the Add Action menu, select Smart Home.

     

    Alexa Routine Action Menu
  13. Then, select Groups from the Smart Home menu.

    Alexa Routine Action Smart Home Menu
  14. Next, select our Holiday Lights group we created earlier.

    Alexa Routine Action Select Group Menu
  15. On the Holiday Lights screen, select Power On and click Next.

    Alexa Routine Action Select Group Power
  16. Finally, click Save to finish the Routine.

    Success: That’s It! You have successfully automated your indoor holiday lights.

    Alexa Routine Main Menu