Noob here. Although I have used HA for some time and am very pleased with its integration, I have recently set up an automation to backup my settings to my QNAP NAS. However, I do not have my NAS on 24/7. It is only active 08:00 - 00.00. Although I have obviously set up the back up window to within those hours, when I log into HA later in the day I get a notification that the QNAP is unavailable, which was true whilst it was off but not at this time of checking. I have to restart HA to have the access to the NAS again.
Is there a way to automatically detect that the NAS is available again and automatically connect?
I agree - this HA āmis-behaviourā needs some TLC I suspect and an improvement of the fault handling process. External āStorage offlineā is not an unusual situation, so needs graceful handling.
Like @DanGlebitz , I also have my NAS powered down at night time - and HA does not handle this well at present!
Often, in the morning I get the HA UI warning ā1 repair Network Storage Device Failedā and behind that the HA Supervisor notification āWarning - Reported by Home Assistant Supervisor. Could not connect to NAS_Backup. Check Host logs for errors from the mount service for more details. Use Reload to try to connect again. If you need to update NAS_Backup, go to [storage]. And āRemoveā and āReloadā buttons.ā
Neither button option solves the issue or removes the warning pop-up.
Going to the UIās System / Storage, selecting my āNAS_Backupsā storage, re-entering the Username and Password, and then clicking Update seems to reconnect the NAS_Backups location ok, but the āRepair - Network Storage Device Failedā pop-up does not clear. Iāve not yet found how to clear that.
Iāve also noted in the Host Logs that (overnight when the NAS is off) there are multiple, repeated āReloading Supervisor cifs mount: NAS_Backupā¦ā logs. Understandably HA will retry to mount the storage, but the process / repetitions look overloaded to me.
Iām using a SMB-share on my windows workstation configured with āusage: shareā.
As I only transfer data occasionally, and always manually, it does not matter that the workstation is off 60% of the time.
So yes, a ādo not complain about the network storage device not respondingā option would be appreciated.
Reloading attemps could be reduced if the option is active and/or on demand only
This option has to be added.
The default status of my NAS is off! It only boots once a week when all the backups need to be stored on it. Then it shuts down again until one week later.
I do not want the erro message to be permanently visible.