Quantcast
Jump to content

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  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 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
      Millions of LG Customers Can Now Connect With and Learn
      From The World’s Best in the Comfort of their Home via webOS

      SEOUL, March 28, 2023 — This month, LG Smart TV owners worldwide gain access to MasterClass, the streaming platform where anyone can learn from the world’s best across a wide range of subjects, allowing customers to access the platform directly on the big screen at home. Available in LG’s Content Store on LG Smart TVs running webOS 4.0 (2018 TVs) up to the newly launched 2023 TVs, the MasterClass app can be easily accessed by voice command and is featured on Life’s Good Hub.
      MasterClass subscribers will be able to get inspired by more than link hidden, please login to view and classes across various categories, such as Arts & Entertainment, Business, Design & Style, Sports & Gaming and Writing, which means there is a class for almost every need and interest. Viewers can step into food truck “godfather” Roy Choi’s kitchen, design their career with Teen Vogue’s former editor in chief and multimedia icon Elaine Welteroth, discover their inner negotiator with former lead FBI hostage negotiator Chris Voss, learn leadership from former CEO of PepsiCo Indra Nooyi and relational intelligence from renowned psychotherapist Esther Perel and much more of the world’s best, offering inspiring knowledge and stories for everyone.
      New and existing MasterClass subscribers can learn and discover at a pace that best serves their lifestyle – in bite-size pieces or in a single binge, with each class featuring about 20 video lessons at an average of 10 minutes per lesson. Cinematic visuals and close-up demonstrations make viewers feel like they’re one-on-one with the instructors. For those looking to learn by doing, Sessions by MasterClass offers a structured curriculum where members can roll up their sleeves, get hands-on and learn meaningful skills through step-by-step guidance from world-class instructors and an active community of peers.
      By introducing MasterClass to its Smart TVs, LG is demonstrating its commitment to offering more versatile home entertainment experiences that appeal to consumers’ unique preferences, needs and interests, with new educational services to be launched later this year.
      Celebrating its 10th anniversary in 2023, LG OLED TVs have pioneered and continue to lead the premium TV market, earning many accolades from journalists and industry experts. LG OLED TVs are synonymous with superb picture quality, vibrant, accurate colors and deep blacks for images that are remarkably lifelike. As such, LG OLED TVs have become the preferred TV for many creators and studios. The company is committed to exploring the broad possibilities presented by its self-lit technology as it starts a new decade of OLED leadership and innovation.
      # # #

    • By PoeyYong Wong
      I would like to play MP4 video file from my NAS, is this possible from LG Smart TV? I tried on the TV and did not see how I could do this, I also did not see any App that could help me in this area.

      My LG TV is connected to my home network so has direct access to my NAS.
    • By StanJ
      I've seen an older thread on this topic but it doesn't look like anyone found a solution to disabling the screen saver, so I'll try a new one.
      On virtually all my LG TV's (I have three OLED's and two LCD), the screen saver interferes with my music app (like Plex, Spotify or Amazon Music). I mainly use Plex for playback of my music which is stored on a central server (NAS) and from the app loaded on a Fire TV stick or cube. After about 20-30 minutes, the album art and other related music information (lyrics, song title, duration, etc) all goes black. If I run Plex (or Spotify) directly on the LG TV via the LG Content store app, the screen saver with fireworks always comes on in about 2 minutes. 
      I've tried all the different methods to disable the screen saver function including turning off the Timers, Auto Power Off,  HDD Storage, etc. I also tried opening the hidden menus by pressing the mute button 5 times but that menu didn't have anything relevant. 
      Interesting is that the screen saver doesn't come on when using Spotify on a Fire TV stick or if I playback music through a USB device. But i don't use those methods often, mainly Plex to access my music server where I have about 500 CD's stored in ALAC format.
      Has anyone found a way to disable the screen saver function? I know the logic for having it (to prevent OLED burn in) but I'm not leaving the same image on for more than the song duration (about 3-5 minutes).  It's annoying to check the screen for the a music title or see who is on only to find a black screen looking back. Thanks for any help.

    • By Superjack747
      I’ve submitted my app in October of last year, it has been reviewed only twice, for issues of LG testing systems I’ve been requested to resubmit the app and every time weeks of waiting.
      Is anybody else having similar issues?
      Robert
       
    • By News Reporter
      With its market leadership strengthening significantly over the last decade, LG continues to offer constantly evolving, exclusive values through LG OLED TVs ushering in a new era for the television as well as LG QNED TVs rejuvenating the LCD space. Aligning with its Sync to You, Open to All vision, LG’s newest TV additions are akin to home hubs designed to enrich everyday life through cutting-edge technologies.
      LG’s 2023 TV lineup, which will be available in Korea and global markets starting this month, highlights a decade of OLED technology advancements with premium self-lit picture quality, cutting-edge image processing for brighter, crisper images and an enhanced webOS platform equipped with more smart features and services.

      With an award-winning reputation for exceptional picture quality, contrast, inky blacks and wide viewing angles, LG OLED TVs have outdone themselves yet again by offering flawless performance as well as the widest selection of resolutions (4K, 8K, etc.), form factors (rollable OLED, bendable OLED), designs and sizes (42 to 97 inches1), giving users the freedom to choose the perfect screen for their unique needs, preferences and homes.

      A significant upgrade coming to this year’s OLED evo G3 series is LG’s Brightness Booster Max technology, which incorporates brand-new light control architecture and light-boosting algorithms to increase brightness by up to 70 percent2. Brightness is mapped and controlled on a pixel-by-pixel basis, resulting in sharper, more realistic images. The OLED evo G3 series also applies Super Anti Reflective technology3 to reduce visual distractions such as light glares and reflections, and even introduces the world’s largest OLED TV (97 inches) for next-level immersion on a grand scale.

      The new α9 AI Processor Gen6 of 2023 OLED evo series leverages sophisticated AI-assisted Deep Learning technology to deliver top-notch picture and sound quality through AI Picture Pro, which improves upscaling so that content can be experienced exactly how the creators intended. On top of this, OLED Dynamic Tone Mapping Pro reveals hidden details to bring greater depth to every frame and AI Sound Pro fills the room with virtual 9.1.2 surround sound from the TV’s built-in speakers to place viewers into the scene. Furthermore, LG’s latest TVs and soundbars4 work seamlessly together and create three-dimensional sound, courtesy of WOW Orchestra.
      Inspired to invent unique lifestyle experiences through its Life’s Good philosophy and Sync to You, Open to All vision, LG is revolutionizing the TV’s role at home by syncing viewers’ experiences with their unique tastes and lifestyles through new features, designs and much more.
      Featuring the latest webOS, this year’s models introduce the All-New Home, a redesigned user interface (UI) offering a wealth of customization options and convenience. New Quick Cards – convenient categories such as Home Office, Gaming, Music and Sports – present users with the best way to access their most-viewed content and services.

      Designed for all, the new webOS makes it easy for anyone using the TV to enjoy personalized recommendations, which are determined based on viewing history and viewing habits. AI Concierge not only curates content based on past usage and searches, but also suggests trending titles and useful settings and features – from Family Care and Eye Comfort to Multi-View mode.

      To create the most seamless cross-device experience, LG’s latest TVs are compatible with the new smart home standard, Matter, giving users the ability to control and monitor various smart home devices from a growing list of global manufacturers on their TV.
      Also being added to LG’s 2023 TV lineup are new QNED TVs leveraging Quantum Dot NanoCell Color technology to produce rich, accurate and lifelike colors that complete the unforgettable viewing experience. Equipped with QNED Million Grey Scale Block Dimming technology,5 the latest QNED Mini LED TVs come the closest to the contrast and black levels of OLED. What’s more, LG’s 2023 Mini LED TVs not only boast 64-times-greater contrast than their predecessors to achieve one million dynamic gradations, but also designs that are slimmer and harmonize with LG’s newest soundbars.
      LG’s latest QNED Mini LED TVs are branded as ‘QNED evo’ TVs only in Korea
      LG has implemented various features to help people of all abilities use its products, like voice descriptions when navigating menus, on-screen content and search results. Should the TV switch to standby mode, the user will receive voice notifications detailing the screen’s status and recommended actions. Also, by long-pressing LG Magic Remote’s mute button, users can find the Learn TV Remote feature which teaches them how to use the smart remote’s handy features. Finally, the Sign Language Zoom feature lets hearing-impaired users enlarge the sign language interpreter on screen.
      LG is also championing environmental sustainability by reducing its plastic usage during TV production, and by ramping up its use of recycled plastics and materials featuring single-color printing.
      To learn more about LG’s 2023 TVs, visit
      link hidden, please login to view. # # #
      1 Availability of each series and size option varies by country.
      2 Applies to 55/65/77-inch G3 models and is a measurement of full screen whites.
      3 Applies to 77/88-inch Z3 models and 55/65/77-inch G3 models.
      4 Feature will be added via software update.
      5 Applies to QNED85 model.
       
       

  • Similar Tagged Content




×
×
  • Create New...