Git Product home page Git Product logo

homebridge-lgwebos-tv's Introduction

Homebridge LG webOS TV

verified-by-homebridge npm npm GitHub pull requests GitHub issues

Homebridge plugin to control LG webOS TV in HomeKit as TV service. Tested with LGOLED65G6V, 32LM6300PLA, LG49SK8500.

Info

  1. Power ON/OFF short press tile in HomeKit app.
  2. RC/Media control is possible after you go to the RC app on iPhone/iPad.
  3. Speaker control is possible after you go to RC app on iPhone/iPad Speaker Service.
  4. Legacy volume and mute control is possible throught extra lightbulb (slider) or using Siri Volume Service.
  5. Inputs can be changed after loong press tile in HomeKit app and select from the list.
  6. Siri control.

Limitations

Due to HomeKit app limitation max. services for 1 accessory is 100. Over this value HomeKit app will no response. As services in this accessory are, (1.information service, 2.speaker service, 3.lightbulb service, 4.television service and inputs service 5-100(where every input = 1 service)). If all services are enabled possible inputs to use is 96.

Package

  1. Homebridge
  2. Homebridge Config UI X

Installation

  1. Follow the step-by-step instructions on the Homebridge Wiki for how to install Homebridge.
  2. Follow the step-by-step instructions on the Homebridge Config UI X for how to install Homebridge Config UI X.
  3. Install homebridge-lgwebos-tv using: npm install -g homebridge-lgwebos-tv or search for Lgwebos TV in Config UI X.

Configuration TV

  1. Please configure LG Connect Apps

Configuration plugin

  1. Use Homebridge Config UI X to configure the plugin (strongly recomended), or update your configuration file manually. See sample-config.json in this repository for a sample or add the bottom example to Your config.json file.
  2. All inputs reference and name can be found in: homebridge_directory/lgwebosTv/apps_19216818 where name == title and reference == id
  3. In refreshInterval set the data refresh time in seconds, default 5sec.
  4. In volumeControl You can select what a additional volume control type You want to use (None, Slider, Fan). This not working with HDMI ARC control.
  5. If switchInfoMenu is enabled, I button change its behaviour in RC app between Menu and INFO.
  6. In type select source input type.
  7. In mode select what a input mode You defined, select Apps if You defined some input reference, select Live TV if You defined channel reference.
  8. manufacturer, model, serialNumber, firmwareRevision - optional branding data displayed in Home.app

{
    "platform": "LgWebOsTv",
    "devices": [
        {
            "name": "LG TV",
            "host": "192.168.1.8",
            "mac": "ab:cd:ef:fe:dc:ba",
            "refreshInterval": 5,
            "volumeControl": 0,
            "switchInfoMenu": false,
            "inputs": [
                   {
                      "name": "Live TV",
                      "reference": "com.webos.app.livetv",
                      "type": "TUNER",
                      "mode": 0
                  },
                  {
                      "name": "HDMI 1",
                      "reference": "com.webos.app.hdmi1",
                      "type": "HDMI",
                      "mode": 0
                 },
                 {
                      "name": "HDMI 2",
                      "reference": "com.webos.app.hdmi2",
                      "type": "HDMI",
                      "mode": 0
                },
                {
                    "name": "HDMI 3",
                    "reference": "com.webos.app.hdmi3",
                    "type": "HDMI",
                    "mode": 0
                },
                {
                    "name": "HDMI 4",
                    "reference": "com.webos.app.hdmi4",
                    "type": "HDMI",
                    "mode": 0
                },
                {
                    "name": "Netflix",
                    "reference": "netflix",
                    "type": "APPLICATION",
                    "mode": 0
                },
                {
                    "name": "YouTube",
                    "reference": "youtube.leanback.v4",
                    "type": "APPLICATION",
                    "mode": 0
                },
                {
                    "name": "LG Store",
                    "reference": "com.webos.app.discovery",
                    "type": "APPLICATION",
                    "mode": 0
                },
                {
                    "name": "HotBird 4K1",
                    "reference": "7_30_585_0_700_17_318",
                    "type": "TUNER",
                    "mode": 1
                }
            ],
          "manufacturer": "Manufacturer",
          "modelName": "Model",
          "serialNumber": "Serial Number",
          "firmwareRevision": "Firmware Revision"
        }
    ]
}

Whats new:

https://github.com/grzegorz914/homebridge-lgwebos-tv/blob/master/CHANGELOG.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.