Museum art and your own layouts on Samsung The Frame.
Art Frames is free, open-source software for Samsung The Frame TVs. It runs in Docker on a NAS or any computer that stays on in your home. It does three things:
- It puts a new painting on each TV every day: public-domain museum art, or your own images.
- It shows layouts over the art at the times you choose. A layout is a small website, such as a morning dashboard, that Art Frames renders to a 4K image.
- With an optional room sensor, it turns the screen on when someone comes in, and blanks it when the room is empty or dark.
Art Frames runs on your home network and needs no cloud account. To start, see What you need and Install.
This is an early release. Pairing, delivery, scheduled wake and sleep need tests on more TV models. See compatibility.
Art Frames was called Dayframe. You still see that name in two places. When you pair a TV, the TV asks you to allow an app named "Dayframe". And each ART_FRAMES_* setting also works with the older DAYFRAME_ prefix.
Search the open-access collections of the Cleveland Museum of Art, the Met and the Art Institute of Chicago, or upload your own images. Art Frames picks a new piece each day, in order or shuffled, at the time you set. Give each piece a mat: choose fit or zoom, the focal point, and the mat's width and color. The art is the background on every TV.
A deep frame can cover the Frame's own motion sensor. Art Frames can use a small ESPHome presence sensor instead. Inside the hours you set, someone walking in turns the screen on. When the room is empty, Art Frames dims the screen, blanks it, and then lets the TV turn itself off. When the room is dark (below 5 lux by default), it blanks the screen at once and keeps it off until the light is back. See Presence sensor.
Put layouts on a weekly schedule as blocks over the artwork: a morning dashboard before work, photos in the afternoon, news and weather in the evening. Outside the blocks, the TV shows art. Each TV has its own schedule, and one server runs up to eight TVs.
When a block ends, the TV goes back to the art. Here the Morning block ends at 9:00:
Photos needs a source install.
These layouts live in the art-frames-layouts repository. Weather, Google Calendar, styling and artwork blur belong to the layouts, not to Art Frames. The install file runs Morning dashboard, News & weather and Weather. To add Photos or your own layout, use a source install: see Deployment from your computer and the website contract.
The images use made-up sample data. The museum art is in the public domain; see image credits.
The Frame turns its screen off when its own motion sensor sees no one. A deep frame or a wall recess can cover that sensor. Then the TV can't tell if anyone is there. An external sensor solves that.
- Hardware: an ESPHome device with a presence reading, for example one with an LD2410 mmWave radar. Art Frames knows the readings of the Apollo MSR-1, MSR-2 and MTR-1, the Everything Presence One and Lite, SCREEK, Seeed MR60 kits and Akamatis devices. For other devices, it picks the reading by its device class (occupancy, presence or motion), or you choose it.
- Discovery: the Sensor page finds sensors by mDNS (
_esphomelib._tcp). This needs the host network. In Docker bridge mode, type the sensor's IP address. - Link: Art Frames reads presence and light over the ESPHome native API on TCP port
6053, with the sensor's encryption key if it has one. Without a key, it can fall back to the sensor's web server (/eventson port 80). A reading older than 2 minutes counts as missing, and a missing reading never changes the TV. - What it controls, for each TV:
- Someone comes in inside the hours you set (default 07:00–23:00): the screen turns on.
- The room is empty: the screen dims at once and blanks after 15 min. At 30 min, Art Frames lets the TV turn itself off, about 5 min later. These are the defaults; you can change each time.
- The room is dark (default: below 5 lux): the screen blanks at once, even with someone there, and the TV turns itself off about 5 min later. Nothing turns it on until the light is at least twice that level and someone is there. Pick Never to turn this off.
- With a light reading, the brightness follows the room light.
- How "off" works: on a Frame in Art Mode, the power key does nothing. Art Frames sets the TV's own Sleep After timer to its shortest value, and the TV turns itself off. It saves your own Sleep After value first and puts it back when you turn sensor control off.
Art Frames never stores, logs or shows the sensor's MAC address. It keeps the encryption key in its private settings file, and never shows it on a page or in the log. For every setting, see when the room is empty and when the room is dark.
- A Samsung The Frame TV.
- A computer or NAS that stays on, with Docker, on the same home network as the TV. It must be 64-bit (amd64 or arm64). A Raspberry Pi 4 or 5 with 2 GB or more and the 64-bit Raspberry Pi OS should work, but it is not on the compatibility list yet. The images have no 32-bit build.
- A fixed IP address for the TV. Reserve it in your router (a DHCP reservation).
- For a scheduled wake: on the TV, turn on Power On with Mobile and IP Remote.
You do not need SSH. On a NAS or with Portainer, you can do every step in the web pages of its Docker app. With plain Docker Compose, you type a few commands to start and to update.
The GitHub releases of this repository and of the layouts repository publish the images that the install file uses, so the install file needs a release of each (v0.1.0 or later).
-
Make an empty folder, for example
art-frames. -
Put
install/docker-compose.ymlin it. To download it from a terminal, run this in the folder:curl -O https://raw.githubusercontent.com/brianmuse/art-frames/main/install/docker-compose.yml
-
Run
docker compose up -din that folder, or paste the file into your NAS's Docker app (see below). -
Open the log (
docker compose logs art-frames). It shows the address and a setup link with the setup code. Open the link on a phone or computer on your home network and create a password.
The install runs Art Frames (ghcr.io/brianmuse/art-frames), the HTML/CSS renderer (ghcr.io/brianmuse/art-frames-renderer-static) and three layouts from the layouts repository: Morning dashboard (calendar and weather), News & weather and Weather (ghcr.io/brianmuse/art-frames-layout-<name>). Each layout runs in its own container. It uses the network only to fetch its own data, and it sees only its own settings.
If you use a coding agent (such as Claude Code) that can reach your server, over SSH or a terminal on the server itself, paste this prompt:
Install Art Frames on my home server: https://github.com/brianmuse/art-frames
1. Check the server: 64-bit (amd64 or arm64), Docker with Compose, on the same home network as my Samsung The Frame TV. Tell me what is missing instead of installing system packages.
2. Make a folder named art-frames, and download install/docker-compose.yml from the repository's main branch into it. Show me the file before you start it.
3. Run `docker compose up -d` in that folder, then `docker compose logs art-frames`.
4. Give me the address and the setup link from the log. Stop there: I open the link and create the password myself.
Do not forward ports on my router, and do not change other containers.
On a NAS with a Docker app and no terminal, follow the steps for your NAS below.
Art Frames serves plain HTTP on your home network. Do not forward port 8765 from your router. For HTTPS, see Access and networking.
- Run
docker compose up -din the folder. - Run
docker compose logs art-framesto see the address and the setup link.
The log has no QR code, because Art Frames runs in the background. After you sign in, the Server page shows a QR code of the address for your phone.
The file uses the host network. Art Frames then can search for your TV, wake it, find a presence sensor and answer at http://art-frames.local:8765.
- In File Station, make a folder, for example
docker/art-frames. - Open Container Manager → Project → Create. Name the project
art-frames. Choose the folder as the path. Choose Create docker-compose.yml and paste the file. - Finish the wizard. Open Container → art-frames → Log to see the address and the setup link.
Name the project art-frames, so the data volume is art-frames_data as in these docs. The install file already uses the HTML/CSS renderer. Many Synology kernels can't run the Chromium renderer. See Synology installation, also for updates and backups.
Unraid keeps app data in /mnt/user/appdata, where its backup tools look. Use a folder there instead of the named volume.
-
Open Terminal (the
>_icon at the top of the Unraid web page) and run:mkdir -p /mnt/user/appdata/art-frames chown -R 10001:10001 /mnt/user/appdata/art-frames
-
Install the Compose Manager plugin from Apps.
-
Open Docker → Compose → Add new stack. Name it
art-framesand paste the file. -
In the pasted file, change the line
- data:/datato- /mnt/user/appdata/art-frames:/data. -
Select Compose Up. Open the log of the
art-framescontainer to see the address and the setup link.
Keep the host network: it is in the file.
- Open Stacks → Add stack. Name it
art-frames. - Paste the file into the web editor and select Deploy the stack.
- Open Containers → art-frames → Logs to see the address and the setup link.
Docker Desktop has no host network on your home network. Add install/docker-compose.bridge.yml next to the main file:
curl -O https://raw.githubusercontent.com/brianmuse/art-frames/main/install/docker-compose.bridge.yml
docker compose -f docker-compose.yml -f docker-compose.bridge.yml up -dThen open http://localhost:8765. From a phone, use http://<this computer's IP>:8765. In this mode Art Frames can't search for the TV, wake it or answer at art-frames.local. Type the TV's IP address in setup.
To see the log, open Containers → art-frames → art-frames → Logs in Docker Desktop. In this mode the log shows the setup code, but no setup link: Art Frames can't see this computer's address. Type the code on the setup page.
- Open the setup link from the log. It fills in the setup code. On Docker Desktop, open
http://localhost:8765and type the code from the log. The code works for 1 hour. - Create a password of at least 12 characters.
- Follow the setup steps on Home: add your TV, pair it and choose what it shows.
- When you pair, the TV shows a prompt to allow "Dayframe". Select Allow on the TV.
By default the TV shows the day's artwork. To show a layout, pick a starter plan on Home, or add a block for the layout on the TV's Schedule page. Then open the layout under Layouts and set what it needs: a city for the weather, or your calendar links for Morning dashboard. A layout with nothing set still works: it leaves out the weather or the calendar. Other layouts, such as Photos, and your own website need a source install for now; see layout packages and the website contract.
Each device stays signed in for 30 days after its last visit. To see the address again, open Server in the sidebar. With the host network, it also has a QR code for your phone.
To learn the pages of Art Frames, see Using Art Frames.
- Download a backup first: Server → Export settings → Download backup. Tick Include private values.
- Run
docker compose pull, thendocker compose up -d. On Synology, follow the update steps. In Portainer, open the stack and select Update the stack with Re-pull image on. On Unraid, select Compose Pull, then Compose Up. - To stay on one version, put
ART_FRAMES_VERSION=0.1andART_FRAMES_LAYOUTS_VERSION=0.1(for example) in a.envfile next to the compose file. In Portainer or Unraid, changelatestin theimage:lines instead.
To go back to an older version, restore the data backup too. An older version may not read settings that a newer one wrote.
Art Frames never updates itself. Once a day it asks GitHub for the newest version number and shows "Art Frames X is out" at the bottom of the sidebar, where X is the new version. It sends nothing about you. Turn it off in Server → Updates, or set ART_FRAMES_UPDATE_CHECK: "0" under environment:.
-
Settings only: open Server → Export settings and select Download backup. Tick Include private values to keep TV pairings, sensor keys and layout keys. Keep that file as safe as a password. Without that tick, the file still holds the TVs' IP addresses, but not their MAC addresses. Server → Import settings → Import backup brings the settings back. Art Frames keeps a copy of the current settings first.
-
Everything: stop Art Frames, then copy the whole data volume. With Docker Compose the volume is
art-frames_data:docker compose stop docker run --rm -v art-frames_data:/data:ro -v "$PWD":/backup alpine tar -czf /backup/art-frames-data.tar.gz -C /data . docker compose start
On Unraid, back up
/mnt/user/appdata/art-frames. The copy holds your password hash and TV pairings. Keep it private.
- Art Frames does not find the TV. Use the host network (the default file). Turn the TV on. The TV and the server must be on the same network. Type the network range, for example
192.168.1.0/24, or type the TV's IP address. Art Frames talks to the TV on ports 8001 and 8002. art-frames.localdoes not open. Use the IP address from the log or the Server page. Some routers, guest networks and mesh Wi-Fi block.localnames. Docker bridge mode can't announce the name.- Two installs on one network. Give each its own name: add
ART_FRAMES_MDNS_NAME: kitchen-frames(for example) underenvironment:. Otherwise mDNS renames the second one, and the log says which name it got. - "Art Frames cannot write to its data folder". The install file uses a named volume, which needs no change. If you use a host folder, give that folder to user 10001:
sudo chown -R 10001:10001 <folder>. - You forgot the password. Add
ART_FRAMES_RESET_PASSWORD: "1"underenvironment:for theart-framesservice and start it again. The log then shows a new setup link. Create a new password. Then remove the line and start Art Frames again: each start with it set resets the password once more. Your TVs and settings stay, and the old password file is kept asauth-before-reset.json. This works from a NAS's Docker app too. If your install uses a password file (.secrets/web_password), the reset does nothing: read the password from that file. - A page says
auth.jsonis damaged. Reset the password as above. - The setup code expired. Try once more: Art Frames prints a new code in the log. A restart also makes a new code.
- "Bad Request" in the browser. You opened Art Frames with a name it does not answer to, such as a DNS name with dots. Use the IP address, or add that name to
ART_FRAMES_HOSTSunderenvironment:, for exampleART_FRAMES_HOSTS: "*,frames.home.arpa". - "Too many tries". After 5 wrong passwords in a minute, Art Frames waits a minute. Behind a reverse proxy, a tunnel or Docker Desktop, every device has the same address for Art Frames, so they share that limit.
- Raspberry Pi: "exec format error" or no matching image. Use the 64-bit Raspberry Pi OS on a Pi 4 or 5.
- Synology: the renderer does not start. Use the HTML/CSS renderer, as the install file does. See Synology installation.
- If you may want your settings again, download a backup first (see Backups).
- In the install folder, run
docker compose down -v. This stops Art Frames and removes its containers. The-valso deletes the data volume, with your settings, artwork and TV pairings. On Unraid, also delete/mnt/user/appdata/art-frames. - On each TV, remove "Dayframe" from the list of connected devices in the TV's device connection settings.
To build Art Frames from source, install layouts from the layouts repository, or deploy to a NAS over SSH, read these pages:
- Deployment from your computer: the SSH helper, layout installs and rollback.
- Contributing: the development setup, checks and rules. To share a layout you made, send it to art-frames-layouts.
- Hosting, configuration, layout packages, the website contract, renderer choices and architecture.
- Releasing and security.
- Art Frames is free software under the MIT License.
- Third-party notices list the licenses of the bundled code and fonts.
- The museum art in these images is in the public domain (CC0). See image credits.
- Samsung and The Frame are trademarks of Samsung. Art Frames is not affiliated with Samsung.









