Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hobbyquaker/node-red-contrib-lgtv
Node-RED Nodes to control LG webOS Smart TVs :tv:
https://github.com/hobbyquaker/node-red-contrib-lgtv
lg node-red smart smart-tv tv webos
Last synced: 3 months ago
JSON representation
Node-RED Nodes to control LG webOS Smart TVs :tv:
- Host: GitHub
- URL: https://github.com/hobbyquaker/node-red-contrib-lgtv
- Owner: hobbyquaker
- License: mit
- Created: 2017-03-29T18:22:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T08:48:09.000Z (about 1 year ago)
- Last Synced: 2024-04-14T06:29:06.635Z (7 months ago)
- Topics: lg, node-red, smart, smart-tv, tv, webos
- Language: JavaScript
- Homepage: http://flows.nodered.org/node/node-red-contrib-lgtv
- Size: 205 KB
- Stars: 58
- Watchers: 9
- Forks: 23
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nodered - lgtv - Controls LG webOS Smart TVs. (Nodes / Smarthome)
README
# node-red-contrib-lgtv
[![NPM version](https://badge.fury.io/js/node-red-contrib-lgtv.svg)](http://badge.fury.io/js/node-red-contrib-lgtv)
[![npm](https://img.shields.io/npm/dt/node-red-contrib-lgtv.svg)]()
[![dependencies Status](https://david-dm.org/hobbyquaker/node-red-contrib-lgtv/status.svg)](https://david-dm.org/hobbyquaker/node-red-contrib-lgtv)
[![Build Status](https://travis-ci.org/hobbyquaker/node-red-contrib-lgtv.svg?branch=master)](https://travis-ci.org/hobbyquaker/node-red-contrib-lgtv)
[![License][mit-badge]][mit-url]> Node-RED Nodes to Control LG webOS Smart TVs :tv:
With these Nodes you can:
* Start Apps (this also includes changing the HDMI Inputs - these are also apps under webOS)
* Change Volume / Mute
* Turn your TV off (turning on over the Websocket API is not possible because the network interfaces are down when the
TV is in standby. You can work around this via WakeOnLAN or Infrared)
* Switch Channels on LiveTV
* Press Remote Buttons
* Move the mouse, drag, scroll and click
* Show Popup Toasts on your TV
* Open a URL in the Browser
* Play a Video in YouTube
* Send arbitrary commands to the API and receive the responseSome of the nodes have an output, so you can subscribe to events:
* Volume and mute changes
* Foreground app changes
* Channel changes on LiveTV## Setup
You need to allow "LG Connect Apps" on your TV - see
http://www.lg.com/uk/support/product-help/CT00008334-1437131798537-othersFor the initial configuration you then just need the Hostname or IP-Address of your TV and
click *Connect* in the `lgtv-config` node. The token should be filled automatically on first connect.**Note**: After turning on the TV it takes ~25 seconds until the API is available.
## Usage Example
I made a flow using node-red-dashboard to create a simple Remote Control:
http://flows.nodered.org/flow/f497989bef43fb9310837adbff69ce73## Support, Contributing
For questions and suggestions open an [Issue](https://github.com/hobbyquaker/node-red-contrib-lgtv/issues/new) or chat
me on Slack: [@hobbyquaker](https://node-red.slack.com/team/hobbyquaker).Pull Requests welcome!
## License
MIT (c) Sebastian Raff
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: LICENSE