Hello fellow Unraiders!
I’m excited to share a new custom integration I’ve developed that brings comprehensive Unraid server monitoring and control capabilities to Home Assistant.
Features
System Monitoring
- Real-time system metrics:
- CPU usage and temperature
- RAM utilization
- Boot drive status
- Cache drive usage
- Array disk status
- Individual disk monitoring
- Temperature sensors:
- CPU temperature tracking
- Motherboard temperature monitoring
- UPS integration:
- Battery status
- Power monitoring
Docker Management
- Complete Docker container control:
- Start/stop containers
- Monitor container status
- Execute commands within containers
- Container health monitoring
VM Control
- Virtual Machine management:
- Start/stop VMs
- VM status monitoring
- Automated VM control
Command & Script Management
- Advanced control capabilities:
- Execute shell commands
- Run user scripts
- Schedule automated tasks
- Background task execution
Installation
-
Add through HACS (recommended):
- Add custom repository:
https://github.com/domalab/ha-unraid
- Install “Unraid Integration”
- Add custom repository:
-
Manual installation:
- Download the repository
- Copy to your
custom_components
folder - Restart Home Assistant
Documentation
Example Uses
-
Automated Backups
# Weekly backup automation automation: - alias: "Weekly Unraid Backup" trigger: - platform: time at: "02:00:00" condition: - condition: time weekday: - sun action: - service: unraid.execute_user_script data: entry_id: "YOUR_UNRAID_IP" script_name: "backup.sh"
-
Smart Power Management
# UPS monitoring automation automation: - alias: "UPS Low Battery Shutdown" trigger: - platform: numeric_state entity_id: sensor.unraid_ups_battery below: 20 action: - service: notify.notify data: title: "UPS Battery Critical" message: "Initiating safe shutdown"
Contributing
Contributions are welcome! Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
- Share your automation examples
Future Plans
- Enhanced Diagnostic Logging
- More detailed temperature tracking
- Extended disk health monitoring
- Additional automation templates
- Support for ZFS pools
- Improved error handling
Feedback
I’d love to hear your thoughts and suggestions! Feel free to:
- Share your use cases
- Suggest improvements
- Report any issues
- Ask questions
Happy automating!