I have a Sony tv x900h, and a Samsung soundbar hwq 60t, I want to have the soundbar turn on with the tv. I tried programming the remote got the green flashing light put in a Samsung code got the yellow flashing light, turned the tv off and pressed ok , it says when you press ok the remote should flash Red, I guess that means it accepted the code, mine flashed green not red. I tried multiple code could not get remote to flash red. What’s wrong ?
Found this post in a support forum for the Soundbar. Might be worth a try: