hobbyquaker / node-red-contrib-lgtv

Node-RED Nodes to control LG webOS Smart TVs :tv:
http://flows.nodered.org/node/node-red-contrib-lgtv
MIT License
59 stars 22 forks source link
lg node-red smart smart-tv tv webos

node-red-contrib-lgtv

NPM version [npm]() dependencies Status Build Status License

Node-RED Nodes to Control LG webOS Smart TVs :tv:

With these Nodes you can:

Some of the nodes have an output, so you can subscribe to events:

Setup

You need to allow "LG Connect Apps" on your TV - see http://www.lg.com/uk/support/product-help/CT00008334-1437131798537-others

For 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 or chat me on Slack: @hobbyquaker.

Pull Requests welcome!

License

MIT (c) Sebastian Raff