Quantcast
Jump to content

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


ajmboy

Recommended Posts

9to5 mac posted this today...

image.thumb.png.4b524d436ba62460820b6e02c5e42f7f.png

With iOS 12.2, Apple is  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  who recently bought a webOS TV to get support for HomeKit.

As outlined in this week’s , 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

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 . 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 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  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

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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 News Reporter
      New Ergo Dual and Ergo Single Offer Easy Installation
      With Wider Range of Motion for All Professionals

      SEOUL, Oct. 14, 2021 — LG Electronics (LG) continues to push the boundaries of productivity, user-comfort and workspace flexibility in the modern era with its newest LG Ergo series of monitors. Perfect for home or office and anything in between, the LG Ergo Dual (model 27QP88D) and LG Ergo Single (model 32QP880) boast maximum adjustability, easy installation and exceptional IPS picture quality with QHD resolution (2560 x 1440).
      First unveiled a year ago, the LG Ergo series is designed to deliver a superior display experience with greater ergonomic comfort. The second generation models offer consumers even more value and versatility with improved height and swivel adjustability, making sharing the screen with others and working while standing easier than ever. Both new models continue to offer the same effortless ability as before to be set close to or far away from the user without having to adjust the mounting point. What’s more, the Ergo Dual offers a height-adjustable range of 150 millimeters while the Ergo Single travels 130 millimeters, with both able to rotate 335 degrees.
      With a wider range of movement, these monitors can better meet the individual preferences of every user. With a pair of 27-inch displays, the LG Ergo Dual can be set up in a variety of useful configurations including side-by-side in landscape orientation, one display in portrait and the other landscape, both stacked vertically or even facing opposite directions. The 32-inch display offered in the LG Ergo Single is ideal for users who prefer a large, seamless workspace.
      Both the dual and single models are now easier to install with articulated arms that attach securely without screws to desks and tabletops up to a maximum thickness of 75 millimeters. Requiring very little desktop space for a clean, uncluttered workspace, LG’s patent pending C-Clamp employs a slim, robust grommet allowing users to easily secure the stand on the edge of a desk or cable hole to get working (or playing) in no time. What’s more, both LG Ergo monitors can charge a laptop via the USB-C One Cable Solution while the Ergo Dual also allows displays to daisy chain via DisplayPort.*
      “The 2021 LG Ergo models are advanced workstation solutions designed to provide the ultimate in flexibility with all the display capabilities today’s advanced users demand,” said Jang Ik-hwan, senior vice president and head of the IT business unit of LG Electronics Business Solutions Company. “Both the Ergo Dual and Ergo Single offer next-level user convenience, premium IPS picture quality and an array of useful features consumers have come to expect from premium LG monitors.”
      The new LG Ergo series will begin rolling out in key markets worldwide beginning this month.
      Specifications:
      27QP88D 32QP880 Size/Ratio Screen Size 27-inch x 2 31.5-inch Resolution QHD (2560×1440) QHD (2560×1440) Graphics IPS Yes Yes Color Gamut sRGB 99% (Typ.) sRGB 99% (Typ.) Brightness (Typ.) 350nits 350nits HDR HDR10 HDR10 Color Calibrated Yes Yes Response Time 5ms (GtG on Faster setting) 5ms (GtG on Faster setting) AMD FreeSync Technology AMD FreeSync AMD FreeSync Design Screen 3-Side Virtually Borderless Design 3-Side Virtually Borderless Design Stand Ergo Dual Stand Ergo Single Stand Extend / Retract 210mm
      Height 150mm Extend / Retract 210mm
      Height 130mm Swivel ±335° / Tilt -30° to +35° / Pivot / Tilt Adjustable /
      C-Clamp + Grommet
      Swivel ±335°/ Tilt ±25°/ Pivot / Tilt Adjustable /
      C-Clamp + Grommet
      Interface USB Type-C DP Alt. + Power Delivery
      65W + Data DP Alt. + Power Delivery
      96W + Data HDMI x1 x2 Display Port In x1 / Out x1 x1 USB 3.0 x2 Downstream x2 Downstream Power Adapter Adapter Sound Speaker – Stereo Speaker with MAXXAUDIO® (5Wx2) SW On Screen Control Yes Yes # # #
      *  Not compatible with Apple M1 devices.

      link hidden, please login to view
    • By News Reporter
      SEOUL, Oct. 12, 2021 — LG Electronics Inc. (LG) today announced its preliminary earnings results for the third quarter of 2021.
      LG reported tentative consolidated revenues of KRW 18.8 trillion, an increase of 22 percent from the same quarter the previous year and the highest quarterly revenue in the company’s history. In line with current accounting standards, LG will include a provision of approximately KRW 480 billion in the third quarter for the recall of the Chevy Bolt EV. Operating profit of KRW 540.7 billion is expected to be 49.6 percent lower than the third quarter a year ago after reflecting the recall provision.
      LG Electronics terminated its mobile phone business at the end of July and is treating the Mobile Communications Company’ performance as a discontinued operating loss. Earnings for the previous year and the same period the previous year have been restated for comparative purposes.
      These figures are the tentative consolidated earnings based on K-IFRS provided as a service to investors prior to LG Electronics’ final earnings results including net profit. Details regarding each division which will be announced officially later this month.
      # # #

      link hidden, please login to view
    • By Rob Infantino
      We have two LG OLED TVs. WebOS appears differently on each. And we are able to download the Paramount+ app on one TV, but not on the other.
      OLED65C7P (older) running software version 6.00.25
      WebOS TV Version 3.9.0-62709
      Does not allow the Paramount+ app to be installed
      OLED65C9PUA (newer) running software version 5.10.25
      WebOS TV Version 4.9.3-5340808
      Allows the Paramount+ app to be installed
      How can we get WebOS to appear the same on both TVs?
       
    • By News Reporter
      Doorway to Top-notch Programming with
      Intuitive Controls and Tailored Viewing Recommendations

      SEOUL, Oct. 12, 2021 — LG Electronics (LG) will substantially expand the availability of content streaming options for third-party TVs running its proprietary webOS platform. With the firmware update now rolling out, viewers with webOS TVs can enjoy an enriched viewing experience with even more popular services to choose from.1
      To expand access to its popular TV platform to more consumers worldwide and strengthen its presence in the TV industry, LG made its advanced webOS platform available to other TV brands starting this year. As both a manufacturer as well as an operating system developer, LG is now better able to deliver its vision for an easier, more streamlined content viewing experience to a wider audience.
      From September through the end of this year, support will be added for a number of premium content services, including Disney+, Vudu, Pandora, HBO Max and SLING TV.2 Disney+, which is quickly becoming a global favorite, will be available on TVs running webOS in every market where the service is currently offered.3
      Disney+ is packed with family-friendly content ranging from beloved classics to original feature-length films, shows and documentaries from Disney, Pixar, Marvel, Star Wars and National Geographic. Disney+ is the exclusive home of Marvel Studios’ critically and commercially acclaimed original series including WandaVision, The Falcon and The Winter Soldier, Loki and its first animated series What If…?. Additional notable original programs on Disney+ this year include Billie Eilish’s cinematic concert experience Happier than Ever: A Love Letter to Los Angeles, Dug Days, a new series based on the 2009 Disney and Pixar hit film Up and the upcoming The Book of Boba Fett, a thrilling Star Wars adventure premiering on December 29.
      Customers of Vudu on webOS-powered TVs will be able to enjoy over 10,000 free feature films without a subscription, as well as rent or buy the latest movies and TV shows.4 Vudu’s early access to new movies allows the service to offer many titles in 4K Ultra HD with support for Dolby image and audio enhancing technologies.
      And on most TVs running webOS, LG’s popular Magic Remote enhances the exceptional convenience and usability of LG’s platform. With its point-and-click interface and intuitive controls, the user friendly LG Magic Remote also offers integrated voice recognition for even more convenient usability.
      # # #
      1  Timing of firmware update varies by country and TV brand.
      2  Availability of channels to vary by region and country.
      3  Available in markets and regions including but not limited to Austria, Belgium, Canada, Denmark, Finland, France, Germany, Iceland, India, Indonesia, Ireland, Italy, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland, United Kingdom, United States and Latin America.
      4  Available in the US.

      link hidden, please login to view
    • By Information Technology
      Hello Everyone,
       
      I am new here. I have LG Smart TV (50UN7340PVC) and would like to connect with Logitech Conference USB camera (BCC950). Does anyone have idea whether it support or no? When I connect, the message pop up that HID device connected. After that I can't find any option for the camera. Please advise. Thank you
  • 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...