That little number on my utility bill was starting to give me a headache. No matter how much I nagged everyone to turn things off, our energy consumption seemed to creep up. The culprit? All those little devices left on, lights burning in empty rooms, and electronics sipping “vampire power” in standby mode.
Instead of just getting frustrated, I decided to put my home on an automated energy diet. Using Home Assistant, the open-source smart home platform, you can create a set of simple rules that work 24/7 to boost your home’s efficiency. These aren’t about sacrificing comfort; they’re about making sure you’re only using power when you actually need it. Here’s how you can set up some of my favorite energy-saving automations.
Safety First
This project involves software, but you’ll be controlling electrical devices. Safety is non-negotiable.
- Turn Off the Power: If you are installing any hardwired smart switches or outlets, ALWAYS turn off the corresponding circuit at your breaker box first. Use a voltage tester to confirm the power is off before touching any wires.
- Check Certifications: Only use smart plugs and devices that are UL, ETL, or CSA certified. This ensures they’ve been tested for safety.
- Know Your Limits: Smart plugs have a maximum load rating (usually 10A or 15A). Don’t plug high-draw appliances like space heaters or large power tools into a plug not rated for them.
- Think Before You Automate: Be careful about creating automations that could cause problems, like turning off a refrigerator, freezer, or critical medical device. Stick to non-essential electronics.
Tools & Materials List
This isn’t your typical hardware store list. For this project, our “tools” are mostly software and our “materials” are smart devices.
Hardware:
- A working Home Assistant installation.
- Energy-Monitoring Smart Plugs: These are key. They don’t just turn things on and off; they report how much power is being used. This is how you’ll identify your energy vampires.
- Smart Lights or Switches: For automating your lighting.
- Motion Sensors: To detect when rooms are occupied.
- Door/Window Sensors: To know when your home isn’t sealed up.
- A Smart Thermostat: One that integrates with Home Assistant.
Software:
- Your web browser to access the Home Assistant dashboard.
- The Home Assistant Automations editor (we’ll use the user-friendly UI).
- The Home Assistant Energy Dashboard.
Project Prep: Setting Up for Success
Before you can automate, you need data. Your first job is to go on an energy-auditing mission.
- Install Your Devices: Walk around your home and install your smart plugs on “phantom load” offenders. Common culprits include entertainment centers (TV, gaming consoles, receivers), computer setups, and small kitchen appliances. Install your smart lights, motion sensors, and door sensors where you want to control them.
- Integrate with Home Assistant: Add each new device to Home Assistant using its specific integration. This usually involves going to Settings > Devices & Services and adding the integration for your device’s brand (Kasa, Shelly, Hue, etc.).
- Configure the Energy Dashboard: This is your command center for energy saving. Go to Settings > Dashboards > Energy. Here, you can add your energy-monitoring smart plugs to the “Individual devices” section.
- Wait and Watch: Let the Energy Dashboard collect data for a few days. Don’t change your habits yet. You want a clear baseline. After a while, you’ll easily spot which devices are using the most power, especially when they’re supposed to be “off.”
Step-by-Step Guide: Creating Your Energy-Saving Automations
Now for the fun part. We’ll create a few powerful automations using the built-in editor. Go to Settings > Automations & Scenes and click Create Automation.
Step 1: The “Goodbye, Lights!” Automation
This automation ensures you never leave lights on when you leave the house.
- Trigger: Set the trigger type to
Zone. Select your “Home” zone and choose your person/device. For the event, selectLeave. This means the automation runs when you leave home. Add a trigger for each person in your house. - Condition (Optional): You can add a condition to only run this if it’s daytime, but for maximum savings, it’s best to always turn off forgotten lights.
- Action: Set the action type to
Call Service. The service should belight.turn_off. For the target, choose all the lights you want to control. You can select individual lights or entire areas.
Result: The moment the last person leaves, your house checks for and shuts down any lights left on.
Step 2: The “Phantom Power Killer” Automation
This one targets those sneaky electronics that drain power on standby.
- Trigger: Use a
Timetrigger and set it for a time when you’re definitely not using the devices, like 2:00 AM. - Condition: Add a
Numeric statecondition. Select your entertainment center’s smart plug power sensor. Set it to trigger only if the power isbelowa certain number (e.g., 20 watts). This ensures you don’t turn it off mid-movie. - Action: Set the action type to
Call Serviceand the service toswitch.turn_off. Target the smart plug for your entertainment center.
Result: Your entertainment center is completely powered down overnight, saving that constant standby drain. Pro Tip: Create a simple “TV Time” scene to power the plug back on with a single tap.
Step 3: The “Stop Heating the Neighborhood” Automation
This one is a must-have for anyone with a smart thermostat and door sensors.
- Trigger: Use a
Statetrigger. Select the door or window sensor you want to monitor (e.g.,binary_sensor.patio_door). Set it to trigger when the state goes fromofftoon(closed to open) and setForto2 minutes. - Condition: Add a condition to check if the HVAC is running. Use a
Statecondition and select your thermostat entity. Set the state tocoolingorheating. - Action: Add two actions. First,
Call Servicetoclimate.turn_offfor your thermostat. Second,Call Servicetonotify.notifyto send a message to your phone saying, “Patio door was left open. Turning off the A/C.”
Result: You’re no longer wasting money trying to air condition your backyard.
Finishing Touches & Cleanup
Your automations are running, but the job isn’t quite done.
- Test and Refine: Live with your automations for a few days. Are the lights turning off too quickly? Adjust the delay. Is the Phantom Power Killer triggering when it shouldn’t? Adjust the power threshold in the condition. A good automation is one you don’t even notice.
- Monitor Your Progress: Keep an eye on your Energy Dashboard. The whole point is to see that consumption line trend downward. Seeing the real-time impact is incredibly motivating!
- Name Everything Clearly: In the automations editor, give each automation a descriptive name (e.g., “Turn Off All Lights When Away”) so you know exactly what it does later.
Conclusion
Taking control of your home’s energy use doesn’t have to be a chore. With the power of Home Assistant and a few smart devices, you can automate your savings and build a more efficient, responsive smart home. Start with one of these automations, see the impact it makes, and you’ll be hooked. You’re not just saving a few bucks on your bill; you’re reducing waste and making your home work smarter for you.