Connect an iPhone to Home Assistant's Samba share

By Isaac Griffiths, developer of SMBDrop ·

Home Assistant's Samba share app (it used to be called an add-on) shares Home Assistant's folders over SMB. People mostly use it to edit configuration files, but it's also a way to put files into the media folder from an iPhone, for a slideshow on a dashboard or for a media player. This guide sets it up and connects from iPhone, with a word on whether you should use it for photo backups.

Disclosure: I make SMBDrop, which can send to this share. The setup below works with the Files app too. Option names are from the Samba share app's documentation as of November 2026.

Step 1: Install the Samba share app

  1. In Home Assistant, open Settings → Apps (on older versions, Settings → Add-ons) and open the app store.
  2. Find Samba share and install it.

Step 2: Configure it

Open the app's Configuration tab before starting it.

Save, then start the app and check its Log tab for errors.

Step 3: Connect from the iPhone

  1. Find Home Assistant's IP address under Settings → System → Network.
  2. In Files, open Browse → ⋯ → Connect to Server and enter smb:// and that address, for example smb://192.168.1.20.
  3. Choose Registered User and use the Samba username and password from step 2.
  4. You'll see the enabled shares. Open media and save a test file.

Using it over Tailscale

If you reach Home Assistant through the Tailscale app, note that Tailscale addresses start with 100. and fall in 100.64.0.0/10, which isn't in the default Allow hosts list. Add 100.64.0.0/10 to the list if you want to connect over Tailscale, then restart the app. Don't open port 445 on your router. Sending to your NAS over Tailscale covers the iPhone side.

Should Home Assistant hold your photo backups?

For a few files for a dashboard, yes. As the main home for your iPhone library, I wouldn't, for two reasons:

If you want a small, cheap photo target and already have a spare Pi, a separate Samba setup is simpler. See the Raspberry Pi Samba guide.

Sending with SMBDrop

  1. In SMBDrop, add a share with Home Assistant's IP address and the Samba username and password.
  2. Tap Find Shares and pick media or share, optionally browse to a subfolder, run Test Connection and save.
  3. Send photos or files.

It sends the original files and never overwrites one already there. It doesn't know about Home Assistant's media browser; it just puts files in the folder.

Troubleshooting

Connection refused or times out

Check the app is running and its log is clean, and that the iPhone's address is inside Allow hosts. A VPN or guest Wi-Fi puts the phone outside your home range. See "Operation timed out" on iPhone.

Signed in, but a share is missing

It isn't in Enabled shares. Add it and restart the app.

Read only on the iPhone

Make sure Apple compatibility mode is on, then eject and reconnect. If a computer can write and the iPhone still can't, see the read-only share guide.

FAQ

How do I access Home Assistant files from my iPhone?

Install the Samba share app, set a username and password, start it, then in the Files app use Connect to Server with smb:// and Home Assistant's IP address, signing in as a Registered User.

Do I need Compatibility mode for an iPhone?

No. Compatibility mode enables old SMB protocols that the iPhone doesn't use, and it lowers security. Leave it off and keep Apple compatibility mode on.

Why can't I connect to Home Assistant's Samba share over Tailscale?

Tailscale addresses are in 100.64.0.0/10, which isn't in the app's default Allow hosts list. Add that range to Allow hosts and restart the app.

Is it a good idea to back up iPhone photos to Home Assistant?

Only for small amounts. Photos share the disk with Home Assistant's database and backups, and can make backups much larger. A NAS or a separate Samba server is a better home for a photo library.

More guides

Try SMBDrop

Send original photos, videos and files from your iPhone straight to your own SMB share. One purchase, no account, no subscription.

Download SMBDrop on the App Store £9.99 once · no subscription · iOS 17+