SABnzbd
The SABnzbd integration allows you to monitor and control your downloads with SABnzbd from within Home Assistant and set up automations based on download status and activity.
SABnzbd is a popular newsgroup binary downloader that automates the downloading, verification, repairing, and extraction of files from Usenet. With this integration, you can create smart home automations that respond to your download activity, monitor disk space, and control your downloads remotely.
Use cases
Here are some practical ways you can use the SABnzbd integration:
- Download completion notifications: Get notified on your phone or smart display when downloads finish.
- Bandwidth management: Automatically pause downloads during peak internet usage hours or when streaming services are active.
- Disk space monitoring: Set up alerts when your download drive is running low on space.
- Smart scheduling: Automatically start downloads during off-peak hours when internet is faster or cheaper.
- Home theater integration: Pause downloads when movie night starts to ensure smooth streaming.
- Security monitoring: Get alerted if SABnzbd goes offline or becomes unreachable.
Prerequisites
You need to grab your API key from your SABnzbd instance in order to configure this integration:
- Navigate to your SABnzbd web interface.
- Select Config*
, then General. - Copy your API key under Security.
此集成可通过 UI 配置。前往 设置 > 设备与服务 添加。
Supported functionality
Binary sensors
- Warnings: Indicates if SABnzbd has any warnings (for example, disk space low, download errors)
Buttons
- Pause: Pause all downloads
- Resume: Resume paused downloads
Sensors
This integration creates the following sensors to monitor your SABnzbd instance:
- Status: The current status of SABnzbd (Idle, Downloading, Paused, etc.)
- Speed: The current download speed in MB/s
- Queue: The total size of the download queue in GB
- Left: The remaining size of the download queue in GB
- Disk: The total disk size at SABnzbd's download location in GB
- Disk free: The available disk space at SABnzbd's download location in GB
- Queue count: The number of items in the download queue
- Total: Total GB downloaded since SABnzbd was last restarted
Numbers
- Speed limit: Set the download speed limit (as a percentage of your configured maximum speed).
Examples
Basic download monitoring automation
This automation sends a notification when a download completes:
Disk space warning
Get notified when your download drive is running low on space:
Bandwidth management during streaming
Automatically pause downloads when your media players are active:
Smart scheduling with speed limits
Reduce download speed during peak hours and increase it during off-peak hours:
Dashboard card example
Create a comprehensive SABnzbd monitoring card for your dashboard:
Data updates
The SABnzbd integration polls data from your SABnzbd server every 30 seconds by default. This provides near real-time updates of download progress, queue status, and system information without putting excessive load on your SABnzbd instance.
Troubleshooting
SABnzbd not found or unreachable
- Verify SABnzbd is running: Check that SABnzbd is running and accessible via its web interface.
- Check the URL: Ensure you're using the correct URL format including the port (typically
http://localhost:8080). - Test API key: Verify your API key is correct by comparing it in the SABnzbd web interface.
- Network connectivity: If SABnzbd is on another device, ensure Home Assistant can reach it over the network
- Firewall settings: Check that your firewall allows connections to SABnzbd's port.
- Enable debug logging: Temporarily enable debug logging for the SABnzbd integration to get more detailed error messages.
SABnzbd app-specific issues
If you're using the SABnzbd app for Home Assistant (formerly known as add-on):
- Use internal URL: Use
http://a02368d7-sabnzbd:8080instead oflocalhost. - Check app logs: Review the SABnzbd app logs for any error messages.
- App configuration: Ensure the app is properly configured and started.
Removing the integration
This integration follows standard integration removal. No extra steps are required.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three-dot
menu. Then, select Delete.

