Quantcast
Jump to content

Recommended Posts

Posted

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: 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.



  • Popular Now

  • Similar Topics

    • By Ramesh Chand Vishwakarma
      It is unprofessional on part of LG TV that they do not resolve the basic issue of adding app gCmob in their app store.
      My 50UT80506LA LG WebOs TV does not support my office security camera system via wifi to TV.  We need (gCmob app) in list of app.
      I can't connect my office camera via Wi-Fi to LG-TV. No body in LG TV technical team is proactive in resolving the issue of customer. They are more happy to befool the customers, rather than looking for technical solution through wider thinking.
      Please talk to you top management and make a visit to our office to understand the customers plight..
      Please respond to customers needs.
      Regards,
      Ramesh Chand Vishwakarma
      MD/CEO
      DeGicon Pro Iternatiuonal Pvt. Ltd.
      Noida, UP
      +91 9910246766
      Receipt of LG TV from Om Prakash Yadav.pdf
    • By Raphael Armin
      the update to webOS 26 broke the very valuable home assistant integration!
      Please fix it asap - many users rely on it!

      link hidden, please login to view
    • By stevef
      Since my lg-oled65c9pla auto-updated to WebOS 5.5, there is a new bug.
      The TV is connected to my Cambridge Audio Evo 75 amplifier over ARC - on powering the TV, it has always started up the amp, and switched it to use audio, instead of the appalling TV speakers. The whole setup has worked flawlessly for 5 years, but since WebOS 5.5, the amplifier starts, but is left in a muted state, and using the un-mute or volume controls on the TV remote makes no difference to turning on audio. The only way to get audio to play though my amp a speakers is to turn the amp's volume dial or press a volume button on the a amp's remote - this then unmutes the TV and audio is back. 
      There is no setting I can find in the TV that relates to whether the ARC channel starts muted or not...
      No software has changed in my amp.  This is an annoying new bug in the TV software, I assume down to some CEC changes.
       
    • By FUNTIK
      please add 10bit sdr and hevc supports to webos and youtube support all new cameras has this and lg webos still can't handle properly hevc on youtube or inside webos.
      Pleae add support for 10bit sdr and hevc codec.
    • By FUNTIK
      I have noticed a problem with webOS, i have С4 OLED and G5 OLED - and all of them running videos on youtube at low 1080p or no higher that 1440p with 50/60p - and i don't understand why.. everywhere else is fine, but on webOS is 50/50 i tried every codec possible and everytime my videos stuck on 1080p or 1440p - it's a problem! please fix it! 
      PS everything is fine if i upload 4k25p or 4k30p
      PSS it's a problem only on webOS - on PC or android everything is OK.

×
×
  • Create New...