Quantcast
Jump to content

  • Own an LG TV or webOS device? Join our Forum!

    Register now to gain access to our webOS user support forum. Once registered and logged in, you will be able to post a user to user support request topic to this site or reply to existing topics posted by other users. You can also take part in our other webOS user forums. You'll be able to customize your profile, receive reputation points, while also communicating with other members via your own private inbox, plus much more!

ajmboy

How to add HomeKit support to your webOS TV with HomeBridge and iOS 12.2

Recommended Posts

9to5 mac posted this today...

image.thumb.png.4b524d436ba62460820b6e02c5e42f7f.png

With iOS 12.2, Apple is 

link hidden, please login to view
 for select smart TVs. Some users, myself included, are slightly irritated that LG is only supporting these features on its yet-to-be-released 2019 televisions. Fortunately, there’s a workaround that gets you most of the way there.

While this method is unconventional and not officially supported, it will 

link hidden, please login to view
 who recently bought a webOS TV to get support for HomeKit.

As outlined in this week’s 

link hidden, please login to view
, this method allows you to control your TV’s power state, volume, and app/input switch with ease. What it won’t give you is AirPlay support, meaning you won’t be able to control what’s playing on the TV itself including play/pause, and forward/rewind controls.

For this, you’ll need an always-on computer of some sort: whether that’s a Raspberry Pi, Synology, or a Mac mini (either as a server or one that’s always on).

Before we get started, remember that iOS 12.2 is currently in beta and that things could change and vary from beta to beta. At the time of writing, iOS 12.2 beta 1 is currently the latest release.

How to set up HomeKit support with HomeBridge for your webOS TV in iOS 12.2 beta

With slight variations depending on platforms, here’s how you set up HomeBridge for your webOS TV. For demonstration purposes, I’ll be using an always-on Mac mini.

First, you’ll need to install Xcode (if you’re using a Raspberry Pi or a Synology, this isn’t needed and this step can be skipped). To do this, launch the App Store, and search for Xcode. Click the ‘Get’ button and the download will begin. This may take some time to download and install, even on fast internet connection. Be prepared to wait for up to an hour for it to download and install.

B35492E5-DF63-4EB5-8E6A-5DE1085AD45F.png

After it’s installed, you’ll want to launch Xcode and install the additional tools. Again, this may take some time depending on your internet connection.

Once installed, it’s time to install Homebrew and node. To do that, run the following command in Terminal:

