Deluge Integration with Home Assisstant

General support for problems installing or using Deluge
Post Reply
instantdreams
New User
New User
Posts: 7
Joined: Fri Sep 10, 2021 5:11 pm

Deluge Integration with Home Assisstant

Post by instantdreams »

I am trying to add the Deluge integration to Home Assistant. Allow remote connections is enabled.

When I fill in the details for the integration and use username deluge I receive the following error:
Home Assistant Deluge Integration Modal
Home Assistant Deluge Integration Modal
Deluge-Integration.PNG (26.05 KiB) Viewed 2078 times
I've tried usernames of deluge, admin, abc, root.

What should I be using?
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge Integration with Home Assisstant

Post by mhertz »

I believe it's deluge's core RPC API, not web, for authenticating here, or looks like that atleast, so meaning use or make new user in 'auth' file of deluge profile, usually in '/var/lib/deluge/.config/deluge', '/srv/deluge/.config/deluge' or '~/.config/deluge'.

Thinclient guide: https://dev.deluge-torrent.org/wiki/Use ... ThinClient
instantdreams
New User
New User
Posts: 7
Joined: Fri Sep 10, 2021 5:11 pm

Re: Deluge Integration with Home Assisstant

Post by instantdreams »

Thank you for pointing me at that excellent guide!

I checked my auth file and it had a single entry for "localclient". I added a new value:

Code: Select all

echo 'homeassistant:MyC0mpl3xP4ssW0rd:10' >> /srv/deluge/config/auth
I then checked the /srv/deluge/config/deluged.log file:

Code: Select all

13:28:03 [INFO    ][deluge.core.authmanager       :90  ] Auth file changed, reloading it!
13:28:03 [INFO    ][deluge.core.authmanager       :228 ] Opening auth for load: /config/auth
13:28:03 [INFO    ][deluge.core.authmanager       :236 ] Successfully loaded auth: /config/auth
However, using these details:
  • Host: 192.168.1.95
  • Username: homeassistant
  • Password: MyC0mpl3xP4ssW0rd (to be clear, NOT my actual password)
  • Port: 58846
  • Web Port: 8112
Still gives me a "Failed to connect" error message. There's nothing in the Home Assistant logs that seems to help this.

Now that I know how to create and manage thin client users, I will find the creator of the Deluge integration for Home Assistant and check with them. Thanks again!
Post Reply