- Smart Egg Boiler Automation with Home Assistant – Start Your Day the Smart Way
- Devices and Requirements
- Automation Details
- 1. Trigger – Detecting Power Consumption
- 2. Actions – Timer, Notifications, and TTS
- Why This Automation Makes Sense
- Tips for Implementation
Smart Egg Boiler Automation with Home Assistant – Start Your Day the Smart Way
A perfectly cooked breakfast egg is a must for many people to start the day right. In my smart home, this process now runs completely automatically – thanks to a simple yet effective automation in Home Assistant. The egg boiler turns off on its own when the eggs are ready and announces through the speakers in the house: “Freshly cooked eggs are ready.”
In this post, I’ll show you how I created this automation, which devices I used, and how you can easily replicate it yourself.
Devices and Requirements
For this automation, I’m using the following components:
- Home Assistant Server (e.g., running on Proxmox or Raspberry Pi)
- Smart plug with power monitoring (e.g., Gosund, Shelly Plug S, Tasmota, or Zigbee plug) (*)
- Egg boiler (any standard model) (*)
- Speakers for TTS output (e.g., Google Nest Mini, Echo, or Home Assistant media players)
- Smartphone with the Home Assistant app for push notifications
The most important requirement is that your smart plug can measure current power consumption in watts. Only then can Home Assistant detect when the egg boiler (*) is actively running.
Automation Details
1. Trigger – Detecting Power Consumption
As soon as the egg boiler (*) is turned on, the power consumption rises above 10 W.
This value serves as the trigger for the automation.
- Trigger: Device – “Egg Boiler ENERGY Power changes”
- Condition: Power >10 W for at least 10 seconds
This ensures that the automation only runs when the egg boiler is actually operating – not due to short power spikes or during a Home Assistant restart.
2. Actions – Timer, Notifications, and TTS
Once the trigger activates, the following actions take place:
- TTS announcement: Home Assistant announces via text-to-speech, “The egg boiler has started.”
At the same time, a push notification is sent to my smartphone. - Timer: After a delay of 8 minutes and 40 seconds (the perfect time for medium-boiled eggs), the plug automatically turns off.
- Notification: Immediately afterward, a second push message appears – “Eggs are ready.”
- TTS announcement: The speakers around the house announce, “Freshly cooked eggs are ready.”
I use a custom TTS script that broadcasts the message to multiple speakers and repeats it once. - Short reactivation: After a 20-second pause, the plug turns on again to reset its state and ensure the egg boiler has completely powered off.
YAML Automation Example:
alias: Küche - Eierkocher
description: ""
triggers:
- type: power
device_id: e72de45d52f1a3531d2028346d02bb1b
entity_id: cf9f92a35a3d3fe6eb86c15adcf18f1e
domain: sensor
trigger: device
above: 10
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- action: script.durchsage_tts
metadata: {}
data:
varspeaker:
- media_player.cs_schreibtisch
- media_player.cs_bad
- media_player.cs_schlafzimmer
varrepeat: 1
vardelay:
hours: 0
minutes: 0
seconds: 10
varmessage: Eierkocher wurde gestartet
- action: notify.mobile_app_cs_f4
metadata: {}
data:
title: Gerät
message: Eierkocher wurde gestartet
- delay:
hours: 0
minutes: 8
seconds: 40
milliseconds: 0
- type: turn_off
device_id: e72de45d52f1a3531d2028346d02bb1b
entity_id: e88c4bb18ce96922d2aa69d2b8a939f0
domain: switch
- action: notify.mobile_app_cs_f4
metadata: {}
data:
title: Gerät
message: Eierkocher ist fertig
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
- type: turn_on
device_id: e72de45d52f1a3531d2028346d02bb1b
entity_id: e88c4bb18ce96922d2aa69d2b8a939f0
domain: switch
- action: script.durchsage_tts
metadata: {}
data:
varspeaker:
- media_player.cs_schreibtisch
- media_player.cs_bad
- media_player.cs_schlafzimmer
- media_player.eg_wohnzimmer
- media_player.og_ss_schlafzimmer
- media_player.og_badezimmer
vardelay:
hours: 0
minutes: 1
seconds: 0
varmessage: Eierkocher ist fertig
varrepeat: 1
mode: single
Why This Automation Makes Sense
This smart home automation has several practical benefits:
- No overboiling or burning – the boiler turns off automatically.
- No need to check constantly – TTS and push notifications tell you when the eggs are done.
- Energy efficient – the plug fully cuts power once the timer ends.
- Convenient – everything runs quietly in the background without manual input.
- Consistent results – every batch of eggs is cooked the same way thanks to precise timing.
Tips for Implementation
- Fine-tuning: Adjust the wattage threshold to your egg boiler – different models use different power levels.
- Routine integration: Combine this with your morning routine so your coffee machine starts simultaneously and announces when breakfast is ready.
- Multi-device notifications: If you use several phones, you can send push alerts to multiple Home Assistant apps.
- Safety: Always use plugs with temperature and overload protection.
- Timer adjustment: Depending on your preferred egg consistency, tweak the delay:
- Soft-boiled – around 8 minutes
- Medium-boiled – around 9 minutes
- Hard-boiled – 10 minutes or longer
My egg boiler automatically shuts off after about 11 minutes, even without automation.
(*) Affiliate Links