That last line is likely key. Did you look for CEC and/or SIMPLINK in the TV’s manual? There will certainly be something about it on LG TV menus and thus instructions on using it in the manual.
If you don’t have the manual, a digital version is very likely available on the LG website.
Here's some information that includes a screenshot showing where you select Audio Out (Optical/HDMI Arc) in the LG TV "enabling eArc feature" menu. Of course, your specific LG TV may organize its menu options a little differently than this one picture and/or even name some of the items differently.
I do not have LG TV or Soundbar but I see the references to that app in information. Perhaps you need the app for at least initial setup? I have a brand of soundbar that absolutely needed the companion app used for initial setup (and not once since). Did you check the manual to see if you do? And if so, did you use the app to help you get it set up?
I see a reference to not "hot swapping" cable connections while devices are on. In other words, have TV and Bar turned off when connecting the cables. Perhaps they then auto-communicate with each other when both are turned on again to connect with each other? Most people
would "hot swap" and not think a thing about it. Maybe this is the issue... or one of them?
Another option: if you bought any of your stuff locally- like maybe from Best Buy or similar- contact them and ask for a tech visit to help you get this set up and working. For a relatively small fee, someone will come in and get it all working for you. This will be much more helpful than seeking help from strangers on the Internet. There are many variables in play here- including something as simple as the quality of the HDMI cables you are using (all HDMI cables are not created equal, and our very natural tendency to shop around and buy cheaper/cheapest cables can work against success here).
If you purchased it all from online sources, check local A/V shops for those who will make a house call to get parts like this working together. Someone will certainly do it for probably less than $200... maybe less than $100.
Since you have both an LG TV and LG soundbar, they should easily work together. There are countless numbers of AppleTV users with LG TVs (and probably LG soundbars too), so there's nothing odd/weird about that link in the chain. So, your issues are likely in any of the below:
- Set up steps (turning things on in menus), following some specific order of setup as recommended in the manuals, etc.
- potential firmware update in new soundbar,
- potential need to use the app for initial setup,
- insufficient quality of either HDMI cable (from AppleTV to TV, from TV to Soundbar)
- possibly addressing all of the above and need to power cycle 1+ of the devices
- some link in the chain is defective: AppleTV, LG Bar, LG TV
My own stranger-at-a-distance guesses are also prioritized in that order. But the easiest/fastest remedy may be to spend a few bucks to bring in someone good at this sort of thing and let them work through the steps to get it all working together... the so called Geek (squad)/Nerd/AV Tech/etc. It very well might be one thing (one menu setting, an app process (like just connecting bar to wifi), a new cable, etc) and then it all relatively "just works."
I fully get you would like to DIY, but there are
many variables and key to resolving these kinds of problems does tend to involve some tech detective work to narrow in on the source of the problem and then address it there. Someone who does this for a living is going to have a quick brain at the detective work, easily ruling IN/OUT #6, swapping in cables for #4 known to work to rule in/out the ones you are using, etc. They can sub in one other component known to work to rule out issues and settings in AppleTV. A portable TV subbing in for your LG TV can isolate the issue to your TV. Temporary direct connection to Soundbar can confirm that CEC is working fine there. If the Soundbar app is necessary for setup, they will know that. Etc.
My own first guess continues to be a setting(s) in your TV menus needs to be made, possibly only the one shown in the picture at the link referenced earlier. But whether that sticks after AppleTV sleep or not is key... so it could be another setting or three or cable or app need or process, etc.