Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for On-demand (manual) update checking (disabling automatic checks) #53

Closed
arigit opened this issue Jun 4, 2019 · 3 comments
Closed

Comments

@arigit
Copy link

arigit commented Jun 4, 2019

Is your feature request related to a problem? Please describe.
Currently HACS is constantly checking for updates, every 30min/500min etc depending on the case (see the below extract of HACS documentation)

Describe the solution you'd like

In my use case, I only run very stable components and have no need of automated checks every 30 minutes. At this point I update HA every quarter or so and custom components only occassionally, say weekly or monthly. I.e. there is no point on keeping my RPi busy checking stuff for no reason.

This is a feature request to add either a GUI or configuration file (yaml) support for disabling HACS periodic 30m/500m checks and only check when manually triggered

Describe alternatives you've considered

perhaps add a "pause" and "play" button.

Additional context
N/A


Installed elements

HACS will check for updates to installed elements:

At startup.
Every 30 minutes after HA startup.

Everything else

HACS will check for updates to every element:

At startup
Every 500 minutes after HA startup.

Manually trigger updates

You can also force a check by clicking the “RELOAD DATA” button under the “SETTINGS” tab (This will force a reload of everything.)

Under the “SETTINGS” tab there is also a reload icon to the left of every custom repository you have added, clicking that will reload info for it.

On each ElementView (the page with details about the element) there is a reload icon at the top-right corner, clicking that will reload it.

@arigit arigit changed the title Support for On-demand (manual) update checking Support for On-demand (manual) update checking (disabling automatic checks) Jun 4, 2019
@ludeeus
Copy link
Member

ludeeus commented Jun 6, 2019

This feels weird, updates are the main reason this exists, I can't imagine most users would want this and will consider this an edge case I will not add in.

As a workaround for your specific needs, you can just remove these lines:
https://github.com/custom-components/hacs/blob/65d072724ea1d785436b36fba43ce7ff0ee315c3/custom_components/hacs/hacsbase.py#L44-L48

@ludeeus ludeeus closed this as completed Jun 6, 2019
@emics
Copy link

emics commented Oct 7, 2019

The function for disable automatic update or better define custon interval is important for people like me.
I use 4G broadband connection and HACS keep a lot of tarffic of my 50GB sim card.
for my personal use is better set custom interval update.

thanks for patience

@ghost
Copy link

ghost commented Oct 7, 2019

Hi, @emics

This issue is closed, closed issues are ignored.
If you have issues similar to this, please open a seperate issue.

https://github.com/custom-components/hacs/issues/new/choose

And remember to fill out the entire issue template :)

This message was automatically generated by hacs-bot👾

@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants