Ha Network Storage
The External Storage Support application enables you to mount external storage services and devices as secondary HA storage devices.
To use a Windows 10 shared folder as network storage for Home Assistant (docker), you need to set up a shared folder on Windows 10 and mount it inside debian.
Table of Contents
storage server and protocol
storage client and protocol
# protocol:
# - SMB: smb://192.168.1.100/PhoneShare
# - FTP: ftp://192.168.1.100:21
# - WebDAV: http://192.168.1.100:8080/
# - SFTP: sftp://192.168.1.100:22
# - NFS: smount -t nfs 192.168.1.10:/home/share /mnt
| all kind of server | ha on rpi5 | Scene | ||||||
| Server | Client | |||||||
| OS Type | Inside OS | sharing protocol | Storage | Inside OS | Inside HA | |||
| local storage server | ||||||||
| windows 10 | Install IIS WebDAV Server | Web server | webdav Storage | webdav integration | ||||
| windows 10 | Install NFS server | NFS Storage | Insall nfs-common | |||||
| windows 10 | SMB Storage | SMB | SMB Storage | Install smbclient cifs-utils | ha Use windows share folder as data storage | |||
| FTP/FTPS | ||||||||
| linux | SFTP Server | SFTP over SSH(SSH File transfer protocol) | SFTP Storage | |||||
| linux | Install NFS server | | ||||||
| Usb external storage | buy | |||||||
| remote cloud storage | Amazon S3,Dropbox, Google Drive, Amazon | |||||||
SMB Client
Client on rpi5(OS)
rpi5 -> smb folder share on windows 10
SMB - use cifs
sudo mount -t cifs -o username=your_username,password=your_password //server_ip/share_name /mnt/smb_share
SMB - not use cifs
smbclient -L //192.168.2.21 -U test2
output
Sharename Type Comment
--------- ---- -------
nextcloud Disk
shareforgiteagitserver Disk
smbclient //192.168.2.21/nextcloud -U username
output
smb: \> l
. D 0 Mon Dec 15 03:50:39 2025
.. D 0 Mon Dec 15 03:50:39 2025
data D 0 Mon Dec 15 03:55:30 2025
732562175 blocks of size 4096. 91858085 blocks available
smb: \>
Windows 10 shared folder as network storage for Home Assistant (docker)
Mount the SMB/CIFS share directly into the host file system using fstab or a mount point, then pass that directory into your docker-compose.yml
services:
homeassistant:
image: "ghcr.io/home-assistant/home-assistant:latest"
volumes:
- /opt/homeassistant/config:/config
- /mnt/ha_windows_share:/backup # or /media
restart: unless-stopped
network_mode: host
Access a Shared Folder on Windows 10
Comments
Comments are closed