vivalatech / homeassistant-addons

A small script that makes it easy to fling a folder of images onto the Samsung Frame TV
8 stars 1 forks source link

Samsung Frame TV Art Changer add-on for Home Assistant

TV with some art on it

This add-on is built on the awesome work of https://github.com/ow/samsung-frame-art and https://github.com/gijsvdhoven/homeassistant-addons. It adds the ability to push images from different sources to your Samsung Frame TV, currently supported are Google Art and Culture, Bing Wallpapers and Local Media folder.

By starting the add-on it will randomly pick an image based on your configuration and put it on your frame; after the image is placed the add-on will automatically stop again. This for instance can be triggered via an automation to run on a daily basis. Please find an example below.

If multiple sources are enabled it will randomly choose a source on each run.

Google Art

By default the addon configuration has "Google Art" mode enabled which instead of taking images from the "media" folder takes random images from the Google Arts and Culture site and pushes it to the Samsung Frame TV.

Bing Wallpaper

The addon now also supports "Bing Wallpapers" mode, which allows you to display random high-quality wallpapers from Bing on your Samsung Frame TV.

Local Media Folder

Looks for images in the /media/frame folder and randomly pushes an image to your Samsung Frame TV. When you start the addon for the first time it creates a specific directory in Media called "frame" where you can place your custom images.

Please note you must upload pictures with a lower-case extension and only .png and .jpg are supported.

Installation

Install this addon by adding the repository:

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

Configuration Options

  1. IP Address: Set the IP address of your Samsung The Frame TV.
  2. Google Art: Enable to use random images from Google Arts and Culture.
  3. Bing Wallpapers: Enable to use random high-quality wallpapers from Bing.
  4. High Res: (For Google Art only) Enable to get high-resolution images using dezoomify.

Example Automation

Here's an example of how to set up an automation to change the image daily at 23:00:

description: "Change Samsung Frame TV Art Daily"
mode: single
trigger:
  - platform: time
    at: "23:00:00"
condition: []
action:
  - service: hassio.addon_start
    data:
      addon: local_hass-frametv-artchanger

TODO

Here's some ideas for stuff to implement