⏱️Timestamps⏱️
00:00 How To Save Energy Using A Smart Home With Teens
00:15 Smart Devices Overview (Siren, Sensors, Smart Plugs, Plugwise system)
==== Setup the hardware ====
03:23 Setup Home Assistant on a Raspberry Pi
08:14 Setup ZigBee Antenna ZBT-2 and P1 Cable
13:16 Setup Energy Dashboard
15:36 Connecting Plugwise Adam Gateway and Emma Thermostat
20:18 Connecting all ZigBee Smart Devices
==== Automations ====
23:06 Laundry Finished Notification Automation
27:18 Dial Back Thermostat Automatically
30:08 Door Sensor Alarm to keep the door shut
34:17 Shower Timer Automation for Teens
40:17 Using Solar Surplus for Electrical Heating
48:50 Create Awesome Energy Dashboard
50:31 Security Alarm System
53:09 Dinner Notification
How will you benefit?
Stop acting like the energy police and start saving like a Pro! In this tutorial, I’ll show you how to build awesome automations that make saving gas both fun and effortless.
The Ultimate Guide to Saving Energy with Home Assistant
Pushing back on energy consumption when you have teenagers in the house can feel like a losing battle. Between open doors letting all the heat out, 20-minute hot showers, and thermostats being cranked up, the energy bills can skyrocket. But instead of constantly playing the bad cop, you can use the power of Home Assistant to automate your way to direct savings.
What You Need to Build Your Smart Home
To follow along with this project, you don't need a massive budget or a server rack. We are building a robust, locally controlled smart home using the following hardware:
- Raspberry Pi 4 (2GB): The brain of the operation running the Home Assistant OS.
- ZBT-2 Antenna: Provides rock-solid Zigbee connectivity for all wireless sensors.
- P1 to USB Cable: Connects your smart meter directly to the Pi for real-time energy monitoring.
- Sonoff Zigbee Devices: Smart plugs for appliance monitoring, door/window sensors, motion sensors, and a temperature/humidity sensor.
- Zigbee Siren: A 90-decibel alarm with 18 sounds to get the kids' attention.
- Plugwise Adam & Emma Thermostat: A top-tier, cloud-independent Dutch smart heating system that integrates perfectly with Home Assistant.
Step 1: Installing Home Assistant
Starting with Home Assistant is easier than you think. Using the Raspberry Pi Imager, you can flash the Home Assistant OS directly onto an SD card (though an SSD is recommended for long-term use). Once plugged into your router via an Ethernet cable, Home Assistant is accessible via your web browser, allowing you to create your master user account and begin adding devices.
Step 2: Monitoring Your Energy
By integrating a P1 cable to your smart meter via the DSMR integration, you can instantly see how much electricity and gas your home is consuming. Configuring the Energy Dashboard with your specific utility tariffs (including daytime, nighttime, and solar feed-in rates) gives you a clear financial view of your home's efficiency.
Step 3: Creating Money-Saving Automations
The true power of Home Assistant lies in its automations. Here are some of the highly effective YAML scripts we implemented to curb energy waste:
1. The "Secretly Dial Back" Thermostat
If someone manually cranks the living room temperature up to 24°C, this automation waits 5 minutes, sends a notification to your phone, and secretly dials the thermostat back to its normal, economical schedule.
2. The "Close the Door" Alarm
To prevent heat loss, a door sensor is placed on the living room door. If the outdoor temperature is below 15°C and the door is left open for more than 6 seconds, the Zigbee Siren goes off. It is incredibly effective at teaching teens to shut the door behind them!
3. The Smart Shower Timer
Using the domestic hot water sensor from the Plugwise boiler integration, Home Assistant tracks exactly how long the shower has been running. At 5 and 10 minutes, it sounds a gentle warning chime. At 15 minutes, it sounds a loud alarm and actively drops the boiler's set point from 60°C to 40°C, ending the hot shower.
4. Solar Surplus Heating
If you have solar panels, you can configure template helpers to calculate your daily net surplus. If you are producing more power than you are consuming, Home Assistant automatically triggers an electric heater via a smart plug to warm the house using free solar energy instead of expensive gas.
Conclusion
By bridging the gap between hardware sensors and intelligent software, Home Assistant allows you to manage occupancy, secure your home, and significantly lower your utility bills. Stop yelling at your kids, and let your smart home do the heavy lifting!
