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:
I've tried usernames of deluge, admin, abc, root.
What should I be using?
Deluge Integration with Home Assisstant
-
- New User
- Posts: 7
- Joined: Fri Sep 10, 2021 5:11 pm
Re: Deluge Integration with Home Assisstant
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
Thinclient guide: https://dev.deluge-torrent.org/wiki/Use ... ThinClient
-
- New User
- Posts: 7
- Joined: Fri Sep 10, 2021 5:11 pm
Re: Deluge Integration with Home Assisstant
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:
I then checked the /srv/deluge/config/deluged.log file:
However, using these details:
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!
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
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
- Host: 192.168.1.95
- Username: homeassistant
- Password: MyC0mpl3xP4ssW0rd (to be clear, NOT my actual password)
- Port: 58846
- Web Port: 8112
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!
Re: Deluge Integration with Home Assisstant
@instantdreams did you manage to get this solved? I have the same issue as you.
I've added my credentials and level to the auth-file and rebooted both Deluge and Home Assistant, and still get failed to connect.
I've double and triple checked the ports and the credentials and still can't find the issue...
I've added my credentials and level to the auth-file and rebooted both Deluge and Home Assistant, and still get failed to connect.
I've double and triple checked the ports and the credentials and still can't find the issue...
Re: Deluge Integration with Home Assisstant
If edited auth and home-assistant whatever thing correctly, restarted deluged/home-assistant, and having allow_remote true in core.conf and edited the right place for deluged e.g often /var/lib/deluge* something(changes based on version of deb package) or /srv/deluge/.config/deluge for arch-based, then it's not a deluge issue so please take it up with home-assistant devs/maintainers thanks.