Quantcast
Channel: SamyGO
Viewing all articles
Browse latest Browse all 7851

[H] Brainstorm • Controlling a SamyGO TV through Home Assistant

$
0
0
Home Assistant (http://homeassistant.io/) is a Home automation platform that allows you to monitor and control all sorts of devices an platform in the privacy of your own house (no cloud). I've added my SamyGO TV (H6400) to Home Assistant by using the samygo-web-api (viewtopic.php?f=75&t=11881).

//TODO: Home Assistant presentation and general configuration

The changes needed to HomeAssistant to control your TV are stored in this github repository: https://github.com/mad-ady/home-assista ... omizations

Installation:
1. Make sure you've installed the web api and its dependencies on the TV
2. Install Home Assistant on your computer/RPI/Odroid/device and go through the standard configuration
3. Copy the jsonrest sensor to your custom components folder:

CODE:

mkdir -p ~homeassistant/.homeassistant/custom_components/sensor/wget -O ~homeassistant/.homeassistant/custom_components/sensor/jsonrest.py https://raw.githubusercontent.com/mad-ady/home-assistant-customizations/master/custom_components/sensor/jsonrest.py
4. Configure your Home Assistant by adding several sensors and a web cam.
Example configuration: https://github.com/mad-ady/home-assista ... o-api.yaml
Example URLs: https://github.com/mad-ady/home-assista ... ecret.yaml
5. Restart homeassistant or reload the configuration
6. Profit:
Home Assistant Web UI:Image
Home Assistant History (view state changes): Image
Youtube demo: https://www.youtube.com/watch?v=jC7yUe_AJw4

Tested on a H6400. Older models might need some tweaking with regard to the screenshot functionality. Patches and ideas welcome! TV is surprisingly stable despite repeated injections - good job SamyGO team!

Viewing all articles
Browse latest Browse all 7851

Trending Articles