r/TheFrame • • 20h ago

Open Source: External sensor support, art libraries, custom schedulable overlays

Post image

A lot of us have hit this: put The Frame in a deeper or custom frame and it covers the TV's built-in light and motion sensors. Art Mode brightness stops following the room, and the screen no longer wakes when you walk in or turns off when you leave.

I built Art Frames to fix that for my own Frames. It's free and open source, and it runs on a home server or NAS. No cloud account, no subscription.

Use an external sensor instead

Art Frames works with off-the-shelf ESPHome presence sensors (Apollo, Everything Presence, SCREEK, Seeed and others). Put one on a shelf or the wall, out from behind the frame, and Art Frames:

- sets the Art Mode brightness from the room's light

- turns the screen on when you walk in, during the hours you choose

- dims it, blanks it, and lets the TV turn off when the room is empty

- keeps it dark when the room is dark

Free art, new every day

No Art Store subscription needed. Search the public-domain collections of The Met, the Art Institute of Chicago and the Cleveland Museum of Art, and add what you like. Each TV gets a different painting each day. Mats are even on all four sides, in any width and color you pick.

Also included

- Layouts on a schedule: your calendar and the weather over the art in the morning, then back to plain Art Mode at the time you set. It ships with three layouts: Morning, Weather, and News & weather.

- Every TV in the house: each TV gets its own schedule, layouts, mat and sensor.

- Your own layouts: a layout is a small web page, so if you know HTML and CSS, you can build one.

Setup

It runs in Docker: Synology Container Manager, Unraid, Portainer, Docker Compose, or Docker Desktop. Paste one compose file, open the link in the log, and create a password. The web page works only on your home network. The README also has a prompt you can paste into a coding agent like Claude Code to do the install for you.

- Website: https://brianmuse.github.io/art-frames/

- Code: https://github.com/brianmuse/art-frames

It's a side project, so expect rough edges. Bug reports and ideas are welcome. If your sensor isn't on the list, tell me which one it is.

53 Upvotes

14 comments sorted by

2

u/bmuse 20h ago

More on layouts, since they're the most flexible part.

A layout is a design that draws your info right over the day's painting, so the TV stays in Art Mode. Three come with the install: Morning (calendar and weather), Weather, and News & weather. You schedule them per TV, like Morning from 6 to 9 AM, then plain art.

They live in their own repo: https://github.com/brianmuse/art-frames-layouts. If you can make a web page, you can make a layout. Each one has a preview mode with sample data, so you can design it on your computer without touching the TV.

Layouts update every so often, not live, so they suit things that change slowly: a quote or word of the day, this day in history, moon phase and sunrise, tide times, a chore chart. Open a "New layout proposal" issue or open a pull request.

Also, feel free to star the GH repos to bring visibility. I'd love for this to become a community project and I have zero intentions of ever trying to make this a business or paid thing. Cheers!

1

u/Winejug87 8h ago

Does this work by creating a new image and pushing it to art mode?

I did this and ran into a storage limit on the frame’s memory.

2

u/StunGod 19h ago

Wow, thanks for sharing this! Looks like a great side project for me, so I'll at least get a container running and point my TV at it.

1

u/bmuse 19h ago

Oh awesome! Let me know how it goes and feel free to contrib any fixes or ideas back in. I only really tested in my own home env.

2

u/ceciltech 17h ago edited 17h ago

Amazing work, love what it can do. This needs to be a plugin for home assistant, let it use any sensor and be triggered by anything.

2

u/bmuse 16h ago

Feel free to contrib. I don't use home assistant, so I'm not well equipped to add this.

1

u/ryan8344 15h ago

Great work -- you are burning some tokens! Would the SONOFF SenseGuard work?

2

u/bmuse 15h ago

Not yet, unfortunately. Right now it only talks to ESPHome sensors (Apollo, Everything Presence, SCREEK, the LD2410 DIY ones, etc). The SenseGuard is either Zigbee or Matter over Wi-Fi depending on which one you have, so it can't read it directly.

The Wi-Fi one (SNWF-06P24) does support MQTT though, and adding MQTT would also cover anything you've got going through Zigbee2MQTT. If you're up for it (and have a few tokens to burn), I'd love a PR! The sensor code is pretty self-contained, and you've got the hardware to actually test it, which I don't.

1

u/ryan8344 13h ago

Thanks i’m looking into it!

2

u/bmuse 13h ago

I'm sure Claude can figure it out 😂

2

u/Fwiler 18h ago

Nice job.

2

u/maingey 13h ago

Was just being introduced to overlays by u/ryan8344. Video play back as it cycles through. Make the default audio muted. It'll be like living pictures.

1

u/isaipj93 10h ago

Can I use it on a TCL a400 pro?

1

u/Ancient-Dot1955 2h ago

Shut up and take my money !

How much ?