Power State Monitor Blueprint - Smart Appliance Monitoring with Google Sheets Integration
Overview
Monitor any appliance’s power states, log activities to Google Sheets, and receive smart notifications. Perfect for fridges, freezers, washing machines, dryers, and more! Turn any power-monitored device into a smart device with state detection and logging.
Key Features
-
Smart Power State Detection
- Automatic detection of working/idle states
- Optional extra state detection (e.g., door events)
- Precise power change monitoring
- Configurable thresholds for any device
- Power stabilization delays for accuracy
- Parallel execution with configurable instances
-
Intelligent Notifications
- Extra state timeout warnings (e.g., door left open)
- Cycle completion alerts (e.g., washer finished)
- Mobile app & web UI notifications
- Persistent notifications until acknowledged
- Customizable notification titles
-
Google Sheets Integration
- Automatic logging of all state changes
- Power change tracking
- Elapsed time calculations in minutes & (HH:MM:SS)
- Customizable worksheet names
-
Flexible Configuration
- Adjustable power thresholds
- Custom state names
Real-World Applications
1. Kitchen Appliances
- Fridge/Freezer Monitoring
- Track compressor cycles
- Detect door open/close events
- Get alerts for door left open
- Analyze cooling patterns
2. Laundry Management
- Washer/Dryer Monitoring
- Know exactly when cycles finish & get alerts
- Track cycle durations
3. Energy Analysis
- Power Usage Insights
- Track consumption patterns
- Monitor standby power
- Historical data analysis
Power Reference Values
Two-State Devices
- Washing Machine: 1.2W idle, 350-500W working
- Dryer: 2-3W idle, 800-1000W working
- Freezer: 0-2W idle, 150-300W working
Three-State Devices
- Modern Fridge:
- Idle: 0-2W
- Compressor: 150-250W
- Door Events: 35-70W change
- Water/Ice: 40-80W spike
Requirements
-
Home Assistant
- HACS for Google Sheets integration
- Mobile app (optional, for notifications)
-
Hardware
- Power monitoring device (watts)
- 1-5 second update rate recommended
- Compatible with Home Assistant
- For volt/amp meters, use template sensor
-
Google Account
- Google Drive access
- Google Cloud Console access
- OAuth 2.0 credentials
Setup Instructions
Detailed setup instructions are included in the blueprint, covering:
-
Google Sheets Integration
- HACS installation
- OAuth configuration
- Worksheet setup
- Integration configuration
-
Helper Entities
- State tracking booleans
- Timing entities
- Naming conventions
- Entity configuration
-
Power Configuration
- Threshold settings
- State detection tuning
- Update frequency
- Stabilization delays
-
Notification Setup
- Mobile devices selection
- Web UI options
- Alert timeouts
- Custom messages
Contributing
Feel free to:
- Share your experience
- Suggest improvements
- Report issues
- Contribute to development
Links
Acknowledgments
Special thanks to the Home Assistant community for inspiration.
Versions
- 13/01/2025: Code clean up and better naming & documentation