npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@joshepw/homebridge-lgwebos-tv

v1.6.7

Published

Homebridge plugin (https://github.com/homebridge/homebridge) to control LG WebOS TV.

Downloads

13

Readme

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.

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.

HomeKit pairing

  1. Each accessories needs to be manually paired.
  2. Open the Home app on your device.
  3. Tap the Home tab, then tap .
  4. Tap Add Accessory, and select I Don't Have a Code or Cannot Scan.
  5. Enter the Homebridge PIN, this can be found under the QR code in Homebridge UI or your Homebridge logs, alternatively you can select Use Camera and scan the QR code again.

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.

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"
        }
    ]
}

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.

Whats new:

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

Development

  • Pull request and help in development highly appreciated.