ruby -e “$(curl -fsSL

link hidden, please login to view

Once Homebrew is done installing, simply type the following command to install node:

brew install node

Now that the basics are out of the way, you’ll need to install Homebridge, which is the framework for installing third-party plugins with HomeKit. To do this, type in the following command to Terminal:

sudo npm install -g –unsafe-perm homebridge

Then, when prompted, type in the password to your Mac. Depending on your internet connection, this step may take a few minutes as it’s downloading the necessary packages for HomeBridge.

Next, you’ll want to install the actual plugin. This can be done by typing the following into Terminal:

sudo npm install -g homebridge-webos-tv

This may take a few moments to install.

Before you go ahead and try run HomeBridge, you’ll need to set up your config file. You can find a sample config file 

link hidden, please login to view
. All you’ll need is to tweak it to work with your own network. (The config file is located in: /Users/(username)/.homebridge.) You’ll want to download a text editor such as 
link hidden, please login to view
instead of using macOSbuilt-inin text editor, as that can cause problems down the road.

Within the sample config file you’ll want to change the IP address and Mac address to match your TV’s.

There are a few extra options you might want to consider adding to your code:

  • Inputs — these are the basic AV/HDMI inputs. Simply add the following code to your set up (underneath inputs) for HDMI, simply replace the last digit with the input number on your TV. For AV, simply replace “hdmi1” with “av1”. As for the name, give the input a name (for example: Apple TV, PS4, Nintendo Switch):

035FE0A5-12CA-430D-9D12-B20D7391CE35.jpe

Under the same Inputs umbrella, you can also add things such as the built-in browser, YouTube, Amazon Prime Video, etc. to the set up. You’ll be responsible for finding the appropriate app ID’s for those yourself.

  • Volume control — You can use the Apple TV remote widget in the Control Center (by tapping the Apple TV icon, tapping the drop down on the top, and then selecting your TV), to control your volume with your iPhone or iPad’s hardware volume buttons, or you can add buttons within HomeKit. To do this, you can add one of the following to your code: volumeControl: true, “switch”, or “slider”. True enables both a slider and the switch method in HomeKit. Enabling the slider will force HomeKit to recognize the volume as a light bulb. Meaning, if you have any other lights in the same HomeKit room, this will be included in the group.

00E3FE6E-C922-46B7-936C-9C2797D86BD5.jpe

After setting up and saving your config file, Jump back into Terminal and simply type:

homebridge

If everything is set up correctly, HomeBridge will start up and spit out a QR code you can scan on your iPhone or iPad. This QR code should be scanned within the Home app. Once scanned, the Home app will walk you through setting up HomeBridge with HomeKit. This is 

link hidden, please login to view
 after everything is up and running.

If you want to ever stop HomeBridge from running, simply close the Terminal window and HomeBridge will no longer be running. To restart HomeBridge, simply open Terminal and type ‘homebridge’ again to get it up and running.

Source: 

link hidden, please login to view

Share this post


Link to post
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Topics

    • By Mike78j
      OK. I have a 2018 LG Smart TV model OLED65C8PUA.   The TV  'magically' recognizes and (badly) displays/ plays the 2gb of photos, videos and audio residing on my Western Digital 4TB My Passport  external hard drive I have. The problem is the TV is the ONLY device that WILL RECONIZE THE DRV! 8 diffirent computers running from Vista to Win 10 have given me 'DRV (x) is not accessable'. At one time the drv was password protected and it worked fine. The exact password was lost so I tried a number of variations and was able to finally unlock the drv and remove the password  using WD Utilities. It worked for a bit and I was able to copy out a few files using a Surface Pro/ Windows 10  but it stopped and now with that Surface Pro and the other windows machines  I get `D is not accessible. The parameter is incorrect'.  I even put it on a Samsung smart TV - none will read the drv, ONLY THE LG!  The LG also displays the DRV'S volume label and  content filenames as well. 
      I want to copy these files before the drive fails as the catch here is the LG seems to produce one or two "unrecognized files' every time I use it and some of these videos are one-of family heirlooms! I want to avoid another $300 data recovery bill if possible. And if the LG can read it one would think there is a way forward.
      Any suggestions will be most appreciated! 
    • By Mihai B.
      Hello,
      Is there any way of installing an usb gigabit network adapter on a webos smart TV?  The builtin wired adapter is only 100mbps (on a 2000$+ TV, shame  on you LG!!!)  while the wifi (N) is very poor, with the router at 1m from TV it only gets half the bandwidth of the wired network. Anyway the wired network  maxes out near 100mbps but I need more bandwidth as I have 4k video content with bitrates grater than 100mbps which I cannot stream without stuttering to TV through XPLAY/PLEX. 
      Kind regards,
    • By Alex
      LG always makes a big splash at CES, and the first glimpse we've had of the 2019 lineup looks great. From the first 8K OLED TV to hit the market to smarter AI and across-the-board improvements, LG's TVs are looking especially good for 2019.
      LG Jumps to 8K
      The biggest announcement has to be the introduction of the 88-inch Z9 OLED 8K TV, the first OLED to come to market with the higher resolution standard. The sleek TV has an ultra slim design, eye-popping detail and impressive dynamic range. It's also the first 8K TV announced that will offer to perfect black levels and per-pixel lighting that makes OLED such an impressive display technology.

      During our hands on time with the new TV, we were impressed not only with the amazing clarity of the picture, but also the vibrant color and brightness. While LG declined to comment on peak brightness levels, it matched some of the brightest TVs we've seen, without sacrificing any of the detailed shadows or mid-range colors that might wash out on a lesser TV.

      The second is an 8K LCD set to 75-inch LG NanoCell 8K TV (75SM99), which uses LG's optimized LCD displays and NanoCell film filtering for premium TVs. Like the OLED model, it features incredible resolution, but the LCD display offers excellent brightness and color, two areas where LCD generally outperforms OLED.
      With the lack of any 8K content available to Consumers, LG is going to some lengths to ensure that current content looks good on the high-resolution panel. Even on the LG enhances all incoming content by pulling in optimization from deep datasets, offering upscaling and clarity enhancements for any content, from any source.
      Both OLED sets will be coming to market in 2019, likely sometime in June or July. Pricing details have not yet been announced.
      Smart TVs Get Smarter
      The rest of LG's OLED lineup is seeing significant improvements thanks to new Alpha 9 (A9 Gen 2) processing hardware, found in LG's OLED and premium LCD models. The processor handles processing for a cleaner picture, sharper details and a wider look-up table for true-to-life color. Unexpanded video cleanup process removes unwanted artifacts and offers sharper picture from any content source.

      With the lack of any 8K content available to Consumers, LG is going to some lengths to ensure that current content looks good on the high-resolution panel. Even on the LG enhances all incoming content by pulling in optimization from deep datasets, offering upscaling and clarity enhancements for any content, from any source.
      Both OLED sets will be coming to market in 2019, likely sometime in June or July. Pricing details have not yet been announced.
      Smart TVs Get Smarter
      The rest of LG's OLED lineup is seeing significant improvements thanks to new Alpha 9 (A9 Gen 2) processing hardware, found in LG's OLED and premium LCD models. The processor handles processing for a cleaner picture, sharper details and a wider look-up table for true-to-life color. Unexpanded video cleanup process removes unwanted artifacts and offers sharper picture from any content source.

      While the TV still primarily relies upon Google Assistant for content search and other capabilities, this does open up all of the functionality Amazon offers their customers, including exclusive skills such as Audible audiobook playback, listening to songs through Amazon music, travel booking through Kayak, and more.
      The smart TV software is also getting updated as LG rolls out webOS 4.5. The on-screen menu is getting an improvement, adding a second contextual row to the app menu that pops up when you select an app. In this second row, you'll see recently watched content, along with movie recommendations and trending content.
      Smart home enthusiasts will be pleased to learn that the new version of webOS also includes a feature called Home Dashboard. This dedicated tool lets you manage all of your connected home devices, from smart doorbells to thermostats, right from the TV.
      OLED and LCD TVs for 2019
      LG's entire lineup is being updated for 2019 with new models coming this spring. Models announced include the premium LG OLED E9, entry level OLED C9, and an updated version of the super thin wallpaper TV the LG Signature W9 OLED. No prices have been announced, but we expect the TVs to begin rolling out this spring.

      (Though not yet announced, LG did tell us that the popular LG OLED B9 will be coming out later in 2019. No additional details were shared.)
      LG's LCD model line, previously known as Super UHD, is now known as NanoCell. The model line features the new webOS 4.5 platform, and many (though not all) models will include the new Alpha A9 Gen 2 processor, with all of its enhancements.
      Pricing details have not yet been announced, but the new models will arrive in stores sometime this spring.
      This write up is from link hidden, please login to view
      LG CES 2019 Press Conference Video
       
       
    • By Khaled wally
      LG smart not working fine with shahid VIP although other devices at home like Samsung doing fine
      Original Content From: https://www.lgwebos.com/?forumId=34&do=add
  • Similar Tagged Content

    • By Paesano
      I am having an issue with two of your tv's at my home with Apple HomeKit.  I have a 55 inch and 65 inch OLED C9 TV.  They are both compatible with HomeKit.  Originally when I installed the TV's I had all sorts of issues with Apple HomeKit. For the Last 2 months Apple HomeKit has been working perfect with them.  Now after a recent update to them via automatic updates, Apple HomeKit now has an issue viewing the tv on the HomeKit app remotely while the TV is OFF,  It shows "No Response" in HomeKit.  My TV's are hardwired via Ethernet cable.    There are 4 states in HomeKit that are recognized for the TV: - Viewing the tv on the HomeKit app locally on the network while the TV is ON (This works in HomeKit and shows the tv as turned on) - Viewing the tv on the HomeKit app locally on the network while the TV is OFF (This works in HomeKit and shows the tv as turned off) - Viewing the tv on the HomeKit app remotely while the TV is ON (This works in HomeKit and shows the tv as turned on) - Viewing the tv on the HomeKit app remotely while the TV is OFF (This DOES NOT work in HomeKit and the TV shows in HomeKit as "No Response")


      I've tried reseting the TV's and doing all sorts of things. Nothing has worked.  I believe there is an issue with the latest firmware. 
    • By yippie_kiyay
      My new LG TV (65UM6900PUA) running WebOS 04.71.25 works great with HomeKit, with the exception that it is not reachable while it is turned off. If I try to turn it on in the home app, it says "No Response."  I have changed the 'Turn on via Wi-Fi' setting to on, and it will turn on from the 'LG TV Plus' app, but not from the iOS home app. Is there a specific setting or something I need to change?
    • By robertapple1
      Hi,

      From the Netherlands. I have a OLED 55C9. Airplay 2 works partly. But Homekit doesn't at all!. When scanning the QR code generated by the TV, the TV says it has been configured with Homekit. However, my Homekit app says that adding the LG OLED has failed. The tv is connected by ethernet and WiFi, the iPhone on the same wifi....With other iPhone no result either.
      Some Airplay features work, others not:
      MacBook Pro:  ScreenMirror works, playing films from iTunes works, playing films directly from QuickTime and selecting Airplay to LG TV DOESN'T work.
      iPhone: Airplay works with all features.
       
      Anyone know a solution???
    • By Alex
      SEOUL, July 24, 2019 — LG Electronics (LG) today announced that Apple AirPlay 2 and HomeKit are available starting July 25 on its 2019 AI TV lineup, making LG the first global TV manufacturer to support HomeKit. These Apple features will be available through a firmware update for 2019 LG OLED TVs, NanoCell TVs and UHD TVs with ThinQ AI capability.
      With AirPlay 2, LG 2019 AI TV owners can effortlessly stream content — including Dolby Vision titles – from iPhone, iPad and Mac straight to their TV sets. Users can stream their favorite movies and television shows from the Apple TV app and other video apps as well as view photos directly on their LG AI TVs. Users can also play Apple Podcasts, Apple Music and music from their library or other streaming services through their LG AI TV and other AirPlay 2-compatible speakers in their home at the same time – all in sync.
      HomeKit enables users to conveniently control their smart home with the Home app or via Siri on their Apple devices. LG AI TVs can be easily added to the Home app, from which users can access basic TV functions such as power, volume and source. LG AI TVs can also be added to scenes or automations along with other HomeKit accessories.
      “LG remains at the forefront of TV technological innovation because of our never-ending quest to deliver the best home viewing experience,” said Brian Kwon, president LG Mobile Communications and Home Entertainment companies. “With Apple AirPlay 2 and HomeKit support, we are demonstrating our commitment to offering consumer benefits that go beyond just best-in-class picture quality.”
      Apple AirPlay 2 and HomeKit will begin rolling out to owners of LG OLED and NanoCell TVs in more than 140 countries starting this week, with the update continuing over the weeks to follow.

      Source: 
      link hidden, please login to view


×
×
  • Create New...