How so as to add HomePackage help to your webOS TV with HomeBridge and iOS 12.2

With iOS 12.2, Apple is adding support for AirPlay 2 and HomeKit for choose sensible TVs. Some customers, myself...

· 3 min read >
How to add HomeKit support to your webOS TV with HomeBridge and iOS 12.2
With iOS 12.2, Apple is adding support for AirPlay 2 and HomeKit for choose sensible TVs. Some customers, myself included, are barely irritated that LG is barely supporting these options on its yet-to-be-released 2019 televisions. Fortunately, there’s a workaround that will get you many of the method there.

While this technique is unconventional and never formally supported, it can allow users who just lately purchased a webOS TV to get help for HomePackage.

As outlined on this week’s HomeKit Weekly, this technique permits you to management your TV’s energy state, quantity, and app/enter swap with ease. What it gained’t offer you is AirPlay help, which means you gained’t be capable of management what’s taking part in on the TV itself together with play/pause, and ahead/rewind controls.

For this, you’ll want an always-on laptop of some kind: whether or not that’s a Raspberry Pi, Synology, or a Mac mini (both as a server or one which’s at all times on).

Before we get began, keep in mind that iOS 12.2 is presently in beta and that issues might change and fluctuate from beta to beta. At the time of writing, iOS 12.2 beta 1 is presently the most recent launch.

How to arrange HomePackage help with HomeBridge on your webOS TV in iOS 12.2 beta

With slight variations relying on platforms, right here’s the way you arrange HomeBridge on your webOS TV. For demonstration functions, I’ll be utilizing an always-on Mac mini.

First, you’ll want to put in Xcode (if you happen to’re utilizing a Raspberry Pi or a Synology, this isn’t wanted and this step will be skipped). To do that, launch the App Store, and seek for Xcode. Click the ‘Get’ button and the obtain will start. This might take a while to obtain and set up, even on quick web connection. Be ready to attend for as much as an hour for it to obtain and set up.

After it’s put in, you’ll wish to launch Xcode and set up the extra instruments. Again, this may increasingly take a while relying in your web connection.

Once put in, it’s time to put in Homebrew and node. To do this, run the next command in Terminal:

ruby -e “$(curl -fsSL”

Once Homebrew is completed putting in, merely sort the next command to put in node:

brew set up node

Now that the fundamentals are out of the way in which, you’ll want to put in Homebridge, which is the framework for putting in third-party plugins with HomePackage. To do that, sort within the following command to Terminal:

sudo npm set up -g –unsafe-perm homebridge

Then, when prompted, sort within the password to your Mac. Depending in your web connection, this step might take a couple of minutes because it’s downloading the mandatory packages for HomeBridge.

Next, you’ll wish to set up the precise plugin. This will be accomplished by typing the next into Terminal:

sudo npm set up -g homebridge-webos-tv

This might take a couple of moments to put in.

Before you go forward and check out run HomeBridge, you’ll have to arrange your config file. You can discover a pattern config file here. All you’ll want is to tweak it to work with your individual community. (The config file is positioned in: /Users/(username)/.homebridge.) You’ll wish to obtain a textual content editor akin to Atom as an alternative of utilizing macOSbuilt-inin textual content editor, as that may trigger issues down the street.

Within the pattern config file you’ll wish to change the IP tackle and Mac tackle to match your TV’s.

There are a couple of further choices you would possibly wish to take into account including to your code:

  • Inputs — these are the fundamental AV/HDMI inputs. Simply add the next code to your arrange (beneath inputs) for HDMI, merely exchange the final digit with the enter quantity in your TV. For AV, merely exchange “hdmi1” with “av1”. As for the identify, give the enter a reputation (for instance: Apple TV, PS4, Nintendo Switch):

Under the identical Inputs umbrella, you can too add issues such because the built-in browser, YouTube, Amazon Prime Video, and so on. to the arrange. You’ll be accountable for discovering the suitable app ID’s for these your self.

  • Volume management — You can use the Apple TV distant widget within the Control Center (by tapping the Apple TV icon, tapping the drop down on the highest, after which deciding on your TV), to manage your quantity together with your iPhone or iPad’s {hardware} quantity buttons, or you possibly can add buttons inside HomePackage. To do that, you possibly can add one of many following to your code: quantityControl: true, “switch”, or “slider”. True allows each a slider and the swap technique in HomePackage. Enabling the slider will pressure HomePackage to acknowledge the amount as a lightweight bulb. Meaning, if in case you have some other lights in the identical HomePackage room, this will likely be included within the group.

After organising and saving your config file, Jump again into Terminal and easily sort:


If all the pieces is ready up appropriately, HomeBridge will begin up and spit out a QR code you possibly can scan in your iPhone or iPad. This QR code needs to be scanned inside the Home app. Once scanned, the Home app will stroll you thru organising HomeBridge with HomePackage. This is how it should look after all the pieces is up and working.

If you wish to ever cease HomeBridge from working, merely shut the Terminal window and HomeBridge will not be working. To restart HomeBridge, merely open Terminal and sort ‘homebridge’ once more to get it up and working.

For extra assist getting essentially the most out of your Apple units, take a look at our how to guide in addition to the next articles:

Subscribe to 9to5Mac on YouTube for more Apple news:


Facebook Comments