controlling nextcloud instance on unraid via home assistant

I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)

on

Which general topic do you have

Hi,

i want to be controlling nextcloud instance on unraid via home assistant.
Does anyone here have done that before?

Why?

My nextcloud instance is rarely used. i think iwould save system resources and energie (spinned down drives).
Also i noticed, that my drives are not getting spinned down when nextcloud is active.. which i dont want when no user is accessing the files..

idea?

i think it would be enough for me to have a input toggle in homeassistant to stop and start the nextcloud instance on my unraid server.

thanks for your thoughts!
cheers,
Mario

Nextcloud gets active when the regular cronjobs run. This interval is usually every 5 min, it was 15 minutes. If you have very little changes and low activity, you can probably change this a bit and especially at night run much less often.

Other thing is when clients are connected, they have some activity running in the background.

I don’t know neither home assistant nor unraid, so I cannot say if they can be controlled automatically. However, Nextcloud is a sync solution for files, calendars, contacts, … and so on between different devices. And for this use case it seems a bit strange to me that you need to start the server each time manually.