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

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 Flowace
      How do you measure your productivity? Are there specific metrics you use?
    • By Jaswinder Sandhu
      Please add Airtel xstream app on LG WEBOS
    • By News Reporter
      Company’s PAX West Booth Showcases webOS
      Gaming Capabilities and Innovative Gaming Solutions 

      SEOUL, Sep. 3, 2024 — LG Electronics (LG) showcased its gaming technologies on its webOS platform at PAX West, the largest gaming event in the U.S. Visitors explored LG’s webOS Gaming capabilities on LG smart devices, including its critically acclaimed lineup of LG OLED TVs, at LG’s PAX West Booth (2301) at the Seattle Convention Center in the Arch Building.
      Delivering unparalleled experiences to its users, LG is setting a new standard in gaming excellence with its innovative webOS Gaming technology. LG’s debut at PAX West marks the beginning of the company’s journey to establish itself as a leading gaming platform, dedicated to enhancing and elevating the gaming experience.
      The experiences visitors were able to explore at the LG booth include:
      webOS Gaming Zone: What Gamers Need, All in One Place
      Supporting over 4,000 high-fidelity games through cloud gaming and over 500 casual games that offer fun and unique experiences – all playable with just LG’s Magic Remote – attendees watched webOS Gaming come to life with a preview of new and upcoming game titles.
      AAA Gaming Zone: No Console, No PC
      LG has teamed up with NVIDIA GeForce NOW, Blacknut and Amazon Luna to showcase how its webOS Gaming platform simplifies access to cloud gaming services and supports the latest and most popular AAA games. Booth visitors can enjoy popular titles such as Star Wars Outlaws, Cyberpunk 2077, Black Myth: Wukong, Cuphead and more.
      Casual Gaming Zone: No Hassle, More Fun
      Featuring fan-favorites like Overcooked! 2, plus Cut The Rope and Thief Puzzle in partnership with Famobi, the Casual Gaming Zone allowed PAX West attendees to play through a diverse selection of hyper-causal games designed for easy and fun gameplay. Visitors discovered webOS Gaming supports a variety of casual games on LG’s lifestyle devices like the StanbyME and StanbyME Go. Visitors could also find more on webOS Gaming’s support for touch-based casual games for automobiles with the capability of cross-device compatibility.
      Developer’s Playground Zone: Your Games, Your Rules
      Providing an environment that allows for the development of interactive games, the developer’s playground presented webOS Gaming as the all-in-one, go-to developer platform taking advantage of webRTC Camera, in-app advertising and purchasing methods, Motion and Voice API, plus highlighting its support for development software like FlutterTM and HTML5. With webOS Gaming, developers can connect to gaming peripherals such as gamepad, keyboard, mouse, haptic suit and more.
      New gaming services are regularly launched on LG TVs, such as the upcoming NowCafe, a new genre of audience participation app from now.gg that will be available on LG TVs via cloud gaming.
      # # #

      link hidden, please login to view
    • By News Reporter
      LG TV Owners Worldwide Gain Access to Exciting Offers, Including Discounts
      and Free Trials from Global and Regional webOS Content Partners

      SEOUL, Aug. 30, 2024 — LG Electronics (LG) is announcing the LG Streaming Week campaign in 44 countries, starting from September 9 and running through October 13,1 to celebrate a decade since the initial launch of webOS on the company’s LCD and OLED TVs. For owners of LG TVs above UHD released from 2018 onward (running webOS 4.0 and above), as well as StanbyME and StanbyME Go users, LG Streaming Week presents a variety of free and discounted subscriptions from service partners through its dedicated app, accessible from the Home Screen, Content Store or Apps.
      Each promotional week will feature a different global and local partner line-up, with each partner limited offer accessible and redeemable solely on a weekly basis, from the LG Streaming Week app.2
      LG Streaming Week boasts a range of enticing offers from content partners, such as free subscriptions of up to three months and up to 90 percent in discounts. Whether a fan of movies, sport, gaming, anime or cult classics, LG Streaming Week caters to a multitude of interests and preferences for a more captivating viewing experience.
      Apple TV+3 is offering a three-month free trial, allowing LG TV owners to enjoy the latest premium Apple Originals, including the gripping psychological thriller Disclaimer, starring Academy Award-winners Cate Blanchett and Kevin Kline and created and directed by five-time Academy Award-winner Alfonso Cuarón. Plus, new seasons of the Emmy Award-nominated and BAFTA-Award winning drama Slow Horses; enthralling post-apocalyptic series Silo; and the sweeping and deeply moving drama Pachinko. Moreover, LG is providing customers with a three-month free trial of Apple Music.4 The award-winning Apple Music offers one of the largest catalogs of music in the world with over 100 million songs as well as over 30,000 expertly curated playlists, artist interviews, Apple Music Radio and so much more. Apple Music subscribers also have access to exciting features like Apple Music Sing and time-synced lyrics as well as lossless audio, and immersive Spatial Audio.
      Movie enthusiasts will be delighted with the chance to explore films and series from multiple content providers across genres. New and returning Paramount+5 subscribers can get a 50 percent discount on an annual subscription of high-stakes dramas including Tulsa King, critically acclaimed projects like Fellow Travelers (Paramount+ with Showtime plan only in US), next-gen franchises that build on fan favorites like Knuckles, Star Trek: Strange New Worlds and Tales of the Teenage Mutant Ninja Turtles, along with an extensive library of even more hit series, blockbuster films, live sports and breaking news.
      Mubi,6 a global streaming service, production company and film distributor dedicated to elevating great cinema all over the world, is offering LG TV owners during LG Streaming Week a chance to discover the best of cinema, in the comfort of their home, with 70 percent off for six months.
      For sports fans, DAZN7 – the only place to watch NFL Game Pass (excluding US and China) – will be offering new customers 25 percent off a NFL Game Pass Season Pro subscription and a NFL Weekly Pro subscription for USD 0.99 or local currency equivalent. This will give LG TV owners the opportunity to watch every NFL game from every team, including the Playoffs and Super Bowl, live and on-demand. Plus get NFL RedZone, NFL Network, NFL Originals and much more, including a full suite of archive content.
      What’s more, for those who prefer gaming or anime, LG Streaming Week has appealing offers for users of different tastes and interests. LG TV owners can embark on an anime adventure with 30 days free trial of Crunchyroll, where fans unlock the largest dedicated anime streaming library of over 25,000 hours of content and fresh series arriving every season. For an interactive experience, especially for LG TV owners, Blacknut8 Cloud Gaming offers a 30-minute free play session for any of their 500+ premium games and a special USD 1/first month subscription offer for new subscribers. For kids and families, Baby Shark World for Kids by The Pinkfong Company is granting 1 month of free access to its vast library of songs and stories that engage children in stimulating learning experiences.
      To provide those who do not yet own an LG TV with the opportunity to take advantage of LG Streaming Week, the company is presenting several promotions on TV products across the global market. LG aims to expand its presence with enticing occasions for users to experience all that webOS has to offer on LG TVs.
      The decade-long journey of webOS is marked by continuous innovation, demonstrating LG’s commitment to delivering content with a user-friendly interface for convenience and ease of use. Over the years, webOS has undergone a home screen overhaul that enhances usability and leverages the latest AI technology to effortlessly direct viewers to their preferred content. What’s more, the company’s recent webOS Re:New program enables LG AI TV owners to receive TV upgrades for a period of five years, enriching the user experience for a wider audience.
      LG webOS highlights LG’s dedication to optimizing content consumption, with support from over 4,000 partners in 180 countries and millions of active users. Since its launch, webOS has evolved over 10 years to transform the home entertainment experience for easy-to-use viewing pleasure. Now available across LG TVs and lifestyle screens such as StanbyME and StanbyME Go, webOS has recorded significantly increased usage time, with consumers gradually shifting access from traditional TV to webOS, reflecting its widespread appeal to users around the world.
      For further details about free and discounted content available during LG Streaming Week, visit the dedicated page on each regional LG.com site. Information on LG product promotions can also be found at
      link hidden, please login to view. ###
       
      1 LG Streaming Week 1 starts September 9 and redemptions for Week 1 offers close September 15. Week 2 starts September 16 and redemptions for Week 2 close September 22. Week 3 starts September 23 and redemptions for Week 3 offers close September 29. Week 4 starts September 30 and redemptions for Week 4 offers close October 6. Week 5 starts October 7 and redemptions for Week 5 offers close October 13. Select partner offers may start at a different date than the beginning of the week.
      2 Partner offer can only be redeemed once via LG Streaming Week app.
      3 Apple TV+ offer is available via LG Streaming app from September 9 and can also be accessed directly from Apple TV app in over 90 markets until November 17. Offer ends November 17. Offer available on 2018-2024 LG 4K, 8K Smart TV models, StanbyME and StanbyME Go models in the Apple TV app. Valid only for new and qualified returning subscribers to Apple TV+ in your region. Limit one offer per TV and Apple ID. Plan automatically renews at your region’s price per month until cancelled. Requires Apple ID with payment method on file. Payment will be billed to payment method on file and can be cancelled anytime at least a day before each renewal date in your service account settings. Terms and Apple Privacy Policy apply; see the applicable terms at Must be the minimum age required in your country and in the country that matches the store front on which you are redeeming the offer. Compatible products and services required. Cannot be combined with other offers providing access to the same service. Apple TV+ is a service mark of Apple Inc.
      4 Apple Music offer is available via LG Streaming app from September 9 in 44 markets and can also be accessed directly from Apple Music app in 137 markets until April 30, 2025. Apple Spatial Audio with Dolby Atmos is available on LG OLED TV models launched from 2018 to 2024 and QNED TV models Q90T and above.
      5 Paramount+ offer is available in 18 countries including US, Canada, United Kingdom, France, Italy, Austria, Switzerland, Republic of Ireland, Australia, Argentina, Brazil, Mexico, Colombia, Chile, Peru, Panama, Guatemala and Ecuador, where LG Streaming Week promotion is available. The total cost of the annual plan is billed upfront and after the first year, auto-renews at the then regular annual price of the annual price selected. Paramount+ U.S: Total cost of annual plan billed upfront. Auto-renews at then regular annual price (currently, plan start at USD 59.99/year + tax, as applicable). 

    • By RedNe
      I would like to ask friends in the group, especially someone who uses webos 3.X, to give me Disney+ and Amazon Prime Video *.ipk. many thanks in advance for your help.
  • Similar Tagged Content

×
×
  • Create New...