How can I get information about free disk space on a network drive, which is shared using SMB. It is a USB drive connected to router and SNMP is not available.
Got it working, thanks. The only issue is that I had to first mount the drive and since i’m running Home Assistant in as a docker container, I also needed to mount it to that container for System Monitor to see it.
Are there any other options to avoid mounting the drive?
@slowmo I’m running Supervised installer, when I reference a mounted network drive e.g.
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /usr/share/hassio/share/nas
I get:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/hassio/share/nas'
Any chance you could share how you mounted the drive such that it was available to System Monitor?