transmission component allows you to monitor your downloads with Transmission from within Home Assistant and setup automation based on the information.
To use the monitoring, your transmission client needs to allow remote access. If you are running the graphical transmission client (transmission-gtk) go to Edit -> Preferences and choose the tab Remote. Check Allow remote access, enter your username and your password, and uncheck the network restriction as needed.
If everything is set up correctly, the details will show up in the frontend.
To enable this sensor, add the following lines to your
transmission: host: 192.168.1.1
(string)(Required)This is the IP address of your Transmission daemon, e.g.,
(integer)(Optional)The port your Transmission daemon uses.
Default value: 9091
(string)(Optional)The name to use when displaying this Transmission instance in the frontend.
(string)(Optional)Your Transmission username, if you use authentication.
(string)(Optional)Your Transmission password, if you use authentication.
(boolean)(Optional)If enabled, it creates a switch entity to control the ‘Alternative Speed Limits’ (aka ‘Turtle mode’) setting.
(integer)(Optional)How frequently to query for new data. Defaults to 120 seconds.
(map)(Optional)List of monitored conditions. Possible values are:
The status of your Transmission daemon.
The current download speed [MB/s].
The current upload speed [MB/s].
The current number of active torrents.
The current number of paused torrents.
The total number of torrents present in the client.
The current number of started torrents (downloading).
The current number of completed torrents (seeding)
The Transmission component is continuously monitoring the status of torrents in the target client. Once a torrent is started or completed, an event is triggered on the Home Assistant Bus, which allows to implement any kind of automation.
Possible events are:
Inside of the event, there is the name of the torrent that is started or completed, as it is seen in the Transmission User Interface.
Example of configuration of an automation with completed torrents:
- alias: Completed Torrent trigger: platform: event event_type: transmission_downloaded_torrent action: service: notify.telegram_notifier data_template: title: "Torrent completed!" message: ""