We've been doing the same with a Crestron system and have had inconsistent results with Samsung TVs. Looks like the Crestron module we've been using is looking for feedback and therefore was working inconsistently. Switched over to microbug IR sensor.
"Was it for this my life I sought? Maybe so, Maybe not...