Twan
(Antoine)
July 1, 2020, 7:04pm
18
+1, I would love to be able to lift bandwidth limits when no one’s at home
+1
I would love to be able to show recently completed torrents in the current qBittorent integration.
Any plans for getting this to HACS?
In case its of use to anyone, there is a custom component in HACs that can be used to switch the alternative speed limit on and off. https://github.com/JurajNyiri/HomeAssistant-qBitTorrentAlternativeSpeed
That would be perfect for me, but I can’t make it to work. Any idea what could be wrong? I installed it through HACS with your url.
I have restarted HA but I don’t have any switch called qbittorrent.
switch:
> - platform: qbittorrent_alternative_speed
> host: 192.168.0.31
> username: fillilutten
> password: ******
> port: 8080
> protocol: http
> name: qbittorrent
The only thing you can maybe try is removing the extra indentation, below platform. Assuming the other details are correct.
- platform: qbittorrent_alternative_speed
host: 192.168.0.31
username: fillilutten
password: ******
port: 8080
protocol: http
name: qbittorrent
I already have it like that, only messed up in the first message. Strange…have you got it to work?
Yeah the component works well for me and my config looks the same, only other difference is im not specifying a protocol or name. The webui is enabled in your qbittorrent program options?
Yes I only use qbittorrent through webui.
So you have it something like this?
> - platform: qbittorrent_alternative_speed
> host: 192.168.0.31
> username: username
> password: ******
> port: 8080
Can someone throw me a bone? i found these files, how do i upload them to HA? I am new to this.
I submitted a PR, after much struggle (I’m most certainly not a developer ), that has all the changes to get a full list of downloading torrents into HA:
home-assistant:dev
← EverythingSmartHome:qbittorent-enhancement
opened 03:57PM - 04 Nov 20 UTC
Has anyone had any luck adding the “monitored variables” feature to the qBittorrent Sensor?
It doesn’t look like these changes were properly submitted / completed?
Looks like the last pull request went stale and was never added.
I just started using qbittorrent was was very supprised that the current componet had so few values.
Really need download counts, active torrents etc like the transmission integration.
Same here, I found even more recent PR which didn’t got merged but I was able to import it manually modifying the docker image of hass using web terminal.
Unfortunately the changes won’t be saved upon next Core release.
home-assistant:dev
← geoffreylagaisse:addqbittorentflow
opened 08:55PM - 27 Jan 21 UTC
## Proposed change
<!--
Describe the big picture of your changes here to com… municate to the
maintainers why we should accept this pull request. If it fixes a bug
or resolves a feature request, be sure to link to that issue in the
additional information section.
-->
Upgrade the qbittorrent component to flow, and used the internal async processes of hass.
Fixes #48158
## Type of change
<!--
What type of change does your PR introduce to Home Assistant?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New integration (thank you!)
- [x] New feature (which adds functionality to an existing integration)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
## Additional information
<!--
Details are important, and help maintainers processing your PR.
Please be sure to fill out additional details, if applicable.
-->
## Checklist
<!--
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look
for before merging your code.
-->
- [X] The code change is tested and works locally.
- [X] Local tests pass. **Your PR cannot be merged unless tests pass**
- [X] There is no commented out code in this PR.
- [X] I have followed the [development checklist][dev-checklist]
- [X] The code has been formatted using Black (`black --fast homeassistant tests`)
- [X] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for [www.home-assistant.io][docs-repository]
If the code communicates with devices, web services, or third-party tools:
- [X] The [manifest file][manifest-docs] has all fields filled out correctly.
Updated and included derived files by running: `python3 -m script.hassfest`.
- [X] New or updated dependencies have been added to `requirements_all.txt`.
Updated by running `python3 -m script.gen_requirements_all`.
- [X] Untested files have been added to `.coveragerc`.
The integration reached or maintains the following [Integration Quality Scale][quality-scale]:
<!--
The Integration Quality Scale scores an integration on the code quality
and user experience. Each level of the quality scale consists of a list
of requirements. We highly recommend getting your integration scored!
-->
- [ ] No score or internal
- [ ] 🥈 Silver
- [ ] 🥇 Gold
- [ ] 🏆 Platinum
<!--
This project is very active and we have a high turnover of pull requests.
Unfortunately, the number of incoming pull requests is higher than what our
reviewers can review and merge so there is a long backlog of pull requests
waiting for review. You can help here!
By reviewing another pull request, you will help raise the code quality of
that pull request and the final review will be faster. This way the general
pace of pull request reviews will go up and your wait time will go down.
When picking a pull request to review, try to choose one that hasn't yet
been reviewed.
Thanks for helping out!
-->
To help with the load of incoming pull requests:
- [X] I have reviewed two other [open pull requests][prs] in this repository.
[prs]: https://github.com/home-assistant/core/pulls?q=is%3Aopen+is%3Apr+-author%3A%40me+-draft%3Atrue+-label%3Awaiting-for-upstream+sort%3Acreated-desc+review%3Anone
<!--
Thank you for contributing <3
Below, some useful links you could explore:
-->
[dev-checklist]: https://developers.home-assistant.io/docs/en/development_checklist.html
[manifest-docs]: https://developers.home-assistant.io/docs/en/creating_integration_manifest.html
[quality-scale]: https://developers.home-assistant.io/docs/en/next/integration_quality_scale_index.html
[docs-repository]: https://github.com/home-assistant/home-assistant.io
Any chance to revive the PR? @geoffreylagaisse
Some information as to how to modify the docker image:
The only way I know to do this is to gain access to the HAOS linux shell (via the console or via ssh using port 22222) and execute docker exec -it homeassistant /bin/bash. This will put you in a bash shell inside the homeassistant core docker container. You can find your file at /usr/src/homeassistant/homeassistant/components/xiaomi_miio/.
Just be aware, any changes you make will be blown away on the next core upgrade.
How did you setup SSH access?
The command is:
docker exec -it homeassistant bash
without ha
The guide is about the addon-ssh
[20211222_185057]
and the protection mode has to be disabled for the docker command to work.
[20211222_185139]
Hi @NightMean , due to private reasons and the fact that the PR was open for more than a year, it indeed went stale. But I am gradually continuing with the PR. The latest changes I did in my branch have an unfortunate bug that the values aren’t refreshing. I’m still investigating. If I find a solution I will first push it to HACS while the new or reopened PR is going to the merging process
2 Likes
Awesome! Thank you so much.
mortee
March 16, 2023, 8:08pm
34
Guys, so much interesting stuff happening here, too bad PRs go stale.
Is there a chance a version sensor can be added to this integration? The underlying lib apparently has it:
https://python-qbittorrent.readthedocs.io/en/latest/tasks.html#getting-version-details
Hello ! fist sorry for my english is not my mother tongue.
in last four days i adapter code @danielbibit for use in new versions of home assistant…
I used most of his code, thanks @danielbibit and made some upgrades kkkk
it is my git repo with code and tested in new version home assistant.
1 Like
It is interesting that the official integration got an upgrade to add GUI config but still lacks these extra features.
Hi @geoffreylagaisse , any possible update on the official integration? The previous PR was submitted almost 3 years ago