Just a tip for anyone with a Harmony remote:
I just picked up a Harmony Elite, and the default profile for the SJ9 in the Logitech database does not have discrete input codes (so the harmony must cycle through inputs, which can introduce errors if the input is manually changed);
however, the profile for the "SH6" Soundbar does have discrete input codes that work with the SJ9, so I use the SH6 profile in my activities to directly switch between ARC and HDMI-In depending on activity. Not all the discrete codes from the SH6 seem to work (e.g. WIFI), but most do (critically Optical(ARC) & HDMI). (I do wonder if the remaining discrete codes for this sound bar are out there somewhere...)
I also have the SJ9 added as a separated device, just in case I need to access the full array of original SJ9 remote keys.